/* Falmouth Family Dentistry — navy / Cape-map red / sea-glass */
:root {
  --navy: #12274a;
  --navy-deep: #0b1a33;
  --red: #c8232f;
  --red-dark: #a91b26;
  --coral: #ff8d94;
  --sand: #f6efe4;
  --sea: #e3f0ec;
  --teal: #1d6b73;
  --ink: #1a2740;
  --muted: #4b5a73;
  --card: #fbf7ef;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  color: var(--ink);
  line-height: 1.7;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; color: var(--navy); line-height: 1.15; }
a { color: var(--teal); }
a[href^="tel"] { white-space: nowrap; }
a:hover { color: var(--navy); }
img { max-width: 100%; }
[id] { scroll-margin-top: 76px; }

.skip-link { position: absolute; left: -999px; top: 0; background: #fff; color: var(--navy); padding: .6rem 1rem; z-index: 2000; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn-ffd, .btn-ghost, .btn-ghost-dark {
  font-weight: 600; border-radius: 999px; border-width: 2px; border-style: solid;
  padding-left: 1.4rem; padding-right: 1.4rem; letter-spacing: .01em;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn-ffd { background: var(--red); border-color: var(--red); color: #fff; }
.btn-ffd:hover, .btn-ffd:focus-visible { background: var(--red-dark); border-color: var(--red-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.btn-ghost:hover, .btn-ghost:focus-visible { background: #fff; border-color: #fff; color: var(--navy); }
.btn-ghost-dark { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-ghost-dark:hover, .btn-ghost-dark:focus-visible { background: var(--navy); color: #fff; }

/* ---------- Navbar ---------- */
.ffd-nav { background: var(--navy); padding: .55rem 0; box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.ffd-nav .navbar-brand { display: flex; align-items: center; gap: .7rem; margin: 0; color: #fff; font-family: var(--serif); font-size: 1.28rem; font-weight: 500; letter-spacing: .005em; white-space: normal; line-height: 1.1; }
.ffd-nav .navbar-brand img { height: 38px; width: auto; }
.ffd-nav .navbar-toggler { border-color: rgba(255,255,255,.45); padding: .35rem .6rem; }
.ffd-nav .navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(255,141,148,.5); }
.ffd-nav .navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,.92%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }
.ffd-nav .nav-link { color: rgba(255,255,255,.86); font-weight: 500; font-size: .95rem; padding: .5rem .7rem; position: relative; }
.ffd-nav .nav-link:hover, .ffd-nav .nav-link:focus-visible { color: #fff; }
.ffd-nav .nav-link::after { content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .2rem; height: 2px; background: var(--coral); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.ffd-nav .nav-link:hover::after { transform: scaleX(1); }
.nav-call { white-space: nowrap; }
@media (max-width: 1199.98px) {
  .ffd-nav .navbar-collapse { padding: .75rem 0 1rem; }
  .ffd-nav .nav-link { padding: .65rem 0; font-size: 1.05rem; border-bottom: 1px solid rgba(255,255,255,.08); }
  .ffd-nav .nav-link::after { display: none; }
  .nav-call { display: inline-block; }
}
@media (max-width: 400px) {
  .ffd-nav .navbar-brand { font-size: 1.08rem; gap: .5rem; }
  .ffd-nav .navbar-brand img { height: 32px; }
}

/* ---------- Type helpers ---------- */
.eyebrow { font-size: .78rem; text-transform: uppercase; letter-spacing: .17em; font-weight: 600; color: var(--coral); margin-bottom: 1rem; }
.eyebrow-dark { color: var(--red-dark); }
.display-h { font-size: clamp(2rem, 3.7vw, 3.05rem); letter-spacing: -.012em; margin-bottom: 1.25rem; }
.lead-p { font-size: 1.15rem; }
.mini-h { font-size: 1.45rem; margin: 1.75rem 0 .75rem; }
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-head { max-width: 820px; margin: 0 auto 3rem; text-align: center; }
.section-sub { color: var(--muted); font-size: 1.05rem; }
.section-head-light .display-h { color: #fff; }
.section-head-light .section-sub { color: rgba(255,255,255,.82); }
.section-head-light .section-sub a { color: #fff; }

/* ---------- Hero: split panel ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); min-height: min(calc(100svh - 66px), 760px); }
.hero-copy {
  background:
    radial-gradient(ellipse 70% 60% at 12% 8%, rgba(29,107,115,.45) 0%, rgba(29,107,115,0) 70%),
    var(--navy);
  color: #fff; display: flex; align-items: center;
  padding: clamp(2.5rem, 6vw, 5.5rem) clamp(1.5rem, 5vw, 5rem);
}
.hero-copy-inner { max-width: 620px; margin-left: auto; }
.hero-title { font-size: clamp(3rem, 5.6vw, 5.4rem); color: #fff; font-weight: 500; letter-spacing: -.02em; line-height: 1.02; margin-bottom: 1.4rem; }
.hero-title em { font-style: italic; color: var(--coral); }
.hero-lede { font-size: clamp(1.05rem, 1.5vw, 1.28rem); color: rgba(255,255,255,.9); max-width: 34rem; margin-bottom: 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2rem; }
.hero-notes { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; color: rgba(255,255,255,.85); font-size: .95rem; }
.hero-notes i { color: var(--coral); margin-right: .35rem; }

.hero-visual {
  position: relative; display: grid; place-items: center; padding: clamp(2rem, 4vw, 4rem) clamp(1.25rem, 4vw, 3.5rem) clamp(6.5rem, 7vw, 7rem);
  background: linear-gradient(160deg, var(--sea) 0%, var(--sand) 100%); overflow: hidden;
}
.hero-visual::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; right: -22%; top: -18%; border-radius: 50%; background: rgba(29,107,115,.12); }
.hero-visual::after { content: ""; position: absolute; width: 42%; aspect-ratio: 1; left: -14%; bottom: -12%; border-radius: 50%; border: 2px solid rgba(200,35,47,.28); }
.hero-frame { position: relative; z-index: 1; width: min(100%, 540px); }
.hero-photo {
  position: relative; width: 100%; aspect-ratio: 4 / 3;
  background: url('img/hero.webp') center/cover no-repeat;
  border: 8px solid #fff; border-radius: 210px 22px 22px 22px;
  box-shadow: 0 30px 60px -20px rgba(18,39,74,.45);
}
.hero-badge {
  position: absolute; z-index: 2; left: -2.25rem; bottom: -4.6rem;
  background: #fff; border-left: 5px solid var(--red); border-radius: 14px; padding: .9rem 1.2rem;
  box-shadow: 0 18px 40px -14px rgba(18,39,74,.4); display: flex; flex-direction: column; line-height: 1.35;
}
.hero-badge-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; color: var(--red-dark); margin-bottom: .3rem; }
.hero-badge strong { font-family: var(--serif); font-weight: 500; font-size: 1.05rem; color: var(--navy); }

@media (max-width: 991.98px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy-inner { margin: 0 auto; max-width: 640px; }
  .hero-visual { padding-top: 2.5rem; padding-bottom: 7.5rem; }
  .hero-badge { left: 1rem; }
}
@media (max-width: 575.98px) {
  .hero-photo { border-radius: 120px 18px 18px 18px; border-width: 6px; }
  .hero-cta .btn { width: 100%; }
  .hero-badge { left: .75rem; right: .75rem; bottom: -5rem; }
}

/* ---------- Welcome ---------- */
.welcome-photos { display: grid; grid-template-columns: repeat(12, 1fr); }
.welcome-photos img { width: 100%; height: auto; border-radius: 20px; display: block; box-shadow: 0 18px 40px -18px rgba(18,39,74,.4); }
.wp-a { grid-column: 1 / 10; grid-row: 1; }
.wp-b { grid-column: 5 / 13; grid-row: 2; margin-top: -3rem; border: 6px solid #fff; }
.highlights { margin-top: 4.5rem; }
.hl { background: var(--sea); border-radius: 20px; padding: 1.6rem 1.4rem; height: 100%; }
.hl i { font-size: 1.9rem; color: var(--teal); display: block; margin-bottom: .6rem; }
.hl h3 { font-size: 1.25rem; margin-bottom: .4rem; }
.hl p { font-size: .93rem; color: var(--muted); margin: 0; line-height: 1.55; }

/* ---------- Services ---------- */
.services { background: var(--sand); }
.svc-card { display: flex; flex-direction: column; background: #fff; border-radius: 24px; overflow: hidden; height: 100%; box-shadow: 0 20px 40px -28px rgba(18,39,74,.45); }
.svc-img { width: 100%; height: 210px; object-fit: cover; object-position: center 30%; flex: none; }
.svc-body { padding: 1.75rem 1.75rem 1.5rem; flex: 1; min-width: 0; display: flex; flex-direction: column; }
.svc-list { margin-bottom: 0; }
.svc-body h3 { font-size: 1.6rem; margin-bottom: .35rem; }
.svc-intro { color: var(--muted); font-size: .95rem; margin-bottom: 1rem; line-height: 1.55; }
.svc-list details { border-top: 1px solid rgba(18,39,74,.12); }
.svc-list details:last-child { border-bottom: 1px solid rgba(18,39,74,.12); }
.svc-list summary { list-style: none; cursor: pointer; padding: .6rem 0; font-weight: 600; font-size: .98rem; color: var(--navy); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.svc-list summary::-webkit-details-marker { display: none; }
.svc-list summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--red); font-weight: 400; transition: transform .2s; flex: none; }
.svc-list details[open] > summary::after { transform: rotate(45deg); }
.svc-list summary:hover { color: var(--red-dark); }
.svc-list summary:focus-visible { outline: 3px solid rgba(29,107,115,.5); outline-offset: 2px; border-radius: 4px; }
.svc-list details p { font-size: .93rem; color: var(--muted); margin: 0 0 .85rem; line-height: 1.6; }
.svc-call { margin: auto 0 0; padding-top: 1.4rem; font-size: .95rem; color: var(--muted); }
.svc-call i { color: var(--red); margin-right: .3rem; }
@media (max-width: 575.98px) {
  .svc-img { height: 170px; }
  .svc-body { padding: 1.4rem 1.25rem 1.1rem; }
}

/* ---------- Pricing ---------- */
.pricing { background: radial-gradient(ellipse 60% 50% at 90% 0%, rgba(29,107,115,.4), rgba(29,107,115,0) 70%), var(--navy-deep); }
.price-card { background: var(--card); border-radius: 24px; padding: 1.75rem 1.9rem 1.4rem; height: 100%; }
.price-head { display: flex; align-items: center; gap: 1rem; margin-bottom: .75rem; }
.price-head img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; flex: none; }
.price-head h3 { font-size: 1.7rem; margin: 0; }
.price-head span { font-family: var(--serif); font-style: italic; color: var(--teal); }
.price-list { list-style: none; margin: 0; padding: 0; }
.price-list li { display: flex; align-items: baseline; gap: .75rem; padding: .62rem 0; border-bottom: 1px solid rgba(18,39,74,.1); }
.price-list li:last-child { border-bottom: 0; }
.price-list li span { flex: 1; display: flex; align-items: baseline; gap: .5rem; font-weight: 500; }
.price-list li span::after { content: ""; flex: 1; min-width: 1rem; border-bottom: 2px dotted rgba(18,39,74,.25); transform: translateY(-4px); }
.price-list li em { font-size: .85em; color: var(--muted); font-style: normal; }
.price-list b { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.5rem; color: var(--red-dark); white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.price-strip { display: flex; align-items: center; gap: 1.25rem; background: var(--card); border-radius: 24px; padding: 1rem 1.6rem 1rem 1rem; flex-wrap: wrap; }
.price-strip img { width: 120px; height: 90px; border-radius: 16px; object-fit: cover; }
.ps-text { flex: 1; min-width: 200px; }
.ps-text h3 { font-size: 1.55rem; margin: 0; }
.ps-text p { margin: 0; color: var(--muted); }
.ps-price { font-family: var(--serif); font-style: italic; font-size: 2.4rem; color: var(--red-dark); line-height: 1; }
@media (max-width: 575.98px) {
  .price-card { padding: 1.4rem 1.25rem 1rem; }
  .price-list b { font-size: 1.3rem; }
  .price-strip { padding: 1rem; }
  .price-strip .btn { width: 100%; }
}

/* ---------- Cape Cod quote band ---------- */
.band {
  background:
    radial-gradient(ellipse 75% 65% at 50% 48%, rgba(11,26,51,.35) 0%, rgba(11,26,51,.04) 100%),
    linear-gradient(to bottom, rgba(11,26,51,.30) 0%, rgba(11,26,51,.10) 45%, rgba(11,26,51,.45) 100%),
    url('img/band-sunset.webp') center/cover no-repeat;
  min-height: clamp(380px, 46vw, 500px); display: grid; place-items: center; padding: 3rem 1.25rem; text-align: center; color: #fff;
}
.band-inner { max-width: 780px; background: rgba(11,26,51,.22); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); border-radius: 26px; padding: clamp(1.75rem, 4vw, 3rem); }
.band-eyebrow { font-size: .78rem; text-transform: uppercase; letter-spacing: .2em; font-weight: 600; margin-bottom: .8rem; text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,.95), 0 0 30px rgba(0,0,0,.8); }
.band-quote { font-family: var(--serif); font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1.1; font-weight: 500; font-style: italic; margin-bottom: 1rem; text-shadow: 0 0 4px rgba(0,0,0,1), 0 2px 20px rgba(0,0,0,.95), 0 0 60px rgba(0,0,0,.8); }
.band-sub { font-size: 1.15rem; margin: 0; text-shadow: 0 0 3px rgba(0,0,0,1), 0 2px 16px rgba(0,0,0,.95), 0 0 40px rgba(0,0,0,.85); }

/* ---------- Doctors ---------- */
.doctors .row { align-items: flex-start; }
.doc-card { background: var(--sand); border-radius: 26px; padding: 2rem 1.9rem 1.6rem; }
.doc-card img { width: 160px; height: 160px; object-fit: cover; border-radius: 30px; display: block; margin-bottom: 1.25rem; box-shadow: 0 14px 30px -14px rgba(18,39,74,.5); }
.doc-card h3 { font-size: 1.65rem; margin-bottom: .8rem; }
.doc-card p { font-size: .96rem; color: var(--muted); }
.bio-toggle { background: none; border: 0; padding: 0; font-weight: 600; color: var(--red-dark); cursor: pointer; }
.bio-toggle:hover { color: var(--navy); }
.bio-toggle i { transition: transform .2s; display: inline-block; }
.bio-toggle[aria-expanded="true"] i { transform: rotate(180deg); }
.bio-toggle:focus-visible { outline: 3px solid rgba(29,107,115,.5); outline-offset: 3px; border-radius: 4px; }

/* ---------- Office ---------- */
.office { background: var(--sea); }
.office .section-head { max-width: 900px; }
.office .section-sub { text-align: left; }
.info-cell { background: #fff; border-radius: 22px; padding: 1.7rem 1.6rem; height: 100%; }
.info-cell i { font-size: 1.7rem; color: var(--teal); }
.info-cell h3 { font-size: 1.35rem; margin: .5rem 0 .5rem; }
.info-cell p { margin: 0; font-size: .95rem; color: var(--muted); line-height: 1.6; }
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 300px 200px; gap: 14px; margin: 3rem 0 5rem; }
.mosaic figure { margin: 0; overflow: hidden; border-radius: 20px; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.m-wide { grid-column: 1 / 3; grid-row: 1; }
.m-tall { grid-column: 3; grid-row: 1 / 3; }
.m-a { grid-column: 1; grid-row: 2; }
.m-b { grid-column: 2; grid-row: 2; }
@media (max-width: 767.98px) {
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 170px 150px 150px; gap: 10px; margin-bottom: 3.5rem; }
  .m-wide { grid-column: 1 / 3; grid-row: 1; }
  .m-tall { grid-column: 1; grid-row: 2 / 4; }
  .m-a { grid-column: 2; grid-row: 2; }
  .m-b { grid-column: 2; grid-row: 3; }
}
.mookie-h { font-size: clamp(1.9rem, 3vw, 2.5rem); margin-bottom: 1rem; }
.mookie p i { color: var(--red); margin-right: .3rem; }
.dog { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 20px; display: block; box-shadow: 0 16px 34px -18px rgba(18,39,74,.5); }

/* ---------- New patients ---------- */
.step { background: var(--sand); border-radius: 20px; padding: 1.4rem 1.25rem; height: 100%; }
.step-n { display: inline-grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--red); color: #fff; font-family: var(--serif); font-size: 1.2rem; margin-bottom: .7rem; }
.step h4 { font-size: 1.3rem; margin-bottom: .35rem; }
.step p { font-size: .92rem; color: var(--muted); margin: 0; line-height: 1.55; }
.forms-card { display: flex; align-items: center; gap: 1.25rem; background: var(--navy); color: #fff; border-radius: 22px; padding: 1.5rem 1.6rem; margin-top: 1.5rem; flex-wrap: wrap; }
.fc-icon { font-size: 2.2rem; color: var(--coral); line-height: 1; }
.fc-text { flex: 1; min-width: 220px; }
.fc-text h4 { color: #fff; font-size: 1.4rem; margin-bottom: .3rem; }
.fc-text p { margin: 0; font-size: .9rem; color: rgba(255,255,255,.82); line-height: 1.55; }
.fc-text a { color: #fff; }
@media (max-width: 575.98px) { .forms-card .btn { width: 100%; } }

/* ---------- Reviews ---------- */
.reviews {
  background: linear-gradient(rgba(18,39,74,.18), rgba(18,39,74,.18)), url('img/band-dunes.webp') center/cover no-repeat;
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}
.reviews-card { max-width: 780px; margin: 0 auto; background: rgba(255,255,255,.95); border-radius: 28px; padding: clamp(2rem, 5vw, 3.5rem); text-align: center; }
.reviews-card p { color: var(--muted); }
.review-links { margin-top: 1.75rem; }
.rv { display: flex; align-items: center; justify-content: center; gap: .6rem; border: 2px solid var(--navy); border-radius: 999px; padding: .75rem 1rem; font-weight: 600; color: var(--navy); text-decoration: none; transition: background-color .2s, color .2s; }
.rv:hover, .rv:focus-visible { background: var(--navy); color: #fff; }
.rv i { font-size: 1.15rem; }

/* ---------- Library ---------- */
.library { background: var(--sand); }
.lib-acc { --bs-accordion-border-width: 0; --bs-accordion-bg: transparent; --bs-accordion-btn-focus-box-shadow: 0 0 0 3px rgba(29,107,115,.4); --bs-accordion-active-bg: var(--navy); --bs-accordion-active-color: #fff; --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e"); }
.lib-acc .accordion-item { border: 0; border-radius: 16px !important; overflow: hidden; margin-bottom: .75rem; background: #fff; }
.lib-acc .accordion-button { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; color: var(--navy); background: #fff; padding: 1.1rem 1.4rem; }
.lib-acc .accordion-button:not(.collapsed) { color: #fff; background: var(--navy); box-shadow: none; }
.lib-acc .accordion-body { padding: 1.1rem 1.4rem 1.3rem; background: #fff; }
.lib-acc ul { margin: 0; padding-left: 1.1rem; columns: 2; column-gap: 2rem; color: var(--muted); font-size: .95rem; }
.lib-acc li { margin-bottom: .3rem; break-inside: avoid; }
.lib-note { margin: 1rem 0 0; font-size: .92rem; color: var(--ink); }
@media (max-width: 575.98px) { .lib-acc ul { columns: 1; } }

/* ---------- Contact ---------- */
.contact-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.contact-list li { display: flex; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid rgba(18,39,74,.12); }
.contact-list li:first-child { padding-top: 0; }
.contact-list i { flex: none; display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: 50%; background: var(--sea); color: var(--teal); font-size: 1.15rem; }
.contact-list b { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; color: var(--red-dark); }
.contact-list a, .contact-list span { display: block; font-size: 1.05rem; word-break: break-word; }
.contact-list a[href^="tel"] { font-family: var(--serif); font-size: 1.7rem; color: var(--navy); text-decoration: none; line-height: 1.2; }
.contact-list span { color: var(--muted); font-size: .95rem; }
.hours-card { background: var(--sand); border-radius: 22px; padding: 1.5rem 1.5rem 1.2rem; margin-bottom: 1.25rem; }
.hours-card h3 { font-size: 1.45rem; margin-bottom: .8rem; }
.hours-card h3 i { color: var(--teal); margin-right: .35rem; }
.hours { width: 100%; font-size: .95rem; }
.hours th { font-weight: 600; color: var(--navy); padding: .4rem 1rem .4rem 0; white-space: nowrap; vertical-align: top; }
.hours td { padding: .4rem 0; color: var(--muted); }
.hours tr + tr { border-top: 1px solid rgba(18,39,74,.1); }
.hours em { font-style: normal; font-size: .85em; }
.hours-note { margin: .8rem 0 0; font-size: .88rem; color: var(--muted); line-height: 1.55; }
.portal-card { border: 2px dashed rgba(18,39,74,.25); border-radius: 22px; padding: 1.3rem 1.5rem; }
.portal-card h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.portal-card p { font-size: .92rem; color: var(--muted); line-height: 1.55; }
.map-wrap { border-radius: 28px; overflow: hidden; height: 100%; min-height: 520px; box-shadow: 0 24px 50px -28px rgba(18,39,74,.5); background: var(--sea); }
.map-wrap iframe { width: 100%; height: 100%; min-height: 520px; border: 0; display: block; }
@media (max-width: 991.98px) { .map-wrap, .map-wrap iframe { min-height: 380px; } }

/* ---------- Footer ---------- */
.ffd-footer { background: var(--navy-deep); color: rgba(255,255,255,.75); padding: 4.5rem 0 2rem; }
.ffd-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.ffd-footer a:hover, .ffd-footer a:focus-visible { color: #fff; text-decoration: underline; }
.foot-logo { width: 240px; height: auto; border-radius: 18px; border: 1px solid rgba(255,255,255,.14); display: block; margin-bottom: 1.1rem; }
.foot-tag { max-width: 22rem; font-size: .95rem; }
.ffd-footer h4 { font-family: var(--sans); font-size: .75rem; text-transform: uppercase; letter-spacing: .16em; color: var(--coral); font-weight: 600; margin-bottom: 1rem; }
.foot-links { list-style: none; padding: 0; margin: 0; }
.foot-links li { margin-bottom: .5rem; }
.foot-addr { line-height: 1.7; }
.socials { display: flex; gap: .6rem; margin-top: 1.1rem; }
.socials a { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid rgba(255,255,255,.28); font-size: 1.05rem; transition: background-color .2s, border-color .2s; }
.socials a:hover { background: var(--red); border-color: var(--red); text-decoration: none; }
.powered { display: inline-flex; align-items: center; gap: .55rem; margin-top: .6rem; padding: .55rem 1.1rem; border: 1px solid rgba(127,227,240,.4); border-radius: 999px; background: rgba(127,227,240,.08); font-size: .9rem; }
.powered i { color: #7fe3f0; }
.powered b { color: #7fe3f0; font-weight: 600; }
.powered:hover { background: rgba(127,227,240,.18); text-decoration: none !important; }
.foot-copy { margin: 3rem 0 0; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; color: rgba(255,255,255,.55); }
