/*
 * MAYA — UI refresh (layout & components only)
 * Palette and typefaces intentionally left as-is: existing orange,
 * beige, Raleway + Alegreya Sans. Design tokens can be swapped later.
 */

.ui-refresh {
    background: #ffffff;
}

.ui-container {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
}

.ui-about,
.ui-section,
.ui-page-head {
    scroll-margin-top: 96px;
}

.ui-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Raleway', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #8c4929;
}

.ui-eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
    opacity: .6;
}

.ui-refresh h1,
.ui-refresh h2,
.ui-refresh h3,
.ui-refresh h4 {
    font-family: 'Raleway', sans-serif;
    color: #000000;
}

.ui-refresh p {
    font-family: 'Alegreya Sans', sans-serif;
    color: #4d4d4d;
}

/* ------------------------------------------------------------------ */
/* Header                                                              */
/* ------------------------------------------------------------------ */

.ui-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid #ececec;
    box-shadow: none;
    backdrop-filter: blur(12px);
}

.ui-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    height: 82px;
}

.ui-brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.ui-brand img {
    height: 42px;
    width: auto;
}

.ui-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.ui-nav a {
    position: relative;
    padding: 8px 0;
    font-family: 'Raleway', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #333333;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color .2s ease, border-color .2s ease;
}

.ui-nav a:hover,
.ui-nav a:focus {
    color: #ea4618;
    border-bottom-color: #ea4618;
}

.ui-header__actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 0 0 auto;
}

.ui-header__mail {
    font-family: 'Raleway', sans-serif;
    font-size: 10px;
    letter-spacing: .08em;
    color: #4d4d4d;
    text-decoration: none;
}

.ui-header__mail:hover {
    color: #ea4618;
}

.ui-refresh .ui-header__cta {
    height: 42px;
    padding: 0 20px !important;
    font-size: 10px !important;
}

.ui-burger {
    display: none;
    width: 38px;
    height: 38px;
    border: 0;
    background: transparent;
    padding: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
}

.ui-burger span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: #29293a;
}

.ui-mobile-nav {
    border-top: 1px solid #ececec;
    background: #ffffff;
}

.ui-mobile-nav__inner {
    padding: 16px 0 24px;
}

.ui-mobile-nav a {
    display: block;
    padding: 13px 0;
    font-family: 'Raleway', sans-serif;
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #333333;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
}

.ui-mobile-nav a:last-child {
    border-bottom: 0;
}

/* ------------------------------------------------------------------ */
/* Buttons / links                                                     */
/* ------------------------------------------------------------------ */

.ui-refresh .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 24px !important;
    border-radius: 2px;
    font-family: 'Raleway', sans-serif;
    font-size: 10px !important;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.ui-refresh .btn-lg {
    height: 56px;
    padding: 0 30px !important;
}

.ui-refresh .btn-primary {
    background: #ea4618;
    border: 1px solid #ea4618;
    color: #ffffff;
}

.ui-refresh .btn-primary:hover,
.ui-refresh .btn-primary:focus {
    background: #c93a12 !important;
    border-color: #c93a12 !important;
    color: #ffffff;
}

.ui-refresh .btn-outline {
    background: transparent;
    border: 1px solid #4d4d4d;
    color: #333333;
}

.ui-refresh .btn-outline:hover,
.ui-refresh .btn-outline:focus {
    background: #29293a;
    border-color: #29293a;
    color: #ffffff;
}

.ui-link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #cfcfcf;
    font-family: 'Raleway', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #333333;
    text-decoration: none;
    transition: color .2s ease, border-color .2s ease;
}

.ui-link-arrow:hover {
    color: #ea4618;
    border-bottom-color: #ea4618;
    text-decoration: none;
}

/* ------------------------------------------------------------------ */
/* Hero                                                                */
/* ------------------------------------------------------------------ */

.ui-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 720px;
    overflow: hidden;
    background: #ffffff;
}

.ui-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.ui-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.ui-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg,
        rgba(255, 255, 255, .98) 0%,
        rgba(255, 255, 255, .94) 28%,
        rgba(255, 255, 255, .55) 50%,
        rgba(255, 255, 255, 0) 70%);
}

.ui-hero__content {
    position: relative;
    z-index: 2;
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
    padding: 110px 0;
}

