/* /css/index.css
   Starweb Prohost — Homepage + Global
   Merged: global.css + sections.css + old index.css
*/

/* ------------------------------
   1) Design Tokens
------------------------------ */
:root{
  /* Palette */
  --white-soft:#f9fafb;
  --blue:#0a1a33;
  --blue-600:#071327;
  --ink:#0a1a33;
  --ink-2:#12243b;
  --text:#111111;
  --muted:#c5cbd3;

  /* Actions */
  --btn:#0a1a33;
  --btn-text:#ffffff;

  /* Layout */

  --content-max:1280px;

  /* Radii & Shadows */
  --radius-sm:8px;
  --radius-md:12px;
  --radius-lg:20px;
  --shadow-soft:0 8px 24px rgba(10,26,51,.08);
  --shadow-elev:0 10px 30px rgba(0,0,0,.20);

  /* Typography */
  --font-sans:Poppins, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --leading-tight:1.1;
  --leading-normal:1.5;

  /* Spacing scale */
  --space-0:0;
  --space-1:4px;
  --space-2:8px;
  --space-3:12px;
  --space-4:16px;
  --space-5:20px;
  --space-6:24px;
  --space-7:28px;
  --space-8:32px;
  --space-10:40px;
  --space-12:48px;

  /* Breakpoints */
  --bp-md:1080px;
  --bp-sm:860px;

  /* Global section rhythm */
  --section-pad-y:clamp(4rem,6vw,7rem);
  --section-max:1600px;
}

/* ------------------------------
   2) Base
------------------------------ */
*{ box-sizing:border-box; }
html,body{ height:100%; }
html{ -webkit-text-size-adjust:100%; }
body{
  margin:0;
  font-family:var(--font-sans);
  color:var(--text);
  background:#f8fafc;
  line-height:var(--leading-normal);
}

/* Media defaults */
img,svg,video{ max-width:100%; height:auto; display:block; }

/* Links */
a{text-decoration:none; }
/* a:hover{ color:var(--blue-600); } */

/* Form controls inherit typography */
button,input,select,textarea{ font:inherit; color:inherit; }

/* A11y helper */
.visually-hidden{
  position:absolute !important;
  width:1px;height:1px;
  margin:-1px;border:0;padding:0;
  clip:rect(0 0 0 0);overflow:hidden;
}

/* =========================================================
   GLOBAL SECTION BASELINE
   ========================================================= */
section{
  display:block;
  padding:var(--section-pad-y) 0;
}
.section-inner{
  max-width:var(--section-max);
  margin:0 auto;
  padding:0 24px;
}
.section-head{
  text-align:center;
  margin-bottom:clamp(2rem,3vw,3rem);
}
.section-head h2{
  margin:0;
  font-size:clamp(1.9rem,3vw,2.3rem);
  font-weight:800;
  color:var(--ink);
  line-height:1.2;
}
.section-head .sub{
  margin-top:.5rem;
  font-size:1rem;
  color:rgba(10,26,51,.65);
}

/* ------------------------------
   Shared Components
------------------------------ */
/* Buttons */
.btn,
.btn-primary,
.cta {
  display: inline-block;
  background: var(--btn);
  color: var(--btn-text);
  padding: 14px 22px;
  border-radius: 28px;
  font-weight: 800;
  letter-spacing: .3px;

  /* global outline + glow baseline */
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 10px 24px rgba(10,26,51,.35);
  text-shadow: 0 1px 1px rgba(0,0,0,.25);

  transition:
    background .18s ease,
    box-shadow .18s ease,
    transform .18s ease,
    border-color .18s ease,
    filter .18s ease;
}

.btn:hover,
.btn-primary:hover,
.cta:hover {
  filter: brightness(1.05);
}

.btn:active,
.btn-primary:active,
.cta:active {
  transform: translateY(1px);
}

/* Global Button Glow / Lift Effect */
.btn-primary:hover {
  background: #0c1e3a;                    /* deeper navy */
  border-color: rgba(255,255,255,.22);
  box-shadow: 0 12px 28px rgba(10,26,51,.42);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 8px 20px rgba(10,26,51,.32);
}

/* Badges / stars / rating row */
.badge{
  display:inline-block;
  background:rgba(10,26,51,.08);
  color:#0b1b30;
  padding:6px 10px;
  border-radius:999px;
  font-weight:800;
  border:1px solid var(--muted);
}
.stars{
  color:#e6b800;
  letter-spacing:2px;
  text-shadow:0 1px 2px rgba(0,0,0,.12);
  font-weight:800;
}
.rating{ display:flex; align-items:center; gap:10px; }

