/* ==========================================================================
   SMILESTONE HOMEZ – Landing page styles
   Brand colours: #4C4C4C (primary dark) · #9C2C35 (brand red) · #FDFAFB (light)
   ========================================================================== */

:root {
  --dark: #4C4C4C;
  --red: #9C2C35;
  --light: #FDFAFB;

  --dark-deep: #2f2f2f;          /* darker charcoal for section depth */
  --red-deep: #7d222a;
  --red-soft: rgba(156, 44, 53, .1);
  --ink: #2b2b2b;
  --muted: #6f6a6b;
  --line: #ece4e6;
  --white: #ffffff;

  --font-head: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 4px 14px rgba(40, 20, 25, .06);
  --shadow: 0 18px 40px -18px rgba(40, 20, 25, .28);
  --shadow-lg: 0 30px 70px -25px rgba(20, 10, 12, .45);
  --header-h: 84px;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--light);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--red); }
a:hover { color: var(--red-deep); }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; letter-spacing: -.01em; }
.text-accent { color: #e3a3aa; }
.skip-link { position: absolute; left: 1rem; top: 1rem; z-index: 2000; background: var(--white); padding: .5rem 1rem; border-radius: 8px; }

/* Placeholder marker for text still to be pasted from the reference document.
   Remove the "ref-content" class once the real text is in. */
.ref-content { color: #a1868a !important; font-style: italic; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1030;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(253, 250, 251, .94);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid rgba(156, 44, 53, .08);
  transition: box-shadow .3s ease, height .3s ease;
}
.site-header.scrolled { box-shadow: 0 8px 30px -12px rgba(0, 0, 0, .2); --header-h: 66px; }
.site-header .container { width: 100%; }
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 66px; width: auto; transition: height .3s ease; }
.site-header.scrolled .brand-logo { height: 54px; }

/* ---------- Glow CTA buttons ---------- */
.btn-glow {
  --glow: rgba(156, 44, 53, .55);
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .9rem 1.6rem;
  font-weight: 700; font-size: 1rem; letter-spacing: .01em;
  color: #fff !important;
  background: linear-gradient(135deg, #b23642 0%, var(--red) 45%, var(--red-deep) 100%);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  box-shadow: 0 10px 24px -10px var(--glow), 0 0 0 0 var(--glow);
  animation: smz-float 3.6s ease-in-out infinite, smz-pulse 2.8s ease-in-out infinite;
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
  overflow: hidden;
}
/* soft moving sheen */
.btn-glow::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, .16) 45%, transparent 70%);
  background-size: 250% 100%;
  animation: smz-sheen 3.8s ease-in-out infinite;
}
/* glowing border */
.btn-glow::after {
  content: ""; position: absolute; inset: -2px; z-index: -2; border-radius: inherit;
  background: conic-gradient(from var(--a, 0deg), #ff9aa4, var(--red), #ffd6da, var(--red), #ff9aa4);
  filter: blur(6px); opacity: .55;
  animation: smz-spin 5s linear infinite;
}
.btn-glow:hover, .btn-glow:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px -12px var(--glow), 0 0 0 6px rgba(156, 44, 53, .12);
  filter: brightness(1.06);
  animation-play-state: paused;
}
.btn-glow .btn-arrow { transition: transform .25s ease; }
.btn-glow:hover .btn-arrow { transform: translateX(5px); }
.btn-glow-sm { padding: .6rem 1.15rem; font-size: .92rem; }
.btn-glow-lg { padding: 1.05rem 2.1rem; font-size: 1.08rem; }

.btn-outline-glow {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: 1.05rem 1.8rem; border-radius: 999px; font-weight: 700;
  color: #fff; border: 1.5px solid rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(4px); transition: all .25s ease;
}
.btn-outline-glow:hover { color: #fff; background: rgba(255, 255, 255, .16); transform: translateY(-3px); box-shadow: 0 0 24px rgba(255, 255, 255, .25); }

.btn-wa {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .9rem 1.4rem; border-radius: 999px; font-weight: 700;
  color: #fff; background: #25D366; border: 0; transition: all .25s ease;
}
.btn-wa:hover { color: #fff; background: #1ebe5b; transform: translateY(-3px); box-shadow: 0 12px 24px -10px rgba(37, 211, 102, .6); }

@property --a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes smz-spin { to { --a: 360deg; } }
@keyframes smz-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -3px; } }
@keyframes smz-pulse { 0%, 100% { box-shadow: 0 10px 24px -10px var(--glow), 0 0 0 0 rgba(156, 44, 53, .35); } 50% { box-shadow: 0 10px 24px -10px var(--glow), 0 0 0 7px rgba(156, 44, 53, 0); } }
@keyframes smz-sheen { 0% { background-position: 150% 0; } 60%, 100% { background-position: -100% 0; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + 3.5rem) 0 4.5rem;
  min-height: 100vh; display: flex; align-items: center;
  color: #fff; background: var(--dark-deep);
}
.hero-bg {
  position: absolute; inset: -4%;
  background-size: cover; background-position: center;
  animation: smz-kenburns 24s ease-in-out infinite alternate;
  will-change: transform;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(30, 28, 29, .92) 0%, rgba(40, 36, 37, .78) 42%, rgba(76, 76, 76, .35) 100%),
    radial-gradient(ellipse at 15% 85%, rgba(156, 44, 53, .45), transparent 55%);
}
@keyframes smz-kenburns { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.1) translate(-1.5%, -1%); } }

