:root {
    --navy: #073653;
    --navy-deep: #04283e;
    --teal: #087f88;
    --teal-light: #dff1ee;
    --paper: #f8faf8;
    --mist: #edf4f2;
    --muted: #60777b;
    --line: #d6e4e1;
    --orange: #df876d;
    --white: #fff;
    --content: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--navy); font-family: 'DM Sans', sans-serif; font-size: 17px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { max-width: 100%; }

.notice { min-height: 36px; padding: 8px max(5vw, 24px); display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--navy-deep); color: #dcecea; font-size: 12px; font-weight: 500; letter-spacing: .04em; }
.notice i { display: inline-block; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%; background: #78c5a4; }
.public-header { position: relative; z-index: 5; min-height: 138px; padding: 10px max(5vw, 24px); display: flex; align-items: center; justify-content: space-between; background: var(--white); border-bottom: 1px solid var(--line); }
.main-logo { display: block; width: 250px; height: 118px; }
.main-logo img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: left center; mix-blend-mode: multiply; }
.public-nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); color: #526d73; font-size: 14px; font-weight: 500; }
.public-nav a { padding: 12px 0; border-bottom: 2px solid transparent; transition: color .2s ease, border-color .2s ease; }
.public-nav a:hover, .public-nav a.is-active { color: var(--teal); border-color: var(--teal); }
.public-nav .team-link { color: var(--navy); font-weight: 700; }
.mobile-menu { display: none; border: 0; background: transparent; cursor: pointer; }

.cover-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr); min-height: 620px; background: var(--white); }
.cover-copy { padding: clamp(64px, 8vw, 112px) clamp(32px, 8vw, 120px); display: flex; flex-direction: column; align-items: flex-start; }
.kicker { margin: 0 0 18px; color: var(--teal); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.cover-copy h1 { max-width: 690px; margin: 0; font-size: clamp(52px, 6vw, 86px); font-weight: 500; line-height: .98; letter-spacing: -.04em; }
h1 em, h2 em { color: var(--teal); font-family: 'Playfair Display', serif; font-weight: 500; }
.cover-intro { max-width: 470px; margin: 30px 0 0; color: var(--muted); font-size: 18px; line-height: 1.65; }
.cover-actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; margin-top: 32px; }
.cover-details { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: auto; padding-top: 46px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.cover-details p { margin: 0; }
.cover-details__badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: rgba(15,118,110,.1); color: var(--navy); font-weight: 700; }
.cover-details__badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(15,118,110,.2); }
.cover-details__hours b { color: var(--navy); font-weight: 600; }
.cover-details__hours span { margin: 0 10px; opacity: .45; }
.cover-details__note { font-size: 13px; opacity: .85; }
.cover-brand { position: relative; min-height: 620px; overflow: hidden; background: var(--navy); color: var(--white); }
.cover-brand .brand-frame { position: absolute; inset: 0; width: 100%; height: 100%; }
.cover-brand .brand-frame::after { position: absolute; inset: 0; content: ''; background: linear-gradient(180deg, rgba(4,40,62,.02) 25%, rgba(4,40,62,.78) 100%); }
.cover-brand .brand-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0; transition: opacity .8s ease; }
.cover-brand .brand-frame img.is-active { opacity: 1; }
.cover-brand .carousel-caption { position: absolute; z-index: 1; left: 9%; bottom: 8%; margin: 0; color: var(--white); font-size: 18px; line-height: 1.4;  white-space: pre-line; opacity: 0; transition: opacity .8s ease; }
.cover-brand .carousel-caption.is-active { opacity: 1; }
.cover-carousel-controls { position: absolute; z-index: 2; right: 8%; bottom: 8%; display: flex; align-items: center; gap: 12px; }
.cover-carousel-controls button { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid rgba(255,255,255,.72); background: rgba(4,40,62,.35); color: var(--white); cursor: pointer; }
.cover-carousel-controls button:hover, .cover-carousel-controls button:focus-visible { background: var(--white); color: var(--navy); }
.cover-carousel-controls button:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.cover-carousel-dots { display: flex; gap: 7px; }
.cover-carousel-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.6); }
.cover-carousel-dots button.is-active { background: var(--white); }