/* Trust logos */
.trust-logos{
  display:flex; flex-wrap:wrap; align-items:center;
  gap:32px; opacity:.95;
  filter:grayscale(1) brightness(.9);
}
.trust-logos img{ height:28px; max-width:150px; }

@media (max-width:860px){
  .trust-logos{ gap:18px; }
  .trust-logos img{ height:22px; }
}

/* =========================================================
   HERO + TICKER + FEATURE STRIP + CRED LINE
   ========================================================= */

/* HERO */
.hero {
  position: relative;
  min-height: 84vh;
  overflow: hidden;
}

.hero-media { position: absolute; inset: 0; }

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.05) saturate(1.06);
  opacity: 0;
  transition: opacity 1.2s ease-out;
}
.hero-video.is-visible { opacity: 1; }

.hero-wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,24,44,.45) 10%, rgba(8,24,44,.75) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 56px) 20px 0;
  text-align: left;
  color: #fff;
}

.hero h1 {
  font-size: clamp(42px, 6vw, 68px);
  font-weight: 800;
  line-height: 1.05;
  margin: 0 0 16px;
  color: var(--white-soft);
}

.hero p {
  margin: 0 0 26px;
  color: #e1e6ed;
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 500;
}

/* CTA row */
.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  white-space: nowrap; /* TEXT WILL NOT WRAP */
}

/* Primary CTA */
.hero .btn-primary {
  background: var(--blue);
  color: #fff;
  border: 1px solid rgba(255,255,255,.14);
  padding: 14px 22px;
  border-radius: 28px;
  font-weight: 800;
  letter-spacing: .3px;
  box-shadow: 0 10px 24px rgba(10,26,51,.35);
  text-shadow: 0 1px 1px rgba(0,0,0,.25);
  transition: background .18s ease, box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.hero .btn-primary:hover {
  background: #0c1e3a;
  border-color: rgba(255,255,255,.22);
  box-shadow: 0 12px 28px rgba(10,26,51,.42);
  transform: translateY(-1px);
}
.hero .btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 8px 20px rgba(10,26,51,.32);
}

/* Badge */
.hero .badge {
  background: rgba(10,26,51,.70);
  color: #fff;
  border: 1px solid rgba(255,255,255,.28);
  padding: 10px 16px;
  border-radius: 28px;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 18px rgba(10,26,51,.28);
}

/* Stars */
.hero .stars {
  color: #f3c623;
  text-shadow: 0 1px 1px rgba(0,0,0,.25);
  letter-spacing: 2px;
  font-weight: 800;
  margin-left: 4px;
}

/* TICKER */
.ticker-wrapper {
  position: absolute;
  bottom: 32px;
  left: 0;
  width: 100%;
  overflow: hidden;
  height: 120px;
  background: transparent;
  backdrop-filter: none;
  display: flex;
  align-items: center;
  z-index: 3;
}

.ticker-track {
  display: flex;
  align-items: center;
  animation: ticker-scroll 60s linear infinite;
  will-change: transform;
}

.ticker-wrapper:hover .ticker-track { animation-play-state: paused; }

.ticker-item {
  display: flex;
  align-items: center;
  background: #fff;
  color: #041521;
  border-radius: 16px;
  box-shadow: 0 10px 22px rgba(0,0,0,0.14);
  overflow: hidden;
  min-width: 300px;
  margin: 0 18px;
  padding: 8px 16px;
  gap: 12px;
  flex-shrink: 0;
}

.ticker-item img {
  width: 84px;
  height: 52px;
  object-fit: cover;
  border-radius: 12px;
}