.ui-hero__copy {
    max-width: 600px;
}

.ui-hero h1 {
    margin: 24px 0 24px;
    font-size: clamp(2.7rem, 5.6vw, 4.9rem);
    font-weight: 300;
    line-height: .98;
    letter-spacing: -.03em;
}

.ui-hero h1 em {
    font-style: italic;
    font-weight: 300;
}

.ui-hero p {
    max-width: 430px;
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.75;
}

.ui-hero__actions {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 34px;
}

.ui-hero__note {
    margin-top: 52px;
    padding-top: 18px;
    border-top: 1px solid #e4e4e4;
    font-family: 'Raleway', sans-serif;
    font-size: 9px;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: #4d4d4d;
}

/* ------------------------------------------------------------------ */
/* Sections                                                            */
/* ------------------------------------------------------------------ */

.ui-section {
    padding: 96px 0;
}

.ui-section--cream {
    background: #f6f6f6;
}

.ui-section--white {
    background: #ffffff;
}

.ui-section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 46px;
}

.ui-section__head h2 {
    max-width: 640px;
    margin: 14px 0 0;
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    font-weight: 300;
    line-height: 1.08;
}

.ui-section__head p {
    max-width: 380px;
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
}

/* ------------------------------------------------------------------ */
/* Platform strip                                                      */
/* ------------------------------------------------------------------ */

.ui-platform {
    background: #ece2d5;
    padding: 52px 0;
}

.ui-platform__inner {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 56px;
    align-items: center;
}

.ui-platform h2 {
    margin: 14px 0 0;
    font-size: clamp(1.9rem, 3.2vw, 2.9rem);
    font-weight: 300;
    line-height: 1.12;
}

.ui-platform p {
    max-width: 400px;
    margin: 0 0 20px;
    font-size: 1rem;
    line-height: 1.7;
}

/* ------------------------------------------------------------------ */
/* About                                                               */
/* ------------------------------------------------------------------ */

.ui-about {
    padding: 100px 0;
    background: #ffffff;
}

.ui-about__grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 76px;
    align-items: center;
}

.ui-about__media {
    position: relative;
    padding: 0 0 22px 22px;
}

.ui-about__media::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 72%;
    height: 72%;
    border: 1px solid #e4e4e4;
}

.ui-about__media img {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center top;
}

.ui-about__copy h2 {
    margin: 16px 0 22px;
    font-size: clamp(2rem, 3.3vw, 3rem);
    font-weight: 300;
    line-height: 1.1;
}

.ui-about__copy p {
    max-width: 520px;
    margin: 0 0 16px;
    font-size: 1.03rem;
    line-height: 1.75;
}

.ui-signature {
    margin-top: 24px;
    font-family: 'Raleway', sans-serif;
    font-size: 1.6rem;
    font-style: italic;
    font-weight: 300;
    color: #8c4929;
}

/* ------------------------------------------------------------------ */
/* Service cards                                                       */
/* ------------------------------------------------------------------ */

.ui-service-group {
    margin-top: 44px;
}

.ui-service-group:first-of-type {
    margin-top: 0;
}

.ui-service-group__title {
    margin: 0 0 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e4e4e4;
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: .02em;
}

.ui-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.ui-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #ececec;
}

.ui-card__media {
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #f6f6f6;
}

.ui-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s cubic-bezier(.2, .6, .2, 1);
}

.ui-card:hover .ui-card__media img {
    transform: scale(1.04);
}

.ui-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px 20px 22px;
}

.ui-card__meta {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    font-family: 'Raleway', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #8c4929;
}

.ui-card h3 {
    margin: 10px 0 8px;
    font-size: 1.35rem;
    font-weight: 400;
    line-height: 1.25;
}

.ui-card h3 a {
    color: #000000;
    text-decoration: none;
}

.ui-card h3 a:hover {
    color: #ea4618;
}

.ui-card p {
    margin: 0 0 16px;
    font-size: .98rem;
    line-height: 1.55;
}

.ui-card__link {
    margin-top: auto;
    font-family: 'Raleway', sans-serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #ea4618;
    text-decoration: none;
}

.ui-card__link:hover {
    color: #c93a12;
    text-decoration: none;
}

