/* Cris-Med.ro — public site stylesheet.
   Ported 1:1 from design-reference/homepage-mockup.html. Google Fonts CDN was
   replaced with self-hosted @font-face (see /assets/fonts/), per the no-runtime
   external-dependency constraint. Visual tokens and breakpoints are unchanged. */

/* ===== SELF-HOSTED FONTS (variable woff2, font-display:swap) =====
   Fraunces and Inter are shipped as variable fonts: a single file per subset
   covers the whole weight range, so no extra requests per weight. Romanian
   diacritics: â/î come from the latin subset, ă/ș/ț from latin-ext. */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/fraunces-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/fraunces-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root{
  --bg: #FAFAF8;
  --bg-alt: #F2EFE8;
  --navy: #0F2A43;
  --navy-light: #1B3C5C;
  --red: #B3242F;
  --red-dark: #8C1B24;
  --text: #2B2E33;
  --text-muted: #5B6066;
  --border: #E5E1D8;
  --white: #FFFFFF;

  --radius: 14px;
  --shadow-soft: 0 8px 24px rgba(15,42,67,0.08);
  --shadow-lift: 0 16px 36px rgba(15,42,67,0.14);
}

*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  font-family:'Inter', sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3{
  font-family:'Fraunces', serif;
  font-weight:600;
  color:var(--navy);
  line-height:1.12;
  letter-spacing:-0.01em;
}
a{color:inherit;text-decoration:none;}
img,svg{display:block;}
button{font-family:inherit;cursor:pointer;border:none;background:none;}
.container{max-width:1180px;margin:0 auto;padding:0 24px;}
:focus-visible{outline:3px solid var(--red);outline-offset:2px;border-radius:4px;}

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

/* ===== TOP BAR ===== */
.topbar{
  background:var(--navy);
  color:#cfe0ef;
  font-size:13px;
}
.topbar .container{
  display:flex;justify-content:space-between;align-items:center;
  padding:8px 24px;flex-wrap:wrap;gap:6px;
}
.topbar-left{display:flex;gap:18px;flex-wrap:wrap;}
.topbar a{display:flex;align-items:center;gap:6px;opacity:0.92;transition:opacity .2s;}
.topbar a:hover{opacity:1;color:#fff;}
.topbar-loc{display:flex;align-items:center;gap:6px;opacity:0.8;}

/* ===== HEADER / NAV ===== */
header.main{
  background:var(--white);
  border-bottom:1px solid var(--border);
  position:sticky;top:0;z-index:50;
}
nav.wrap{
  display:flex;align-items:center;justify-content:space-between;
  padding:14px 24px;flex-wrap:nowrap;gap:16px;
}
.logo{
  display:flex;align-items:center;gap:10px;flex-shrink:0;
  font-family:'Fraunces',serif;font-weight:700;font-size:20px;color:var(--navy);
}
.logo-img{height:38px;width:auto;display:block;}
.logo-mark{
  width:42px;height:42px;border-radius:10px;
  background:linear-gradient(135deg,var(--navy),var(--navy-light));
  display:flex;align-items:center;justify-content:center;
  color:var(--white);font-size:20px;flex-shrink:0;
}
.logo small{display:block;font-family:'Inter';font-weight:500;font-size:11px;color:var(--text-muted);letter-spacing:.03em;}

.nav-links{display:flex;gap:18px;align-items:center;flex-shrink:1;min-width:0;}
.nav-links a{font-size:14px;font-weight:600;color:var(--text);position:relative;padding:6px 0;white-space:nowrap;}
.nav-links a::after{
  content:'';position:absolute;left:0;bottom:0;height:2px;width:0;background:var(--red);
  transition:width .25s ease;
}
.nav-links a:hover::after{width:100%;}
.nav-links a.active{color:var(--red);}
.nav-links a.active::after{width:100%;}

.nav-actions{display:flex;align-items:center;gap:10px;flex-shrink:0;margin-left:8px;}
.nav-cta{
  background:var(--red);color:var(--white);
  padding:11px 20px;border-radius:999px;font-weight:700;font-size:14.5px;
  display:flex;align-items:center;gap:8px;white-space:nowrap;flex-shrink:0;
  box-shadow:0 6px 16px rgba(179,36,47,0.3);
  transition:background .2s, transform .15s;
}
.nav-cta:hover{background:var(--red-dark);transform:translateY(-1px);}

.burger{display:none;width:48px;height:48px;align-items:center;justify-content:center;flex-shrink:0;}
.burger span, .burger span::before, .burger span::after{
  content:'';display:block;width:22px;height:2px;background:var(--navy);position:relative;transition:.2s;
}
.burger span::before{position:absolute;top:-7px;width:22px;height:2px;background:var(--navy);}
.burger span::after{position:absolute;top:7px;width:22px;height:2px;background:var(--navy);}

/* ===== HERO ===== */
.hero{
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(179,36,47,0.06), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg) 70%, var(--bg-alt));
  padding:64px 0 40px;
  overflow:hidden;
}
/* Hero gets a wider container than the rest of the site so the photo collage
   has more room and the images sit at their natural proportions. */
