/* ==========================================================================
   KRYSTAL SMILES — Design System
   Palette:  Cloud #F6FBFE · Pastel #DFF0FA · Sky #8FC5E8
             Ocean #2E7AAE · Navy #163852 · Mint #BCE9DD · Ink #24313D
   Type:     Display — 'Fraunces'  |  Body/UI — 'Plus Jakarta Sans'
   Signature: the "smile arc" — a soft curved stroke used as underline,
              divider and active-state marker throughout the site.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,450;9..144,560;9..144,650&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root{
  --cloud:#F6FBFE;
  --pastel:#DFF0FA;
  --pastel-2:#EAF5FC;
  --sky:#8FC5E8;
  --ocean:#2E7AAE;
  --ocean-dark:#215C85;
  --navy:#163852;
  --mint:#BCE9DD;
  --ink:#24313D;
  --ink-soft:#54697A;
  --white:#FFFFFF;

  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-sm: 12px;

  --shadow-soft: 0 20px 50px -20px rgba(22,56,82,0.18);
  --shadow-card: 0 10px 30px -12px rgba(22,56,82,0.14);

  --ease: cubic-bezier(.22,1,.36,1);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  margin:0;
  font-family:'Plus Jakarta Sans', sans-serif;
  color:var(--ink);
  background:var(--cloud);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

h1,h2,h3,h4{
  font-family:'Fraunces', serif;
  font-weight:560;
  color:var(--navy);
  margin:0 0 .5em;
  line-height:1.08;
  letter-spacing:-.01em;
}

p{ margin:0 0 1em; color:var(--ink-soft); line-height:1.7; }

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
ul{ list-style:none; margin:0; padding:0; }
button{ font-family:inherit; cursor:pointer; }

.container{
  width:100%;
  max-width:1200px;
  margin:0 auto;
  padding:0 32px;
}

::selection{ background:var(--mint); color:var(--navy); }

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline:2px solid var(--ocean);
  outline-offset:3px;
  border-radius:6px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; scroll-behavior:auto !important; }
}

/* ==========================================================================
   Eyebrow / labels
   ========================================================================== */
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:9px;
  font-size:13px;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--ocean);
  margin-bottom:18px;
}
.eyebrow::before{
  content:'';
  width:22px; height:2px;
  background:var(--ocean);
  border-radius:2px;
}

/* ==========================================================================
   Smile Arc — signature element
   ========================================================================== */
.smile-arc{ display:block; }
.arc-underline{
  display:inline-block;
  position:relative;
}
.arc-underline svg{
  display:block;
  width:100%;
  height:14px;
  margin-top:2px;
}