/* ------------------------------------------------------------------ */
/* Benefits                                                            */
/* ------------------------------------------------------------------ */

.ui-benefits {
    background: #f6f6f6;
}

.ui-benefits__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 44px;
}

.ui-benefit {
    display: flex;
    gap: 16px;
    padding: 24px 0;
    border-top: 1px solid #dcdcdc;
}

.ui-benefit__num {
    flex: 0 0 24px;
    font-family: 'Raleway', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    color: #8c4929;
    line-height: 1.6;
}

.ui-benefit h4 {
    margin: 0 0 5px;
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1.35;
}

.ui-benefit p {
    margin: 0;
    font-size: .94rem;
    line-height: 1.55;
}

/* ------------------------------------------------------------------ */
/* Process                                                             */
/* ------------------------------------------------------------------ */

.ui-process {
    background: #ffffff;
}

.ui-process__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.ui-step {
    padding-top: 18px;
    border-top: 1px solid #dcdcdc;
}

.ui-step__num {
    display: block;
    margin-bottom: 16px;
    font-family: 'Raleway', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .1em;
    color: #8c4929;
}

.ui-step h4 {
    margin: 0 0 8px;
    font-size: 1.08rem;
    font-weight: 600;
    line-height: 1.3;
}

.ui-step p {
    margin: 0;
    font-size: .94rem;
    line-height: 1.55;
}

/* ------------------------------------------------------------------ */
/* Package                                                             */
/* ------------------------------------------------------------------ */

.ui-package {
    position: relative;
    padding: 92px 0;
    background-size: cover;
    background-position: center;
    color: #ffffff;
}

.ui-package::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(29, 24, 21, .62);
}

.ui-package__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 50px;
    align-items: end;
}

.ui-package .ui-eyebrow {
    color: #f0dbcf;
}

.ui-package .ui-eyebrow::before {
    background: #f0dbcf;
}

.ui-package h2 {
    margin: 14px 0 14px;
    color: #ffffff;
    font-size: clamp(2rem, 3.4vw, 3rem);
    font-weight: 300;
    line-height: 1.1;
}

.ui-package p {
    max-width: 490px;
    margin: 0;
    color: rgba(255, 255, 255, .82);
    font-size: 1rem;
    line-height: 1.7;
}

.ui-package__aside {
    text-align: right;
}

.ui-package__price {
    display: block;
    margin-bottom: 16px;
    font-family: 'Raleway', sans-serif;
    font-size: 2rem;
    font-weight: 300;
    color: #ffffff;
}

.ui-package__price small {
    display: block;
    font-size: 10px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .6);
}

/* ------------------------------------------------------------------ */
/* Gift                                                                */
/* ------------------------------------------------------------------ */

.ui-gift {
    padding: 92px 0;
    background: #ffffff;
}

.ui-gift__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 68px;
    align-items: center;
}

.ui-gift h2 {
    margin: 14px 0 18px;
    font-size: clamp(1.9rem, 3.1vw, 2.8rem);
    font-weight: 300;
    line-height: 1.12;
}

.ui-gift p {
    max-width: 420px;
    margin: 0 0 26px;
    font-size: 1rem;
    line-height: 1.7;
}

.ui-gift__media img {
    width: 100%;
    max-width: 420px;
    margin-left: auto;
    height: auto;
}

/* ------------------------------------------------------------------ */
/* Beauty quote                                                        */
/* ------------------------------------------------------------------ */

.ui-beauty {
    position: relative;
    padding: 104px 0;
    background-size: cover;
    background-position: center right;
    color: #ffffff;
    text-align: center;
}

.ui-beauty::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(24, 22, 21, .48);
}

.ui-beauty__inner {
    position: relative;
    z-index: 2;
}

.ui-beauty h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(2.4rem, 5vw, 4.6rem);
    font-weight: 300;
    letter-spacing: .08em;
    line-height: 1.1;
}

.ui-beauty img {
    width: 120px;
    height: auto;
    margin-top: 34px;
    filter: brightness(0) invert(1);
}

/* ------------------------------------------------------------------ */
/* Footer                                                              */
/* ------------------------------------------------------------------ */

.ui-footer {
    padding: 64px 0 24px;
    background: #353535;
    color: #ffffff;
}

