/* Amal Clinic ΓÇö landing page */

:root {
    --green: #5a1b40;
    --green-muted: #673754;
    --green-soft: #f1ecef;
    --green-mid: #daccd4;
    --bg: #fdfbf7;
    --bg-alt: #f5f1f3;
    --white: #ffffff;
    --text: #5a1b40;
    --text-muted: #673754;
    --border: #e1d5dc;
    --shadow: 0 8px 28px rgba(90, 27, 64, 0.08);
    --radius: 6px;
    --radius-lg: 10px;
    --max: 1200px;
    --frame: 1440px;
    --font-serif: Georgia, "Times New Roman", serif;
    --font-sans: Inter, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

h1,
h2,
h3,
h4,
p {
    margin: 0;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.container {
    width: min(100% - 48px, var(--max));
    margin-inline: auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: var(--radius);
    border: 1.5px solid transparent;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn--primary {
    background: #5a1b40;
    color: var(--white);
}

.btn--primary:hover {
    background: #40132e;
}

.btn--outline {
    background: transparent;
    color: var(--green);
    border-color: var(--green);
}

.btn--outline:hover {
    background: rgba(90, 27, 64, 0.06);
}

.btn--full {
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fdfbf7;
    padding: 0 60px;
    border-bottom: 1px solid #e1d5dc;
    box-sizing: border-box;
}

.header__inner,
.header__inner.container {
    position: relative;
    width: 1320px;
    max-width: 100%;
    height: 112px;
    min-height: 112px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border: none;
    background: transparent;
    box-sizing: border-box;
}

.logo {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    height: 95px;
    flex-shrink: 0;
}

.logo img {
    display: block;
    height: 95px;
    width: auto;
    max-width: none;
    object-fit: contain;
}

.logo--light {
    color: var(--white);
    width: auto;
    height: auto;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    font-size: 28px;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.header__right {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-left: auto;
    flex-shrink: 0;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    height: 40px;
    margin-left: 0;
    margin-right: 0;
    flex-shrink: 0;
}

.nav__link {
    display: inline-flex;
    align-items: center;
    height: 100%;
    padding: 0 0 6px;
    border-bottom: 2px solid transparent;
    font-family: Inter, "Segoe UI", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #673754;
    white-space: nowrap;
    box-sizing: border-box;
}

.nav__link:hover {
    color: var(--green);
}

.nav__link.is-active {
    color: #5a1b40;
    border-bottom-color: #5a1b40;
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.header__login,
[data-doctor-login] {
    display: none !important;
}

.header__login.is-visible,
[data-doctor-login].is-visible {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    height: 40px;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 8px;
    white-space: nowrap;
}

.header__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 168px;
    height: 40px;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 8px;
    flex-shrink: 0;
}

.menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 28px;
    cursor: pointer;
}

.menu-btn span {
    display: block;
    height: 1.5px;
    background: var(--green);
    border-radius: 2px;
}

.mobile-nav {
    display: none;
}

/* Shared section bits */
.eyebrow {
    margin-bottom: 14px;
    font-family: Inter, "Segoe UI", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #673754;
}

.section {
    padding: 96px 0;
}

.section__intro {
    max-width: 560px;
    margin-bottom: 48px;
}

.section__intro--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section__title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4vw, 3.1rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--green);
}

.section__desc {
    margin-top: 16px;
    color: var(--text-muted);
    font-size: 1.02rem;
    max-width: 46ch;
}

.section__intro--center .section__desc {
    margin-inline: auto;
}

/* Hero */
.hero {
    padding: 56px 60px 0;
    background: #fdfbf7;
    box-sizing: border-box;
}

.hero__frame {
    position: relative;
    width: 1320px;
    max-width: 100%;
    min-height: 327px;
    height: auto;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 685px);
    align-items: center;
    gap: 40px;
    overflow: visible;
    background: transparent;
    box-sizing: border-box;
}

.hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-width: 0;
    padding: 0;
    box-sizing: border-box;
}

.hero__title {
    display: flex;
    flex-direction: column;
    margin-top: 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    font-style: normal;
    font-size: clamp(42px, 4.8vw, 68px);
    line-height: 1.05;
    letter-spacing: 0;
}

.hero__title-line--dark {
    color: #5a1b40;
}

.hero__title-line--muted {
    color: #7a5a6d;
}

