:root {
    --cream: #fff8ec;
    --cream-2: #f6ead9;
    --mint: #dff4e9;
    --mint-2: #eefaf4;
    --green: #2f7d64;
    --green-dark: #1f5d4b;
    --leaf: #79b89d;
    --coral: #e9a36f;
    --amber: #ffd89b;
    --ink: #253b35;
    --muted: #6d7f78;
    --line: #e6dccc;
    --white: #ffffff;
    --shadow: 0 24px 70px rgba(82, 61, 35, .12);
    --soft-shadow: 0 14px 34px rgba(47, 125, 100, .12);
    --radius: 28px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: "Trebuchet MS", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at 8% 8%, rgba(255, 216, 155, .25), transparent 30%),
        radial-gradient(circle at 92% 18%, rgba(223, 244, 233, .9), transparent 34%),
        linear-gradient(180deg, var(--cream), #fffdf8 42%, #f7fbf7);
    line-height: 1.62;
}

a { color: inherit; }

img { max-width: 100%; height: auto; display: block; }

.container {
    width: min(1160px, calc(100% - 36px));
    margin: 0 auto;
}

.narrow {
    width: min(850px, calc(100% - 36px));
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 253, 248, .92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(47, 125, 100, .14);
}

.top-line {
    background: var(--green-dark);
    color: #fff;
    font-size: 14px;
}

.top-line-inner {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.top-line a {
    font-weight: 800;
    text-decoration: none;
}

.nav-shell {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    min-width: 280px;
}

.brand img {
    flex: 0 0 auto;
    filter: drop-shadow(0 10px 20px rgba(47,125,100,.18));
}

.brand strong {
    display: block;
    font-size: 18px;
    line-height: 1.1;
    letter-spacing: -.02em;
}

.brand small {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    font-size: 15px;
}

.site-nav > a {
    text-decoration: none;
    padding: 10px 13px;
    border-radius: 999px;
    color: #36524a;
    transition: .2s ease;
    white-space: nowrap;
}

.site-nav > a:hover,
.site-nav > a.active {
    color: var(--green-dark);
    background: var(--mint);
}

.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 8px;
    padding: 5px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
}

.lang-switcher a {
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    padding: 5px 8px;
    border-radius: 999px;
    color: var(--muted);
}

.lang-switcher a.active {
    background: var(--green);
    color: #fff;
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    padding: 11px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--green-dark);
    border-radius: 3px;
    margin: 5px 0;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 74px 0 58px;
}

.hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../img/paw-pattern.svg");
    background-size: 280px;
    background-position: center top;
    opacity: .18;
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    align-items: center;
    gap: 46px;
}

.kicker,
.soft-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--green);
    font-size: 13px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.kicker:before,
.soft-label:before {
    content: "";
    width: 28px;
    height: 8px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--coral), var(--amber));
}

h1, h2, h3, p {
    overflow-wrap: anywhere;
}

h1 {
    margin: 16px 0 18px;
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.03;
    letter-spacing: -.055em;
    max-width: 760px;
}

h2 {
    margin: 0 0 14px;
    font-size: clamp(28px, 3.2vw, 44px);
    line-height: 1.08;
    letter-spacing: -.04em;
}

h3 {
    margin: 0 0 9px;
    font-size: 20px;
    line-height: 1.22;
}

.hero-text {
    margin: 0;
    max-width: 680px;
    color: #46635a;
    font-size: clamp(18px, 2vw, 22px);
}

.hero-actions,
.final-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 900;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    font: inherit;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button.primary {
    background: var(--green);
    color: #fff;
    box-shadow: 0 14px 30px rgba(47, 125, 100, .24);
}

.button.primary:hover {
    background: var(--green-dark);
}

.button.secondary {
    background: #fff;
    color: var(--green-dark);
    border: 1px solid rgba(47,125,100,.18);
    box-shadow: var(--soft-shadow);
}

.button.ghost {
    background: rgba(255,255,255,.55);
    color: var(--green-dark);
    border: 1px solid rgba(47,125,100,.18);
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.trust-row span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 12px;
    border-radius: 999px;
    color: var(--green-dark);
    background: #fff;
    border: 1px solid rgba(47,125,100,.16);
    font-size: 14px;
    font-weight: 800;
}

.hero-visual {
    position: relative;
}

.hero-visual > img {
    margin-left: auto;
    border-radius: 38px;
    filter: drop-shadow(0 24px 45px rgba(82, 61, 35, .13));
}

.appointment-card {
    position: absolute;
    left: 0;
    bottom: 26px;
    width: min(310px, 70%);
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(47,125,100,.18);
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: 20px;
}