.hero .container{max-width:1400px;}
.hero-grid{
  display:grid;grid-template-columns:1.05fr 0.95fr;gap:56px;align-items:center;
}
.badges-row{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:22px;}
.badge{
  display:inline-flex;align-items:center;gap:7px;
  background:var(--white);border:1px solid var(--border);
  padding:7px 14px;border-radius:999px;font-size:12.5px;font-weight:700;
  color:var(--navy);box-shadow:var(--shadow-soft);
}
.badge svg{width:14px;height:14px;flex-shrink:0;color:var(--red);}

.eyebrow{
  font-size:13.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;
  color:var(--red);margin-bottom:14px;display:block;
}

h1.hero-title{font-size:clamp(34px,4.6vw,54px);margin-bottom:14px;}
h1.hero-title .accent{color:var(--red);}

.hero-sub{
  font-size:17px;color:var(--text-muted);max-width:520px;margin-bottom:22px;
}

.live-status{
  display:inline-flex;align-items:center;gap:9px;
  background:rgba(15,42,67,0.05);
  border:1px solid var(--border);
  padding:8px 14px;border-radius:999px;
  font-size:13.5px;font-weight:600;color:var(--navy);
  margin-bottom:26px;
}
.pulse-dot{
  width:9px;height:9px;border-radius:50%;background:#2E9E5B;position:relative;flex-shrink:0;
}
.pulse-dot::after{
  content:'';position:absolute;inset:-5px;border-radius:50%;
  border:2px solid #2E9E5B;opacity:.6;
  animation:pulse 2.2s ease-out infinite;
}
@keyframes pulse{
  0%{transform:scale(.6);opacity:.7;}
  80%{transform:scale(1.7);opacity:0;}
  100%{opacity:0;}
}

/* ===== STATUS BAR (under header) ===== */
.status-bar{background:var(--white);border-bottom:1px solid var(--border);padding:11px 0;}
.status-row{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px 16px;}
.status-bar .live-status{margin-bottom:0;}
.fleet-status{
  display:inline-flex;align-items:center;gap:8px;
  font-size:13.5px;font-weight:700;color:var(--navy);
}
.fleet-dot{width:8px;height:8px;border-radius:50%;background:var(--red);flex-shrink:0;}

.hero-ctas{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:30px;}
.btn{
  display:inline-flex;align-items:center;gap:10px;
  padding:15px 26px;border-radius:12px;font-weight:700;font-size:15.5px;
  transition:transform .15s, box-shadow .15s, background .2s;
}
.btn svg{width:19px;height:19px;flex-shrink:0;}
.btn-primary{
  background:var(--red);color:var(--white);
  box-shadow:0 10px 24px rgba(179,36,47,0.3);
}
.btn-primary:hover{background:var(--red-dark);transform:translateY(-2px);}
.btn-secondary{
  background:var(--white);color:var(--navy);border:1.5px solid var(--border);
}
.btn-secondary:hover{border-color:var(--navy);transform:translateY(-2px);}