.hero__text {
    margin-top: 18px;
    max-width: 44ch;
    color: #673754;
    font-family: Inter, "Segoe UI", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    height: 40px;
    border-radius: 8px;
    padding: 0 18px;
}

.hero__media {
    width: 100%;
    max-width: 685px;
    aspect-ratio: 685 / 327;
    overflow: hidden;
    background: #d5ddd4;
    justify-self: end;
}

.hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero__values {
    margin-top: 48px;
    border-top: 1px solid #e1d5dc;
    border-bottom: 1px solid #e1d5dc;
    background: var(--bg);
}

.hero__values-inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    padding: 42px 0;
}

.value {
    text-align: center;
}

.value h3 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 34px;
    line-height: 100%;
    letter-spacing: 0;
    color: #673754;
}

.value p {
    margin: 10px 0 0;
    font-family: Inter, "Segoe UI", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 15px;
    line-height: 140%;
    letter-spacing: 0;
    color: #673754;
}

/* Services */
.services {
    padding: 72px 60px 80px;
    background: #fdfbf7;
    box-sizing: border-box;
}

.services__frame {
    width: 1320px;
    max-width: 100%;
    min-height: 498px;
    height: auto;
    margin: 0 auto;
    opacity: 1;
    transform: rotate(0deg);
    box-sizing: border-box;
}

.services__eyebrow {
    width: 117px;
    height: 15px;
    margin: 0 0 14px;
    font-family: Inter, "Segoe UI", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #673754;
    white-space: nowrap;
    opacity: 1;
}

.services__intro {
    margin-bottom: 32px;
    max-width: none;
}

.services__intro .section__title {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    font-size: clamp(2rem, 3.2vw, 2.75rem);
    line-height: 1.15;
    color: #5a1b40;
    white-space: nowrap;
}

.services__intro .section__desc {
    margin-top: 12px;
    max-width: none;
    color: #673754;
    font-family: Inter, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    white-space: nowrap;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 428px);
    justify-content: start;
    column-gap: 18px;
    row-gap: 18px;
}

.service-card {
    width: 428px;
    min-height: 146px;
    height: auto;
    margin: 0;
    padding: 20px 22px 24px;
    background: #fffefb;
    border-radius: 0;
    box-shadow: none;
    border: 1px solid #e1d5dc;
    opacity: 1;
    transform: rotate(0deg);
    box-sizing: border-box;
    overflow: visible;
}

.service-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: #f1ecef;
    color: #5a1b40;
}

.service-card__icon svg {
    display: block;
}

.service-card h3 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.25rem;
    font-weight: 400;
    color: #5a1b40;
    line-height: 1.2;
}

.service-card p {
    margin: 8px 0 0;
    color: #673754;
    font-family: Inter, "Segoe UI", sans-serif;
    font-size: 0.9rem;
    line-height: 1.45;
}

/* Pricing */
.pricing {
    padding: 80px 60px;
    background: #f5f1f3;
    box-sizing: border-box;
}

.pricing__frame {
    width: 1320px;
    max-width: 100%;
    margin: 0 auto;
}

.pricing__intro {
    max-width: none;
    margin-bottom: 32px;
}

.pricing__intro .section__title {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    color: #5a1b40;
    white-space: nowrap;
}

.pricing__intro .section__desc {
    max-width: none;
    color: #673754;
    font-family: Inter, "Segoe UI", sans-serif;
    white-space: nowrap;
}

.pricing__table-wrap {
    overflow-x: auto;
    border-radius: 6px;
    border: 1px solid #e1d5dc;
    background: #ffffff;
}

.pricing__table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
    background: #ffffff;
}

.pricing__table th,
.pricing__table td {
    padding: 18px 28px;
    text-align: left;
    vertical-align: middle;
    font-family: Inter, "Segoe UI", sans-serif;
}