.appointment-card strong {
    display: block;
    font-size: 18px;
}

.appointment-card p {
    margin: 8px 0 12px;
    color: var(--muted);
    font-size: 14px;
}

.appointment-card a,
.text-link {
    color: var(--green-dark);
    font-weight: 900;
    text-decoration: none;
}

.section {
    padding: 76px 0;
}

.section-head {
    max-width: 760px;
    margin-bottom: 30px;
}

.section-head p {
    margin: 0;
    color: var(--muted);
    font-size: 18px;
}

.section-head.compact {
    margin-bottom: 20px;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.service-card,
.blog-card,
.doctor-card,
.contact-card,
.price-category,
.prose-card,
.side-note,
.notice-card,
.final-cta-box {
    background: rgba(255, 255, 255, .86);
    border: 1px solid rgba(47, 125, 100, .14);
    border-radius: var(--radius);
    box-shadow: var(--soft-shadow);
}

.service-card {
    position: relative;
    overflow: hidden;
    padding: 24px;
}

.service-card:after {
    content: "";
    position: absolute;
    right: -32px;
    bottom: -34px;
    width: 110px;
    height: 110px;
    border-radius: 36px;
    background: var(--mint);
    transform: rotate(18deg);
    opacity: .7;
}

.card-icon {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin-bottom: 18px;
    border-radius: 20px;
    color: var(--green-dark);
    background: linear-gradient(135deg, var(--mint), #fff);
    border: 1px solid rgba(47,125,100,.16);
}

.icon {
    width: 38px;
    height: 38px;
}

.service-card h3,
.service-card p,
.service-card .price-badge {
    position: relative;
    z-index: 1;
}

.service-card p {
    margin: 0 0 18px;
    color: var(--muted);
}

.price-badge {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--cream);
    border: 1px solid var(--line);
    color: var(--green-dark);
    font-weight: 900;
}

.centered-action {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.about-band {
    background:
        linear-gradient(135deg, rgba(223,244,233,.84), rgba(255,248,236,.75)),
        radial-gradient(circle at 20% 10%, rgba(233,163,111,.2), transparent 30%);
    border-top: 1px solid rgba(47,125,100,.12);
    border-bottom: 1px solid rgba(47,125,100,.12);
}

.about-grid,
.price-preview-grid,
.contact-layout,
.content-grid,
.page-hero-grid {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 42px;
    align-items: center;
}

.clinic-illustration {
    border-radius: 36px;
    background: #fff;
    padding: 18px;
    border: 1px solid rgba(47,125,100,.14);
    box-shadow: var(--shadow);
}

.about-copy p,
.price-preview p,
.final-cta p {
    color: var(--muted);
    font-size: 18px;
}

.mini-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 24px 0;
}

.mini-facts div {
    padding: 18px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(47,125,100,.12);
}

.mini-facts strong {
    display: block;
    font-size: 28px;
    line-height: 1;
    color: var(--green-dark);
}

.mini-facts span {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 14px;
}

.doctor-grid,
.blog-grid,
.value-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.doctor-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 18px;
    padding: 24px;
}

.doctor-avatar {
    grid-row: span 3;
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border-radius: 28px;
    background: linear-gradient(135deg, var(--green), var(--leaf));
    color: #fff;
    font-size: 28px;
    font-weight: 900;
}

.doctor-card p {
    margin: 0;
    color: var(--muted);
}

.doctor-card .role {
    color: var(--green-dark);
    font-weight: 900;
}

.price-preview {
    background: #fffdf8;
}

.compact-prices {
    background: #fff;
    border-radius: 28px;
    border: 1px solid rgba(47,125,100,.14);
    box-shadow: var(--soft-shadow);
    padding: 10px 22px;
}

.compact-price-row,
.price-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(47,125,100,.12);
}

.compact-price-row:last-child,
.price-row:last-child {
    border-bottom: 0;
}

.compact-price-row strong,
.price-row strong {
    white-space: nowrap;
    color: var(--green-dark);
}

.final-cta {
    padding-top: 0;
}

.final-cta-box {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: center;
    padding: 34px;
    background:
        linear-gradient(135deg, rgba(47,125,100,.94), rgba(31,93,75,.96)),
        url("../img/paw-pattern.svg");
    background-size: 260px;
    color: #fff;
}

.final-cta-box p {
    margin: 0;
    color: rgba(255,255,255,.82);
}

.final-cta-box .button.secondary {
    background: #fff;
}