.ticker-item span {
  font-weight: 700;
  font-size: 1.04rem;
  color: #041521;
  white-space: nowrap;
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* FEATURE STRIP */
.blocks { background: #f7f9fb; color: #0a1c2a; }
.features {
  max-width: 1200px;
  margin: 80px auto;
  padding: 40px 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature {
  background: #fff;
  border: 1px solid #e5efff;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(4,33,65,.05);
}
.feature .icon { font-size: 28px; }
.feature h3 { margin: 10px 0 6px; font-size: 18px; font-weight: 700; }
.feature p { margin: 0; color: #32567b; }

/* CRED LINE — UNTOUCHED */
.cred-line{
  padding: clamp(48px, 6vw, 72px) 16px 0;
}
.cred-line p{
  margin: 1rem auto;
  max-width: 1200px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .82rem;
  line-height: 1;
  color: rgba(16, 36, 60, .70);
}

/* Ticker interaction */
.ticker-track a.ticker-item {
  text-decoration: none;
  color: inherit;
  transition: transform .18s ease, box-shadow .18s ease, outline-offset .18s ease;
}
.ticker-track a.ticker-item:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 12px rgba(214,179,107,.45),
    0 0 24px rgba(214,179,107,.25),
    0 8px 26px rgba(0,0,0,.18);
}
.ticker-track a.ticker-item:active {
  transform: translateY(0);
  box-shadow: 0 10px 22px rgba(0,0,0,.14);
}
.ticker-track a.ticker-item:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 16px;
}

/* =========================================================
   MOBILE ONLY (SAFE)
   ========================================================= */
@media (max-width: 768px) {
   
  .hero {
    min-height: 78vh !important;
  }
	
  /* Replace video with image */
  .hero-video { display: none; }
  .hero-mobile-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Tighten hero top spacing */
  .hero-content {
    padding: calc(var(--nav-h) + 20px) 20px 0;
  }

  .hero h1 {
    font-size: 34px;
    line-height: 1.1;
  }

  .hero p {
    font-size: 15px;
    margin-bottom: 18px;
  }

  /* Keep CTAs on one line, but shrink slightly */
  .hero-cta-row {
    gap: 12px;
    white-space: nowrap;
  }

  .hero .btn-primary {
    padding: 12px 18px;
    font-size: 14px;
  }

  .hero .badge {
    padding: 8px 14px;
    font-size: 13px;
  }

  /* Ticker smaller + closer to content */
  .ticker-wrapper {
    bottom: 8px;
    height: 95px;
  }

  .ticker-item {
    min-width: 180px;
    margin: 0 10px;
    padding: 6px 10px;
    gap: 10px;
  }

  .ticker-item img {
    width: 50px;
    height: 34px;
  }

  .ticker-item span {
    font-size: 0.88rem;
  }
}

/* =========================================================
   SECTION: Services Row
   ========================================================= */

/* Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 2.2vw, 32px);
  align-items: stretch;
}

/* Cards */
.service-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: transform .3s ease, box-shadow .3s ease, filter .3s ease;
  background: var(--white-soft);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-elev);
  filter: brightness(1.02);
}

/* Image zone */
.service-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.service-card:hover .service-image img { transform: scale(1.05); }

/* Navy overlay */
.service-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 26, 51, 0.96) 0%,
    rgba(10, 26, 51, 0.75) 45%,
    rgba(10, 26, 51, 0.10) 100%
  );
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* Text on overlay */
.service-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.1rem, 2vw, 1.6rem);
  z-index: 2;
  text-align: left;
}
.service-text h3 {
  margin: 0 0 0.4rem;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
  text-shadow: 0 2px 6px rgba(0,0,0,.35);
}
.service-text p {
  margin: 0;
  color: rgba(255,255,255,.92);
  font-size: .98rem;
  line-height: 1.45;
}

/* Link wrapper */
.service-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .service-text h3 { font-size: 1.15rem; }
  .service-text p { font-size: .92rem; }
}

/* =========================================================
   SECTION: Packages Preview (Homepage Teaser)
   ========================================================= */
.section-packages-preview {
  background: #f8fbfd;
  text-align: center;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(20px, 3vw, 40px);
}

.package-preview {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 2.5rem 2rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.package-preview:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-elev);
}

.package-preview h3 {
  color: var(--blue);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: .4rem;
}
.package-preview p {
  color: #333;
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}
.package-preview .price {
  display: block;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1.2rem;
}

.package-preview.popular {
  border: 2px solid var(--blue);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-block;
  padding: 10px 22px;
  border: 2px solid var(--blue);
  color: var(--blue);
  border-radius: 28px;
  font-weight: 600;
  transition: all 0.25s ease;
}
.btn-outline:hover {
  background: var(--blue);
  color: #fff;
}

.cta-center {
  margin-top: 2rem;
}

/* =========================================================
   SECTION: Masonry Showcase Grid (Brand Edition)
   ========================================================= */
.section-masonry-showcase {
  background: var(--blue);
  position: relative;
  z-index: 1;
  padding: clamp(60px, 8vw, 100px) 0;
}