.section-divider{
  width:100%;
  height:60px;
  display:block;
  margin:0 auto;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:15px 30px;
  border-radius:999px;
  font-weight:700;
  font-size:15px;
  border:1px solid transparent;
  transition:transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), color .35s var(--ease);
  white-space:nowrap;
}
.btn-primary{
  background:var(--navy);
  color:var(--white);
  box-shadow:0 14px 30px -12px rgba(22,56,82,.45);
}
.btn-primary:hover{ transform:translateY(-3px); box-shadow:0 20px 36px -12px rgba(22,56,82,.5); background:var(--ocean-dark); }
.btn-ghost{
  background:transparent;
  color:var(--navy);
  border-color:rgba(22,56,82,.22);
}
.btn-ghost:hover{ background:var(--white); border-color:var(--ocean); transform:translateY(-3px); }
.btn-light{
  background:var(--white);
  color:var(--navy);
}
.btn-light:hover{ transform:translateY(-3px); box-shadow:0 16px 32px -14px rgba(0,0,0,.25); }
.btn-sm{ padding:11px 22px; font-size:13.5px; }

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar{
  position:fixed;
  top:0; left:0; right:0;
  z-index:1000;
  padding:18px 0;
  transition:padding .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease);
}
.navbar.is-scrolled{
  padding:10px 0;
  background:rgba(246,251,254,0.82);
  backdrop-filter:blur(16px) saturate(160%);
  -webkit-backdrop-filter:blur(16px) saturate(160%);
  box-shadow:0 8px 30px -18px rgba(22,56,82,.35);
}
.nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.brand{
  display:flex;
  align-items:center;
  gap:11px;
  font-family:'Fraunces', serif;
  font-weight:650;
  font-size:20px;
  color:var(--navy);
}
.brand svg{ width:34px; height:34px; flex-shrink:0; }
.brand-text{ display:flex; flex-direction:column; line-height:1; }
.brand-text small{ font-family:'Plus Jakarta Sans',sans-serif; font-weight:600; font-size:9.5px; letter-spacing:.16em; color:var(--ocean); text-transform:uppercase; margin-top:3px; }
.brand-logo{ height:50px; width:auto; display:block; transition:height .3s var(--ease); }
.navbar.is-scrolled .brand-logo{ height:40px; }
.footer .brand.footer-brand{ background:#fff; padding:10px 18px; border-radius:14px; display:inline-flex; width:fit-content; margin-bottom:16px; }
.footer .brand.footer-brand .brand-logo{ height:38px; }

.nav-links{
  display:flex;
  align-items:center;
  gap:6px;
}
.nav-links a{
  position:relative;
  padding:9px 16px;
  font-size:14.5px;
  font-weight:600;
  color:var(--navy);
  border-radius:999px;
  transition:color .3s var(--ease);
}
.nav-links a .nav-arc{
  position:absolute;
  left:16px; right:16px; bottom:2px;
  height:6px;
  opacity:0;
  transform:scaleX(.5);
  transform-origin:center;
  transition:opacity .35s var(--ease), transform .35s var(--ease);
}
.nav-links a:hover .nav-arc,
.nav-links a.active .nav-arc{
  opacity:1;
  transform:scaleX(1);
}
.nav-links a.active{ color:var(--ocean-dark); }

.nav-cta{ display:flex; align-items:center; gap:14px; }
.nav-toggle{
  display:none;
  width:44px; height:44px;
  border-radius:12px;
  border:1px solid rgba(22,56,82,.18);
  background:var(--white);
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px;
}
.nav-toggle span{ width:20px; height:2px; background:var(--navy); border-radius:2px; transition:transform .3s var(--ease), opacity .3s var(--ease); }
.nav-toggle.open span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity:0; }
.nav-toggle.open span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

@media (max-width: 880px){
  .nav-links{
    position:fixed;
    top:0; right:0;
    height:100vh;
    width:min(78vw, 340px);
    background:var(--white);
    flex-direction:column;
    align-items:flex-start;
    padding:110px 32px 40px;
    gap:4px;
    transform:translateX(100%);
    transition:transform .45s var(--ease);
    box-shadow:-20px 0 60px -20px rgba(22,56,82,.3);
  }
  .nav-links.open{ transform:translateX(0); }
  .nav-links a{ width:100%; padding:14px 10px; font-size:17px; }
  .nav-toggle{ display:flex; }
  .nav-cta .btn-primary.desktop-only{ display:none; }
}

/* ==========================================================================
   Page transition overlay
   ========================================================================== */
.page-veil{
  position:fixed;
  inset:0;
  z-index:3000;
  background:var(--navy);
  transform:scaleY(0);
  transform-origin:bottom;
  pointer-events:none;
}
body.veil-out .page-veil{
  animation:veilIn .5s var(--ease) forwards;
}
body.veil-in .page-veil{
  transform-origin:top;
  animation:veilOut .6s var(--ease) forwards;
}
@keyframes veilIn{ from{ transform:scaleY(0); } to{ transform:scaleY(1); } }
@keyframes veilOut{ from{ transform:scaleY(1); } to{ transform:scaleY(0); } }

body{ animation:pageFadeIn .7s var(--ease); }
@keyframes pageFadeIn{ from{ opacity:0; transform:translateY(8px); } to{ opacity:1; transform:translateY(0); } }

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
.reveal{
  opacity:0;
  transform:translateY(28px);
  transition:opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in{ opacity:1; transform:translateY(0); }
.reveal-delay-1{ transition-delay:.08s; }
.reveal-delay-2{ transition-delay:.16s; }
.reveal-delay-3{ transition-delay:.24s; }
.reveal-delay-4{ transition-delay:.32s; }

/* ==========================================================================
   Hero (shared shell, page-specific content)
   ========================================================================== */
.hero{
  position:relative;
  padding:168px 0 110px;
  overflow:hidden;
}
.hero-blob{
  position:absolute;
  border-radius:50%;
  filter:blur(2px);
  z-index:0;
}
.blob-1{ width:520px; height:520px; top:-180px; right:-160px; background:radial-gradient(circle at 30% 30%, var(--pastel), var(--sky) 78%); opacity:.65; }
.blob-2{ width:340px; height:340px; bottom:-160px; left:-120px; background:radial-gradient(circle at 40% 40%, var(--mint), transparent 75%); opacity:.55; }

.hero-grid{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:64px;
  align-items:center;
}
.hero h1{ font-size:clamp(38px, 5.4vw, 64px); }
.hero-lead{ font-size:17.5px; max-width:480px; margin-bottom:34px; }
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; margin-bottom:38px; }

