﻿:root {
  --ink: #152028;
  --ink-muted: #4a5e6e;
  --bg-page: #f0f5fa;
  --bg-elevated: #ffffff;
  --primary: #007c9d;
  --primary-hover: #1292b3;
  --accent: #fcd34d;
  --accent-soft: #fff8db;
  --line: #c8d8e6;
  --shadow: 0 12px 40px rgba(155, 217, 254, 0.35);
  --shadow-sm: 0 4px 20px rgba(91, 189, 247, 0.22);
  --radius: 14px;
  --font-sans: "Outfit", system-ui, sans-serif;
  --font-serif: "Source Serif 4", Georgia, serif;
  --transition: 0.22s ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg-page);
  overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary); }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus {
  left: 1rem; top: 1rem; z-index: 100;
  background: var(--bg-elevated); padding: 0.5rem 1rem; border-radius: 8px;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1120px; margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.logo {
  display: flex; align-items: center; gap: 0.6rem;
  font-weight: 700; font-size: 1.15rem;
  color: var(--primary); letter-spacing: -0.02em;
}
.logo-mark {
  width: 44px; height: 44px; border-radius: 10px;
  object-fit: cover; background: #fff;
  box-shadow: var(--shadow-sm); display: block;
}
.main-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; align-items: center;
}
.main-nav a {
  color: var(--ink-muted); font-weight: 500; font-size: 0.9rem;
}
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current_page_item > a { color: var(--primary); }
.header-cta { display: flex; align-items: center; gap: 0.75rem; }
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.menu-toggle svg { width: 24px; height: 24px; }
.mobile-menu {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 120;
  display: none;
  flex-direction: column;
  padding: 1rem;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.mobile-menu-close {
  border: none;
  background: transparent;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  color: var(--ink);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
}
.mobile-menu-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}
.mobile-menu-nav a {
  color: var(--ink-muted);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.45;
}
.mobile-menu-nav a:hover,
.mobile-menu-nav a:focus-visible { color: var(--primary); }
.mobile-menu-footer { margin-top: auto; padding-bottom: 0.25rem; }
.mobile-menu-footer .btn {
  width: 100%;
  border-radius: 8px;
  height: 44px;
  font-weight: 700;
}
.phone-pill { display: none; font-size: 0.85rem; color: var(--ink-muted); }
@media (min-width: 900px) { .phone-pill { display: inline; } }
@media (max-width: 900px) {
  .header-inner { padding: 0.75rem 1rem; gap: 0.75rem; }
  .header-inner .main-nav { display: none; }
  .logo { font-size: 1.05rem; }
  .logo-mark { width: 40px; height: 40px; }
  .header-cta { margin-left: auto; }
  .header-cta .phone-pill { display: none; }
  .header-cta .btn { padding: 0.5rem 1rem; font-size: 0.85rem; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 520px) {
  .header-inner { padding-inline: 0.75rem; }
  .header-cta .btn { padding-inline: 0.8rem; }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.55rem 1.1rem;
  font-family: var(--font-sans); font-size: 0.9rem; font-weight: 600;
  border-radius: 999px; border: none; cursor: pointer;
  transition: background var(--transition), transform 0.15s ease, box-shadow var(--transition);
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--primary-hover); color: #fff; }
.btn-ghost { background: transparent; color: var(--primary); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* Hero — Apollo-style full-bleed banner */
.hero-wrap {
  position: relative; isolation: isolate; overflow: hidden;
  background: #0e3a5c; color: #fff;
}
.hero-wrap::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(105deg, rgba(14, 58, 92, 0.95) 0%, rgba(14, 58, 92, 0.7) 45%, rgba(14, 58, 92, 0.3) 100%);
  background-size: cover;
  background-position: center;
}
.hero-wrap.has-bg::before {
  background:
    linear-gradient(100deg, rgba(14, 58, 92, 0.96) 0%, rgba(14, 58, 92, 0.78) 40%, rgba(14, 58, 92, 0.35) 75%, rgba(14, 58, 92, 0.15) 100%),
    var(--hero-bg);
  background-size: cover;
  background-position: right 20%;
  background-repeat: no-repeat;
}
.hero-wrap::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1.5px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 75%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 75%);
  opacity: 0.65; pointer-events: none;
}
.hero {
  max-width: 1120px; margin: 0 auto;
  padding: 4.5rem 1.5rem 6.25rem;
  position: relative;
}
@media (min-width: 900px) { .hero { padding: 6rem 1.5rem 7.75rem; } }
.hero-eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #e8f4ff;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 1.25rem;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  font-weight: 700; line-height: 1.1;
  color: #fff; margin: 0 0 1rem; max-width: 18ch;
}
.hero .lede { font-size: 1.1rem; color: rgba(255,255,255,0.92); max-width: 42ch; margin: 0 0 1.75rem; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0; }
.btn-light { background: rgba(255, 255, 255, 0.96); color: var(--primary); box-shadow: var(--shadow-sm); }
.btn-light:hover { background: #fff; color: var(--primary); }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.4); }
.hero .btn-ghost:hover { color: #fff; border-color: #fff; }

/* Floating quick-action tiles */
.hero-actions {
  max-width: 1120px; margin: -3.75rem auto 0;
  padding: 0 1.5rem 2.75rem;
  position: relative; z-index: 5;
}
.actions-grid {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 22px 60px rgba(14, 58, 92, 0.18);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  overflow: hidden;
  touch-action: pan-y;
}
.action-tile {
  padding: 1.4rem 1.25rem;
  display: flex; align-items: center; gap: 0.9rem;
  color: var(--ink);
  border-right: 1px solid var(--line);
  transition: background var(--transition), color var(--transition);
}
.action-tile:last-child { border-right: none; }
.action-tile:hover { background: var(--accent-soft); color: var(--primary); }
.action-tile .ico {
  width: 48px; height: 48px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--accent-soft); color: var(--primary);
}
.action-tile .ico svg { width: 24px; height: 24px; }
.action-tile .text { display: flex; flex-direction: column; gap: 0.15rem; line-height: 1.25; }
.action-tile .text strong { font-size: 0.98rem; font-weight: 600; color: inherit; }
.action-tile .text span { font-size: 0.78rem; color: var(--ink-muted); }
.action-tile:hover .text span { color: var(--primary); }
@media (max-width: 720px) {
  .hero-actions { margin-top: -2.4rem; padding-left: 1rem; padding-right: 1rem; }
  .actions-grid { grid-template-columns: 1fr; }
  .action-tile { border-right: none; border-bottom: 1px solid var(--line); }
  .action-tile:last-child { border-bottom: none; }
}

/* Section common */
section { padding: 2.5rem 1.5rem; }
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  color: var(--primary); margin: 0 0 0.5rem;
}
.section-sub { color: var(--ink-muted); max-width: 60ch; margin: 0 0 1.75rem; }
.container { max-width: 1120px; margin: 0 auto; }