.pricing__table thead th {
    background: #e1d5dc;
    color: #40132e;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}

.pricing__table th:nth-child(2),
.pricing__table th:nth-child(3),
.pricing__table td:nth-child(2),
.pricing__table td:nth-child(3) {
    text-align: right;
    white-space: nowrap;
}

.pricing__table tbody tr:not(:last-child) td {
    border-bottom: 2px solid #e1d5dc;
}

.pricing__table tbody tr:last-child td {
    border-bottom: none;
}

.pricing__table tbody td {
    background: #ffffff;
    color: #40132e;
}

.pricing__table td strong {
    display: block;
    font-family: Inter, "Segoe UI", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #5a1b40;
    margin-bottom: 4px;
}

.pricing__table td span {
    display: block;
    color: #673754;
    font-size: 0.92rem;
    font-weight: 400;
}

.pricing__table td:nth-child(3) {
    font-weight: 400;
    color: #40132e;
}

.pricing__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 24px;
}

.pricing__note {
    flex: 0 0 auto;
    max-width: none;
    margin: 0;
    margin-right: 24px;
    font-size: 0.88rem;
    font-style: normal;
    font-family: Inter, "Segoe UI", sans-serif;
    color: #673754;
    white-space: nowrap;
}

.pricing__cta {
    min-height: 40px;
    height: 40px;
    border-radius: 8px;
    padding: 0 20px;
    flex-shrink: 0;
}

/* Process */
.process {
    padding: 88px 60px;
    background: #fdfbf7;
    box-sizing: border-box;
}

.process__frame {
    width: 1320px;
    max-width: 100%;
    margin: 0 auto;
}

.process__intro {
    margin-bottom: 40px;
}

.process__intro .section__title {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    color: #5a1b40;
    white-space: nowrap;
}

.process__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    min-height: 146px;
    padding: 20px 22px;
    background: #fffefb;
    border: 1px solid #e1d5dc;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    box-sizing: border-box;
}

.process-step__num {
    display: block;
    margin: 0 0 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1;
    color: #673754;
    opacity: 1;
}

.process-step h3 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.2;
    color: #5a1b40;
}