.page-hero {
    padding: 60px 0;
    background:
        linear-gradient(135deg, rgba(223,244,233,.78), rgba(255,248,236,.9)),
        url("../img/paw-pattern.svg");
    background-size: 300px;
    border-bottom: 1px solid rgba(47,125,100,.12);
}

.page-hero p {
    max-width: 760px;
    margin: 0;
    color: var(--muted);
    font-size: 19px;
}

.notice-card {
    padding: 24px;
    display: grid;
    gap: 10px;
    align-content: center;
    justify-items: start;
}

.notice-card .icon {
    color: var(--green-dark);
}

.notice-card strong {
    font-size: 20px;
    line-height: 1.3;
}

.notice-card span {
    color: var(--muted);
}

.content-grid {
    align-items: start;
    grid-template-columns: 1fr 330px;
}

.prose-card {
    padding: 32px;
}

.prose-card p,
.article-content p {
    color: #4b635b;
    font-size: 18px;
}

.side-note {
    padding: 24px;
    display: grid;
    gap: 12px;
    position: sticky;
    top: 130px;
}

.side-note strong {
    font-size: 20px;
}

.side-note span {
    padding-top: 12px;
    border-top: 1px solid rgba(47,125,100,.12);
    color: var(--muted);
}

.values-section {
    background: var(--mint-2);
}

.value-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.value-grid article {
    background: #fff;
    border: 1px solid rgba(47,125,100,.14);
    border-radius: 26px;
    padding: 22px;
}

.value-grid strong {
    color: var(--coral);
    font-size: 14px;
    letter-spacing: .12em;
}

.value-grid p {
    color: var(--muted);
    margin-bottom: 0;
}

.price-list {
    display: grid;
    gap: 18px;
}

.price-category {
    overflow: hidden;
}

.price-category-head {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 24px 12px;
}

.price-category-head .card-icon {
    margin-bottom: 0;
}

.price-category h2 {
    font-size: 28px;
    margin: 0;
}

.price-table {
    padding: 0 24px 10px;
}

.contact-section {
    background: #fffdf8;
}

.contact-layout {
    align-items: start;
    grid-template-columns: .9fr 1.1fr;
}

.contact-cards {
    display: grid;
    gap: 14px;
}

.contact-card {
    padding: 20px;
}