.hero-badges{ display:flex; gap:28px; flex-wrap:wrap; }
.hero-badge{ display:flex; align-items:center; gap:10px; font-size:13.5px; font-weight:600; color:var(--navy); }
.hero-badge svg{ width:22px; height:22px; color:var(--ocean); flex-shrink:0; }

.hero-visual{ position:relative; }
.hero-photo-frame{
  position:relative;
  border-radius:44% 56% 62% 38% / 46% 40% 60% 54%;
  overflow:hidden;
  box-shadow:var(--shadow-soft);
  aspect-ratio:1/1.05;
  border:6px solid var(--white);
  animation:morph 14s ease-in-out infinite;
}
.hero-photo-frame img{ width:100%; height:100%; object-fit:cover; }
@keyframes morph{
  0%,100%{ border-radius:44% 56% 62% 38% / 46% 40% 60% 54%; }
  50%{ border-radius:58% 42% 40% 60% / 40% 62% 38% 60%; }
}
.hero-float-card{
  position:absolute;
  bottom:-26px; left:-30px;
  background:var(--white);
  padding:16px 22px;
  border-radius:var(--radius-md);
  box-shadow:var(--shadow-card);
  display:flex; align-items:center; gap:12px;
  animation:floatY 5s ease-in-out infinite;
}
.hero-float-card svg{ width:30px; height:30px; color:var(--ocean); }
.hero-float-card strong{ display:block; font-family:'Fraunces',serif; font-size:15px; color:var(--navy); }
.hero-float-card span{ font-size:11.5px; color:var(--ink-soft); }
@keyframes floatY{ 0%,100%{ transform:translateY(0);} 50%{ transform:translateY(-10px);} }

@media (max-width:960px){
  .hero-grid{ grid-template-columns:1fr; gap:56px; }
  .hero-visual{ order:-1; max-width:380px; margin:0 auto; }
}

/* ==========================================================================
   Section basics
   ========================================================================== */
section{ position:relative; padding:100px 0; }
.section-tight{ padding:70px 0; }
.bg-pastel{ background:linear-gradient(180deg, var(--pastel-2), var(--pastel)); }
.bg-navy{ background:var(--navy); color:var(--white); }
.bg-navy h2, .bg-navy h3{ color:var(--white); }
.bg-navy p{ color:rgba(255,255,255,.72); }

.section-head{ max-width:640px; margin-bottom:56px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size:clamp(28px,3.6vw,42px); }

/* ==========================================================================
   Service cards (used on home + services)
   ========================================================================== */
.grid{ display:grid; gap:26px; }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-2{ grid-template-columns:repeat(2,1fr); }
@media (max-width:900px){ .grid-3{ grid-template-columns:repeat(2,1fr);} }
@media (max-width:640px){ .grid-3, .grid-2{ grid-template-columns:1fr;} }