.process-step p {
    margin: 8px 0 0;
    max-width: none;
    color: #673754;
    font-family: Inter, "Segoe UI", sans-serif;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Contact */
.contact {
    padding: 80px 60px;
    background: #f5f1f3;
    box-sizing: border-box;
}

.contact__frame {
    width: 1320px;
    max-width: 100%;
    margin: 0 auto;
}

.contact__intro {
    max-width: none;
    margin-bottom: 36px;
}

.contact__intro .section__title {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    color: #5a1b40;
    white-space: nowrap;
}

.contact__address {
    max-width: none;
    color: #673754;
    font-family: Inter, "Segoe UI", sans-serif;
}

.contact__layout {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 28px;
    align-items: stretch;
}

.contact__info {
    background: #5a1b40;
    color: #ffffff;
    border-radius: 10px;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.contact__brand {
    margin: 0 0 8px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 0;
    color: #ffffff;
}

.contact__item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 22px 0;
    border-bottom: 1px solid #ffffff;
}

.contact__item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact__label {
    font-family: Inter, "Segoe UI", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #ffffff;
}

.contact__value {
    font-family: Inter, "Segoe UI", sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0;
    color: #ffffff;
}

a.contact__value:hover {
    text-decoration: underline;
}

.contact__form {
    background: #fffefb;
    border-radius: 12px;
    padding: 36px 32px;
    border: none;
    box-shadow: 0 8px 28px rgba(90, 27, 64, 0.08);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 345px 345px;
    justify-content: space-between;
    gap: 16px;
}

.contact__form label {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact__form label span {
    font-family: Inter, "Segoe UI", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #5a1b40;
}

.contact__form input,
.contact__form textarea {
    width: 100%;
    max-width: 100%;
    height: 40px;
    border: 2px solid #e1d5dc;
    border-radius: 6px;
    border-width: 2px;
    padding: 0 14px;
    font-family: Inter, "Segoe UI", sans-serif;
    font-size: 15px;
    color: #5a1b40;
    background: #ffffff;
    outline: none;
    opacity: 1;
    transform: rotate(0deg);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.contact__form .form-row input {
    width: 345px;
    height: 40px;
}

.contact__form input::placeholder,
.contact__form textarea::placeholder {
    color: #8a9690;
}

.contact__form input:focus,
.contact__form textarea:focus {
    border-color: #5a1b40;
    box-shadow: 0 0 0 3px rgba(90, 27, 64, 0.10);
}

.contact__form textarea {
    width: 100%;
    height: auto;
    min-height: 140px;
    padding: 12px 14px;
    resize: vertical;
}

.contact__submit {
    position: relative;
    margin-top: 4px;
    min-height: 48px;
    height: 48px;
    border-radius: 8px;
    background: #5a1b40;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    gap: 12px;
}

.contact__submit:disabled,
.contact__submit.is-loading {
    opacity: 1;
    cursor: wait;
    background: #40132e;
}

.contact__spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.28);
    border-top-color: #ffffff;
    border-radius: 50%;
    flex-shrink: 0;
    animation: contact-spin 0.7s linear infinite;
}

.contact__submit.is-loading .contact__spinner {
    display: inline-block;
}

.contact__submit-label {
    display: inline-block;
}

@keyframes contact-spin {
    to {
        transform: rotate(360deg);
    }
}

.contact__status {
    margin: 4px 0 0;
    font-family: Inter, "Segoe UI", sans-serif;
    font-size: 0.92rem;
    line-height: 1.4;
    color: #673754;
}

.contact__status.is-success {
    color: #5a1b40;
}

.contact__status.is-error {
    color: #8a2f2f;
}

.site-toast {
    position: fixed;
    top: 24px;
    left: 50%;
    z-index: 400;
    width: min(calc(100% - 32px), 420px);
    transform: translate(-50%, -12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-toast.is-open {
    opacity: 1;
    transform: translate(-50%, 0);
    pointer-events: auto;
}

.site-toast__card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 14px 14px 16px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #e1d5dc;
    box-shadow: 0 10px 28px rgba(90, 27, 64, 0.16);
}

.site-toast__icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #5a1b40;
    position: relative;
}

.site-toast__icon::after {
    content: "";
    position: absolute;
    left: 7px;
    top: 4px;
    width: 6px;
    height: 10px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.site-toast__text {
    margin: 0;
    flex: 1;
    font-family: Inter, "Segoe UI", sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
    color: #5a1b40;
}

.site-toast__close {
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #673754;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.site-toast__close:hover {
    background: #f1ecef;
    color: #5a1b40;
}

/* Footer */
.footer {
    background: #5a1b40;
    color: #ffffff;
    padding: 0 60px;
    box-sizing: border-box;
}

.footer__frame {
    width: 1320px;
    max-width: 100%;
    margin: 0 auto;
}

.footer__top {
    display: flex;
    justify-content: space-between;
    gap: 48px;
    padding: 64px 0 48px;
}

.footer__brand {
    max-width: 420px;
}

.footer__brand .logo--light {
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    font-size: 28px;
    line-height: 100%;
    letter-spacing: 0;
}

.footer__brand p {
    margin-top: 16px;
    font-family: Inter, "Segoe UI", sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.55;
    color: #ffffff;
}

.footer__links h4 {
    margin: 0 0 18px;
    font-family: Inter, "Segoe UI", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ffffff;
}

.footer__links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__links a {
    font-family: Inter, "Segoe UI", sans-serif;
    font-weight: 300;
    font-size: 16px;
    color: #ffffff;
}

.footer__links a:hover {
    opacity: 0.85;
}

.footer__bottom {
    border-top: 2px solid #ffffff;
    background: #5a1b40;
    padding: 18px 0 28px;
}

.footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.footer__bottom p {
    margin: 0;
    font-family: Inter, "Segoe UI", sans-serif;
    font-weight: 300;
    font-size: 0.82rem;
    color: #ffffff;
}

.footer__powered {
    margin-left: auto;
    text-align: right;
    white-space: nowrap;
}

/* Responsive */
@media (max-width: 1439px) {
    .header {
        padding: 0 24px;
    }

    .header__inner,
    .header__inner.container {
        width: 100%;
        height: auto;
        min-height: 72px;
        padding: 0;
    }

    .header__cta {
        width: auto;
        min-width: 168px;
        padding: 0 18px;
    }

    .hero,
    .services,
    .pricing,
    .process,
    .contact,
    .footer {
        padding-left: 24px;
        padding-right: 24px;
    }

    .hero {
        padding-top: 40px;
    }

    .hero__frame,
    .services__frame,
    .pricing__frame,
    .process__frame,
    .contact__frame,
    .footer__frame {
        width: 100%;
    }

    .services__frame {
        min-height: 0;
    }

    .services__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .service-card {
        width: 100%;
    }

    .form-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: stretch;
    }

    .contact__form .form-row input {
        width: 100%;
    }
}

@media (max-width: 1100px) {
    .services__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .services__intro .section__title,
    .services__intro .section__desc,
    .pricing__intro .section__title,
    .pricing__intro .section__desc,
    .pricing__note,
    .process__intro .section__title,
    .contact__intro .section__title {
        white-space: normal;
    }

    .hero__frame {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        gap: 28px;
    }
}

@media (max-width: 960px) {
    .hero__frame,
    .process__grid,
    .contact__layout {
        grid-template-columns: 1fr;
    }

    .hero__frame {
        gap: 24px;
        min-height: 0;
    }

    .hero__media {
        order: -1;
        max-width: none;
        justify-self: stretch;
        aspect-ratio: 16 / 10;
    }

    .hero__values-inner {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 32px 0;
    }

    .value h3 {
        font-size: 28px;
    }

    .services__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 14px;
        row-gap: 14px;
    }

    .service-card {
        width: 100%;
        min-height: 0;
    }

    .pricing__footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .pricing__note {
        margin-right: 0;
        max-width: 100%;
    }

    .process-step {
        min-height: 0;
    }

    .pricing__table {
        min-width: 0;
    }
}