.ui-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr .8fr .9fr;
    gap: 52px;
}

.ui-footer__brand img {
    height: 40px;
    width: auto;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}

.ui-footer__brand p {
    max-width: 300px;
    margin: 0;
    color: rgba(255, 255, 255, .68);
    font-size: .96rem;
    line-height: 1.65;
}

.ui-footer h4 {
    margin: 0 0 16px;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #f0dbcf;
}

.ui-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ui-footer li {
    margin-bottom: 10px;
}

.ui-footer a {
    color: #ffffff;
    font-size: .95rem;
    text-decoration: none;
}

.ui-footer a:hover {
    color: #f0dbcf;
}

.ui-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 48px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .15);
    font-family: 'Raleway', sans-serif;
    font-size: 9px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .48);
}

/* ------------------------------------------------------------------ */
/* Forms / modals                                                      */
/* ------------------------------------------------------------------ */

.ui-refresh .modal-content {
    border: 0;
    border-radius: 2px;
}

.ui-refresh .modal-header {
    padding: 22px 26px;
    border-bottom: 1px solid #ececec;
}

.ui-refresh .modal-title {
    font-family: 'Raleway', sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
}

.ui-refresh .modal-body {
    padding: 24px 26px;
}

.ui-refresh .modal-footer {
    padding: 16px 26px;
    border-top: 1px solid #ececec;
}

.ui-refresh .form-group label {
    margin-bottom: 6px;
    font-family: 'Raleway', sans-serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #4d4d4d;
}

.ui-refresh .form-control {
    height: 48px;
    border: 1px solid #dddddd;
    border-radius: 2px;
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 1rem;
    color: #29293a;
    box-shadow: none;
}

.ui-refresh textarea.form-control {
    height: auto;
    min-height: 104px;
    padding-top: 12px;
}

.ui-refresh .form-control:focus {
    border-color: #8c4929;
    box-shadow: 0 0 0 1px rgba(140, 73, 41, .15);
}

.ui-refresh .alert-danger {
    border-radius: 2px;
    font-size: .92rem;
}

.ui-refresh [data-validate-error] {
    display: none;
}

.ui-refresh .orderbox {
    padding: 56px 0 !important;
    background: #f6f6f6 !important;
}

.ui-refresh .orderbox h3 {
    margin-bottom: 18px;
    font-family: 'Raleway', sans-serif;
    font-size: 1.7rem;
    font-weight: 300;
}

.ui-refresh .orderbox p {
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 1rem;
    color: #4d4d4d;
}

/* ------------------------------------------------------------------ */
/* Inner pages                                                         */
/* ------------------------------------------------------------------ */

.ui-page-head {
    padding: 72px 0 54px;
    background: #f6f6f6;
    border-bottom: 1px solid #ececec;
}

.ui-page-head h1 {
    margin: 14px 0 0;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 300;
    line-height: 1.08;
}

.ui-page-head p {
    max-width: 620px;
    margin: 16px 0 0;
    font-size: 1.03rem;
    line-height: 1.7;
}

.ui-contact {
    padding: 86px 0;
    background: #ffffff;
}

.ui-contact__grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 70px;
    align-items: center;
}

.ui-contact h2 {
    margin: 0 0 14px;
    font-size: clamp(2rem, 3.4vw, 3rem);
    font-weight: 300;
}

.ui-contact__lead {
    max-width: 480px;
    margin: 0 0 28px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.ui-contact__list {
    border-top: 1px solid #e4e4e4;
}

.ui-contact__item {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 14px 0;
    border-bottom: 1px solid #e4e4e4;
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 1rem;
}

.ui-contact__item span {
    flex: 0 0 110px;
    font-family: 'Raleway', sans-serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #8c4929;
    line-height: 1.8;
}

.ui-contact__item a,
.ui-contact__item p {
    margin: 0;
    color: #29293a;
    text-decoration: none;
}

.ui-contact__item a:hover {
    color: #ea4618;
}

.ui-contact__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.ui-contact__media img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center top;
}

/* Gift page */

.ui-gift-page {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 70px;
    align-items: start;
}

.ui-gift-page__intro h2 {
    margin: 0 0 16px;
    font-size: clamp(1.9rem, 3.2vw, 2.8rem);
    font-weight: 300;
    line-height: 1.12;
}