.section-masonry-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.04) 0%,
    rgba(0,0,0,0.15) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.section-masonry-showcase .section-inner {
  position: relative;
  z-index: 2;
  max-width: var(--section-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Heading styles */
.section-masonry-showcase .section-head {
  text-align: left;
  margin: 0 0 clamp(36px, 5vw, 60px);
}
.section-masonry-showcase .section-head h2 {
  color: #f3f6f9;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.01em;
  margin: 0 0 10px;
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  text-shadow: 0 2px 6px rgba(0,0,0,0.35);
}
.section-masonry-showcase .section-head .sub {
  color: rgba(255,255,255,0.72);
  font-weight: 500;
  margin: 0;
  max-width: 820px;
  font-size: 1.05rem;
  line-height: 1.5;
  text-shadow: 0 1px 4px rgba(0,0,0,0.25);
}

/* Masonry Grid */
.masonry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-auto-rows: 220px;
  grid-auto-flow: dense;
  gap: clamp(20px, 2vw, 32px);
}
.section-masonry-showcase .section-inner {
  max-width: 1400px; /* was 1600 */
  transform: scale(0.92); /* shrink everything evenly */
  transform-origin: top center;
}

/* Items */
.masonry-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.masonry-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.32);
  border-color: rgba(0,0,0,0.10);
}

/* Subtle hover glow */
.masonry-item::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle at center,
    rgba(255,255,255,0.18),
    rgba(255,255,255,0) 70%
  );
  opacity: 0;
  transition: opacity .4s ease;
}
.masonry-item:hover::after {
  opacity: 1;
}

/* Make sure the glow overlay never blocks clicks */
.masonry-item::after {
  pointer-events: none;
}

/* Optional: ensure the link fills the whole tile */
.masonry-link {
  display: block;
  height: 100%;
}


/* Media */
.masonry-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.masonry-item:hover .masonry-media {
  transform: scale(1.06);
}

/* Caption */
.masonry-caption {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: .9rem 1.2rem;
  background: linear-gradient(to top, rgba(0,0,0,.6), transparent);
  color: #fff;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.3;
  opacity: 0;
  transform: translateY(16%);
  transition: opacity .3s ease, transform .3s ease;
}
.masonry-item:hover .masonry-caption {
  opacity: 1;
  transform: translateY(0);
}

/* Modifiers */
.masonry-item.wide { grid-column: span 2; }
.masonry-item.tall { grid-row: span 2; }

@media (max-width: 1024px) {
  .masonry-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    grid-auto-rows: 220px;
  }
}
@media (max-width: 700px) {
  .section-masonry-showcase {
    padding: 60px 0;
  }
  .section-masonry-showcase .section-head {
    text-align: center;
  }
  .masonry-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
    gap: 16px;
  }
  .masonry-item.wide,
  .masonry-item.tall {
    grid-column: span 1;
    grid-row: span 1;
  }
	 /* 🔒 hide flagged items on mobile */
  .masonry-item.hide-mobile {
    display: none;
  }
}



/* =========================================================
   SECTION: Person + Landscape Split
   ========================================================= */
.section-person-landscape {
  background: var(--white-soft);
  position: relative;
  z-index: 1;
  padding: clamp(40px, 4vw, 72px) 0;
  margin-top: 0 !important;
}

/* Inner grid */
.person-landscape-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  align-items: center;
  gap: clamp(1.8rem, 4vw, 5rem);
  max-width: var(--section-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Image */
.person-landscape-image {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  transition: transform .5s ease, box-shadow .5s ease;
}
.person-landscape-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease, filter .6s ease;
  aspect-ratio: 16 / 9;
}
.section-person-landscape:hover .person-landscape-image img {
  transform: scale(1.04);
  filter: brightness(1.08);
}

/* Text */
.person-landscape-text {
  text-align: left;
}
.person-landscape-text h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  color: var(--ink);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: 0.01em;
}
.person-landscape-text p {
  color: rgba(10, 26, 51, 0.8);
  font-size: 1.06rem;
  line-height: 1.65;
  margin-bottom: 2.4rem;
  max-width: 540px;
}