.service-card{
  background:var(--white);
  border-radius:var(--radius-lg);
  padding:34px 30px;
  box-shadow:var(--shadow-card);
  transition:transform .45s var(--ease), box-shadow .45s var(--ease);
  position:relative;
  overflow:hidden;
}
.service-card::after{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(160deg, var(--pastel-2), transparent 55%);
  opacity:0;
  transition:opacity .45s var(--ease);
}
.service-card:hover{ transform:translateY(-8px); box-shadow:0 26px 50px -22px rgba(22,56,82,.28); }
.service-card:hover::after{ opacity:1; }
.service-icon{
  width:56px; height:56px;
  border-radius:16px;
  background:var(--pastel);
  display:flex; align-items:center; justify-content:center;
  margin-bottom:22px;
  position:relative; z-index:1;
}
.service-icon svg{ width:28px; height:28px; color:var(--ocean-dark); }
.service-card h3{ font-size:20px; margin-bottom:10px; position:relative; z-index:1; }
.service-card p{ font-size:14.5px; margin-bottom:0; position:relative; z-index:1; }
.service-card .tag{
  position:relative; z-index:1;
  display:inline-block;
  font-size:11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase;
  color:var(--ocean); margin-bottom:12px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer{
  background:var(--navy);
  color:rgba(255,255,255,.75);
  padding:80px 0 30px;
  position:relative;
  overflow:hidden;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.3fr 1fr 1fr 1fr;
  gap:40px;
  padding-bottom:50px;
  border-bottom:1px solid rgba(255,255,255,.12);
}
.footer h4{ color:var(--white); font-size:14px; font-family:'Plus Jakarta Sans',sans-serif; font-weight:700; letter-spacing:.06em; text-transform:uppercase; margin-bottom:20px; }
.footer .brand{ color:var(--white); margin-bottom:16px; }
.footer p{ color:rgba(255,255,255,.62); font-size:14.5px; }
.footer-links li{ margin-bottom:12px; }
.footer-links a{ font-size:14.5px; color:rgba(255,255,255,.72); transition:color .3s var(--ease), padding-left .3s var(--ease); }
.footer-links a:hover{ color:var(--white); padding-left:4px; }
.footer-contact li{ display:flex; gap:10px; margin-bottom:16px; font-size:14.5px; color:rgba(255,255,255,.72); align-items:flex-start; }
.footer-contact svg{ width:18px; height:18px; flex-shrink:0; margin-top:2px; color:var(--mint); }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; padding-top:26px; font-size:13px; color:rgba(255,255,255,.5); flex-wrap:wrap; gap:14px; }
.social-row{ display:flex; gap:12px; }
.social-row a{ width:38px; height:38px; border-radius:50%; border:1px solid rgba(255,255,255,.22); display:flex; align-items:center; justify-content:center; transition:background .3s var(--ease), transform .3s var(--ease); }
.social-row a:hover{ background:var(--ocean); transform:translateY(-3px); }
.social-row svg{ width:17px; height:17px; }

@media (max-width:900px){
  .footer-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width:560px){
  .footer-grid{ grid-template-columns:1fr; }
  .footer-bottom{ flex-direction:column; align-items:flex-start; }
}

/* ==========================================================================
   Page hero (interior pages)
   ========================================================================== */
.page-hero{
  padding:150px 0 70px;
  text-align:center;
  position:relative;
  overflow:hidden;
}
.page-hero .eyebrow{ justify-content:center; }
.page-hero h1{ font-size:clamp(34px,5vw,54px); }
.page-hero-lead{ max-width:560px; margin:0 auto; font-size:16.5px; }
.crumb-arc{ width:120px; margin:26px auto 0; }

/* ==========================================================================
   CTA banner
   ========================================================================== */
.cta-banner{
  background:linear-gradient(135deg, var(--ocean-dark), var(--navy));
  border-radius:var(--radius-lg);
  padding:64px 56px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:40px;
  position:relative;
  overflow:hidden;
  color:var(--white);
}
.cta-banner::before{
  content:'';
  position:absolute;
  width:340px;height:340px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(255,255,255,.14), transparent 70%);
  top:-140px; right:-80px;
}
.cta-banner h2{ color:var(--white); margin-bottom:10px; font-size:clamp(24px,3vw,34px); }
.cta-banner p{ color:rgba(255,255,255,.75); margin-bottom:0; max-width:420px; }
.cta-actions{ display:flex; gap:14px; flex-shrink:0; flex-wrap:wrap; }

@media (max-width:760px){
  .cta-banner{ flex-direction:column; text-align:center; padding:48px 30px; }
  .cta-banner p{ margin:0 auto; }
}

/* ==========================================================================
   Utility
   ========================================================================== */
.mt-0{ margin-top:0; }
.text-center{ text-align:center; }
.pill{
  display:inline-flex; align-items:center; gap:8px;
  background:var(--pastel); color:var(--ocean-dark);
  padding:7px 16px; border-radius:999px;
  font-size:12.5px; font-weight:700; letter-spacing:.03em;
}

/* ==========================================================================
   Services page — category tabs & detailed list
   ========================================================================== */
.service-categories{
  display:flex; gap:12px; flex-wrap:wrap; justify-content:center;
  margin-bottom:56px;
}
.cat-btn{
  padding:12px 24px;
  border-radius:999px;
  border:1px solid rgba(22,56,82,.16);
  background:var(--white);
  font-weight:700; font-size:13.5px;
  color:var(--ink-soft);
  transition:all .35s var(--ease);
}
.cat-btn.active, .cat-btn:hover{
  background:var(--navy); color:var(--white); border-color:var(--navy);
  transform:translateY(-2px);
}