.ui-gift-page__intro p {
    max-width: 440px;
    margin: 0 0 26px;
    font-size: 1.02rem;
    line-height: 1.7;
}

.ui-gift-steps {
    border-top: 1px solid #e4e4e4;
}

.ui-gift-step {
    display: flex;
    gap: 18px;
    padding: 16px 0;
    border-bottom: 1px solid #e4e4e4;
}

.ui-gift-step span {
    flex: 0 0 22px;
    font-family: 'Raleway', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .08em;
    color: #8c4929;
    line-height: 1.8;
}

.ui-gift-step p {
    margin: 0;
    font-size: .98rem;
}

.ui-form-card {
    padding: 30px;
    background: #ffffff;
    border: 1px solid #ececec;
}

.ui-form-card h3 {
    margin: 0 0 22px;
    font-size: 1.35rem;
    font-weight: 400;
}

.ui-form-label {
    display: block;
    margin-bottom: 6px;
    font-family: 'Raleway', sans-serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #4d4d4d;
}

.ui-form-note {
    margin: 4px 0 18px;
    font-size: .9rem;
    line-height: 1.55;
    color: #6b6b6b;
}

.ui-form-card .form-check {
    margin-bottom: 8px;
}

.ui-form-card .form-check-label {
    font-family: 'Alegreya Sans', sans-serif;
    font-size: .98rem;
    color: #4d4d4d;
}

.ui-form-card .form-check-label small {
    color: #8a8a8a;
}

/* Package cards */

.ui-packages {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
}

.ui-package-card {
    display: flex;
    flex-direction: column;
    padding: 28px;
    background: #ffffff;
    border: 1px solid #ececec;
}

.ui-package-card--featured {
    border-color: #ea4618;
}

.ui-package-card__label {
    font-family: 'Raleway', sans-serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #8c4929;
}

.ui-package-card__price {
    margin: 10px 0 22px;
    font-family: 'Raleway', sans-serif;
    font-size: 2.3rem;
    font-weight: 300;
    line-height: 1;
    color: #29293a;
}

.ui-package-card__price small {
    font-size: 1rem;
}

.ui-package-card ul {
    margin: 0 0 26px;
    padding: 0;
    list-style: none;
    border-top: 1px solid #e4e4e4;
}

.ui-package-card li {
    padding: 10px 0;
    border-bottom: 1px solid #e4e4e4;
    font-family: 'Alegreya Sans', sans-serif;
    font-size: .96rem;
    line-height: 1.45;
    color: #4d4d4d;
}

.ui-package-card .btn {
    margin-top: auto;
    width: 100%;
}

@media (max-width: 991px) {
    .ui-packages {
        grid-template-columns: 1fr;
    }
}

/* Service detail */

.ui-detail {
    padding: 70px 0 0;
    background: #ffffff;
}

.ui-detail__grid {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: 64px;
    align-items: start;
}

.ui-detail__media img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.ui-detail__panel {
    position: sticky;
    top: 110px;
    padding: 28px;
    border: 1px solid #ececec;
    background: #ffffff;
}

.ui-detail__panel h2 {
    margin: 10px 0 12px;
    font-size: clamp(1.6rem, 2.4vw, 2rem);
    font-weight: 300;
    line-height: 1.15;
}

.ui-detail__price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 18px 0 8px;
    padding-top: 16px;
    border-top: 1px solid #e4e4e4;
}

.ui-detail__price strong {
    font-family: 'Raleway', sans-serif;
    font-size: 1.9rem;
    font-weight: 300;
    color: #8c4929;
}

.ui-detail__price span {
    font-family: 'Raleway', sans-serif;
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #6b6b6b;
}

.ui-detail__comment {
    margin: 0 0 18px;
    font-size: .94rem;
    line-height: 1.55;
    color: #6b6b6b;
}

.ui-detail__panel .btn {
    width: 100%;
}

.ui-prose {
    padding: 56px 0 76px;
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 1.05rem;
    line-height: 1.75;
    color: #4d4d4d;
}

.ui-prose h2,
.ui-prose h3,
.ui-prose h4 {
    margin-top: 32px;
    margin-bottom: 12px;
    font-weight: 400;
    line-height: 1.25;
}