.features-row{
  display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:46px;
}
.feature-chip{
  background:var(--white);border:1px solid var(--border);border-radius:14px;
  padding:24px 22px;display:flex;flex-direction:column;gap:14px;align-items:flex-start;
  box-shadow:var(--shadow-soft);transition:transform .2s, box-shadow .2s;
}
.feature-chip:hover{transform:translateY(-3px);box-shadow:var(--shadow-lift);}
.feature-chip .icon-wrap{
  width:44px;height:44px;border-radius:11px;background:var(--bg-alt);
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
.feature-chip .icon-wrap svg{width:22px;height:22px;color:var(--red);}
.feature-chip span{font-size:14px;font-weight:600;color:var(--navy);line-height:1.45;}

/* image placeholders — TEMP hidden until real photos are ready */
.img-placeholder{
  display:none!important;
}
.img-placeholder .ph-icon{font-size:28px;line-height:1;}
.img-placeholder .ph-label{font-size:13px;font-weight:700;color:var(--navy);}
.img-placeholder .ph-desc{font-size:12px;max-width:240px;}

.hero-visual{position:relative;}
.hero-visual .img-placeholder{height:420px;}
.hero-visual .float-card{
  position:absolute;bottom:-22px;left:-22px;
  background:var(--white);border-radius:12px;box-shadow:var(--shadow-lift);
  padding:14px 18px;display:flex;align-items:center;gap:12px;
  border:1px solid var(--border);
}
.float-card .num{font-family:'Fraunces',serif;font-weight:700;font-size:24px;color:var(--red);}
.float-card .label{font-size:12px;color:var(--text-muted);font-weight:600;max-width:130px;line-height:1.3;}

/* ===== SERVICES INTRO ===== */
.services{padding:80px 0 70px;background:var(--white);}
.section-head{max-width:620px;margin:0 auto 44px;text-align:center;}
.section-head .eyebrow{display:block;margin:0 auto 10px;}
.section-head h2{font-size:clamp(26px,3vw,36px);margin-bottom:10px;}
.section-head p{color:var(--text-muted);font-size:15.5px;}

.cards-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
.card{
  background:var(--bg);border:1px solid var(--border);border-radius:var(--radius);
  padding:28px;transition:transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lift);border-color:transparent;}