.service-detail-list{ display:flex; flex-direction:column; gap:0; }
.service-row{
  display:grid;
  grid-template-columns:64px 1fr auto;
  gap:26px;
  align-items:center;
  padding:32px 8px;
  border-bottom:1px solid rgba(22,56,82,.1);
  transition:background .4s var(--ease), padding-left .4s var(--ease);
}
.service-row:hover{ background:var(--pastel-2); padding-left:20px; border-radius:16px; }
.service-row .service-icon{ margin-bottom:0; width:60px; height:60px; }
.service-row h3{ font-size:21px; margin-bottom:6px; }
.service-row p{ margin-bottom:0; font-size:14.5px; max-width:520px; }
.service-row .num{
  font-family:'Fraunces',serif; font-size:14px; font-weight:600;
  color:var(--sky); align-self:start; margin-top:20px;
}
.service-row-index{
  display:flex; flex-direction:column; align-items:flex-end; gap:4px;
  font-size:11.5px; font-weight:700; color:var(--ocean); text-transform:uppercase; letter-spacing:.06em;
  text-align:right;
}
@media (max-width:700px){
  .service-row{ grid-template-columns:52px 1fr; }
  .service-row-index{ display:none; }
}

/* ==========================================================================
   About page — story split, values, process
   ========================================================================== */
.split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:70px;
  align-items:center;
}
@media (max-width:900px){ .split{ grid-template-columns:1fr; gap:44px; } }

.about-photo{
  position:relative;
  border-radius:var(--radius-lg);
  overflow:hidden;
  box-shadow:var(--shadow-soft);
}
.about-photo img{ width:100%; height:100%; object-fit:cover; aspect-ratio:4/5; }
.about-photo-ring{
  position:absolute; inset:-18px;
  border:2px dashed var(--sky);
  border-radius:calc(var(--radius-lg) + 18px);
  z-index:-1;
  opacity:.6;
}

.values-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
@media (max-width:760px){ .values-grid{ grid-template-columns:1fr; } }
.value-card{
  padding:30px 26px;
  background:var(--white);
  border-radius:var(--radius-md);
  box-shadow:var(--shadow-card);
  text-align:left;
}
.value-card svg{ width:30px; height:30px; color:var(--ocean-dark); margin-bottom:16px; }
.value-card h3{ font-size:18px; margin-bottom:8px; }
.value-card p{ font-size:14px; margin-bottom:0; }

.process-list{ counter-reset:step; }
.process-item{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:26px;
  padding:30px 0;
  border-top:1px solid rgba(22,56,82,.12);
}
.process-item:last-child{ border-bottom:1px solid rgba(22,56,82,.12); }
.process-num{
  font-family:'Fraunces',serif;
  font-size:34px;
  font-weight:560;
  color:var(--sky);
  min-width:64px;
}
.process-item h3{ font-size:19px; margin-bottom:6px; }
.process-item p{ margin-bottom:0; max-width:520px; }

/* ==========================================================================
   Gallery page — mood mosaic
   ========================================================================== */