.ui-prose h2 {
    font-size: 1.8rem;
}

.ui-prose h3 {
    font-size: 1.4rem;
}

.ui-prose h4 {
    font-size: 1.15rem;
}

.ui-prose p {
    margin-bottom: 16px;
}

.ui-prose ul {
    padding-left: 20px;
    margin-bottom: 18px;
}

.ui-prose li {
    margin-bottom: 8px;
}

@media (max-width: 991px) {
    .ui-contact__grid,
    .ui-gift-page,
    .ui-detail__grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .ui-detail__panel {
        position: static;
    }
}

@media (max-width: 575px) {
    .ui-page-head {
        padding: 54px 0 40px;
    }

    .ui-contact,
    .ui-detail {
        padding-top: 54px;
    }

    .ui-form-card {
        padding: 22px;
    }

    .ui-contact__item {
        display: block;
    }

    .ui-contact__item span {
        display: block;
        margin-bottom: 4px;
    }
}

/* ------------------------------------------------------------------ */
/* Responsive                                                          */
/* ------------------------------------------------------------------ */

@media (max-width: 1199px) {
    .ui-header__mail {
        display: none;
    }

    .ui-about__grid {
        gap: 48px;
    }
}

@media (max-width: 991px) {
    .ui-nav {
        display: none;
    }

    .ui-burger {
        display: flex;
    }

    .ui-hero {
        min-height: 660px;
    }

    .ui-hero__media img {
        object-position: 62% center;
    }

    .ui-hero::after {
        background: linear-gradient(180deg,
            rgba(255, 255, 255, .98) 0%,
            rgba(255, 255, 255, .9) 52%,
            rgba(255, 255, 255, .5) 100%);
    }

    .ui-hero__content {
        padding: 86px 0 62px;
    }

    .ui-section {
        padding: 76px 0;
    }

    .ui-platform__inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .ui-about__grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .ui-about__media {
        max-width: 540px;
    }

    .ui-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .ui-benefits__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ui-process__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 32px;
    }

    .ui-package__inner {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .ui-package__aside {
        text-align: left;
    }

    .ui-gift__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .ui-gift__media img {
        margin-left: 0;
        max-width: 360px;
    }

    .ui-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 34px;
    }
}

@media (max-width: 767px) {
    .ui-container {
        width: calc(100% - 40px);
    }

    .ui-header__inner {
        height: 70px;
        gap: 16px;
    }

    .ui-brand img {
        height: 36px;
    }

    .ui-hero {
        min-height: 620px;
    }

    .ui-hero__content {
        padding: 72px 0 54px;
    }

    .ui-hero h1 {
        font-size: clamp(2.4rem, 11vw, 3.4rem);
    }

    .ui-hero p {
        font-size: 1rem;
    }

    .ui-hero__note {
        margin-top: 36px;
        font-size: 8px;
        line-height: 1.7;
    }

    .ui-section {
        padding: 62px 0;
    }

    .ui-section__head {
        display: block;
        margin-bottom: 30px;
    }

    .ui-section__head p {
        margin-top: 14px;
    }

    .ui-service-group {
        margin-top: 34px;
    }

    .ui-cards {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .ui-card__media {
        aspect-ratio: 4 / 3;
    }

    .ui-benefits__grid {
        grid-template-columns: 1fr;
    }

    .ui-process__grid {
        grid-template-columns: 1fr;
    }

    .ui-package {
        padding: 64px 0;
    }

    .ui-gift {
        padding: 62px 0;
    }

    .ui-beauty {
        padding: 72px 0;
    }

    .ui-footer {
        padding: 48px 0 20px;
    }

    .ui-footer__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .ui-footer__bottom {
        display: block;
        line-height: 1.9;
    }
}

@media (max-width: 400px) {
    .ui-refresh .ui-header__cta {
        display: none;
    }
}

@media (max-width: 575px) {
    .ui-hero__actions {
        gap: 20px;
    }

    .ui-refresh .btn-lg {
        height: 52px;
    }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .ui-refresh *,
    .ui-refresh *::before,
    .ui-refresh *::after {
        animation-duration: .001ms !important;
        transition-duration: .001ms !important;
    }
}
