/* =========================================================
   Shardul Immaculate Solutions — stylesheet
   Palette: deep navy + turquoise + white (per brand brief)
   Rule of thumb: ~70% light background, ~20% navy, ~10% turquoise
   NOTE: no black and no red are used anywhere in this file.
   ========================================================= */

:root{
  --navy: #061A3A;
  --navy-2: #0B2854;
  --turquoise: #19C7C7;
  --turquoise-dark: #0FA3A3;
  --aqua-light: #E8FAFA;
  --bg: #FFFFFF;
  --bg-soft: #F5F8FC;
  --text: #263238;
  --text-muted: #6B7280;
  --white: #FFFFFF;
  --border: #E3E9F2;
  --shadow-sm: 0 2px 10px rgba(6,26,58,0.06);
  --shadow-md: 0 12px 32px rgba(6,26,58,0.10);
  --shadow-lg: 0 24px 60px rgba(6,26,58,0.16);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --container: 1180px;
  --font-head: 'Poppins', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;
}

*, *::before, *::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a{ color: inherit; text-decoration: none; }

ul{ list-style: none; margin: 0; padding: 0; }

h1,h2,h3,h4{
  font-family: var(--font-head);
  color: var(--navy);
  margin: 0 0 .5em 0;
  line-height: 1.2;
  font-weight: 700;
}

p{ margin: 0 0 1em 0; }

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section{ padding: 88px 0; }

@media (max-width: 720px){
  section{ padding: 56px 0; }
}

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--turquoise-dark);
  background: var(--aqua-light);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.section-head{
  max-width: 720px;
  margin: 0 auto 52px auto;
  text-align: center;
}

.section-head h2{ font-size: clamp(28px, 4vw, 40px); }

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

.section-head.align-left{
  margin: 0 0 48px 0;
  text-align: left;
}

/* ---------- Buttons ---------- */

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  padding: 15px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}

.btn svg{ width: 18px; height: 18px; flex: none; }

.btn-primary{
  background: var(--turquoise);
  color: var(--navy);
  box-shadow: 0 10px 24px rgba(25,199,199,0.35);
}
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 14px 30px rgba(25,199,199,0.45); }

.btn-outline-light{
  background: transparent;
  border-color: rgba(255,255,255,0.55);
  color: var(--white);
}
.btn-outline-light:hover{ background: rgba(255,255,255,0.12); transform: translateY(-2px); }

.btn-outline-navy{
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline-navy:hover{ background: var(--navy); color: var(--white); transform: translateY(-2px); }

.btn-navy{
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-navy:hover{ transform: translateY(-2px); background: var(--navy-2); }

.btn-block{ width: 100%; }
.btn-sm{ padding: 10px 20px; font-size: 14px; }

/* ---------- Header ---------- */

.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 20px;
}

.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.brand-mark{
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(150deg, var(--navy), var(--navy-2));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px;
  box-shadow: var(--shadow-sm);
  flex: none;
}
.brand-mark img{ width: 100%; height: 100%; object-fit: contain; }

.brand-word{ line-height: 1.15; }
.brand-word .b1{
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .03em;
  color: var(--navy);
}
.brand-word .b2{
  display: block;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.main-nav{ display: flex; }
.main-nav ul{ display: flex; gap: 34px; }
.main-nav a{
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 15px;
  color: var(--navy);
  position: relative;
  padding: 6px 2px;
}
.main-nav a::after{
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--turquoise);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.main-nav a:hover::after,
.main-nav a.active::after{ transform: scaleX(1); }

.header-cta{ display: flex; align-items: center; gap: 12px; flex: none; }

.header-phone{
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--navy);
  font-size: 15px;
}
.header-phone svg{ width: 18px; height: 18px; color: var(--turquoise-dark); flex: none; }

.nav-toggle{
  display: none;
  width: 44px; height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--white);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle svg{ width: 22px; height: 22px; color: var(--navy); }

@media (max-width: 1140px){
  .main-nav{
    position: fixed;
    top: 84px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
  }
  .main-nav.open{ opacity: 1; transform: translateY(0); pointer-events: auto; }
  .main-nav ul{ flex-direction: column; padding: 18px 24px; gap: 4px; }
  .main-nav a{ display: block; padding: 12px 4px; }
  .header-phone{ display: none; }
  .nav-toggle{ display: flex; }
  .header-cta .btn{ display: none; }
}

/* ---------- Hero ---------- */

.hero{
  position: relative;
  background: radial-gradient(1100px 640px at 82% -10%, rgba(25,199,199,0.28), transparent 60%),
              linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 62%, #0d2f63 100%);
  color: var(--white);
  overflow: hidden;
  padding: 96px 0 80px;
}

.hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(2px 2px at 12% 22%, rgba(255,255,255,.35) 0, transparent 60%),
    radial-gradient(2px 2px at 88% 18%, rgba(255,255,255,.28) 0, transparent 60%),
    radial-gradient(2px 2px at 70% 78%, rgba(255,255,255,.22) 0, transparent 60%);
  pointer-events: none;
}