.mosaic{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  grid-auto-rows:150px;
  gap:18px;
}
.mosaic-tile{
  border-radius:24px;
  position:relative;
  overflow:hidden;
  display:flex;
  align-items:flex-end;
  padding:20px;
  color:var(--white);
  isolation:isolate;
}
.mosaic-tile::before{
  content:'';
  position:absolute; inset:0;
  background:linear-gradient(180deg, transparent 40%, rgba(11,30,45,.72));
  z-index:0;
}
.mosaic-tile span{ position:relative; z-index:1; font-weight:700; font-size:14.5px; letter-spacing:.02em; }
.mosaic-tile img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:-1; transition:transform .7s var(--ease); }
.mosaic-tile:hover img{ transform:scale(1.08); }
.mosaic-tile.tone-1{ background:linear-gradient(135deg,#BFE3F7,#8FC5E8); }
.mosaic-tile.tone-2{ background:linear-gradient(135deg,#CFEFE6,#9FDAC9); }
.mosaic-tile.tone-3{ background:linear-gradient(135deg,#E4F3FB,#BFE3F7); }
.mosaic-tile.tone-4{ background:linear-gradient(135deg,#9FCBE8,#5F9EC7); }
.mosaic-tile.tone-5{ background:linear-gradient(135deg,#D7EFEA,#AADDCF); }
.mosaic-tile.tone-6{ background:linear-gradient(135deg,#BFE3F7,#7CB4DE); }

.mosaic-tile.span-2{ grid-column:span 2; grid-row:span 2; }
.mosaic-tile.span-row2{ grid-row:span 2; }

@media (max-width:900px){
  .mosaic{ grid-template-columns:repeat(2,1fr); }
  .mosaic-tile.span-2{ grid-column:span 2; grid-row:span 1; height:100%; }
}
@media (max-width:560px){
  .mosaic{ grid-template-columns:1fr; }
  .mosaic-tile.span-2, .mosaic-tile.span-row2{ grid-column:span 1; grid-row:span 1; }
}

.quote-strip{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:26px;
}
@media (max-width:900px){ .quote-strip{ grid-template-columns:1fr; } }
.quote-card{
  background:var(--white);
  border-radius:var(--radius-md);
  padding:30px 28px;
  box-shadow:var(--shadow-card);
}
.quote-card .stars{ color:var(--ocean); font-size:14px; letter-spacing:2px; margin-bottom:14px; display:block; }
.quote-card p{ font-size:14.5px; font-style:italic; color:var(--ink); }
.quote-name{ font-weight:700; font-size:13.5px; color:var(--navy); font-style:normal; }

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-grid{
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:56px;
  align-items:start;
}
@media (max-width:900px){ .contact-grid{ grid-template-columns:1fr; } }

.contact-card-list{ display:flex; flex-direction:column; gap:18px; margin-bottom:36px; }
.contact-card{
  display:flex; align-items:center; gap:18px;
  background:var(--white);
  border-radius:var(--radius-md);
  padding:22px 24px;
  box-shadow:var(--shadow-card);
  transition:transform .35s var(--ease);
}
.contact-card:hover{ transform:translateX(6px); }
.contact-card .service-icon{ margin-bottom:0; flex-shrink:0; }
.contact-card strong{ display:block; color:var(--navy); font-size:15.5px; margin-bottom:2px; }
.contact-card span{ font-size:13.5px; color:var(--ink-soft); }

.hours-card{
  background:var(--navy);
  color:var(--white);
  border-radius:var(--radius-md);
  padding:28px 26px;
}
.hours-card h3{ color:var(--white); font-size:17px; margin-bottom:16px; }
.hours-row{ display:flex; justify-content:space-between; padding:10px 0; border-top:1px solid rgba(255,255,255,.14); font-size:14px; }
.hours-row:first-of-type{ border-top:none; }
.hours-row span:last-child{ color:var(--mint); font-weight:600; }

.form-card{
  background:var(--white);
  border-radius:var(--radius-lg);
  padding:44px;
  box-shadow:var(--shadow-soft);
}
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-bottom:20px; }
@media (max-width:560px){ .form-row{ grid-template-columns:1fr; } }
.field{ display:flex; flex-direction:column; gap:8px; margin-bottom:20px; }
.field label{ font-size:13px; font-weight:700; color:var(--navy); }
.field input, .field select, .field textarea{
  border:1.5px solid rgba(22,56,82,.16);
  background:var(--cloud);
  border-radius:12px;
  padding:14px 16px;
  font-family:inherit;
  font-size:14.5px;
  color:var(--ink);
  transition:border-color .3s var(--ease), background .3s var(--ease);
  resize:vertical;
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none;
  border-color:var(--ocean);
  background:var(--white);
}
.form-note{ font-size:12.5px; color:var(--ink-soft); margin-top:6px; }
.form-success{
  display:none;
  align-items:center; gap:14px;
  background:var(--pastel-2);
  border:1.5px solid var(--mint);
  border-radius:16px;
  padding:18px 22px;
  margin-top:20px;
}
.form-success.show{ display:flex; }
.form-success svg{ width:26px; height:26px; color:var(--ocean-dark); flex-shrink:0; }
.form-success p{ margin:0; font-size:14px; color:var(--navy); font-weight:600; }

.map-card{
  border-radius:var(--radius-lg);
  overflow:hidden;
  box-shadow:var(--shadow-card);
  position:relative;
  height:260px;
  background:linear-gradient(135deg, var(--pastel), var(--sky));
  display:flex; align-items:center; justify-content:center;
  margin-top:24px;
}
.map-card .pin{
  display:flex; flex-direction:column; align-items:center; gap:10px;
  color:var(--navy); text-align:center;
}
.map-card svg{ width:40px; height:40px; }
.map-card a{ font-weight:700; text-decoration:underline; text-underline-offset:4px; }