@media (max-width: 768px) {
    html,
    body {
        overflow-x: hidden;
        width: 100%;
    }

    .container {
        width: 100%;
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
        box-sizing: border-box;
    }

    .header {
        padding: 0 16px;
    }

    .header__inner,
    .header__inner.container {
        min-height: 56px;
        padding: 0;
    }

    .logo {
        height: 56px;
    }

    .logo img {
        height: 56px;
    }

    .header__right,
    .nav,
    .header__actions,
    .header__cta,
    .header__login {
        display: none;
    }

    .menu-btn {
        display: flex;
    }

    .nav-toggle:checked ~ .menu-btn span:first-child {
        transform: translateY(3.25px) rotate(45deg);
    }

    .nav-toggle:checked ~ .menu-btn span:last-child {
        transform: translateY(-3.25px) rotate(-45deg);
    }

    .menu-btn span {
        transition: transform 0.2s ease;
    }

    .mobile-nav {
        display: none;
        flex-direction: column;
        gap: 18px;
        padding: 8px 4px 20px;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
    }

    .nav-toggle:checked ~ .mobile-nav,
    .header__inner:has(.nav-toggle:checked) + .mobile-nav,
    .header:has(.nav-toggle:checked) .mobile-nav {
        display: flex;
    }

    .mobile-nav a {
        font-size: 14px;
        font-weight: 600;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--green);
    }

    .mobile-nav .btn,
    .mobile-nav .btn--primary,
    .mobile-nav .mobile-nav__btn {
        width: fit-content;
        min-height: 44px;
        padding: 0 18px;
        text-transform: none;
        letter-spacing: 0.01em;
        color: #ffffff;
        background: #5a1b40;
        border-color: #5a1b40;
    }

    .mobile-nav .btn:hover,
    .mobile-nav .btn--primary:hover,
    .mobile-nav .mobile-nav__btn:hover {
        color: #ffffff;
        background: #5a1b40;
    }

    .hero,
    .services,
    .pricing,
    .process,
    .contact,
    .footer {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero {
        padding-top: 28px;
    }

    .hero__title {
        font-size: clamp(34px, 10vw, 48px);
    }

    .hero__text {
        max-width: none;
        font-size: 15px;
    }

    .hero__actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .hero__btn {
        width: 100%;
    }

    .hero__values {
        margin-top: 32px;
    }

    .hero__values-inner {
        padding-left: 0;
        padding-right: 0;
    }

    .services {
        padding-top: 48px;
        padding-bottom: 56px;
    }

    .services__eyebrow {
        width: auto;
        height: auto;
        white-space: normal;
    }

    .services__grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .service-card {
        width: 100%;
        padding: 18px 18px 22px;
    }

    .pricing {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .pricing__table-wrap {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .pricing__table {
        width: 100%;
        min-width: 0;
        table-layout: fixed;
    }

    .pricing__table th,
    .pricing__table td {
        padding: 14px 12px;
        font-size: 13px;
        vertical-align: top;
    }

    .pricing__th-app,
    .pricing__cell-app {
        width: 48%;
    }

    .pricing__th-dur,
    .pricing__cell-dur,
    .pricing__th-fee,
    .pricing__cell-fee {
        width: 26%;
    }

    .pricing__item-title {
        font-size: 0.92rem;
    }

    .pricing__item-desc {
        font-size: 0.82rem;
    }

    .pricing__cta {
        width: 100%;
    }

    .process,
    .contact {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .contact__label,
    .contact__value {
        font-size: 15px;
        line-height: 1.35;
    }

    .contact__form,
    .contact__info {
        padding: 24px 20px;
    }

    .contact__form .form-row input {
        width: 100%;
    }

    .footer {
        padding-left: 16px;
        padding-right: 16px;
    }

    .footer__frame {
        width: 100%;
    }

    .footer__top {
        flex-direction: column;
        gap: 32px;
        padding: 40px 0 32px;
    }

    .footer__brand {
        max-width: none;
    }

    .footer__bottom {
        padding: 16px 0 24px;
    }

    .footer__bottom-inner {
        gap: 12px;
    }

    .footer__bottom p {
        font-size: 0.78rem;
        line-height: 1.45;
    }
}

@media (max-width: 480px) {
    .hero__media {
        aspect-ratio: 4 / 3;
    }

    .value h3 {
        font-size: 24px;
    }

    .pricing__table th,
    .pricing__table td {
        padding: 12px 8px;
        font-size: 12px;
    }

    .pricing__table th:nth-child(2),
    .pricing__table th:nth-child(3),
    .pricing__table td:nth-child(2),
    .pricing__table td:nth-child(3) {
        white-space: normal;
    }
}

/* Price list page */
.price-page {
    padding: 72px 0 88px;
    background: #fdfbf7;
}

.price-page .container {
    width: 90%;
    max-width: 1320px;
    margin: 0 auto;
}

.price-page .eyebrow {
    font-family: Inter, "Segoe UI", sans-serif;
    font-weight: 700;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #673754;
}

.price-page .section__title {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    font-size: 48px;
    line-height: 1;
    letter-spacing: 0;
    color: #5a1b40;
}

.price-page__intro {
    max-width: none;
    margin-bottom: 40px;
}

.price-page__intro .section__desc,
.price-page [data-price-list-intro] {
    max-width: 62ch;
    margin-top: 16px;
    font-family: Inter, "Segoe UI", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0;
    color: #673754;
    white-space: normal;
}

.price-list {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.price-section__title {
    margin: 0 0 16px;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    font-size: 28px;
    line-height: 1.15;
    letter-spacing: 0;
    color: #5a1b40;
}

.price-section .pricing__table {
    min-width: 0;
}

.price-section .pricing__table th,
.price-section .pricing__table td {
    font-size: 15px;
}

.pricing__item-title {
    display: block;
    font-family: Inter, "Segoe UI", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #5a1b40;
    margin-bottom: 4px;
}

.pricing__item-desc {
    margin: 0;
    font-family: Inter, "Segoe UI", sans-serif;
    font-size: 0.92rem;
    font-weight: 400;
    line-height: 1.45;
    color: #673754;
}

.price-error {
    color: #8a2f2f;
    font-family: Inter, "Segoe UI", sans-serif;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .price-page {
        padding: 48px 0 64px;
    }

    .price-page .section__title {
        font-size: 40px;
    }

    .price-section__title {
        font-size: 24px;
    }

    .price-section .pricing__table th,
    .price-section .pricing__table td {
        padding: 14px 16px;
        font-size: 13px;
    }
}

/* Services page */
.services-page {
    padding: 72px 0 88px;
    background: var(--bg);
}

.services-page .container {
    width: 90%;
    margin: 0 auto;
}

.services-page .eyebrow {
    font-family: Inter, "Segoe UI", sans-serif;
    font-weight: 700;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0;
    color: #673754;
}

.services-page .section__title {
    font-family: Georgia, serif;
    font-weight: 400;
    font-size: 48px;
    line-height: 1;
    letter-spacing: 0;
    color: #5a1b40;
}

.services-page__intro {
    max-width: none;
    margin-bottom: 36px;
}

.services-page__intro .section__desc {
    max-width: none;
    margin-top: 16px;
    font-family: Inter, "Segoe UI", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 0;
    color: #673754;
}

.services-page__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.service-detail {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    height: 283px;
    background: var(--white);
    border: 1px solid #e1d5dc;
    border-radius: 8px;
    padding: 24px 24px 22px;
    box-shadow: none;
}

.service-detail__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: var(--green-soft);
    color: #5a1b40;
    flex-shrink: 0;
    opacity: 1;
}

.service-detail__icon svg {
    width: 16px;
    height: 16px;
}

.service-detail__title {
    font-family: Georgia, serif;
    font-weight: 400;
    font-size: 28px;
    line-height: 1;
    letter-spacing: 0;
    color: #5a1b40;
}

.service-detail__text,
.service-detail__list {
    font-family: Inter, "Segoe UI", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1;
    letter-spacing: 0;
    color: #673754;
}

.service-detail__text {
    margin-top: 12px;
}

.service-detail__list {
    margin-top: 16px;
    padding-left: 1.15rem;
    list-style: disc;
}

.service-detail__list li + li {
    margin-top: 8px;
}

.service-detail__fees {
    display: inline-block;
    margin: 0;
    margin-top: auto;
    padding: 16px 0 0;
    align-self: flex-start;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
    font-family: Inter, "Segoe UI", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1;
    letter-spacing: 0;
    color: #5a1b40;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

.service-detail__fees:hover {
    color: #40132e;
}

.mobile-nav a.is-active {
    color: #5a1b40;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
}

@media (max-width: 1024px) {
    .services-page__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .services-page {
        padding: 48px 0 64px;
    }

    .services-page .section__title {
        font-size: 40px;
    }

    .services-page__grid {
        grid-template-columns: 1fr;
    }

    .service-detail {
        height: auto;
        min-height: 283px;
    }
}

/* Fee popup */
html.fee-modal-open,
body.fee-modal-open {
    overflow: hidden;
}

.fee-modal {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: rgba(90, 27, 64, 0.28);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.fee-modal.is-open {
    display: flex;
}

.fee-modal__dialog {
    position: relative;
    flex: 0 0 auto;
    align-self: center;
    width: 1360px;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    overflow: visible;
    padding: 8px 10px 12px;
    border-radius: 8px;
    background: #f5f1f3;
    box-shadow: none;
}

.fee-modal__close {
    position: absolute;
    top: 8px;
    right: 10px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: #f5f1f3;
    box-shadow: none;
    color: #5a1b40;
    cursor: pointer;
}

.fee-modal__close svg {
    width: 12px;
    height: 12px;
}

.fee-modal__close:hover,
.fee-modal__close:focus-visible {
    background: #daccd4;
    box-shadow: none;
}

.fee-modal__title {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.fee-modal__table-wrap {
    margin-top: 32px;
    overflow: hidden;
    border-radius: 4px;
}

.fee-modal__table {
    width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
    font-family: Inter, "Segoe UI", sans-serif;
}

.fee-modal__table th,
.fee-modal__table td {
    padding: 16px 20px;
    vertical-align: middle;
}

.fee-modal__table th:nth-child(1),
.fee-modal__table td:nth-child(1) {
    width: 52%;
    text-align: left;
}

.fee-modal__table th:nth-child(2),
.fee-modal__table td:nth-child(2),
.fee-modal__table th:nth-child(3),
.fee-modal__table td:nth-child(3) {
    width: 24%;
    text-align: right;
}

.fee-modal__table thead th {
    background: #daccd4;
    color: #5a1b40;
    font-family: Inter, "Segoe UI", sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
}

.fee-modal__table thead th:last-child {
    padding-right: 20px;
}

.fee-modal__table tbody td {
    color: #5a1b40;
    font-family: Inter, "Segoe UI", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
    background: #ffffff;
}

.fee-modal__table tbody td strong {
    display: block;
    font-family: Inter, "Segoe UI", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
    color: #5a1b40;
}

.fee-modal__table tbody td span {
    display: block;
    margin-top: 6px;
    font-family: Inter, "Segoe UI", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
    color: #673754;
}

.fee-modal__table tbody tr + tr td {
    border-top: 1px solid #e1d5dc;
}

@media (max-width: 768px) {
    .fee-modal {
        padding: 16px;
    }

    .fee-modal__dialog {
        width: 100%;
        max-width: 100%;
        height: auto;
        max-height: none;
    }

    .fee-modal__table th,
    .fee-modal__table td {
        padding: 12px 10px;
        white-space: normal;
    }
}