.trust-pill {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .45rem 1rem .45rem .7rem; border-radius: 999px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(6px); font-weight: 600; font-size: .92rem;
}
.trust-pill .stars { color: #f6c453; font-size: .8rem; display: inline-flex; gap: 2px; }
.hero-title { font-size: clamp(2.5rem, 6vw, 4.6rem); line-height: 1.04; margin: 1.2rem 0 1rem; }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: rgba(255, 255, 255, .86); max-width: 34rem; }
.hero-services { list-style: none; padding: 0; margin: 1.6rem 0 0; display: flex; flex-wrap: wrap; gap: .7rem; }
.hero-services li {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .6rem 1rem; border-radius: 12px; font-weight: 600; font-size: .95rem;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
}
.hero-services i { color: #f0aab1; font-size: 1.1rem; }
.hero-mini-stats { gap: 2.2rem; margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid rgba(255, 255, 255, .15); }
.hero-mini-stats strong { display: block; font-family: var(--font-head); font-size: 2.1rem; line-height: 1; }
.hero-mini-stats span { font-size: .85rem; color: rgba(255, 255, 255, .7); text-transform: uppercase; letter-spacing: .08em; }

/* Enquiry form card */
.form-card {
  position: relative;
  background: var(--light); color: var(--ink);
  border-radius: 24px; padding: 2rem 1.8rem 1.6rem;
  box-shadow: var(--shadow-lg);
  border-top: 5px solid var(--red);
}
.form-card::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: 25px;
  background: linear-gradient(160deg, rgba(156, 44, 53, .7), transparent 50%);
  filter: blur(18px); opacity: .55;
}
.form-title { font-size: 2rem; margin-bottom: 1.1rem; color: var(--dark-deep); }
.form-label { font-weight: 700; font-size: .88rem; color: var(--dark); margin-bottom: .35rem; }
.req { color: var(--red); }
.form-control, .form-select, .input-group-text {
  border-radius: 12px; border: 1.5px solid var(--line);
  padding: .78rem 1rem; font-size: 1rem; /* 16px avoids iOS zoom */
  background-color: #fff;
}
.input-group-text { background: #f6f0f1; color: var(--dark); font-weight: 700; }
.input-group > .form-control { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.form-control:focus, .form-select:focus { border-color: var(--red); box-shadow: 0 0 0 .22rem rgba(156, 44, 53, .14); }
.form-control.is-invalid, .was-validated .form-control:invalid { border-color: #c0392b; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-privacy { font-size: .8rem; color: var(--muted); text-align: center; margin: .8rem 0 0; }
.form-privacy a { color: var(--muted); text-decoration: underline; }
.form-alert { margin-top: 1rem; padding: .85rem 1rem; border-radius: 12px; font-weight: 600; font-size: .92rem; }
.form-alert.ok { background: #e8f6ee; color: #1d6b3d; border: 1px solid #bfe5cd; }
.form-alert.err { background: #fbeced; color: var(--red-deep); border: 1px solid #f1c6ca; }
#submitBtn[disabled] { opacity: .85; cursor: progress; }
.selected-package {
  display: flex; align-items: center; gap: .5rem;
  margin: -.3rem 0 1rem; padding: .6rem .8rem; border-radius: 12px;
  background: var(--red-soft); color: var(--red-deep); font-size: .92rem;
}
.selected-package i { font-size: 1.1rem; }
.btn-clear-pkg { margin-left: auto; border: 0; background: transparent; color: inherit; font-size: 1.2rem; line-height: 1; padding: 0 .2rem; }
.form-card.highlight { animation: smz-highlight 1.6s ease; }
@keyframes smz-highlight { 0%, 100% { box-shadow: var(--shadow-lg); } 30% { box-shadow: var(--shadow-lg), 0 0 0 8px rgba(156, 44, 53, .35); } }

/* ==========================================================================
   COLOURFUL LAYER (everything below the hero)
   Palette built around the brand red, with warm and cool accents
   ========================================================================== */
:root {
  --coral: #E8604C;
  --amber: #F2A93B;
  --teal: #14A58F;
  --indigo: #4B4BC8;
  --plum: #7B2D6E;
  --rose: #D94B6A;
  --sky: #2E8BD8;
  --grad-brand: linear-gradient(135deg, #C2394A 0%, var(--red) 45%, var(--plum) 100%);
  --grad-sun: linear-gradient(135deg, var(--amber) 0%, var(--coral) 55%, var(--red) 100%);
}
.grad-text { background: var(--grad-sun); -webkit-background-clip: text; background-clip: text; color: transparent; }
.text-white-75 { color: rgba(255,255,255,.78) !important; }

/* ---------- Sections ---------- */
.section { padding: 5.5rem 0; position: relative; overflow: hidden; }
.section-light { background: var(--light); }
.section-white { background: #fff; }
.section-blush { background: linear-gradient(180deg, #FFF4F2 0%, #FDF0F5 55%, #FFF8EE 100%); }
.section-cream { background: linear-gradient(180deg, #FFF9F0 0%, #F4FBF9 100%); }
.section-aurora {
  color: rgba(255,255,255,.88);
  background:
    radial-gradient(ellipse 60% 50% at 10% 0%, rgba(242,169,59,.30), transparent 60%),
    radial-gradient(ellipse 55% 55% at 95% 15%, rgba(217,75,106,.45), transparent 60%),
    radial-gradient(ellipse 60% 60% at 50% 110%, rgba(75,75,200,.40), transparent 60%),
    linear-gradient(160deg, #3A1F33 0%, #5A1F33 40%, #2B2340 100%);
}
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .45; pointer-events: none; }
.blob-a { width: 380px; height: 380px; background: #FFC9B8; top: -120px; left: -120px; }
.blob-b { width: 340px; height: 340px; background: #C9D7FF; bottom: -140px; right: -100px; }
.blob-c { width: 420px; height: 420px; background: #FFE1A8; top: 20%; right: -180px; }

.section-head { max-width: 780px; margin: 0 auto 3rem; }
.eyebrow {
  display: inline-block; margin-bottom: .8rem; padding: .4rem 1rem; border-radius: 999px;
  font-size: .76rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  color: var(--red); background: rgba(156,44,53,.08); border: 1px solid rgba(156,44,53,.15);
}
.eyebrow-light { color: #FFD9A0; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); }
.section-title { font-size: clamp(2rem, 4vw, 3.1rem); color: var(--dark-deep); line-height: 1.12; margin-bottom: 1rem; }
.section-lead { color: var(--muted); font-size: 1.08rem; }

/* ---------- Stats ---------- */
.stat-card {
  --c: var(--red); --c2: var(--coral);
  position: relative; height: 100%; text-align: center; padding: 2.1rem 1.2rem 1.6rem;
  background: rgba(255,255,255,.85); backdrop-filter: blur(6px);
  border-radius: 22px; border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 14px 34px -18px rgba(60,20,30,.25); overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
}
.stat-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: linear-gradient(90deg, var(--c), var(--c2)); }
.stat-card:hover { transform: translateY(-8px); box-shadow: 0 26px 44px -20px color-mix(in srgb, var(--c) 60%, transparent); }
.stat-card.c1 { --c: #D94B6A; --c2: #F2A93B; }
.stat-card.c2 { --c: #14A58F; --c2: #2E8BD8; }
.stat-card.c3 { --c: #4B4BC8; --c2: #9B5BD6; }
.stat-card.c4 { --c: #E8604C; --c2: #F2A93B; }
.stat-icon {
  width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 20px;
  display: grid; place-items: center; font-size: 1.6rem; color: #fff;
  background: linear-gradient(135deg, var(--c), var(--c2));
  box-shadow: 0 12px 22px -10px var(--c); transform: rotate(-6deg); transition: transform .35s ease;
}
.stat-card:hover .stat-icon { transform: rotate(0) scale(1.06); }
.stat-num { font-family: var(--font-head); font-size: clamp(2.3rem, 5vw, 3.3rem); font-weight: 700; line-height: 1; background: linear-gradient(135deg, var(--c), var(--c2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { margin-top: .45rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; color: var(--dark-deep); }
.stat-desc { margin: .5rem 0 0; font-size: .9rem; color: var(--muted); line-height: 1.45; }

/* ---------- Packages ---------- */
.pkg-card {
  --pc: var(--teal); --pc2: #2E8BD8; --pc-soft: rgba(20,165,143,.1);
  position: relative; height: 100%;
  display: flex; flex-direction: column; gap: 1.2rem;
  padding: 0 1.4rem 1.6rem; border-radius: 26px;
  background: #fff; color: var(--ink);
  box-shadow: 0 30px 60px -28px rgba(0,0,0,.6);
  transition: transform .35s ease, box-shadow .35s ease;
}
.pkg-card:hover { transform: translateY(-8px); box-shadow: 0 40px 70px -28px color-mix(in srgb, var(--pc) 70%, black); }
.pkg-classic { --pc: var(--indigo); --pc2: #9B5BD6; --pc-soft: rgba(75,75,200,.1); }
.pkg-premium { --pc: #C2394A; --pc2: var(--amber); --pc-soft: rgba(194,57,74,.1); }
.pkg-head {
  text-align: center; margin: 0 -1.4rem; padding: 2.2rem 1.2rem 1.6rem; border-radius: 26px 26px 0 0;
  background: linear-gradient(135deg, var(--pc), var(--pc2)); color: #fff; position: relative; overflow: hidden;
}
.pkg-head::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.12); top: -110px; right: -70px; }
.pkg-head::before { content: ""; position: absolute; width: 140px; height: 140px; border-radius: 50%; background: rgba(255,255,255,.08); bottom: -70px; left: -40px; }
.pkg-icon { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: rgba(255,255,255,.2); font-size: 1.5rem; margin-bottom: .7rem; }
.pkg-name { font-size: 1.95rem; color: #fff; margin-bottom: .35rem; }
.pkg-price { font-family: var(--font-head); font-size: 3.1rem; font-weight: 700; color: #fff; line-height: 1; }
.pkg-price .cur { font-size: 1.8rem; vertical-align: top; margin-right: 2px; }
.pkg-price .unit { font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: rgba(255,255,255,.85); margin-left: 4px; }
.pkg-gst { display: inline-block; margin-top: .6rem; font-size: .8rem; font-weight: 700; padding: .2rem .7rem; border-radius: 999px; background: rgba(255,255,255,.2); color: #fff; }
@media (min-width: 992px) { .pkg-featured { transform: translateY(-16px); } .pkg-featured:hover { transform: translateY(-24px); } }
.pkg-featured { box-shadow: 0 0 0 3px rgba(242,169,59,.75), 0 40px 70px -28px rgba(0,0,0,.7); }
.pkg-badge {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%); z-index: 2; white-space: nowrap;
  padding: .4rem 1.1rem; border-radius: 999px; font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: #3A1F00; background: linear-gradient(135deg, #FFD36E, var(--amber)); box-shadow: 0 10px 20px -8px rgba(242,169,59,.9);
}
.pkg-specs { flex: 1; --bs-accordion-border-color: transparent; --bs-accordion-bg: transparent; --bs-accordion-btn-focus-box-shadow: 0 0 0 .2rem var(--pc-soft); }
.pkg-specs .accordion-item { border-radius: 14px !important; margin-bottom: .5rem; overflow: hidden; background: #fff; border: 1px solid #f0e9eb !important; }
.pkg-specs .accordion-button { font-weight: 700; font-size: .95rem; padding: .8rem 1rem; gap: .7rem; color: var(--dark-deep); background: #fff; }
.pkg-specs .accordion-button:not(.collapsed) { background: var(--pc-soft); color: var(--pc); box-shadow: none; }
.pkg-specs .accordion-button i { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; font-size: .95rem; color: #fff; background: linear-gradient(135deg, var(--pc), var(--pc2)); flex-shrink: 0; }
.spec-count { margin-left: auto; margin-right: .4rem; font-size: .72rem; font-weight: 800; min-width: 22px; height: 22px; display: inline-grid; place-items: center; border-radius: 999px; background: var(--pc-soft); color: var(--pc); }
.spec-list { list-style: none; margin: 0; padding: .8rem 1rem 1rem !important; }
.spec-list li { position: relative; padding-left: 1.6rem; margin-bottom: .5rem; font-size: .93rem; line-height: 1.5; color: #3f3a3b; }
.spec-list li::before { content: "\F26E"; font-family: 'bootstrap-icons'; position: absolute; left: 0; top: 0; color: var(--pc); font-size: 1rem; }
.pkg-card .btn-glow { --glow: color-mix(in srgb, var(--pc) 60%, transparent); background: linear-gradient(135deg, var(--pc), var(--pc2)); }
.pkg-card .btn-glow::after { background: conic-gradient(from var(--a, 0deg), var(--pc2), var(--pc), #fff, var(--pc), var(--pc2)); }

/* ---------- Process timeline ---------- */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.5rem; grid-template-columns: repeat(5, 1fr); position: relative; }
.timeline::before {
  content: ""; position: absolute; top: 40px; left: 10%; right: 10%; height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, #D94B6A, #F2A93B, #14A58F, #2E8BD8, #4B4BC8); opacity: .55;
}
.timeline-step { --c: #D94B6A; text-align: center; position: relative; padding: 0 .3rem; }
.timeline-step.s2 { --c: #F2A93B; } .timeline-step.s3 { --c: #14A58F; } .timeline-step.s4 { --c: #2E8BD8; } .timeline-step.s5 { --c: #4B4BC8; }
.step-icon {
  position: relative; width: 80px; height: 80px; margin: 0 auto 1.2rem; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.8rem; color: var(--c);
  background: #fff; border: 3px solid var(--c); box-shadow: 0 12px 26px -12px var(--c);
  transition: all .3s ease;
}
.timeline-step:hover .step-icon { background: var(--c); color: #fff; transform: translateY(-5px) scale(1.05); }
.step-no { position: absolute; top: -6px; right: -6px; width: 28px; height: 28px; border-radius: 50%; font-family: var(--font-body); font-size: .8rem; font-weight: 800; display: grid; place-items: center; color: #fff; background: var(--c); border: 2px solid #fff; }
.step-title { font-size: 1.35rem; color: var(--dark-deep); margin-bottom: .45rem; }
.step-text { color: var(--muted); font-size: .93rem; margin: 0; }
@media (max-width: 991.98px) {
  .timeline { grid-template-columns: 1fr; gap: 0; max-width: 580px; margin: 0 auto; }
  .timeline::before { top: 10px; bottom: 10px; left: 38px; right: auto; width: 4px; height: auto; background: linear-gradient(180deg, #D94B6A, #F2A93B, #14A58F, #2E8BD8, #4B4BC8); }
  .timeline-step { display: grid; grid-template-columns: 80px 1fr; column-gap: 1.2rem; text-align: left; padding: 0 0 1.8rem; }
  .step-icon { grid-row: span 2; margin: 0; }
  .step-title { align-self: end; margin-top: .6rem; }
}

/* ---------- Gallery ---------- */
.gallery-grid { columns: 3 280px; column-gap: 1.1rem; }
.gallery-item { break-inside: avoid; margin: 0 0 1.1rem; position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-sm); background: #eee; }
.gallery-item a { display: block; position: relative; }
.gallery-item img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s ease; }
.gallery-item.tall img { aspect-ratio: 4 / 5; }
.gallery-item a::after {
  content: "\F52A"; font-family: 'bootstrap-icons'; position: absolute; inset: 0;
  display: grid; place-items: center; font-size: 2rem; color: #fff;
  background: linear-gradient(160deg, rgba(217,75,106,.55), rgba(75,75,200,.55)); opacity: 0; transition: opacity .35s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover a::after { opacity: 1; }
.gallery-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: .9rem 1rem; pointer-events: none; color: #fff; font-weight: 700; font-size: .95rem; background: linear-gradient(0deg, rgba(20,15,16,.75), transparent); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(15, 12, 13, .94); display: flex; align-items: center; justify-content: center; padding: 1rem; }
.lightbox[hidden] { display: none; }
.lb-figure { margin: 0; max-width: min(1200px, 100%); text-align: center; }
.lb-figure img { max-height: 80vh; width: auto; max-width: 100%; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); animation: smz-fade .35s ease; }
.lb-figure figcaption { color: #fff; margin-top: .9rem; font-weight: 600; }
.lb-close, .lb-nav { position: absolute; border: 0; color: #fff; background: rgba(255, 255, 255, .12); width: 52px; height: 52px; border-radius: 50%; font-size: 1.4rem; display: grid; place-items: center; transition: background .2s ease; }
.lb-close:hover, .lb-nav:hover { background: var(--red); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 575.98px) { .lb-prev, .lb-next { top: auto; bottom: 1.2rem; transform: none; } }
@keyframes smz-fade { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }

/* ---------- Testimonials ---------- */
.t-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 1.5rem) / 3);
  gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: .5rem .25rem 1.5rem; scrollbar-width: none;
}
.t-track::-webkit-scrollbar { display: none; }
@media (max-width: 991.98px) { .t-track { grid-auto-columns: calc((100% - 1.5rem) / 2); } }
@media (max-width: 767.98px) { .t-track { grid-auto-columns: 88%; } }
.t-card {
  --c: #D94B6A; --c2: #F2A93B;
  scroll-snap-align: start; position: relative; overflow: hidden;
  background: #fff; border-radius: 22px; padding: 1.9rem 1.6rem 1.5rem;
  border: 1px solid #f3e9ec; box-shadow: 0 14px 30px -18px rgba(60,20,30,.25);
  display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease;
}
.t-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: linear-gradient(90deg, var(--c), var(--c2)); }
.t-card.tc2 { --c: #14A58F; --c2: #2E8BD8; }
.t-card.tc3 { --c: #4B4BC8; --c2: #9B5BD6; }
.t-card.tc4 { --c: #E8604C; --c2: #F2A93B; }
.t-card.tc5 { --c: #7B2D6E; --c2: #D94B6A; }
.t-card.tc6 { --c: #2E8BD8; --c2: #14A58F; }
.t-card:hover { transform: translateY(-6px); box-shadow: 0 26px 44px -22px color-mix(in srgb, var(--c) 70%, transparent); }
.t-stars { color: #F2A93B; font-size: .9rem; display: flex; gap: 3px; }
.t-quote { position: absolute; top: .8rem; right: 1.2rem; font-size: 3.4rem; line-height: 1; color: var(--c); opacity: .18; }
.t-text { flex: 1; margin: 1rem 0 1.4rem; color: #4a4546; font-size: 1.02rem; }
.t-person { display: flex; align-items: center; gap: .8rem; padding-top: 1rem; border-top: 1px dashed #eadfe2; }
.t-person strong { display: block; color: var(--dark-deep); }
.t-person small { color: var(--c); font-weight: 700; }
.t-avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .95rem; color: #fff; background: linear-gradient(135deg, var(--c), var(--c2)); flex-shrink: 0; box-shadow: 0 8px 16px -8px var(--c); }
.t-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.t-btn { width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: var(--red); font-size: 1.1rem; box-shadow: 0 8px 18px -10px rgba(60,20,30,.4); transition: all .2s ease; }
.t-btn:hover { background: var(--grad-brand); color: #fff; }
.t-dots { display: flex; gap: .45rem; }
.t-dots button { width: 9px; height: 9px; padding: 0; border-radius: 99px; border: 0; background: #e6cfd5; transition: all .3s ease; }
.t-dots button.active { width: 30px; background: var(--grad-sun); }

/* ---------- Locations ---------- */
.location-grid { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; }
.location-grid li {
  --c: #D94B6A;
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.35rem; border-radius: 999px; font-weight: 700; color: var(--dark-deep);
  background: color-mix(in srgb, var(--c) 9%, #fff); border: 1.5px solid color-mix(in srgb, var(--c) 30%, #fff);
  transition: all .3s ease; cursor: default;
}
.location-grid li.lc2 { --c: #F2A93B; } .location-grid li.lc3 { --c: #14A58F; } .location-grid li.lc4 { --c: #2E8BD8; } .location-grid li.lc5 { --c: #4B4BC8; } .location-grid li.lc6 { --c: #7B2D6E; }
.location-grid li i { color: var(--c); font-size: 1.1rem; transition: transform .3s ease; }
.location-grid li:hover { background: var(--c); color: #fff; border-color: var(--c); transform: translateY(-4px); box-shadow: 0 14px 26px -14px var(--c); }
.location-grid li:hover i { color: #fff; transform: scale(1.15) translateY(-2px); }

/* ---------- Commitments ---------- */
.commit-card {
  --c: #D94B6A; --c2: #F2A93B;
  height: 100%; padding: 2.1rem 1.7rem; border-radius: 22px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(6px); transition: all .35s ease;
}
.commit-card.k2 { --c: #14A58F; --c2: #2E8BD8; }
.commit-card.k3 { --c: #4B4BC8; --c2: #9B5BD6; }
.commit-card.k4 { --c: #E8604C; --c2: #F2A93B; }
.commit-card.k5 { --c: #2E8BD8; --c2: #14A58F; }
.commit-card:hover { transform: translateY(-6px); background: rgba(255,255,255,.12); border-color: color-mix(in srgb, var(--c2) 60%, transparent); box-shadow: 0 24px 40px -20px rgba(0,0,0,.6); }
.commit-icon { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; font-size: 1.6rem; color: #fff; background: linear-gradient(135deg, var(--c), var(--c2)); margin-bottom: 1.2rem; box-shadow: 0 12px 24px -10px var(--c); }
.commit-card h3 { color: #fff; font-size: 1.55rem; margin-bottom: .55rem; }
.commit-card p { margin: 0; color: rgba(255,255,255,.8); }
.team-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.team-chips li { padding: .3rem .75rem; border-radius: 999px; font-size: .85rem; font-weight: 700; color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); }

/* ---------- Final CTA ---------- */
.final-cta { position: relative; overflow: hidden; padding: 6.5rem 0; color: #fff; background: var(--dark-deep); }
.final-cta-bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-attachment: fixed; }
.final-cta::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(120deg, rgba(58,20,40,.92) 0%, rgba(156,44,53,.82) 50%, rgba(232,96,76,.72) 100%); }
.final-cta .container { z-index: 2; }
.cta-title { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.cta-text { font-size: 1.15rem; max-width: 560px; margin: 0 0 2rem; color: rgba(255,255,255,.9); }
@media (max-width: 991.98px) { .cta-text { margin: 0 auto 2rem; } }
.includes-card { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(10px); border-radius: 24px; padding: 2rem 1.8rem; }
.includes-card h3 { font-size: 1.8rem; color: #fff; margin-bottom: 1rem; }
.includes-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.includes-card li { display: flex; gap: .7rem; align-items: flex-start; font-weight: 600; }
.includes-card li i { color: #FFD36E; font-size: 1.15rem; flex-shrink: 0; margin-top: .1rem; }
@media (hover: none) { .final-cta-bg { background-attachment: scroll; } }

/* ---------- Contact ---------- */
#contact { background: linear-gradient(180deg, #F4FBF9 0%, #FFF4F2 100%); }
.contact-card { background: #fff; border-radius: 24px; padding: 2rem; border: 1px solid #f1e6e9; box-shadow: 0 14px 30px -18px rgba(60,20,30,.25); }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.2rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list small { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; }
.contact-list a, .contact-list address { color: var(--dark-deep); font-weight: 600; text-decoration: none; word-break: break-word; font-style: normal; }
.contact-list a:hover { color: var(--red); }
.c-icon { flex-shrink: 0; width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; color: #fff; font-size: 1.2rem; background: var(--grad-brand); }
.contact-list li:nth-child(2) .c-icon { background: linear-gradient(135deg, #25D366, #14A58F); }
.contact-list li:nth-child(3) .c-icon { background: linear-gradient(135deg, #2E8BD8, #4B4BC8); }
.contact-list li:nth-child(4) .c-icon { background: var(--grad-sun); }
.contact-list li:nth-child(5) .c-icon { background: linear-gradient(135deg, #7B2D6E, #D94B6A); }
.map-wrap { border-radius: 24px; overflow: hidden; box-shadow: 0 14px 30px -18px rgba(60,20,30,.3); border: 4px solid #fff; min-height: 380px; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: linear-gradient(160deg, #2A1A24 0%, #241C2E 100%); color: rgba(255,255,255,.72); padding: 3.6rem 0 1.6rem; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, #D94B6A, #F2A93B, #14A58F, #2E8BD8, #4B4BC8); }
.footer-logo { display: inline-block; background: var(--light); border-radius: 18px; padding: .5rem .9rem; }
.footer-logo img { height: 74px; width: auto; }
.footer-tag { margin: 1rem 0 0; font-size: .95rem; max-width: 22rem; }
.footer-h { font-family: var(--font-body); font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #FFD36E; margin-bottom: 1rem; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-list i { color: #F2A93B; margin-right: .45rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; justify-content: center; margin-bottom: .6rem; }
.site-footer a { color: rgba(255,255,255,.88); text-decoration: none; }
.site-footer a:hover { color: #FFD36E; }
.site-footer hr { border-color: rgba(255,255,255,.12); margin: 2rem 0 1.2rem; }
.copyright { font-size: .85rem; text-align: center; }

/* ---------- Floating contact (desktop) ---------- */
.float-contact { position: fixed; right: 22px; bottom: 26px; z-index: 1040; flex-direction: column; gap: .8rem; }
.float-btn { position: relative; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-size: 1.55rem; color: #fff; text-decoration: none; box-shadow: 0 12px 26px -8px rgba(0,0,0,.4); animation: smz-float 3.4s ease-in-out infinite; transition: transform .25s ease; }
.float-btn:hover { color: #fff; transform: scale(1.08); }
.float-wa { background: #25D366; }
.float-call { background: var(--grad-brand); animation-delay: .6s; }
.float-btn::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid currentColor; opacity: 0; animation: smz-ring 2.6s ease-out infinite; }
.float-wa::after { color: #25D366; }
.float-call::after { color: var(--red); }
@keyframes smz-ring { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.6); opacity: 0; } }
.float-tip { position: absolute; right: 70px; top: 50%; transform: translateY(-50%) translateX(6px); white-space: nowrap; font-size: .85rem; font-weight: 700; padding: .4rem .8rem; border-radius: 8px; background: var(--dark-deep); color: #fff; opacity: 0; pointer-events: none; transition: all .25s ease; }
.float-btn:hover .float-tip { opacity: 1; transform: translateY(-50%); }

/* ---------- Mobile bottom bar ---------- */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom)); background: rgba(253,250,251,.97); backdrop-filter: blur(8px); box-shadow: 0 -8px 24px -10px rgba(0,0,0,.25); }
.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 50px; border-radius: 14px; font-weight: 800; font-size: 1rem; text-decoration: none; color: #fff; }
.mb-call { background: var(--grad-brand); }
.mb-wa { background: #25D366; }
@media (max-width: 767.98px) { body { padding-bottom: calc(74px + env(safe-area-inset-bottom)); } }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive tweaks ---------- */
@media (max-width: 991.98px) {
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 2.2rem); }
  .section { padding: 4.2rem 0; }
}
@media (max-width: 575.98px) {
  :root { --header-h: 70px; }
  .brand-logo { height: 52px; }
  .site-header.scrolled .brand-logo { height: 42px; }
  .hero-title { font-size: 2.45rem; }
  .hero-services li { font-size: .88rem; padding: .5rem .8rem; }
  .form-card { padding: 1.6rem 1.15rem 1.3rem; border-radius: 20px; }
  .form-title { font-size: 1.75rem; }
  .pkg-card { padding: 0 1.1rem 1.4rem; }
  .pkg-head { margin: 0 -1.1rem; }
  .pkg-price { font-size: 2.6rem; }
  .stat-card { padding: 1.6rem .8rem 1.2rem; }
  .stat-desc { font-size: .82rem; }
  .contact-card { padding: 1.5rem 1.2rem; }
  .btn-glow-lg { width: 100%; }
  .location-grid li { padding: .7rem 1.05rem; font-size: .92rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .final-cta-bg { background-attachment: scroll; }
}

/* ---------- Legal pages ---------- */
.legal-hero {
  padding: calc(var(--header-h) + 3.5rem) 0 5.5rem; text-align: center; color: #fff; position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 50% 60% at 10% 10%, rgba(242,169,59,.35), transparent 60%),
    radial-gradient(ellipse 50% 60% at 90% 30%, rgba(217,75,106,.5), transparent 60%),
    linear-gradient(150deg, #3A1F33 0%, #7A2534 55%, #2B2340 100%);
}
.legal-hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); margin: .6rem 0 .4rem; }
.legal-hero p { color: rgba(255,255,255,.8); margin: 0; }
.legal-main { padding: 0 0 5rem; margin-top: -3rem; position: relative; background: transparent; }
.legal-page { background: linear-gradient(180deg, #FFF4F2 0%, #F7F4FD 100%); }
.legal-card { max-width: 880px; margin: 0 auto; background: #fff; border: 1px solid #f1e6e9; border-radius: 26px; padding: clamp(1.5rem, 4vw, 3rem); box-shadow: 0 30px 60px -30px rgba(60,20,30,.35); }
.legal-card h2 { display: flex; align-items: center; gap: .7rem; font-size: 1.65rem; color: var(--dark-deep); margin: 2.2rem 0 .7rem; }
.legal-card h2:first-of-type { margin-top: .5rem; }
.legal-card h2 .n { flex-shrink: 0; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; font-family: var(--font-body); font-size: .85rem; font-weight: 800; color: #fff; background: var(--grad-brand); }
.legal-card p, .legal-card li { color: #4a4546; }
.legal-card ul { padding-left: 1.2rem; }
.legal-card li { margin-bottom: .35rem; }
.legal-card li::marker { color: var(--coral); }
.legal-note { margin-top: 2.2rem; padding: 1.2rem 1.4rem; border-radius: 16px; background: linear-gradient(135deg, rgba(242,169,59,.12), rgba(217,75,106,.1)); border: 1px solid rgba(232,96,76,.25); }
.legal-note p { margin: 0; }
.legal-page .btn-glow { animation: none; }
.legal-page .site-footer { padding-top: 2.4rem; }

#testimonials {
  padding: 70px 0;
  background: #ffffff;
}

.testimonial-card {
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12) !important;
}

.testimonial-video {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: #000;
}

.testimonial-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.testimonial-card h5 {
  font-size: 18px;
}

.testimonial-card p {
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 767px) {
  #testimonials {
    padding: 45px 0;
  }

  .testimonial-card {
    max-width: 360px;
    margin: 0 auto;
  }
}





/* ===== GALLERY - NO GAPS, NO CROPPING ===== */

#gallery {
  padding: 70px 0;
  background: #ffffff;
}

.custom-gallery {
  display: block !important;
  columns: 4;
  column-gap: 12px;
}

.custom-gallery .gallery-item {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  overflow: hidden;
  border-radius: 8px;
  background: transparent;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;

  /* Remove previous grid settings */
  grid-column: auto !important;
  grid-row: auto !important;
  aspect-ratio: auto !important;
}

.custom-gallery .gallery-item img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: 100%;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.custom-gallery .gallery-item:hover img {
  transform: scale(1.03);
}

/* Tablet */
@media (max-width: 991px) {
  .custom-gallery {
    columns: 3;
    column-gap: 10px;
  }

  .custom-gallery .gallery-item {
    margin-bottom: 10px !important;
  }
}

/* Mobile */
@media (max-width: 575px) {
  #gallery {
    padding: 45px 0;
  }

  .custom-gallery {
    columns: 2;
    column-gap: 8px;
  }

  .custom-gallery .gallery-item {
    margin-bottom: 8px !important;
  }
}