.contact-card span {
    display: block;
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.contact-card strong {
    display: block;
    margin-top: 4px;
    font-size: 18px;
}

.contact-card a {
    color: var(--green-dark);
    text-decoration: none;
}

.contact-card.wide {
    background: var(--mint-2);
}

.hours-line {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin: 10px 0 0;
    padding-top: 10px;
    border-top: 1px solid rgba(47,125,100,.14);
}

.form-panel {
    background: #fff;
    border: 1px solid rgba(47,125,100,.14);
    border-radius: 32px;
    box-shadow: var(--shadow);
    padding: 28px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.contact-form label {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
    font-weight: 900;
    color: #35554c;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(47,125,100,.22);
    background: #fffdf8;
    border-radius: 18px;
    padding: 13px 14px;
    color: var(--ink);
    font: inherit;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 4px solid rgba(121,184,157,.2);
    border-color: var(--green);
}

.checkbox-label {
    display: flex !important;
    align-items: flex-start;
    gap: 10px !important;
    color: var(--muted) !important;
    font-weight: 500 !important;
}

.checkbox-label input {
    width: auto;
    margin-top: 5px;
}

.checkbox-label a {
    color: var(--green-dark);
    font-weight: 900;
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-alert {
    border-radius: 18px;
    padding: 14px 16px;
    margin-bottom: 18px;
    font-weight: 900;
}

.form-alert.success {
    background: #e8f8ef;
    color: #1b623c;
    border: 1px solid #bce9cd;
}

.form-alert.error {
    background: #fff0eb;
    color: #8c311c;
    border: 1px solid #f0c5b7;
}

.map-section iframe {
    display: block;
    width: 100%;
    height: 420px;
    border: 0;
    filter: saturate(.92);
}

.blog-card {
    padding: 26px;
}

.blog-card h2 {
    font-size: 27px;
}

.blog-card a {
    text-decoration: none;
}

.blog-card p {
    color: var(--muted);
}

.blog-date {
    color: var(--green-dark) !important;
    font-weight: 900;
    font-size: 14px !important;
    margin: 0 0 10px !important;
}

.article-content {
    max-width: 820px;
}

.article-content h2 {
    margin-top: 34px;
    font-size: 30px;
}

.article-content a {
    color: var(--green-dark);
}

.site-footer {
    background:
        linear-gradient(135deg, #23473d, #173a31),
        url("../img/paw-pattern.svg");
    background-size: 300px;
    color: #fff;
    padding: 46px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr;
    gap: 26px;
}

.footer-brand {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.site-footer p,
.site-footer a {
    color: rgba(255,255,255,.78);
}

.site-footer a {
    text-decoration: none;
}

.footer-credit {
    font-size: 13px;
}

.cookie-banner {
    position: fixed;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 80;
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(47,125,100,.16);
    box-shadow: var(--shadow);
}

.cookie-banner p {
    margin: 0;
    color: var(--muted);
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-actions button,
.cookie-actions a {
    border: 0;
    border-radius: 999px;
    padding: 10px 14px;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    background: var(--green);
    color: #fff;
    font: inherit;
}

.cookie-actions button:nth-child(2),
.cookie-actions a {
    background: var(--mint);
    color: var(--green-dark);
}

[hidden] { display: none !important; }

@media (max-width: 980px) {
    .nav-toggle {
        display: block;
        margin-left: auto;
    }

    .site-nav {
        position: absolute;
        left: 18px;
        right: 18px;
        top: calc(100% + 8px);
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
        background: #fff;
        border: 1px solid rgba(47,125,100,.14);
        border-radius: 24px;
        box-shadow: var(--shadow);
    }

    .site-nav.open {
        display: flex;
    }

    .site-nav > a {
        border-radius: 14px;
    }

    .lang-switcher {
        margin-left: 0;
        justify-content: center;
    }

    .hero-grid,
    .about-grid,
    .price-preview-grid,
    .contact-layout,
    .content-grid,
    .page-hero-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

    .value-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .side-note {
        position: static;
    }
}

@media (max-width: 640px) {
    .container,
    .narrow {
        width: min(100% - 26px, 1160px);
    }

    .top-line-inner {
        justify-content: flex-start;
        gap: 8px 14px;
        padding: 8px 0;
        font-size: 13px;
    }

    .nav-shell {
        min-height: 74px;
    }

    .brand {
        min-width: 0;
        max-width: calc(100% - 62px);
    }

    .brand strong {
        font-size: 15px;
    }

    .brand small {
        display: none;
    }

    .hero {
        padding: 46px 0 38px;
    }

    h1 {
        font-size: clamp(32px, 11vw, 44px);
    }

    .hero-text,
    .page-hero p {
        font-size: 17px;
    }

    .hero-visual > img {
        border-radius: 28px;
    }

    .appointment-card {
        position: relative;
        width: 100%;
        left: auto;
        bottom: auto;
        margin-top: 14px;
    }

    .section {
        padding: 52px 0;
    }

    .service-cards,
    .doctor-grid,
    .blog-grid,
    .value-grid,
    .form-grid,
    .mini-facts {
        grid-template-columns: 1fr;
    }

    .doctor-card {
        grid-template-columns: 1fr;
    }

    .final-cta-box,
    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .compact-price-row,
    .price-row {
        flex-direction: column;
        gap: 4px;
    }
}


/* v5 logo refinements */
.brand.brand-logo { min-width: 280px; gap: 0; }
.brand.brand-logo img { width: min(320px, 56vw); height: auto; filter: drop-shadow(0 10px 22px rgba(47,125,100,.12)); }
.brand.brand-logo + .nav-toggle { margin-left: auto; }
@media (max-width: 900px) {
  .brand.brand-logo { min-width: 0; }
  .brand.brand-logo img { width: min(285px, 72vw); }
}
@media (max-width: 520px) {
  .brand.brand-logo img { width: min(245px, 76vw); }
}


/* Doctors section */
.doctors-section {
    padding-top: 96px;
    padding-bottom: 88px;
}

.doctors-section .section-head {
    margin-bottom: 32px;
}

.doctor-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.doctor-card {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 28px;
    background: #ffffff;
    border: 1px solid #dbe7df;
    border-radius: 32px;
    box-shadow: 0 14px 34px rgba(23, 96, 76, 0.08);
}

.doctor-photo {
    width: 140px;
    height: 140px;
    min-width: 140px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    display: block;
    flex: 0 0 140px;
}

.doctor-info {
    flex: 1 1 auto;
    min-width: 0;
}

.doctor-info h3 {
    margin: 0 0 10px;
}

.doctor-card .role {
    margin: 0 0 14px;
    font-weight: 700;
    color: #17604c;
}

.doctor-card p {
    margin-top: 0;
    line-height: 1.7;
}

@media (max-width: 900px) {
    .doctor-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .doctor-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .doctor-photo {
        width: 120px;
        height: 120px;
        min-width: 120px;
        flex-basis: 120px;
    }
}