/* Services */
.services { background: var(--bg-elevated); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid-services { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.service-card {
  background: var(--bg-page); border: 1px solid var(--line); border-radius: 12px;
  padding: 1.25rem 1.1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.service-card:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.service-card .icon {
  width: 56px; height: 56px; border-radius: 12px;
  background: var(--accent-soft); color: var(--primary);
  display: grid; place-items: center; margin-bottom: 0.75rem; padding: 8px;
}
.service-card .icon img { width: 100%; height: 100%; object-fit: contain; display: block; }
.service-card h3 { font-size: 0.95rem; font-weight: 600; margin: 0 0 0.25rem; color: var(--ink); }
.service-card p { font-size: 0.8rem; color: var(--ink-muted); margin: 0; }

/* Branches / contact row */
.branch-bar { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.branch-tile { background: var(--primary); color: #f2f7fc; border-radius: 12px; padding: 1.25rem 1.35rem; }
.branch-tile strong { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.85; margin-bottom: 0.35rem; }
.branch-tile a { color: #fff; font-weight: 600; font-size: 1.1rem; }
.timings { font-size: 0.9rem; margin-top: 0.5rem; opacity: 0.95; }

/* Quality */
.quality { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 800px) { .quality { grid-template-columns: 1fr 1fr; } }
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { padding: 0.4rem 0 0.4rem 1.5rem; position: relative; color: var(--ink-muted); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.65em;
  width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--accent);
}
.quality-aside { background: var(--bg-elevated); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.quality-image { width: 100%; border-radius: var(--radius); margin-bottom: 1.25rem; display: block; box-shadow: var(--shadow-sm); }

/* Treatments */
.treatments { background: var(--bg-elevated); border-top: 1px solid var(--line); }
.treatment-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0.5rem 2rem; }
.treatment-cols ul { margin: 0; padding-left: 1.1rem; color: var(--ink-muted); font-size: 0.95rem; }
.treatment-cols li { margin-bottom: 0.35rem; }

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, #2f6fbf 0%, #3d8ed6 100%);
  color: #f2f7fc; text-align: center; padding: 2.25rem 1.5rem;
}
.cta-band p { margin: 0 0 0.5rem; font-size: 1.05rem; }
.cta-band .phones { font-size: 0.95rem; opacity: 0.95; }
.cta-band .btn { margin-top: 1rem; background: #fff; color: var(--primary); }
.cta-band .btn:hover { background: var(--accent-soft); color: var(--primary); }

/* Form */
.appointment { max-width: 900px; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 600px) { .form-row { grid-template-columns: 1fr 1fr; } }
label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--ink-muted); margin-bottom: 0.35rem; }
input, select, textarea {
  width: 100%; padding: 0.65rem 0.8rem;
  font-family: var(--font-sans); font-size: 0.95rem;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
textarea { min-height: 100px; resize: vertical; }

/* Testimonials */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }
.review-card { background: var(--bg-elevated); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.review-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent-soft) center/cover no-repeat;
  color: var(--primary);
  display: grid; place-items: center;
  font-weight: 700; font-size: 0.9rem;
  flex-shrink: 0; overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.review-card .tag { font-size: 0.75rem; color: var(--accent); font-weight: 600; }
.review-card h3 { margin: 0.15rem 0 0.5rem; font-size: 1rem; }
.review-card p { margin: 0; font-size: 0.9rem; color: var(--ink-muted); }
.rating-line { font-size: 0.9rem; color: var(--ink-muted); margin-bottom: 1.5rem; }

/* News */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.news-card { background: var(--bg-elevated); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: box-shadow var(--transition); }
.news-card:hover { box-shadow: var(--shadow-sm); }
.news-thumb { height: 160px; background: var(--accent-soft) center/cover no-repeat; }
.news-body { padding: 1.1rem 1.2rem; }
.meta { font-size: 0.75rem; color: var(--ink-muted); }
.news-body h3 { margin: 0.35rem 0; font-size: 1rem; }
.news-body p { margin: 0; font-size: 0.85rem; color: var(--ink-muted); }

/* Team */
.branches { display: flex; flex-direction: column; gap: 2rem; }
.branch-block h3 { font-size: 1.1rem; color: var(--primary); margin: 0 0 1rem; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.person { background: var(--bg-elevated); border: 1px solid var(--line); border-radius: 12px; padding: 1.15rem; }
.person-photo { width: 100%; height: 180px; border-radius: 8px; background: var(--accent-soft) center/cover no-repeat; margin-bottom: 0.75rem; }
.person h4 { margin: 0 0 0.25rem; font-size: 0.95rem; }
.person .creds { font-size: 0.8rem; color: var(--ink-muted); margin: 0; }

/* App */
.app-block { background: var(--bg-elevated); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem 1.5rem; display: grid; gap: 1rem; align-items: center; }
@media (min-width: 700px) { .app-block { grid-template-columns: 1.4fr 0.8fr 1fr; } }
.app-image { width: 100%; max-width: 220px; height: auto; display: block; margin: 0 auto; }
.app-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.app-badges span { padding: 0.4rem 0.8rem; background: var(--bg-page); border-radius: 8px; font-size: 0.8rem; color: var(--ink-muted); }

/* Newsletter + Footer */
.newsletter { background: var(--primary); color: #f2f7fc; }
.newsletter .container { max-width: 600px; text-align: center; }
.newsletter h2 { font-family: var(--font-serif); margin: 0 0 0.75rem; }
.inline-form { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-top: 1rem; }
.inline-form input { max-width: 280px; border: none; }
.inline-form .btn { background: #fff; color: var(--primary); }

.site-footer { background: #064e63; color: #d7ecef; padding: 2.5rem 1.5rem 1.5rem; font-size: 0.9rem; }
.footer-cols { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
.site-footer h4 { color: #f2fbfd; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; margin: 0 0 0.75rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.4rem; }
.site-footer a { color: #fcd34d; }
.site-footer a:hover { color: #fff5c2; }
.copy { text-align: center; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.8rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* WordPress single-post layout */
.entry-wrap { max-width: 760px; margin: 0 auto; padding: 2.5rem 1.5rem; }
.entry-wrap .entry-title { font-family: var(--font-serif); color: var(--primary); margin: 0 0 0.5rem; }
.entry-meta { color: var(--ink-muted); font-size: 0.85rem; margin-bottom: 1.5rem; }
.entry-content > * { margin-bottom: 1rem; }
.entry-content h2, .entry-content h3 { color: var(--primary); font-family: var(--font-serif); }
.entry-content blockquote { border-left: 3px solid var(--accent); padding: 0.5rem 1rem; background: var(--bg-elevated); border-radius: 8px; color: var(--ink-muted); }
.entry-content img { border-radius: 10px; }
.featured-image { margin: 0 0 1.5rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.featured-image img { display: block; width: 100%; height: auto; }
.post-card {
  background: var(--bg-elevated); border: 1px solid var(--line); border-radius: 12px;
  padding: 1.25rem 1.4rem; margin-bottom: 1.25rem;
}
.post-card h2 { margin: 0 0 0.4rem; font-size: 1.15rem; }
.post-card h2 a { color: var(--primary); }
.post-card .excerpt { color: var(--ink-muted); margin: 0.5rem 0 0.75rem; font-size: 0.95rem; }
.post-pagination { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 2rem; }
.post-pagination a, .post-pagination span {
  padding: 0.45rem 0.85rem; border-radius: 999px; border: 1px solid var(--line);
  color: var(--ink-muted); font-size: 0.85rem; background: #fff;
}
.post-pagination .current { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Page hero */
.page-hero { padding: 3rem 1.5rem 2rem; }
.page-hero .container { max-width: 900px; text-align: center; }
.page-hero .breadcrumb { color: var(--ink-muted); font-size: 0.85rem; margin-bottom: 0.5rem; }
.page-hero h1 { font-family: var(--font-serif); color: var(--primary); margin: 0 0 0.5rem; font-size: clamp(2rem, 4vw, 2.6rem); }
.page-hero p { color: var(--ink-muted); margin: 0 auto; max-width: 60ch; }

/* Comments */
.comments-area { max-width: 760px; margin: 0 auto; padding: 0 1.5rem 3rem; }
.comments-area .comment-list { list-style: none; padding: 0; }
.comments-area .comment-body { background: var(--bg-elevated); border: 1px solid var(--line); border-radius: 10px; padding: 1rem 1.25rem; margin-bottom: 1rem; }
.comment-meta { font-size: 0.85rem; color: var(--ink-muted); margin-bottom: 0.4rem; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; }

/* 404 / search empty */
.notfound { padding: 4rem 1.5rem; text-align: center; }
.notfound h1 { font-family: var(--font-serif); color: var(--primary); font-size: clamp(2.5rem, 6vw, 4rem); margin: 0 0 0.5rem; }
.notfound p { color: var(--ink-muted); margin: 0 0 1.25rem; }

/* Contact / About helpers */
.contact-grid { display: grid; gap: 1.5rem; }
@media (min-width: 800px) { .contact-grid { grid-template-columns: 1fr 1.2fr; } }
.contact-card { background: var(--bg-elevated); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.contact-card h3 { color: var(--primary); margin-top: 0; }
.contact-card ul { list-style: none; padding: 0; margin: 0; }
.contact-card li { margin-bottom: 0.4rem; color: var(--ink-muted); }

.about-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 800px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.about-grid img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }

/* Subtle reveal effect */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