.hero .container{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--turquoise);
  background: rgba(25,199,199,0.14);
  border: 1px solid rgba(25,199,199,0.35);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero h1{
  color: var(--white);
  font-size: clamp(34px, 5vw, 54px);
  margin-bottom: 10px;
}
.hero h1 .accent{ color: var(--turquoise); }

.hero .lede{
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(18px, 2.4vw, 22px);
  color: var(--white);
  margin-bottom: 18px;
}

.hero p.desc{
  color: rgba(255,255,255,0.78);
  font-size: 16.5px;
  max-width: 540px;
  margin-bottom: 32px;
}

.hero-actions{ display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }

.hero-tags{
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-family: var(--font-head);
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}
.hero-tags span{ display: inline-flex; align-items: center; gap: 8px; }
.hero-tags span::before{
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--turquoise);
}

.hero-visual{ position: relative; }

.hero-card{
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-lg);
  padding: 34px;
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-lg);
}

.hero-card .glow-mark{
  width: 96px; height: 96px;
  margin: 0 auto 20px;
}

.hero-checklist{ display: grid; gap: 14px; margin-top: 8px; }
.hero-checklist li{
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 15px;
  color: var(--white);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}
.hero-checklist svg{
  width: 20px; height: 20px; flex: none;
  color: var(--navy);
  background: var(--turquoise);
  border-radius: 50%;
  padding: 4px;
}

@media (max-width: 980px){
  .hero .container{ grid-template-columns: 1fr; }
  .hero-visual{ order: -1; }
}

/* ---------- Intro ---------- */