.outline-link, .emergency-link, .admin-site-link, .button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 14px 19px; border: 1px solid var(--teal); font-size: 14px; font-weight: 700; line-height: 1.2; transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.outline-link { background: var(--white); color: var(--teal); }
.outline-link span, .button span { font-size: 20px; transition: transform .2s ease; }
.outline-link:hover, .admin-site-link:hover { background: var(--teal); color: var(--white); box-shadow: 0 10px 22px rgba(8,127,136,.18); transform: translateY(-2px); }
.outline-link:hover span, .button:hover span { transform: translateX(4px); }
.outline-link--light { border-color: #b7ddd8; background: transparent; color: var(--white); }
.outline-link--light:hover { border-color: var(--white); background: var(--white); color: var(--navy); }
.emergency-link { border-color: var(--orange); background: var(--orange); color: var(--white); box-shadow: 0 10px 22px rgba(223,135,109,.2); }
.emergency-link:hover { border-color: #c96e57; background: #c96e57; box-shadow: 0 12px 24px rgba(201,110,87,.3); transform: translateY(-2px); }
.emergency-link--phone { border-color: var(--teal); background: var(--teal); box-shadow: 0 10px 22px rgba(8,127,136,.2); }
.emergency-link--phone:hover { border-color: #066b72; background: #066b72; box-shadow: 0 12px 24px rgba(6,107,114,.3); }
.emergency-link__label { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.emergency-link strong { white-space: nowrap; font-size: 15px; }
.text-arrow { display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; color: var(--teal); font-size: 15px; font-weight: 700; }
.article-body { max-width: 720px; margin: 0 auto; }
.article-body p { margin: 0 0 24px; color: var(--muted); font-size: 18px; line-height: 1.8; }
.article-body p:last-of-type { margin-bottom: 0; }
.article-body .text-arrow { margin-top: 40px; }

.blog-tag { margin: 0 0 10px; color: var(--teal); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.blog-feature { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; max-width: var(--content); margin: 0 auto 64px; padding-bottom: 64px; border-bottom: 1px solid var(--line); }
.blog-feature__media { overflow: hidden; aspect-ratio: 16 / 11; background: linear-gradient(135deg, var(--mist), var(--teal-light)); }
.blog-feature__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.blog-feature__media--empty { display: grid; place-items: center; color: var(--teal); font-size: 44px; }
.blog-feature__body h3 { margin: 0 0 16px; font-size: clamp(28px, 3.4vw, 40px); font-weight: 500; line-height: 1.1; letter-spacing: -.01em; }
.blog-feature__body p:not(.blog-tag) { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.7; }
.blog-list { max-width: var(--content); margin: 0 auto; display: grid; }
.blog-row { display: grid; grid-template-columns: 130px minmax(0, 1fr) 44px; align-items: center; gap: 28px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.blog-row__media { width: 130px; height: 96px; overflow: hidden; background: linear-gradient(135deg, var(--mist), var(--teal-light)); }
.blog-row__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.blog-row__media--empty { display: grid; place-items: center; color: var(--teal); font-size: 24px; }
.blog-row__body h3 { margin: 0 0 6px; font-size: 21px; font-weight: 500; }
.blog-row__body p:not(.blog-tag) { margin: 0; max-width: 560px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.blog-row__link { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--teal); color: var(--teal); font-size: 19px; transition: color .2s ease, background .2s ease, transform .2s ease; }
.blog-row__link:hover { background: var(--teal); color: var(--white); transform: translate(2px, -2px); }
.text-arrow span { font-size: 20px; transition: transform .2s ease; }
.text-arrow:hover span { transform: translate(3px, -3px); }
.outline-link:focus-visible, .emergency-link:focus-visible, .admin-site-link:focus-visible, .button:focus-visible, .text-arrow:focus-visible { outline: 3px solid rgba(223,135,109,.7); outline-offset: 4px; }

.promise-strip { display: flex; justify-content: center; gap: clamp(18px, 4vw, 48px); padding: 20px 5%; background: var(--navy); color: #e1eeeb; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.promise-strip b { color: #83c5c0; font-size: 15px; }
.section { padding: clamp(72px, 9vw, 125px) max(8vw, 32px); }
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 5%; background: var(--white); padding-left: max(14vw, 32px); }
.story h2, .section-heading h2, .advice h2 { margin: 0; font-size: clamp(40px, 4vw, 58px); font-weight: 500; line-height: 1.04; letter-spacing: -.035em; }
.story-copy { max-width: 500px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.story-copy p { margin: 0 0 20px; }
.team-section { background: var(--white); }
.team-heading { max-width: var(--content); margin: 0 auto 42px; display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; }
.team-heading h2, .google-reviews h2 { margin: 0; font-size: clamp(40px, 4vw, 58px); font-weight: 500; line-height: 1.04; }
.team-heading > p { max-width: 390px; margin: 0; color: var(--muted); font-size: 17px; }
.team-grid { max-width: var(--content); margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.team-card { min-width: 0; }
.team-card__photo { display: grid; place-items: center; overflow: hidden; aspect-ratio: 4 / 5; background: var(--teal-light); color: var(--teal); font-family: 'Playfair Display', serif; font-size: 52px; }
.team-card__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { margin: 20px 0 6px; font-size: 22px; font-weight: 500; }
.team-card > p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; white-space: pre-line; }
.team-empty { max-width: var(--content); margin: 0 auto; padding: 24px 0; border-top: 1px solid var(--line); color: var(--muted); }
.google-reviews { background: var(--teal-light); }
.google-reviews__inner { max-width: var(--content); margin: 0 auto; display: grid; grid-template-columns: 1fr minmax(220px, .8fr) auto; align-items: center; gap: 36px; }
.google-reviews__inner > p { margin: 0; max-width: 390px; color: var(--muted); }
.google-reviews__summary p { margin: 4px 0; color: var(--muted); }
.google-reviews__score span { color: #9a5b00; font-weight: 700; }
.google-reviews__slider { max-width: var(--content); margin: 42px auto 0; display: flex; align-items: center; gap: 12px; }
.google-reviews__list { flex: 1; min-width: 0; display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.google-reviews__list::-webkit-scrollbar { display: none; }
.google-reviews__nav { flex: none; width: 44px; height: 44px; border: 1px solid rgba(28, 78, 75, .3); background: #fff; color: inherit; font-size: 20px; cursor: pointer; }
.google-review { flex: 0 0 min(100%, 340px); scroll-snap-align: start; min-width: 0; padding: 22px; border: 1px solid rgba(28, 78, 75, .18); background: rgba(255, 255, 255, .55); }
.google-review__meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; }
.google-review__meta strong { font-size: 16px; font-weight: 600; }
.google-review__meta span { color: #9a5b00; white-space: nowrap; }
.google-review > p { margin: 16px 0 12px; color: var(--muted); line-height: 1.65; white-space: pre-line; }
.google-review > p:not(.is-expanded) { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.google-review__more { display: block; margin: 0 0 12px; padding: 0; border: 0; background: none; color: var(--teal, #1c4e4b); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
.google-review__more[hidden] { display: none; }
.google-review small, .google-reviews__empty { color: var(--muted); }
.google-reviews__empty { max-width: var(--content); margin: 28px auto 0; }
.team-admin-photo { display: block; width: 56px; height: 56px; object-fit: cover; }
.services { background: var(--mist); }
.section-heading { max-width: var(--content); margin: 0 auto 48px; display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; }
.section-heading > p { max-width: 370px; margin: 0; color: var(--muted); font-size: 17px; }
.service-list { max-width: var(--content); margin: 0 auto; border-top: 1px solid var(--line); }
.service-item { display: grid; grid-template-columns: 70px minmax(0, 1fr) 44px; align-items: center; gap: 20px; padding: 28px 20px; border-bottom: 1px solid var(--line); }
.service-item__icon { display: grid; width: 44px; height: 44px; place-items: center; color: var(--teal); }
.service-item__icon svg { display: block; width: 34px; height: 34px; }
.service-item h3 { margin: 0; font-size: 23px; font-weight: 500; }
.service-item p { margin: 3px 0 0; color: var(--muted); font-size: 16px; }
.service-item > a { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--teal); color: var(--teal); font-size: 19px; transition: color .2s ease, background .2s ease, transform .2s ease; }
.service-item > a:hover { background: var(--teal); color: var(--white); transform: translate(2px, -2px); }
.service-item--accent { background: var(--teal); color: var(--white); border-color: var(--teal); }
.service-item--accent .service-item__icon, .service-item--accent p { color: #d9f0ec; }
.service-item--accent > a { border-color: #d9f0ec; color: #d9f0ec; }
.service-item--accent > a:hover { background: var(--white); color: var(--teal); }

.service-feature-list { max-width: var(--content); margin: 0 auto; display: grid; gap: clamp(56px, 8vw, 96px); }
.service-feature { display: flex; align-items: center; gap: clamp(32px, 6vw, 80px); }
.service-feature--reverse { flex-direction: row-reverse; }
.service-feature__media { position: relative; flex: 1 1 42%; min-width: 0; overflow: hidden; }
.service-feature__media img { display: block; width: 100%; height: 360px; object-fit: cover; object-position: center; }
.service-feature__body { flex: 1 1 58%; min-width: 0; }
.service-feature__body h3 { margin: 0 0 14px; font-size: clamp(26px, 3vw, 34px); font-weight: 500; letter-spacing: -.01em; }
.service-feature__body p { margin: 0; max-width: 520px; color: var(--muted); font-size: 17px; line-height: 1.75; }

.advice { display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 60px; min-height: 390px; background: var(--navy); color: var(--white); }
.advice-card { max-width: 620px; }
.advice h2 { margin-bottom: 24px; }
.advice h2 em { color: #8ed0c9; }
.advice-card > p:not(.kicker) { max-width: 500px; color: #bed2d3; font-size: 18px; }
.advice-mark { display: flex; align-items: center; justify-content: center; flex-direction: column; color: #8ed0c9; font-family: 'Playfair Display', serif; font-size: 130px; line-height: .8; }
.advice-mark small { margin-top: 26px; color: #bed2d3; font-family: 'DM Sans', sans-serif; font-size: 12px; line-height: 1.7; letter-spacing: .16em; text-align: center; text-transform: uppercase; }
    .public-footer { display: grid; grid-template-columns: 1.45fr repeat(4, minmax(0, 1fr)); gap: 40px 28px; padding: 64px max(8vw, 32px) 26px; background: var(--navy-deep); color: #bdd1d1; font-size: 14px; line-height: 1.6; }
    .footer-brand { padding-right: 18px; }
    .public-footer img { display: block; width: 165px; height: 76px; margin-bottom: 18px; object-fit: contain; object-position: left center; mix-blend-mode: screen; }
    .public-footer p { margin: 0; }
    .footer-brand p { color: #e2efec; font-size: 16px; line-height: 1.5; }
    .footer-section { min-width: 0; }
    .footer-section address { font-style: normal; }
    .footer-label { margin-bottom: 14px !important; color: #8ed0c9; font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
    .footer-hours p + p { margin-top: 10px; }
    .footer-hours strong { color: var(--white); font-weight: 500; }
    .footer-contact { padding-left: 22px; border-left: 1px solid #28536a; }
    .footer-phone, .footer-email, .footer-links a, .footer-bottom a { display: block; transition: color .2s ease; }
    .footer-phone { color: var(--white); font-size: 18px; font-weight: 700; }
    .footer-email { margin-top: 8px; color: #a5c9c5; overflow-wrap: anywhere; }
    .footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
    .footer-links .footer-label { margin-bottom: 6px !important; }
    .footer-links a { color: #d5e5e2; }
    .footer-phone:hover, .footer-email:hover, .footer-links a:hover, .footer-bottom a:hover { color: #8ed0c9; }
    .footer-bottom { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid #28536a; color: #8da8a8; font-size: 12px; }
    .footer-bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }
    .footer-bottom a { color: inherit; }

.page-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 38%); align-items: center; gap: 8%; padding: clamp(70px, 8vw, 112px) max(8vw, 32px); background: var(--white); border-bottom: 1px solid var(--line); }
.page-hero > div { min-width: 0; }
.page-hero h1 { max-width: 760px; margin: 0; font-size: clamp(48px, 6vw, 84px); font-weight: 500; line-height: 1; letter-spacing: -.04em; }
.page-hero > div > p:last-child { max-width: 600px; margin: 28px 0 0; color: var(--muted); font-size: 20px; line-height: 1.6; }
.page-hero > img { width: 100%; height: 340px; object-fit: cover; object-position: center; }
.legal-page { width: min(100%, 1040px); margin: 0 auto; padding: 76px 8% 100px; }
.legal-heading { margin-bottom: 42px; }
.legal-heading h1 { margin: 0; font-size: clamp(42px, 6vw, 68px); font-weight: 500; line-height: 1.05; }
.legal-heading > p:last-child { margin: 18px 0 0; color: var(--muted); }
.legal-notice { margin-bottom: 44px; padding: 20px 22px; border-left: 3px solid var(--orange); background: #fff5ed; color: #49392e; }
.legal-notice p { margin: 8px 0 0; line-height: 1.65; }
.legal-section { padding: 26px 0; border-top: 1px solid var(--line); }
.legal-section h2 { margin: 0 0 14px; font-size: 24px; font-weight: 600; }
.legal-section p, .legal-section address { margin: 0; color: var(--muted); font-size: 16px; font-style: normal; line-height: 1.8; overflow-wrap: anywhere; }
.legal-section p + p { margin-top: 12px; }
.legal-placeholder { color: #a54a2f; }
.contact-details { font-size: 19px; line-height: 1.7; }
.contact-details p { margin: 0 0 28px; }

.admin-app { min-height: 100vh; display: grid; grid-template-columns: 250px minmax(0, 1fr); background: var(--mist); }
.admin-sidebar { display: flex; flex-direction: column; padding: 28px 20px; background: var(--navy); color: #dce9e7; }
.admin-logo { display: block; width: 160px; height: 90px; margin: 0 auto 58px; }
.admin-logo img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: screen; }
.admin-label { margin: 0 10px 12px; color: #7fa7a8; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.admin-menu { display: grid; gap: 5px; }
.admin-menu a { padding: 13px 11px; color: #abc2c1; font-size: 14px; }
.admin-menu a:hover, .admin-menu a.is-active { background: #164966; color: var(--white); }
.admin-logout { margin-top: auto; padding: 16px 11px; border-top: 1px solid #28536a; color: #abc2c1; font-size: 13px; }
.admin-content { width: min(1240px, 100%); padding: 60px 6%; }
.admin-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; }
.admin-top h1 { margin: 8px 0; font-size: clamp(34px, 4vw, 52px); font-weight: 500; line-height: 1.05; }
.admin-top > div > p:last-child { margin: 0; color: var(--muted); font-size: 16px; }
.admin-site-link { white-space: nowrap; }
.admin-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 48px 0 18px; }
.admin-metrics article, .admin-panel { padding: 26px; background: var(--white); border: 1px solid var(--line); }
.admin-metrics span, .admin-metrics small { display: block; color: var(--muted); font-size: 13px; }
.admin-metrics strong { display: block; margin: 10px 0 3px; font-size: 40px; font-weight: 500; }
.admin-metrics .warning { color: #c96d50; }
.admin-metrics article { display: flex; flex-direction: column; align-items: flex-start; }
.admin-metric-link { margin-top: 16px; color: var(--teal); font-size: 13px; font-weight: 700; }
.admin-analytics { min-height: 0; margin-top: 16px; }
.admin-analytics__heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.admin-analytics__heading h2 { margin: 5px 0; font-size: 24px; font-weight: 500; }
.admin-analytics__heading p { margin: 0; color: var(--muted); font-size: 13px; }
.admin-analytics__table-wrap { overflow-x: auto; }
.admin-analytics__table { width: 100%; border-collapse: collapse; text-align: left; }
.admin-analytics__table th, .admin-analytics__table td { padding: 14px 12px; border-bottom: 1px solid var(--line); }
.admin-analytics__table thead th { color: var(--muted); font-size: 12px; font-weight: 600; }
.admin-analytics__table tbody th { font-size: 14px; font-weight: 600; white-space: nowrap; }
.admin-analytics__table td { font-size: 14px; font-variant-numeric: tabular-nums; }
.admin-analytics__table td:last-child a { color: var(--teal); font-size: 13px; font-weight: 700; white-space: nowrap; }
.admin-analytics__bar { width: min(180px, 100%); height: 8px; overflow: hidden; background: var(--line); border-radius: 4px; }
.admin-analytics__bar span { display: block; height: 100%; background: var(--teal); }
.admin-grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: 16px; }
.admin-panel { min-height: 320px; }
.panel-heading { display: flex; justify-content: space-between; gap: 20px; }
.panel-heading h2 { margin: 5px 0 25px; font-size: 24px; font-weight: 500; }
.panel-date { color: var(--teal); font-size: 14px; }
.task-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.task-list li { display: grid; grid-template-columns: 12px 1fr 20px; gap: 12px; align-items: start; padding: 17px 0; border-top: 1px solid var(--line); }
.task-list strong { display: block; font-size: 15px; }
.task-list small { color: var(--muted); font-size: 13px; }
.task-dot { width: 10px; height: 10px; margin-top: 6px; border: 1px solid var(--teal); border-radius: 50%; }
.task-dot--done { background: var(--teal); }
.admin-panel--teal { background: var(--teal); color: var(--white); border-color: var(--teal); }
.admin-panel--teal .kicker, .admin-panel--teal p { color: #d9f0ec; }
.admin-panel--teal h2 { font-size: 30px; font-weight: 500; line-height: 1.12; }
.admin-panel--teal button { margin-top: 15px; padding: 12px 16px; border: 1px solid #d9f0ec; background: transparent; color: var(--white); cursor: pointer; }

.login-page { min-height: 100vh; display: grid; place-items: center; padding: 32px; background: var(--mist); }
.login-card { width: min(100%, 480px); padding: 42px; background: var(--white); box-shadow: 0 24px 70px rgba(7,54,83,.12); }
.login-logo { display: block; width: 190px; height: 90px; margin: 0 auto 28px; }
.login-logo img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.eyebrow { color: var(--teal); font-size: 12px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.login-card h1 { margin: 16px 0 30px; font-size: 48px; font-weight: 500; line-height: 1; }
.login-card h1 em { color: var(--teal); font-family: 'Playfair Display', serif; }
.login-form { display: grid; gap: 10px; }
.login-form label { margin-top: 8px; font-size: 14px; font-weight: 700; }
.login-form input:not([type='hidden']) { min-height: 50px; padding: 12px 14px; border: 1px solid var(--line); color: var(--navy); background: var(--paper); }
.login-form input:focus { outline: 3px solid rgba(8,127,136,.16); border-color: var(--teal); }
.login-form .button { margin-top: 14px; }
.button { width: 100%; background: var(--teal); color: var(--white); cursor: pointer; }
.button:hover { background: #066b72; border-color: #066b72; box-shadow: 0 10px 22px rgba(8,127,136,.2); transform: translateY(-2px); }
.login-error { color: #a44d32; font-size: 14px; }
.login-back { display: inline-block; margin-top: 22px; color: var(--muted); font-size: 14px; }
.login-back:hover { color: var(--teal); }

.shop-intro { max-width: var(--content); margin: 0 auto 40px; }
.shop-intro p { max-width: 620px; color: var(--muted); font-size: 17px; }
.shop-platform-link { margin-top: 18px; }
.product-grid { max-width: var(--content); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 32px; }
.product-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); overflow: hidden; transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease; }
.product-card:hover { border-color: transparent; box-shadow: 0 22px 50px rgba(7,54,83,.14); transform: translateY(-5px); }
.product-card__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--mist), var(--teal-light)); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .5s ease; }
.product-card:hover .product-card__media img { transform: scale(1.06); }
.product-card__media--empty { display: grid; place-items: center; color: var(--teal); font-family: 'Playfair Display', serif; font-size: 40px; }
.product-card__price { position: absolute; top: 14px; right: 14px; padding: 7px 13px; background: var(--navy); color: var(--white); font-size: 14px; font-weight: 700; letter-spacing: .01em; box-shadow: 0 8px 18px rgba(7,54,83,.25); }
.product-card__body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.product-card__body h3 { margin: 0 0 10px; font-size: 21px; font-weight: 500; }
.product-card__body p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; flex: 1; }
.product-card__cta { align-self: center; display: inline-flex; align-items: center; gap: 12px; margin-top: 20px; padding: 13px 18px; border: 1px solid var(--teal); background: var(--white); color: var(--teal); font-size: 14px; font-weight: 700; transition: color .2s ease, background-color .2s ease, transform .2s ease; }
.product-card__cta span { font-size: 18px; transition: transform .2s ease; }
.product-card__cta:hover { background: var(--teal); color: var(--white); transform: translateY(-2px); }
.product-card__cta:hover span { transform: translateX(4px); }
.product-empty { max-width: var(--content); margin: 0 auto; padding: 40px; color: var(--muted); text-align: center; background: var(--white); border: 1px solid var(--line); }

.contact-lead { max-width: 420px; margin: 22px 0 0; color: var(--muted); font-size: 17px; line-height: 1.65; }
.contact-visual { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 420px); max-width: var(--content); margin: 0 auto; background: var(--white); border: 1px solid var(--line); }
.contact-visual__map iframe { display: block; width: 100%; height: 100%; min-height: 480px; border: 0; filter: grayscale(.2) contrast(1.02); }
.contact-card { display: grid; gap: 20px; align-content: start; padding: 40px; border-left: 1px solid var(--line); }
.contact-card__row { display: flex; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.contact-card__row:last-of-type { padding-bottom: 0; border-bottom: none; }
.contact-card__icon { flex: none; display: grid; place-items: center; width: 42px; height: 42px; background: var(--teal-light); font-size: 18px; }
.contact-card__row div { display: grid; gap: 2px; }
.contact-card__row strong { font-size: 16px; font-weight: 700; }
.contact-card__row small { color: var(--muted); font-size: 14px; }
.contact-card__row small + strong { margin-top: 10px; }
.contact-card__map { justify-self: start; }

.admin-flash { margin: 0 0 20px; padding: 14px 16px; background: var(--teal-light); border: 1px solid #a9d9c6; color: var(--teal); font-size: 14px; }
.product-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.product-table th, .product-table td { padding: 14px 10px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.product-table th { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.product-table td.actions { display: flex; gap: 14px; white-space: nowrap; }
.product-table td.actions form { margin: 0; }
.product-table a { color: var(--teal); font-weight: 700; }
.product-table button { border: none; background: none; color: #c96d50; font-weight: 700; cursor: pointer; font-size: 14px; font-family: inherit; padding: 0; }
.badge { display: inline-block; padding: 4px 8px; font-size: 12px; font-weight: 700; }
.badge--on { background: var(--teal-light); color: var(--teal); }
.badge--off { background: #f6e6e1; color: #c96d50; }

.product-form { display: grid; gap: 18px; max-width: 620px; }
.product-form label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; color: var(--navy); }
.product-form input[type='text'], .product-form input[type='url'], .product-form input[type='number'], .product-form textarea { width: 100%; padding: 12px 13px; border: 1px solid var(--line); font-size: 15px; font-family: inherit; }
.product-form textarea { min-height: 120px; }
.product-form .checkbox-row { display: flex; align-items: center; gap: 8px; }
.product-form .checkbox-row label { margin: 0; }
.product-form .form-actions { display: flex; gap: 12px; margin-top: 6px; }
.product-form .help-text { margin: -8px 0 0; color: var(--muted); font-size: 13px; }
.product-form input[type='file'] { width: 100%; padding: 10px 0; border: none; font-size: 14px; font-family: inherit; }
.current-image { margin-bottom: -4px; }
.current-image img { display: block; width: 160px; height: 120px; object-fit: cover; border: 1px solid var(--line); }
.btn-primary { padding: 13px 20px; border: 1px solid var(--teal); background: var(--teal); color: var(--white); font-size: 14px; font-weight: 700; cursor: pointer; }
.btn-primary:hover { background: #066b72; border-color: #066b72; }
.btn-secondary { padding: 13px 20px; border: 1px solid var(--teal); background: var(--white); color: var(--teal); font-size: 14px; font-weight: 700; }
.btn-secondary:hover { background: var(--teal); color: var(--white); }

@media (max-width: 900px) {
    .public-header { min-height: 92px; }
    .notice { justify-content: center; flex-wrap: wrap; gap: 4px 12px; }
    .public-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; align-items: stretch; flex-direction: column; gap: 0; padding: 14px 7%; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 14px 25px rgba(7,54,83,.12); }
    .public-nav.is-open { display: flex; }
    .public-nav a { padding: 13px 0; }
    .mobile-menu { display: grid; gap: 6px; padding: 12px; }
    .mobile-menu span { display: block; width: 28px; height: 2px; background: var(--navy); }
    .cover-grid { display: flex; flex-direction: column; }
    .cover-brand { order: -1; min-height: 380px; }
    .cover-copy { padding: 68px 8%; }
    .cover-details { margin-top: 42px; padding-top: 0; }
    .page-hero { display: flex; flex-direction: column; align-items: stretch; gap: 36px; }
    .page-hero > img { height: 260px; order: -1; }
    .contact-visual { grid-template-columns: 1fr; }
    .contact-visual__map iframe { min-height: 320px; }
    .contact-card { border-left: none; border-top: 1px solid var(--line); padding: 26px; }
    .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .admin-app { display: block; }
    .admin-sidebar { display: none; }
    .admin-content { padding: 42px 7%; }
    .blog-feature { grid-template-columns: 1fr; }
    .blog-row { grid-template-columns: 96px minmax(0, 1fr) 36px; gap: 16px; }
    .blog-row__media { width: 96px; height: 72px; }
}

@media (max-width: 640px) {
    body { font-size: 16px; }
    .notice { min-height: 36px; padding: 8px 6%; font-size: 11px; }
    .notice span:last-child { display: none; }
    .cover-copy h1 { font-size: clamp(45px, 13vw, 68px); }
    .cover-intro { font-size: 17px; }
    .cover-actions { width: 100%; }
    .cover-actions .outline-link, .cover-actions .emergency-link { width: 100%; justify-content: space-between; }
    .cover-brand { min-height: 320px; }
    .cover-brand .carousel-caption { left: 8%; font-size: 16px; }
    .cover-carousel-controls { right: 8%; bottom: 5%; gap: 7px; }
    .cover-carousel-controls > button { width: 34px; height: 34px; }
    .cover-carousel-dots { gap: 5px; }
    .promise-strip { justify-content: flex-start; gap: 18px; overflow: hidden; white-space: nowrap; padding: 17px 8%; font-size: 10px; }
    .section { padding: 72px 8%; }
    .story, .advice { display: block; }
    .story { padding-left: max(8vw, 32px); }
    .contact-visual { margin-top: 30px; }
    .story-copy, .contact-details { margin-top: 30px; font-size: 17px; }
    .section-heading { display: block; }
    .section-heading > p { margin-top: 24px; }
    .team-heading { display: block; }
    .team-heading > p { margin-top: 24px; }
    .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
    .team-card h3 { margin-top: 14px; font-size: 18px; }
    .team-card > p { font-size: 14px; }
    .google-reviews__inner { grid-template-columns: 1fr; gap: 20px; }
    .google-reviews__inner .outline-link { justify-self: start; }
    .service-item { grid-template-columns: 34px minmax(0, 1fr) 38px; gap: 12px; padding: 21px 4px; }
    .service-item h3 { font-size: 18px; }
    .service-item p { font-size: 14px; }
    .service-feature, .service-feature--reverse { flex-direction: column; align-items: stretch; gap: 24px; }
    .service-feature__media img { height: 260px; }
    .service-item > a { width: 36px; height: 36px; }
    .advice-mark { margin-top: 45px; font-size: 90px; }
    .public-footer { grid-template-columns: 1fr 1fr; padding: 48px 8% 28px; gap: 32px 20px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-contact { padding-left: 0; border-left: 0; }
    .footer-bottom { grid-column: 1 / -1; align-items: flex-start; flex-direction: column; gap: 12px; font-size: 11px; }
    .admin-top, .admin-grid { display: block; }
    .admin-site-link { width: 100%; margin-top: 24px; }
    .admin-metrics { grid-template-columns: 1fr; margin-top: 32px; }
    .admin-panel + .admin-panel { margin-top: 16px; }
    .login-page { padding: 18px; }
    .login-card { padding: 30px 24px; }
}

@media (prefers-reduced-motion: reduce) {
    .cover-brand .brand-frame img { transition: none; }
}

/* Page clinique */
.about-page .page-hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%); border-bottom: none; color: var(--white); }
.about-page .page-hero .kicker { color: #8fd6d0; }
.about-page .page-hero em { color: var(--orange); font-style: italic; }
.about-page .page-hero > div > p:last-child { color: #bed2d3; }
.about-page .page-hero > img { height: 420px; border-radius: 220px 220px 24px 24px; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.clinic-presentation { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 6vw, 88px); max-width: var(--content); margin: 0 auto; padding: clamp(72px, 9vw, 120px) 32px; }
.clinic-presentation__photo { position: relative; }
.clinic-presentation__photo::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; border-radius: 24px; background: var(--teal-light); z-index: 0; }
.clinic-presentation__photo img { position: relative; z-index: 1; display: block; width: 100%; height: 480px; object-fit: cover; border-radius: 24px; box-shadow: 0 24px 50px rgba(7,54,83,.18); }
.clinic-presentation h2 { margin: 0 0 24px; font-size: clamp(36px, 4vw, 54px); font-weight: 500; line-height: 1.06; letter-spacing: -.035em; }
.clinic-presentation h2 em { color: var(--teal); }
.clinic-presentation p { margin: 0 0 18px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.clinic-presentation__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 32px 0 0; padding: 0; list-style: none; }
.clinic-presentation__facts li { padding: 18px 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); text-align: center; color: var(--muted); font-size: 14px; }
.clinic-presentation__facts strong { display: block; color: var(--teal); font-size: 17px; margin-bottom: 4px; }
.about-page .story { background: var(--mist); padding-left: max(8vw, 32px); border-radius: 0; }
.about-page .story h2 em { color: var(--teal); }
.about-page .story-copy { border-left: 3px solid var(--orange); padding-left: 28px; }
@media (max-width: 900px) {
    .about-page .page-hero > img { height: 280px; border-radius: 120px 120px 20px 20px; }
    .clinic-presentation { grid-template-columns: 1fr; padding: 64px 8%; }
    .clinic-presentation__photo::before { inset: 14px -10px -14px 10px; }
    .clinic-presentation__photo img { height: 320px; }
    .clinic-presentation__facts { grid-template-columns: 1fr; }
}