.card .icon-wrap{
  width:50px;height:50px;border-radius:12px;background:var(--navy);
  display:flex;align-items:center;justify-content:center;margin-bottom:18px;
}
.card .icon-wrap svg{width:24px;height:24px;color:#fff;}
.card h3{font-size:19px;margin-bottom:8px;}
.card p{font-size:14.5px;color:var(--text-muted);margin-bottom:16px;}
.card-img{height:140px;margin-bottom:16px;}
.card-link{font-size:13.5px;font-weight:700;color:var(--red);display:inline-flex;align-items:center;gap:6px;}
.card-link svg{width:14px;height:14px;transition:transform .2s;}
.card-link:hover svg{transform:translateX(3px);}

/* ===== CTA BAND ===== */
.cta-band{
  background:linear-gradient(120deg, var(--navy) 0%, var(--navy) 55%, var(--red-dark) 130%);
  color:var(--white);padding:64px 0;position:relative;overflow:hidden;
}
/* Centered, full-width call-to-action content (all pages). */
.cta-content{display:flex;flex-direction:column;align-items:center;text-align:center;}
.cta-band .eyebrow{color:#FFD6CF;}
.cta-band h2{color:var(--white);font-size:clamp(26px,3.4vw,38px);margin-bottom:14px;max-width:760px;}
.cta-band p{color:#D7E0E9;font-size:16.5px;max-width:620px;margin-bottom:30px;}
.cta-band .btn-primary{background:var(--white);color:var(--red-dark);box-shadow:0 10px 24px rgba(0,0,0,0.2);}
.cta-band .btn-primary:hover{background:#fff0ee;}
.cta-actions{display:flex;align-items:center;justify-content:center;gap:24px;flex-wrap:wrap;}
.cta-phone{
  font-family:'Fraunces',serif;font-weight:700;font-size:30px;letter-spacing:.01em;
  display:inline-flex;align-items:center;gap:10px;color:var(--white);text-decoration:none;
}
.cta-phone:hover{color:#FFD6CF;}

/* ===== STICKY MOBILE CALL BAR ===== */
.mobile-callbar{
  display:none;position:fixed;left:0;right:0;bottom:0;z-index:60;
  background:var(--white);border-top:1px solid var(--border);
  box-shadow:0 -8px 24px rgba(0,0,0,0.08);
  padding:10px 14px;gap:10px;
}
.mobile-callbar a{
  flex:1;display:flex;align-items:center;justify-content:center;gap:8px;
  padding:13px;border-radius:10px;font-weight:700;font-size:14.5px;
}
.mobile-callbar .call{background:var(--red);color:#fff;}
.mobile-callbar .wa{background:#1FAA59;color:#fff;}

footer.note{
  text-align:center;padding:14px 20px;font-size:11.5px;color:var(--text-muted);
  background:var(--bg-alt);border-top:1px solid var(--border);
}

/* ===== ABOUT ===== */
.about{padding:80px 0;background:var(--bg);}
.about-grid{display:grid;grid-template-columns:0.85fr 1.15fr;gap:50px;align-items:center;}
.about .img-placeholder{height:340px;}
.about h2{font-size:clamp(24px,2.8vw,32px);margin-bottom:16px;}
.about p{color:var(--text-muted);font-size:15.5px;}

/* ===== WHY SECTION ===== */
.why{padding:80px 0;background:var(--bg-alt);}
.why-grid{display:grid;grid-template-columns:1.1fr 0.9fr;gap:50px;align-items:start;}
.why h2{font-size:clamp(24px,2.8vw,32px);margin-bottom:18px;}
.why p{color:var(--text-muted);font-size:15px;margin-bottom:14px;}
.why-list{list-style:none;margin-top:22px;display:flex;flex-direction:column;gap:12px;}
.why-list li{
  display:flex;gap:10px;align-items:flex-start;font-size:14.5px;color:var(--text);
  background:var(--white);border:1px solid var(--border);border-radius:10px;padding:12px 14px;
}
.why-list svg{width:18px;height:18px;color:var(--red);flex-shrink:0;margin-top:1px;}
.gallery-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;}
.gallery-grid .img-placeholder{height:160px;padding:10px;}
.gallery-grid .img-placeholder .ph-icon{font-size:20px;}
.gallery-grid .img-placeholder .ph-desc{font-size:11px;}

/* Real images replacing the placeholders (About portrait + gallery cells). */
.about-grid > picture{display:block;border-radius:var(--radius);overflow:hidden;}
.about-grid > picture img{width:100%;height:340px;object-fit:cover;display:block;}
.gallery-grid picture{display:block;border-radius:var(--radius);overflow:hidden;}
.gallery-grid picture img{width:100%;height:160px;object-fit:cover;display:block;}

/* ===== SECONDARY BANNER ===== */
.banner-mid{
  background:var(--navy);color:var(--white);padding:48px 0;text-align:center;
}
.banner-mid .eyebrow{color:#FFA89F;}
.banner-mid h2{color:var(--white);font-size:clamp(22px,3vw,30px);margin-bottom:10px;}
.banner-mid p{color:#D7E0E9;font-size:15px;max-width:560px;margin:0 auto 22px;}

/* ===== DEEP SERVICES ===== */
.services-deep{padding:80px 0;background:var(--white);}
.deep-row{
  display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:center;
  padding:50px 0;border-bottom:1px solid var(--border);
}
.deep-row:last-child{border-bottom:none;padding-bottom:0;}
.deep-row:nth-child(odd) .deep-img{order:1;}
.deep-row .deep-img{height:280px;}
.deep-row .icon-wrap{
  width:46px;height:46px;border-radius:11px;background:var(--bg-alt);border:1px solid var(--border);
  display:flex;align-items:center;justify-content:center;margin-bottom:16px;
}
.deep-row .icon-wrap svg{width:22px;height:22px;color:var(--red);}
.deep-row h3{font-size:21px;margin-bottom:10px;}
.deep-row p{font-size:14.5px;color:var(--text-muted);}

/* ===== FOOTER FULL ===== */
.footer-full{background:var(--navy);color:#C9D6E2;padding:56px 0 0;}
.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:40px;padding-bottom:40px;}
.footer-grid h4{color:#fff;font-family:'Fraunces',serif;font-size:18px;margin-bottom:14px;}
.footer-grid p, .footer-grid a{font-size:13.5px;color:#AEC0D1;line-height:1.7;}
.footer-grid a:hover{color:#fff;}
.footer-col-links{display:flex;flex-direction:column;gap:10px;}
.footer-link-btn{padding:0;font-size:13.5px;color:#AEC0D1;line-height:1.7;text-align:left;cursor:pointer;transition:color .2s;font-family:inherit;}
.footer-link-btn:hover{color:#fff;text-decoration:underline;}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,0.12);
  padding:18px 0;display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;
  font-size:12.5px;color:#90A4B8;
}
.footer-bottom a{color:#C9D6E2;font-weight:600;transition:color .2s;}
.footer-bottom a:hover{color:#fff;}
.anpc-sal{display:inline-block;margin-top:6px;background:var(--white);border-radius:8px;padding:6px 10px;width:max-content;transition:opacity .2s;}
.anpc-sal:hover{opacity:.85;}
.anpc-sal img{width:200px;height:auto;display:block;}
@media (max-width:760px){
  .about-grid, .why-grid{grid-template-columns:1fr;}
  .why-grid{gap:30px;}
  .footer-grid{grid-template-columns:1fr;gap:28px;}
}

/* ===== TRUST BAR ===== */
.trust-bar{background:var(--white);border-top:1px solid var(--border);border-bottom:1px solid var(--border);padding:24px 0;}
.trust-grid{display:grid;grid-template-columns:repeat(4,1fr);text-align:center;}
.trust-item{border-right:1px solid var(--border);padding:0 10px;}
.trust-item:last-child{border-right:none;}
.trust-item .num{font-family:'Fraunces',serif;font-weight:700;font-size:27px;color:var(--red);display:block;}
.trust-item .label{font-size:12px;color:var(--text-muted);font-weight:600;margin-top:3px;line-height:1.3;}

/* ===== HERO COLLAGE ===== */
.hero-collage{
  display:grid;grid-template-columns:1.15fr 1fr;grid-template-rows:1fr 1fr;
  gap:14px;height:460px;
}
/* Match each cell to its photo orientation so nothing is over-cropped:
   exterior + crew are landscape (stacked on the left), interior is portrait
   (full-height cell on the right). */
.hero-collage .ph-main{grid-column:1;grid-row:1;}
.hero-collage .ph-a{grid-column:1;grid-row:2;}
.hero-collage .ph-b{grid-column:2;grid-row:1 / 3;}
.hero-collage .img-placeholder{height:100%;}
.hero-collage .ph-a .ph-icon, .hero-collage .ph-b .ph-icon{font-size:20px;}
.hero-collage .ph-a .ph-desc, .hero-collage .ph-b .ph-desc{font-size:11px;}
/* Real collage images fill their cells (placeholders set the cell sizes above). */
.hero-collage picture{display:block;height:100%;overflow:hidden;border-radius:var(--radius);}
.hero-collage img{width:100%;height:100%;object-fit:cover;display:block;}

/* ===== FLOATING WHATSAPP (desktop) ===== */
.fab-whatsapp{
  position:fixed;right:26px;bottom:26px;z-index:55;
  width:58px;height:58px;border-radius:50%;background:#1FAA59;color:#fff;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 12px 26px rgba(31,170,89,0.4);transition:transform .2s;
}
.fab-whatsapp:hover{transform:scale(1.08);}
.fab-whatsapp svg{width:27px;height:27px;}

/* ===== STEPS (Cum funcţionează) ===== */
.steps{padding:80px 0;background:var(--white);}
.steps-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;margin-top:36px;}
.step{
  background:var(--bg-alt);border:1px solid var(--border);border-radius:var(--radius);
  padding:30px 26px;position:relative;overflow:hidden;
}
.step .step-num{
  font-family:'Fraunces',serif;font-weight:700;font-size:46px;color:var(--red);
  opacity:.18;position:absolute;top:8px;right:16px;line-height:1;
}
.step h3{font-size:18px;margin-bottom:8px;position:relative;}
.step p{font-size:14px;color:var(--text-muted);position:relative;}

/* ===== EQUIPMENT (Dotări echipaj) ===== */
.equip{padding:70px 0;background:var(--bg-alt);}
.equip-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:32px;}
.equip-item{
  display:flex;gap:13px;align-items:center;
  background:var(--white);border:1px solid var(--border);border-radius:12px;padding:16px 18px;
}
.equip-item .icon-wrap{
  width:44px;height:44px;border-radius:10px;background:var(--navy);
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
.equip-item .icon-wrap svg{width:20px;height:20px;color:#fff;}
.equip-item span{font-size:14px;font-weight:600;color:var(--navy);}

/* ===== TESTIMONIALS ===== */
.testimonials{padding:80px 0;background:var(--white);}
.test-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:36px;}
.test-card{
  background:var(--bg-alt);border:1px solid var(--border);border-radius:var(--radius);
  padding:26px;
}
.test-stars{color:var(--red);font-size:15px;margin-bottom:12px;letter-spacing:2px;}
.test-card p{font-size:14.5px;color:var(--text);margin-bottom:16px;font-style:italic;}
.test-author{font-size:13px;font-weight:700;color:var(--navy);}
.test-author span{display:block;font-size:12px;color:var(--text-muted);font-weight:500;margin-top:2px;}

/* ===== FOOTER SOCIAL ===== */
.footer-social{display:flex;align-items:center;gap:10px;margin-top:10px;}
.footer-social a{
  width:34px;height:34px;border-radius:50%;background:rgba(255,255,255,0.08);
  display:flex;align-items:center;justify-content:center;transition:background .2s;
}
.footer-social a:hover{background:var(--red);}
.footer-social svg{width:16px;height:16px;color:#fff;}

/* ===== RESPONSIVE ===== */
@media (max-width: 980px){
  .hero-grid{grid-template-columns:1fr;}
  .hero-visual{order:-1;}
  .features-row{grid-template-columns:repeat(2,1fr);margin-top:32px;}
  .cards-grid{grid-template-columns:1fr;}
  .cta-actions{flex-direction:column;gap:16px;}
  .trust-grid{grid-template-columns:repeat(2,1fr);gap:18px 0;}
  .trust-item{border-right:none;border-bottom:1px solid var(--border);padding-bottom:14px;}
  .steps-grid, .equip-grid, .test-grid{grid-template-columns:1fr;}
  .hero-collage{height:340px;}
  .deep-row{grid-template-columns:1fr;gap:24px;padding:34px 0;}
  .deep-row:nth-child(odd) .deep-img{order:0;}
  .deep-row .deep-img{height:220px;}
}
/* Header: hide the link list early enough that 5 nav items never overlap the CTA */
@media (max-width: 1280px){
  .nav-links{display:none;}
  .burger{display:flex;}
}
.nav-open .nav-links{
  display:flex;position:absolute;top:100%;left:0;right:0;
  flex-direction:column;background:var(--white);padding:18px 24px;gap:16px;
  border-bottom:1px solid var(--border);box-shadow:var(--shadow-soft);
}
@media (max-width: 760px){
  .topbar-left{display:none;}
  .nav-cta{padding:10px 14px;font-size:13px;}
  .mobile-callbar{display:flex;}
  .fab-whatsapp{display:none;}
  body{padding-bottom:74px;}
  .hero{padding:38px 0 30px;}
  .hero-visual .float-card{left:10px;bottom:-18px;padding:10px 14px;}
}
@media (max-width: 480px){
  .container{padding:0 16px;}
  .features-row, .trust-grid, .gallery-grid{grid-template-columns:1fr;}
  .badges-row{gap:8px;}
  .hero-collage{height:auto;grid-template-columns:1fr;grid-template-rows:auto;gap:10px;}
  .hero-collage .ph-main, .hero-collage .ph-a, .hero-collage .ph-b{grid-column:auto;grid-row:auto;}
  .hero-collage .ph-main{height:220px;}
  .hero-collage .ph-a{height:160px;}
  .hero-collage .ph-b{height:260px;}
  .hero-visual .float-card{position:static;margin-top:14px;width:100%;}
  .btn{width:100%;justify-content:center;}
  .hero-ctas{flex-direction:column;}
  .footer-bottom{flex-direction:column;align-items:flex-start;}
  .logo small{display:none;}
  .logo-img{height:32px;}
  .status-row{justify-content:center;text-align:center;}
}

/* ===== PAGE HERO (subpage) ===== */
.page-hero{
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(179,36,47,0.06), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg) 70%, var(--bg-alt));
  padding:46px 0 36px;overflow:hidden;
}
.breadcrumb{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--text-muted);margin-bottom:18px;flex-wrap:wrap;}
.breadcrumb a{color:var(--text-muted);transition:color .2s;}
.breadcrumb a:hover{color:var(--red);}
.breadcrumb .sep{opacity:.5;}
.breadcrumb .current{color:var(--navy);font-weight:600;}

/* Wider container for the subpage hero so the photo collage has more room and
   the images sit at their natural proportions (mirrors the homepage hero). */
.page-hero .container{max-width:1400px;}
.page-hero-collage{display:grid;grid-template-columns:1.4fr 1fr;gap:14px;height:430px;}
.page-hero-collage .img-placeholder{height:100%;}
.page-hero-collage picture{display:block;height:100%;overflow:hidden;border-radius:var(--radius);}
.page-hero-collage img{width:100%;height:100%;object-fit:cover;display:block;}

@media (max-width:980px){
  .page-hero-collage{height:300px;}
}
@media (max-width:480px){
  .page-hero-collage{grid-template-columns:1fr;height:auto;}
  .page-hero-collage .img-placeholder{height:160px;}
}

/* ===== CONTACT PAGE ===== */
.contact-section{padding:80px 0;background:var(--white);}
.contact-grid{display:grid;grid-template-columns:1.2fr 0.8fr;gap:50px;align-items:start;}

.contact-form{background:var(--bg-alt);border:1px solid var(--border);border-radius:var(--radius);padding:36px;}
.contact-form h3{font-size:20px;margin-bottom:6px;}
.contact-form > p.form-intro{font-size:14px;color:var(--text-muted);margin-bottom:26px;}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px;}
.form-group{margin-bottom:16px;display:flex;flex-direction:column;gap:6px;}
.form-group label{font-size:13px;font-weight:700;color:var(--navy);}
.form-control{
  width:100%;padding:12px 14px;border:1.5px solid var(--border);border-radius:10px;
  font-family:'Inter',sans-serif;font-size:14.5px;color:var(--text);background:var(--white);
  transition:border-color .2s;
}
.form-control:focus{outline:none;border-color:var(--red);}
.form-control.error{border-color:var(--red);}
textarea.form-control{resize:vertical;min-height:120px;}
.field-error{font-size:12.5px;font-weight:600;color:var(--red);}
.form-alert{
  background:#FCEBEC;border:1px solid var(--red);color:var(--red-dark);
  border-radius:10px;padding:12px 14px;font-size:13.5px;font-weight:600;margin-bottom:22px;
}
.checkbox-row{display:flex;align-items:flex-start;gap:10px;margin:6px 0 22px;font-size:13px;color:var(--text-muted);}
.checkbox-row input{margin-top:3px;flex-shrink:0;width:16px;height:16px;accent-color:var(--red);}
.checkbox-row label{flex:1;min-width:0;line-height:1.5;}
.checkbox-row a{color:var(--red);font-weight:600;}
.honeypot-field{position:absolute;left:-9999px;top:-9999px;opacity:0;height:0;width:0;overflow:hidden;}
.form-submit{width:100%;justify-content:center;}

.form-success{display:none;text-align:center;padding:50px 20px;}
.form-success.show{display:block;}
.form-success .icon{
  width:60px;height:60px;border-radius:50%;background:#E6F4EA;color:#2E9E5B;
  display:flex;align-items:center;justify-content:center;margin:0 auto 16px;
}
.form-success .icon svg{width:28px;height:28px;}
.form-success h3{margin-bottom:8px;}
.form-success p{color:var(--text-muted);font-size:14.5px;}

.info-card{background:var(--navy);color:#D7E0E9;border-radius:var(--radius);padding:34px;}
.info-card h3{color:#fff;font-size:19px;margin-bottom:20px;}
.info-row{display:flex;gap:12px;align-items:flex-start;margin-bottom:18px;}
.info-row .icon-wrap{
  width:38px;height:38px;border-radius:10px;background:rgba(255,255,255,0.08);
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
.info-row .icon-wrap svg{width:18px;height:18px;color:#fff;}
.info-row a, .info-row span.value{color:#fff;font-weight:600;font-size:14.5px;}
.info-row span.muted{display:block;font-size:12.5px;color:#9FB3C8;margin-top:2px;}
.info-divider{height:1px;background:rgba(255,255,255,0.12);margin:22px 0;}
.legal-block p{font-size:12.5px;color:#9FB3C8;line-height:1.7;margin-bottom:4px;}
.info-card .footer-social a{background:rgba(255,255,255,0.1);}

@media (max-width:980px){
  .contact-grid{grid-template-columns:1fr;}
}
@media (max-width:600px){
  .form-row{grid-template-columns:1fr;gap:0;}
  .contact-form{padding:26px;}
}

/* ===== PAGE HERO (subpage, simple/no visual) ===== */
.page-hero-simple{
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(179,36,47,0.06), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg) 70%, var(--bg-alt));
  padding:46px 0 36px;
}

/* ===== LEGAL DOCUMENT PAGE ===== */
.legal-section{padding:60px 0 90px;background:var(--white);}
.legal-grid{display:grid;grid-template-columns:260px 1fr;gap:50px;align-items:start;}

.legal-toc{
  position:sticky;top:96px;background:var(--bg-alt);border:1px solid var(--border);
  border-radius:var(--radius);padding:22px;
}
.legal-toc h4{font-size:13px;text-transform:uppercase;letter-spacing:.04em;margin-bottom:14px;color:var(--navy);}
.legal-toc ul{list-style:none;display:flex;flex-direction:column;gap:11px;}
.legal-toc a{font-size:13.5px;color:var(--text-muted);transition:color .2s;line-height:1.4;}
.legal-toc a:hover{color:var(--red);}

.legal-content{max-width:760px;}
.legal-updated{
  font-size:13px;color:var(--text-muted);margin-bottom:30px;padding-bottom:20px;
  border-bottom:1px solid var(--border);
}
.legal-content h2{font-size:21px;margin:40px 0 14px;color:var(--navy);scroll-margin-top:96px;}
.legal-content h2:first-child{margin-top:0;}
.legal-content h3{font-size:16px;margin:24px 0 10px;color:var(--navy);scroll-margin-top:96px;}
.legal-content p{font-size:14.5px;color:var(--text);line-height:1.75;margin-bottom:14px;}
.legal-content > ul, .legal-content > ol{margin:10px 0 18px 20px;}
.legal-content li{font-size:14.5px;color:var(--text);line-height:1.7;margin-bottom:8px;}
.legal-content li ul{margin:8px 0 8px 20px;}
.legal-content a{color:var(--red);font-weight:600;}

.legal-item{border-left:3px solid var(--border);padding:2px 18px;margin-bottom:20px;}
.legal-item p:first-child{font-weight:600;color:var(--navy);margin-bottom:6px;}
.legal-item p:last-child{margin-bottom:0;font-size:13.5px;color:var(--text-muted);}

@media (max-width:980px){
  .legal-grid{grid-template-columns:1fr;}
  .legal-toc{position:static;margin-bottom:30px;}
}

/* ===== GENERIC CONTENT PAGES =====
   Lightweight typographic defaults for the other static pages (contact,
   policies, ...) that share this header/footer but do not yet have a bespoke
   design. Kept low-specificity so they never override the homepage components. */
.page{max-width:760px;margin:0 auto;padding:48px 24px 64px;}
.page h1{font-size:clamp(28px,3.4vw,40px);margin-bottom:18px;}
.page h2{font-size:clamp(20px,2.4vw,28px);margin:32px 0 12px;}
.page h3{font-size:18px;margin:22px 0 8px;}
.page p{color:var(--text-muted);margin-bottom:14px;}
.page a{color:var(--red);}
.page a:hover{text-decoration:underline;}