.intro{ background: var(--bg); }
.intro .container{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.intro-badge{
  width: 92px; height: 92px;
  border-radius: 24px;
  background: linear-gradient(150deg, var(--navy), var(--navy-2));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 26px;
  box-shadow: var(--shadow-sm);
}
.intro-badge img{ width: 56px; height: 56px; object-fit: contain; }

.intro h2{ font-size: clamp(26px, 3.6vw, 34px); }

.intro-pillars{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 8px;
}
.intro-pillar{
  text-align: center;
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  padding: 22px 10px;
}
.intro-pillar svg{ width: 30px; height: 30px; color: var(--turquoise-dark); margin-bottom: 10px; }
.intro-pillar span{ display: block; font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: 14.5px; }

@media (max-width: 860px){
  .intro .container{ grid-template-columns: 1fr; gap: 34px; }
  .intro-pillars{ grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Services ---------- */

.services{ background: var(--bg-soft); }

.service-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card{
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px 20px 22px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-md); }

.service-visual{
  margin: -20px -20px 16px;
  height: 118px;
  background: linear-gradient(150deg, var(--aqua-light), #d7f5f5);
  padding: 6px 12px 0;
  box-sizing: border-box;
}
.service-visual img{ width: 100%; height: 100%; object-fit: contain; display: block; }
.service-visual.photo{ padding: 0; height: 180px; margin-bottom: 16px; }
.service-visual.photo img{ object-fit: cover; }

.service-icon{
  width: 58px; height: 58px;
  border-radius: 16px;
  background: linear-gradient(150deg, var(--aqua-light), #d7f5f5);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg{ width: 30px; height: 30px; color: var(--turquoise-dark); }

.service-card h3{ font-size: 17px; margin-bottom: 4px; line-height: 1.25; }
.service-card > p{ color: var(--text-muted); font-size: 13.5px; margin: 0; line-height: 1.4; }

.service-link{
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--turquoise-dark);
  margin-top: auto;
  padding-top: 14px;
}
.service-card:hover .service-link{ color: var(--navy-2); }

@media (max-width: 980px){
  .service-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .service-grid{ grid-template-columns: 1fr; }
}

/* ---------- Why us ---------- */

.why-us{ background: var(--bg); }

.why-grid{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.why-card{
  text-align: center;
  padding: 30px 18px;
  border-radius: var(--radius-md);
  background: var(--bg-soft);
}
.why-card .ic{
  width: 62px; height: 62px;
  border-radius: 50%;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.why-card .ic svg{ width: 28px; height: 28px; color: var(--turquoise); }
.why-card h4{ font-size: 16.5px; margin-bottom: 6px; }
.why-card p{ font-size: 14px; color: var(--text-muted); margin: 0; }

@media (max-width: 1080px){
  .why-grid{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px){
  .why-grid{ grid-template-columns: repeat(2, 1fr); }
}

/* ---------- How it works ---------- */

.how{ background: linear-gradient(180deg, var(--bg-soft), var(--bg)); }

.how-grid{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  counter-reset: step;
}
.how-step{
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 20px;
  position: relative;
}
.how-step .num{
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 30px;
  color: var(--turquoise);
  margin-bottom: 14px;
}
.how-step h4{ font-size: 16px; margin-bottom: 6px; }
.how-step p{ font-size: 13.5px; color: var(--text-muted); margin: 0; }

@media (max-width: 1080px){ .how-grid{ grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px){ .how-grid{ grid-template-columns: 1fr 1fr; } }

/* ---------- Before / After ---------- */

.before-after{ background: var(--bg); }

.ba-slider{
  position: relative;
  max-width: 760px;
  margin: 0 auto 30px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  aspect-ratio: 16/9;
  user-select: none;
  touch-action: pan-y;
}
.ba-pane{ position: absolute; inset: 0; overflow: hidden; }
.ba-pane.after{
  background: linear-gradient(150deg, var(--aqua-light), #d3f4f4);
}
.ba-pane.before{
  background: repeating-linear-gradient(135deg, #eef2f7, #eef2f7 14px, #e6ebf3 14px, #e6ebf3 28px);
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}
.ba-img{
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .25s ease;
}
.ba-img.loaded{ opacity: 1; }

/* Placeholder graphic sits above both panes and is never clipped, so it
   stays visible and centred no matter where the slider handle is. */
.ba-placeholder{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  text-align: center;
  padding: 20px;
  color: var(--navy-2);
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 2;
}
.ba-placeholder.is-hidden{ opacity: 0; }
.ba-placeholder svg{ width: 36px; height: 36px; opacity: .5; }
.ba-placeholder > span:not(.ba-sample-tag){ font-size: 13px; max-width: 260px; color: var(--text-muted); }
.ba-sample-tag{
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--navy);
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(6,26,58,0.15);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 2px;
}

.ba-slider .lbl{
  position: absolute;
  top: 16px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(6,26,58,0.85);
  color: var(--white);
  z-index: 3;
}
.ba-slider .lbl-before{ left: 16px; }
.ba-slider .lbl-after{ right: 16px; background: var(--turquoise-dark); }

.ba-handle{
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--white);
  box-shadow: 0 0 0 1px rgba(6,26,58,0.15);
  transform: translateX(-2px);
  cursor: ew-resize;
}
.ba-handle::after{
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: translate(-50%,-50%);
}
.ba-handle::before{
  content: "\2194";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-52%);
  z-index: 2;
  color: var(--navy);
  font-weight: 700;
}
.ba-range{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0;
  cursor: ew-resize;
  margin: 0;
}
.ba-tabs{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.ba-tabs button{
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy-2);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
}
.ba-tabs button.active{ background: var(--navy); color: var(--white); border-color: var(--navy); }
.ba-note{
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  max-width: 580px;
  margin: 22px auto 0;
}
.ba-note code{
  font-family: 'Courier New', monospace;
  font-size: 12.5px;
  background: var(--aqua-light);
  color: var(--navy-2);
  padding: 2px 6px;
  border-radius: 5px;
}

/* ---------- Service areas ---------- */

.areas{ background: var(--bg-soft); }
.area-chips{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}
.area-chips li{
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 11px 20px;
  box-shadow: var(--shadow-sm);
}
.areas-note{
  text-align: center;
  margin-top: 30px;
  color: var(--text-muted);
  font-size: 15px;
}
.areas-note strong{ color: var(--navy); }

/* ---------- Clients snapshot (homepage) ---------- */

.clients-snap{ background: var(--bg); }

.snap-faces{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px;
  margin-bottom: 34px;
}
.snap-face{
  width: 108px;
  text-align: center;
}
.snap-face img{
  width: 92px; height: 92px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 3px solid var(--aqua-light);
  box-shadow: var(--shadow-sm);
  margin: 0 auto 10px;
}
.snap-face span{
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 12.5px;
  color: var(--navy-2);
  line-height: 1.3;
}

.snap-companies{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 900px;
  margin: 0 auto 30px;
}
.snap-companies li{
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--navy);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 16px;
}
.snap-companies li:last-child{
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.snap-cta{ text-align: center; }

@media (max-width: 640px){
  .snap-face{ width: 84px; }
  .snap-face img{ width: 72px; height: 72px; }
}

/* ---------- Clients page ---------- */

.clients-hero{
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 62%, #0d2f63 100%);
  color: var(--white);
  padding: 76px 0 60px;
  text-align: center;
}
.clients-hero .eyebrow{ background: rgba(25,199,199,0.14); border: 1px solid rgba(25,199,199,0.35); color: var(--turquoise); }
.clients-hero h1{ color: var(--white); font-size: clamp(30px, 4.5vw, 46px); margin-bottom: 12px; }
.clients-hero p{ color: rgba(255,255,255,0.78); max-width: 620px; margin: 0 auto; font-size: 16.5px; }

.people-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.people-card{
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 22px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.people-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-md); }
.people-card img{
  width: 128px; height: 128px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  margin: 0 auto 18px;
  border: 4px solid var(--aqua-light);
}
.people-card h3{ font-size: 18px; margin-bottom: 4px; }
.people-card p{ color: var(--turquoise-dark); font-family: var(--font-head); font-weight: 600; font-size: 13px; margin: 0; }

@media (max-width: 860px){
  .people-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .people-grid{ grid-template-columns: 1fr; }
}

.logo-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.logo-card{
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 176px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.logo-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-md); }

.logo-card .logo-mark{
  width: 64px; height: 64px;
  border-radius: 16px;
  background: linear-gradient(150deg, var(--navy), var(--navy-2));
  color: var(--turquoise);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: .02em;
}
.logo-card img.logo-real{
  max-width: 168px;
  max-height: 64px;
  object-fit: contain;
  display: none;
}
.logo-card img.logo-real.loaded{ display: block; }
.logo-card img.logo-real.loaded + .logo-mark{ display: none; }

.logo-card .logo-name{
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--navy);
  line-height: 1.35;
}

@media (max-width: 860px){
  .logo-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .logo-grid{ grid-template-columns: 1fr; }
}

/* ---------- Gallery page ---------- */

.gallery-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.gallery-card{
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
  transition: transform .2s ease, box-shadow .2s ease;
}
.gallery-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-md); }
.gallery-card img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-caption{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 16px 12px;
  background: linear-gradient(0deg, rgba(6,26,58,0.82) 0%, rgba(6,26,58,0) 100%);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.3;
}

@media (max-width: 860px){
  .gallery-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .gallery-grid{ grid-template-columns: 1fr; }
  .gallery-card{ aspect-ratio: 1 / 1; }
}

/* ---------- Legal pages (Terms / Privacy) ---------- */

.legal-content{ background: var(--bg); }
.legal-content .container.narrow{ max-width: 780px; }
.legal-updated{
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.legal-content h2{
  font-size: 21px;
  margin-top: 44px;
  margin-bottom: 12px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.legal-content h2:first-of-type{ margin-top: 0; }
.legal-content h2 .num{
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--turquoise-dark);
  font-size: 16px;
}
.legal-content p{ color: var(--text); font-size: 15.5px; margin-bottom: 14px; }
.legal-content ul,
.legal-content ol{ margin: 0 0 14px; padding-left: 22px; display: grid; gap: 8px; }
.legal-content li{ color: var(--text); font-size: 15.5px; }
.legal-content strong{ color: var(--navy); }
.legal-content .legal-note{
  background: var(--bg-soft);
  border-left: 4px solid var(--turquoise);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin: 0 0 14px;
  font-size: 14.5px;
  color: var(--text-muted);
}
.legal-content .legal-contact{
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  padding: 24px 26px;
  margin-top: 10px;
}
.legal-content .legal-contact p{ margin: 0 0 6px; font-size: 15px; }
.legal-content .legal-contact a{ color: var(--navy-2); font-weight: 600; }

/* ---------- CTA band ---------- */

.cta-band{
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: var(--white);
  text-align: center;
}
.cta-band h2{ color: var(--white); font-size: clamp(26px, 4vw, 36px); max-width: 720px; margin: 0 auto 8px; }
.cta-band p.sub{ color: rgba(255,255,255,0.75); max-width: 560px; margin: 0 auto 30px; }
.cta-phone{
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(30px, 5vw, 44px);
  color: var(--turquoise);
  margin-bottom: 30px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.cta-phone svg{ width: 34px; height: 34px; }
.cta-actions{ display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- About ---------- */

.about{ background: var(--bg); }
.about .container{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-quote{
  background: var(--bg-soft);
  border-left: 4px solid var(--turquoise);
  border-radius: var(--radius-md);
  padding: 28px 26px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 19px;
  color: var(--navy);
  margin: 22px 0;
}
.about-tag{
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--turquoise-dark);
}
.about-visual{
  background: linear-gradient(160deg, var(--navy), var(--navy-2));
  border-radius: var(--radius-lg);
  padding: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}
.about-visual img{ width: 190px; }

@media (max-width: 860px){
  .about .container{ grid-template-columns: 1fr; gap: 30px; }
  .about-visual{ order: -1; padding: 30px; min-height: 220px; }
  .about-visual img{ width: 140px; }
}

/* ---------- Contact ---------- */

.contact{ background: var(--bg-soft); }

.contact-grid{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
  min-width: 0;
}

.contact-card{
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  min-width: 0;
}
.contact-card h3{ color: var(--white); font-size: 22px; }
.contact-line{
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 20px 0;
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  min-width: 0;
}
.contact-line svg{ width: 22px; height: 22px; color: var(--turquoise); flex: none; margin-top: 2px; }
.contact-line a{ color: var(--white); font-weight: 600; overflow-wrap: anywhere; }
.contact-line span{ overflow-wrap: anywhere; min-width: 0; }
.contact-buttons{ display: grid; gap: 12px; margin-top: 26px; }

.form-card{
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 34px;
  min-width: 0;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.form-tabs{ display: flex; gap: 10px; margin-bottom: 26px; }
.form-tabs button{
  flex: 1;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14.5px;
  padding: 12px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--text-muted);
  cursor: pointer;
  transition: all .18s ease;
}
.form-tabs button.active{ background: var(--navy); color: var(--white); border-color: var(--navy); }

.field-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field{ margin-bottom: 16px; }
.field.full{ grid-column: 1 / -1; }
.field label{
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--navy);
  margin-bottom: 7px;
}
.field input,
.field select,
.field textarea{
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--text);
}
.field input:focus,
.field select:focus,
.field textarea:focus{
  outline: none;
  border-color: var(--turquoise);
  background: var(--white);
}
.field textarea{ resize: vertical; min-height: 90px; }
.field.error input,
.field.error select,
.field.error textarea{ border-color: var(--turquoise-dark); border-width: 2px; background: var(--aqua-light); }
.field.error label{ color: var(--turquoise-dark); }
.field-hint{ font-size: 12.5px; color: var(--text-muted); margin-top: 5px; }

.form-note{ font-size: 13px; color: var(--text-muted); margin-top: 14px; text-align: center; }
.form-panel{ display: none; }
.form-panel.active{ display: block; }

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

/* ---------- Footer ---------- */

.site-footer{
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 72px 0 28px;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.2fr 0.85fr 0.85fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand img{ width: 150px; margin-bottom: 16px; }
.footer-brand .tag{ font-family: var(--font-head); font-weight: 500; color: var(--turquoise); font-size: 14px; margin-bottom: 10px; }
.footer-brand .pillars{ font-family: var(--font-head); font-size: 13px; letter-spacing: .06em; color: rgba(255,255,255,0.55); text-transform: uppercase; }
.footer-col h5{
  font-family: var(--font-head);
  color: var(--white);
  font-size: 15px;
  margin-bottom: 18px;
}
.footer-col ul{ display: grid; gap: 11px; font-size: 14.5px; }
.footer-col a:hover{ color: var(--turquoise); }
.footer-contact li{ display: flex; gap: 10px; align-items: flex-start; min-width: 0; }
.footer-contact svg{ width: 17px; height: 17px; color: var(--turquoise); flex: none; margin-top: 3px; }
.footer-contact li a,
.footer-contact li span{ overflow-wrap: anywhere; min-width: 0; }
.footer-bottom{
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding-top: 26px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.footer-legal-links a{ color: rgba(255,255,255,0.65); }
.footer-legal-links a:hover{ color: var(--turquoise); }
.footer-legal-links .sep{ margin: 0 8px; color: rgba(255,255,255,0.3); }

@media (max-width: 1100px){
  .footer-grid{ grid-template-columns: 1fr 1fr; gap: 30px 36px; }
}
@media (max-width: 860px){
  .footer-grid{ grid-template-columns: 1fr; gap: 30px; }
}

/* ---------- Mobile sticky action bar ---------- */

.mobile-bar{
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 24px rgba(6,26,58,0.10);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
}
.mobile-bar .row{ display: flex; gap: 10px; min-width: 0; }
.mobile-bar .btn{ flex: 1; min-width: 0; padding: 13px 8px; font-size: 13.5px; gap: 6px; white-space: nowrap; overflow: hidden; }
.mobile-bar .btn svg{ flex: none; width: 16px; height: 16px; }

@media (max-width: 720px){
  .mobile-bar{ display: block; }
  body{ padding-bottom: 78px; }
}

/* ---------- Reveal on scroll ---------- */

.reveal{ opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in{ opacity: 1; transform: none; }

/* ---------- Toast ---------- */

.toast{
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 500;
  padding: 14px 22px;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  z-index: 200;
  max-width: 90vw;
  text-align: center;
}
.toast.show{ opacity: 1; transform: translate(-50%, 0); }