/* Button */
.section-person-landscape .person-landscape-text .btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: 2px solid transparent;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  text-shadow: 0 1px 0 rgba(0,0,0,.25);
  transition: background .3s ease, color .3s ease,
              transform .3s ease, box-shadow .3s ease;
}
.section-person-landscape .person-landscape-text .btn:hover {
  background: var(--brand-gold);
  color: var(--blue);
  border-color: var(--brand-gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

/* Dark theme inversion */
.section-person-landscape.theme-dark {
  background: var(--blue);
  color: #fff;
}
.section-person-landscape.theme-dark h2,
.section-person-landscape.theme-dark p {
  color: #fff;
}
.section-person-landscape.theme-dark .person-landscape-text .btn {
  background: #fff;
  color: var(--blue);
  border: 2px solid transparent;
}
.section-person-landscape.theme-dark .person-landscape-text .btn:hover {
  background: var(--brand-gold);
  color: var(--blue);
  border-color: var(--brand-gold);
}

/* Layout modifiers */
.layout-right .person-landscape-image { order: 2; }
.layout-right .person-landscape-text { order: 1; }

@media (max-width: 1024px) {
  .person-landscape-inner {
    gap: clamp(1.5rem, 5vw, 3rem);
  }
}
@media (max-width: 860px) {
  .section-person-landscape {
    padding: 48px 0;
  }
  .person-landscape-text {
    text-align: center;
  }
  .person-landscape-text h2 {
    font-size: 1.7rem;
  }
  .person-landscape-text p {
    font-size: 0.95rem;
    margin: 0 auto 2rem;
  }
  .person-landscape-text .btn {
    padding: 0.85rem 2rem;
  }
  .person-landscape-image {
    border-radius: var(--radius-md);
  }
}

/* =========================================================
   SECTION: Product / Ad Gallery
   ========================================================= */
.section-product-gallery {
  text-align: center;
}

.gallery-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: .5rem;
  color: var(--ink);
}
.gallery-header p {
  font-size: 1rem;
  color: var(--ink-2);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: clamp(16px, 2vw, 32px);
}
.gallery-item {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  background: #fff;
  transition: transform .3s ease, box-shadow .3s ease;
}
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elev);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.gallery-item:hover img { transform: scale(1.05); }

.gallery-item figcaption {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  padding: .6rem 1rem;
  background: linear-gradient(to top, rgba(0,0,0,.55), transparent);
  color: #fff;
  font-size: .9rem;
  font-weight: 600;
  text-align: left;
  opacity: 0;
  transform: translateY(20%);
  transition: opacity .3s ease, transform .3s ease;
}
.gallery-item:hover figcaption {
  opacity: 1;
  transform: translateY(0);
}

/* Scroll Mode */
.mode-scroll .product-gallery {
  display: flex;
  overflow-x: auto;
  gap: clamp(16px, 2vw, 32px);
  scroll-snap-type: x mandatory;
  padding-bottom: .5rem;
}
.mode-scroll .gallery-item {
  flex: 0 0 240px;
  scroll-snap-align: start;
}

@media(max-width:700px){
  .gallery-header p{ font-size:.9rem; }
  .mode-scroll .gallery-item{ flex-basis:200px; }
}

/* =========================================================
   SECTION: CTA Banner
   ========================================================= */
.section-cta-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: clamp(320px, 60vh, 560px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,24,44,.55), rgba(8,24,44,.85));
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
}

.cta-content h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: var(--space-5);
  line-height: 1.2;
}
.cta-content p {
  font-size: 1.1rem;
  margin-bottom: var(--space-6);
  opacity: .95;
}

/* Buttons */
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
}
.cta-buttons .btn-secondary {
  background: none;
  border: 2px solid #fff;
  color: #fff;
  border-radius: 28px;
  padding: 14px 22px;
  font-weight: 700;
  transition: background .3s ease, color .3s ease;
}
.cta-buttons .btn-secondary:hover {
  background: #fff;
  color: var(--blue);
}

/* Alignment modifiers */
.align-left .cta-content { text-align: left; }
.align-left .cta-buttons { justify-content: flex-start; }

/* Themes */
.theme-light {
  color: var(--blue);
}
.theme-light .cta-overlay {
  background: linear-gradient(180deg, rgba(255,255,255,.6), rgba(255,255,255,.8));
}
.theme-light .btn,
.theme-light .btn-secondary {
  color: var(--blue);
  border-color: var(--blue);
}
.theme-brand .cta-overlay {
  background: linear-gradient(180deg, rgba(10,26,51,.6), rgba(10,26,51,.85));
}

@media(max-width:700px){
  .cta-content h2{ font-size:clamp(1.8rem,6vw,2.3rem); }
  .cta-content p{ font-size:.95rem; }
  .cta-buttons{ flex-direction:column; align-items:center; }
}

/* =========================================================
   SCROLL REVEAL (shared)
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal].reveal-init {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .8s ease, transform .8s ease;
    will-change: opacity, transform;
  }
  [data-reveal].visible {
    opacity: 1;
    transform: translateY(0);
  }
}
