/* ─── TOKENS ──────────────────────────────────────────────────── */
:root {
  --bg:            #f3f9f6;
  --text:          #0f1c16;
  --text-soft:     #3d5449;
  --border:        #c8dfd2;
  --card:          #ffffff;
  --accent:        #46aa82;
  --accent-strong: #38916c;
  --accent-soft:   #e0f5eb;
  --dark:          #0b1a12;
  --dark-mid:      #122419;
  --green-deep:    #1a4334;
}

/* ─── RESET ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: "Sora", "Manrope", sans-serif;
  letter-spacing: -0.025em;
  line-height: 1.18;
}

img { max-width: 100%; display: block; }
a   { color: inherit; }
button { font-family: inherit; cursor: pointer; }

/* ─── LAYOUT ──────────────────────────────────────────────────── */
.site-shell {
  width: min(1140px, calc(100% - 3rem));
  margin: 0 auto;
}

/* ─── TOP FLOAT STRIP (sound + lang) ─────────────────────────── */
.top-float {
  position: fixed;
  top: 1.2rem;
  right: 1.5rem;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sound-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 999px;
  padding: 0.3rem 0.75rem 0.3rem 0.6rem;
  color: #fff;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 200ms, color 200ms;
}

.sound-btn:hover {
  background: rgba(255,255,255,0.22);
}

.lang-float {
  display: flex;
  gap: 0.25rem;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 999px;
  padding: 0.2rem 0.3rem;
}

.lang-float button {
  border: none;
  background: transparent;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
  transition: background 200ms, color 200ms;
}

.lang-float button.active,
.lang-float button:hover {
  background: #fff;
  color: var(--green-deep);
}

/* top-float over light sections */
.top-float { transition: color 250ms; }

.top-float--dark .sound-btn {
  border-color: rgba(0,42,28,0.3);
  background: rgba(0,42,28,0.07);
  color: var(--green-deep);
}
.top-float--dark .sound-btn:hover {
  background: rgba(0,42,28,0.14);
}
.top-float--dark .lang-float {
  border-color: rgba(0,42,28,0.3);
  background: rgba(0,42,28,0.07);
}
.top-float--dark .lang-float button {
  color: var(--green-deep);
}
.top-float--dark .lang-float button.active,
.top-float--dark .lang-float button:hover {
  background: var(--green-deep);
  color: #fff;
}

/* ─── ALERT ───────────────────────────────────────────────────── */
.alert {
  margin: 1.2rem 0;
  padding: 0.9rem 1.1rem;
  background: #d7f3e6;
  border: 1px solid #9dd9be;
  border-radius: 12px;
  font-weight: 600;
}

/* ─── SUCCESS MODAL ───────────────────────────────────────────── */
.success-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 26, 18, 0.6);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: modal-fade-in 0.25s ease forwards;
}
.success-modal-backdrop.is-closing {
  animation: modal-fade-in 0.22s ease reverse forwards;
}
@keyframes modal-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.success-modal {
  background: var(--card);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 64px rgba(11, 26, 18, 0.28);
  animation: modal-slide-up 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.success-modal-backdrop.is-closing .success-modal {
  animation: modal-slide-up 0.2s ease reverse forwards;
}
@keyframes modal-slide-up {
  from { transform: translateY(28px) scale(0.95); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.success-modal-icon {
  width: 72px;
  height: 72px;
  background: var(--accent-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}
.success-modal-icon svg {
  width: 36px;
  height: 36px;
  color: var(--accent-strong);
}
.success-modal-title {
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green-deep);
  margin-bottom: 0.6rem;
}
.success-modal-body {
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 2rem;
}
.success-modal-close {
  min-width: 160px;
}

/* ─── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: none;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 200ms, transform 150ms, box-shadow 200ms;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 20px rgba(70,170,130,0.35);
}
.btn-primary:hover { background: var(--accent-strong); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(70,170,130,0.45); }

.btn-glass {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.45);
  backdrop-filter: blur(6px);
}
.btn-glass:hover { background: rgba(255,255,255,0.22); }

.btn-outline {
  background: transparent;
  color: var(--green-deep);
  border: 2px solid var(--green-deep);
}
.btn-outline:hover { background: var(--green-deep); color: #fff; transform: translateY(-2px); }

.btn-full { width: 100%; }

.about-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 1.5rem;
}
.about-btns .btn { width: 100%; }

/* ─── TEAM ────────────────────────────────────────────────────── */
.section-team {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  pointer-events: none;
  transition: max-height 0.7s ease, opacity 0.5s ease;
}
.section-team.is-open {
  max-height: 700px;
  opacity: 1;
  pointer-events: auto;
}

/* Full-bleed 3-column stage: photo | text | photo */
.team-stage {
  display: grid;
  grid-template-columns: 32% 1fr 32%;
  min-height: 520px;
}

.team-photo-slot {
  position: relative;
  overflow: hidden;
}
.team-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: opacity 0.45s ease;
}
.team-img--hover { opacity: 0; }
.team-photo-slot:hover .team-img--hover  { opacity: 1; }
.team-photo-slot:hover .team-img--normal { opacity: 0; }

/* Close button */
.team-close-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  z-index: 10;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(4px);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 1rem 0.4rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-soft);
  cursor: pointer;
  transition: border-color 200ms, color 200ms;
}
.team-close-btn:hover { border-color: var(--green-deep); color: var(--green-deep); }

.section-team { position: relative; }

/* Centre column: text staggered top-left and bottom-right */
.team-center {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3.5rem 2.5rem;
  overflow: visible;
}

.team-info--p1 { align-self: flex-start;  transform: translateX(-120px); }
.team-info--p2 { align-self: flex-end; text-align: right; transform: translateX(120px); }

.team-name {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 800;
  color: var(--green-deep);
  margin: 0 0 0.2rem;
  line-height: 1.1;
}
.team-role {
  font-size: 0.9rem;
  color: var(--text-soft);
  margin: 0 0 0.75rem;
}

.team-contact {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.team-info--p2 .team-contact { justify-content: flex-end; }

.team-email {
  font-size: 0.8rem;
  color: var(--text-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 150ms, border-color 150ms;
}
.team-email:hover { color: var(--green-deep); border-bottom-color: var(--green-deep); }

.team-whatsapp {
  display: flex;
  align-items: center;
  color: #25D366;
  transition: transform 150ms;
}
.team-whatsapp:hover { transform: scale(1.15); }

/* ── Mobile team layout (hidden on desktop) ───────────────────── */
.team-mobile { display: none; }

/* ─── KICKER ──────────────────────────────────────────────────── */
.kicker {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
  display: block;
}
.kicker-light { color: rgba(255,255,255,0.55); }

/* ─── REVEAL ANIMATION ─────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── HERO ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    130deg,
    rgba(8, 20, 13, 0.82) 0%,
    rgba(11, 26, 18, 0.60) 55%,
    rgba(11, 26, 18, 0.28) 100%
  );
  z-index: 1;
}

/* Logo inside hero */
.hero-logo-wrap {
  position: absolute;
  top: 4.4rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  animation: fadeDown 700ms ease both;
}

.hero-logo {
  width: clamp(144px, 21.6vw, 264px);
  opacity: 0.95;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,0.35));
}

/* Hero body copy */
.hero-body {
  position: relative;
  z-index: 2;
  color: #fff;
  width: min(1140px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 9rem 0 7rem;
  display: grid;
  gap: 1.2rem;
  animation: revealIn 750ms ease both 100ms;
}

.hero-body h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  max-width: 16ch;
  color: #fff;
}

.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: rgba(220,242,233,0.88);
  max-width: 52ch;
  line-height: 1.65;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.4rem;
}

/* Jeton-style bottom process nav */
.hero-menu {
  position: fixed;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  z-index: 100;
  width: min(1140px, calc(100% - 3rem));
  display: grid;
  grid-template-columns: auto repeat(5, minmax(0, 1fr));
  gap: 0.3rem;
  padding: 0.35rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.28);
  background: rgba(15,28,20,0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  list-style: none;
  animation: riseIn 900ms ease both 250ms;
}

.hero-menu-home {
  aspect-ratio: 1;
  padding: 0.68rem !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.hero-menu--sticky {
  background: rgba(10, 22, 15, 0.75);
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

.hero-menu a {
  border-radius: 999px;
  padding: 0.68rem 0.5rem;
  background: transparent;
  color: rgba(255,255,255,0.75);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: background 200ms, color 200ms;
}

.hero-menu a:hover {
  color: #fff;
  background: rgba(255,255,255,0.10);
}

.hero-menu a.is-current {
  background: var(--accent);
  color: #fff;
}

/* ─── SECTION BASE ─────────────────────────────────────────────── */
.section {
  padding: 5.5rem 0;
}

.section-title-light {
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin-bottom: 2.5rem;
}

/* ─── SECTION DARK (services) ──────────────────────────────────── */
.section-dark {
  background: var(--dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}

/* shared bg image layer — default (testimonials): desaturated/subtle */
.section-bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  mix-blend-mode: luminosity;
  transform: scale(1.06);
  pointer-events: none;
}

/* services variant: full-colour image, darker overlay instead */
.section-dark .section-bg-img {
  opacity: 0.72;
  mix-blend-mode: normal;
}

/* dark gradient overlay so text stays readable over full-colour image */
.section-dark::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(8,20,13,0.62) 0%, rgba(8,20,13,0.38) 55%, rgba(8,20,13,0.20) 100%);
  pointer-events: none;
}

/* ensure content sits above the overlay */
.section-dark > .site-shell {
  position: relative;
  z-index: 1;
}

/* darken the service cards so they pop against the vivid bg */
.section-dark .service-card {
  background: rgba(6, 16, 10, 0.70);
  border-color: rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.section-dark .service-card:hover {
  background: rgba(70,170,130,0.18);
  border-color: rgba(70,170,130,0.45);
}

.section-dark .kicker { color: var(--accent); }
.section-dark p { color: rgba(210,235,224,0.78); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
}

.service-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 20px;
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  transition: background 250ms, border-color 250ms, transform 250ms;
}

.service-card:hover {
  background: rgba(70,170,130,0.10);
  border-color: rgba(70,170,130,0.35);
  transform: translateY(-4px);
}

.service-num {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.service-card h3 {
  font-size: 1.2rem;
  color: #fff;
}

.service-body { font-size: 0.93rem; color: rgba(200,228,216,0.75); }

.service-link {
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}
.service-link:hover { color: #8dd9b8; }

/* ─── SECTION ABOUT ───────────────────────────────────────────── */
.section-about {
  background: #fff;
  border-top: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text { display: flex; flex-direction: column; gap: 1.2rem; }

.about-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--text);
}
.about-text p { color: var(--text-soft); line-height: 1.75; }

.about-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.about-stat {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.8rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.about-stat:first-child {
  grid-column: 1 / -1;
  background: var(--accent);
  border-color: var(--accent);
}

.about-stat:first-child .stat-num,
.about-stat:first-child .stat-label { color: #fff; }

.stat-num {
  font-family: "Sora", sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text-soft);
}

/* ─── SECTION CASE STUDY ──────────────────────────────────────── */
.section-case {
  background: var(--dark-mid);
  color: #fff;
}

.section-case .kicker { color: var(--accent); }

.case-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4rem;
  align-items: center;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 24px;
  padding: 3rem;
}

.case-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  border-right: 1px solid rgba(255,255,255,0.10);
  padding-right: 4rem;
}

.case-big {
  font-family: "Sora", sans-serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.case-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(200,225,215,0.6);
  font-weight: 700;
}

.case-detail { display: flex; flex-direction: column; gap: 0.9rem; }
.case-detail h3 { font-size: 1.4rem; color: #fff; }
.case-detail p { color: rgba(200,228,216,0.7); font-size: 0.95rem; }

/* ─── CASE CAROUSEL ──────────────────────────────────────────── */
.case-carousel { position: relative; }

.case-slides { position: relative; }

.case-slide {
  display: none;
}
.case-slide.is-active {
  display: block;
  animation: caseFadeIn 350ms ease both;
}
@keyframes caseFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}


.case-carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.case-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  transition: background 200ms, border-color 200ms, color 200ms;
  flex-shrink: 0;
}
.case-nav-btn:hover {
  background: rgba(70,170,130,0.2);
  border-color: var(--accent);
  color: #fff;
}

.case-dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.case-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  padding: 0;
  transition: background 200ms, transform 200ms;
}
.case-dot.is-active {
  background: var(--accent);
  transform: scale(1.35);
}

/* ─── SECTION TESTIMONIALS ────────────────────────────────────── */
.section-testimonials {
  background: var(--dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}

/* full-colour image + directional overlay — same treatment as services */
.section-testimonials .section-bg-img {
  opacity: 0.72;
  mix-blend-mode: normal;
}

.section-testimonials::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8,20,13,0.62) 0%, rgba(8,20,13,0.38) 55%, rgba(8,20,13,0.20) 100%);
  pointer-events: none;
}

.section-testimonials > .site-shell {
  position: relative;
  z-index: 1;
}

.section-testimonials .kicker-light { color: rgba(255,255,255,0.5); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
}

.testimonial-card {
  background: rgba(6, 16, 10, 0.70);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 250ms, border-color 250ms;
}

.testimonial-card:hover {
  background: rgba(70,170,130,0.18);
  border-color: rgba(70,170,130,0.45);
}

.t-savings {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.6rem 0.9rem;
  border-radius: 10px;
  background: rgba(70,170,130,0.15);
  border: 1px solid rgba(70,170,130,0.3);
  width: 100%;
}
.t-savings-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: #f3f9f6;
  line-height: 1;
}
.t-savings-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #f3f9f6;
}

.testimonial-card p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(225,245,236,0.92);
  font-style: italic;
}

.t-readmore {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1.5px solid rgba(70,170,130,0.5);
  background: rgba(70,170,130,0.10);
  color: #8dd9b8;
  font-size: 0.83rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 200ms, border-color 200ms, color 200ms;
}
.t-readmore:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.t-footer {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 0.4rem;
}

.t-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(70,170,130,0.5);
}

.t-avatar-couple {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-position: center top;
}

.t-footer > div { display: flex; flex-direction: column; gap: 0.15rem; }
.t-name { font-weight: 800; color: #fff; }
.t-role { font-size: 0.82rem; color: rgba(180,220,205,0.7); }

/* ─── SECTION FAQ ─────────────────────────────────────────────── */
.section-faq {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.section-faq h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 2.4rem;
}

.faq-list { display: flex; flex-direction: column; gap: 0.6rem; }

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 200ms;
}

.faq-item:hover,
.faq-item.open { border-color: var(--accent); }

.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  text-align: left;
}

.faq-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent-soft);
  position: relative;
  transition: background 200ms, transform 300ms;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--accent);
  border-radius: 2px;
}

.faq-icon::before { width: 10px; height: 2px; }
.faq-icon::after  { width: 2px; height: 10px; transition: transform 300ms; }

.faq-item.open .faq-icon { background: var(--accent); transform: rotate(45deg); }
.faq-item.open .faq-icon::before,
.faq-item.open .faq-icon::after { background: #fff; }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 350ms ease, padding 350ms ease;
  padding: 0 1.5rem;
}

.faq-item.open .faq-a {
  max-height: 600px;
  padding: 0 1.5rem 1.4rem;
}

.faq-a p {
  color: var(--text-soft);
  line-height: 1.75;
  font-size: 0.95rem;
}

/* ─── SECTION CONTACT ─────────────────────────────────────────── */
/* ─── SERVICE DETAIL ──────────────────────────────────────────── */
.svc-hero {
  padding: 7rem 0 5rem;
  position: relative;
}
.svc-hero-body { position: relative; z-index: 1; max-width: 720px; text-align: left; }
/* ─── UNIFIED BACK BUTTON (all standalone pages) ──────────────── */
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 0.5rem 1.1rem 0.5rem 0.85rem;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 2rem;
  transition: background 200ms;
}
.back-btn:hover {
  background: rgba(255,255,255,0.24);
  color: #fff;
}

/* ─── PAGE HERO (legal pages) ─────────────────────────────────── */
.page-hero {
  padding: 5rem 0 4rem;
  position: relative;
}
.page-hero-body {
  position: relative;
  z-index: 1;
  text-align: left;
}
.page-hero-body h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: #fff;
  margin: 0.4rem 0 0;
  line-height: 1.1;
}
.svc-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: #fff;
  margin: 0 0 1.2rem;
  line-height: 1.1;
}
.svc-hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.svc-section { border-top: 1px solid var(--border); }
.svc-section--alt { background: var(--bg-alt, #f8faf9); }

.svc-two-col {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 4rem;
  align-items: start;
}
.svc-col-label .kicker { margin-bottom: 0; padding-top: 0.2rem; }
.svc-col-body { line-height: 1.8; color: var(--text-soft); }

/* Rich text from CKEditor */
.rich-text h2, .rich-text h3 { color: var(--text); margin-bottom: 0.5rem; }
.rich-text ul, .rich-text ol { padding-left: 1.4rem; }
.rich-text li { margin-bottom: 0.5rem; }
.rich-text p { margin-bottom: 1rem; }
.rich-text p:last-child { margin-bottom: 0; }

.svc-cta-band {
  padding: 4rem 0;
  position: relative;
  text-align: center;
}
.svc-cta-band-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.svc-cta-band-text {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: #fff;
  margin: 0;
}

@media (max-width: 680px) {
  .svc-two-col { grid-template-columns: 1fr; gap: 1rem; }
}

/* ─── SERVICE STEPS ────────────────────────────────────────────── */
.svc-steps {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  counter-reset: none;
}

.svc-step {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 2rem 2rem 2rem 0;
  border-bottom: 1px solid var(--border, rgba(0,0,0,.08));
}
.svc-step:last-child { border-bottom: none; }

.svc-step-num {
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.svc-step-body { display: flex; flex-direction: column; gap: .6rem; }

.svc-step-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  color: var(--dark);
}

.svc-step-desc {
  font-size: .97rem;
  line-height: 1.75;
  color: var(--muted, #555);
}
.svc-step-desc p { margin: 0 0 .4rem; }
.svc-step-desc p:last-child { margin-bottom: 0; }
.svc-step-desc ul {
  margin: .5rem 0 0 1.2rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

@media (max-width: 540px) {
  .svc-step {
    grid-template-columns: 2.5rem 1fr;
    gap: 1rem;
    padding: 1.5rem 0;
  }
  .svc-step-num { width: 2.4rem; height: 2.4rem; font-size: 1rem; }
}

/* ─── CONTACT ─────────────────────────────────────────────────── */
.section-contact {
  background: var(--dark);
  color: #fff;
}

.section-contact .kicker-light { color: rgba(255,255,255,0.45); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-text { display: flex; flex-direction: column; gap: 1.2rem; }
.contact-text h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); color: #fff; }
.contact-text p  { color: rgba(200,228,216,0.72); line-height: 1.7; }

.contact-perks {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.contact-perks li {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.10);
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: rgba(200,228,216,0.85);
}

.contact-detail-item a {
  color: rgba(200,228,216,0.85);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-detail-item a:hover { color: #fff; }

.contact-detail-icon {
  flex-shrink: 0;
  width: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  opacity: 0.9;
}
.contact-detail-icon svg {
  width: 17px;
  height: 17px;
}

.contact-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.5rem;
  padding: 0.55rem 1.1rem 0.55rem 0.9rem;
  border-radius: 999px;
  background: #25D366;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 200ms, transform 150ms;
  width: fit-content;
}
.contact-whatsapp-btn:hover {
  background: #1ebe5d;
  transform: translateY(-1px);
}

.contact-disclaimer {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: rgba(200,228,216,0.45);
  line-height: 1.6;
}

.contact-form-wrap {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 2.4rem;
}

.lead-form { display: flex; flex-direction: column; gap: 0.9rem; }

.field-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.lead-form label,
.field-group > label {
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(200,228,216,0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.field-opt {
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(200,228,216,0.4);
}

.lead-form input,
.lead-form textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font: inherit;
  font-size: 0.95rem;
  color: #fff;
  width: 100%;
  transition: border-color 200ms, background 200ms;
}

/* Custom select */
.select-wrap {
  position: relative;
}

.select-wrap::after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid rgba(255,255,255,0.5);
  pointer-events: none;
}

.lead-form select,
.field-select {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  padding: 0.75rem 2.5rem 0.75rem 1rem;
  font: inherit;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  width: 100%;
  transition: border-color 200ms, background 200ms;
}

.lead-form select option,
.field-select option { background: #122419; color: #fff; }

.lead-form input::placeholder,
.lead-form textarea::placeholder { color: rgba(255,255,255,0.28); }

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(70,170,130,0.08);
}

/* Checkbox */
.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  transition: border-color 200ms;
}

.checkbox-label:hover { border-color: rgba(70,170,130,0.4); }

/* Hide the native checkbox but keep it accessible */
.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

/* Custom box drawn on the span::before */
.checkbox-label span::before {
  content: "";
  display: inline-block;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 6px;
  border: 2px solid rgba(255,255,255,0.28);
  background: transparent;
  vertical-align: middle;
  margin-right: 0.65rem;
  transition: border-color 200ms, background 200ms;
  box-sizing: border-box;
}

/* Tick drawn on span::after */
.checkbox-label span::after {
  content: "";
  display: inline-block;
  position: absolute;
  left: 1.65rem;   /* lines up with the box centre */
  top: 50%;
  width: 5px;
  height: 9px;
  border: 2px solid transparent;
  border-top: none;
  border-left: none;
  transform: translateY(-65%) rotate(45deg);
  transition: border-color 150ms;
}

.checkbox-label {
  position: relative; /* needed for ::after positioning */
}

.checkbox-label input[type="checkbox"]:checked ~ span::before {
  background: var(--accent);
  border-color: var(--accent);
}

.checkbox-label input[type="checkbox"]:checked ~ span::after {
  border-color: #fff;
}

.checkbox-label span {
  display: flex;
  align-items: center;
  font-size: 0.88rem;
  color: rgba(200,228,216,0.7);
  line-height: 1.5;
}

.checkbox-label span a {
  color: var(--accent);
  text-decoration: underline;
}

.field-error {
  font-size: 0.78rem;
  color: #f08080;
  margin: 0;
}

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

/* ─── SIMULADORES ─────────────────────────────────────────────── */
.section-simulators {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(10,30,20,0.80) 0%, rgba(26,67,52,0.72) 100%),
    url("/static/img/sim-bg.6ca70ce1ee0e.png") center 30% / cover no-repeat;
}

/* Title + kicker over the dark photo */
.section-simulators .kicker,
.section-simulators h2 { color: #fff; }
.section-simulators .kicker { opacity: 0.7; }

.sim-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 0;
}
.sim-section-header > div { flex: 1; }
.sim-section-header > div h2 { margin-bottom: 0; }

/* White card containing tabs + panels */
.sim-card {
  background: #fff;
  border-radius: 24px;
  padding: 2.5rem 2.8rem;
  box-shadow: 0 24px 80px rgba(0,0,0,0.25);
  margin-top: 1rem;
}

/* Tab bar — centred inside the card */
.sim-tabs-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 2.4rem;
}

.sim-tabs {
  display: inline-flex;
  align-items: stretch;
  border: 1.5px solid var(--green-deep);
  border-radius: 999px;
  overflow: hidden;
}

.sim-tab {
  padding: 0.65rem 1.8rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: transparent;
  color: var(--green-deep);
  border: none;
  border-right: 1.5px solid var(--green-deep);
  cursor: pointer;
  transition: background 200ms, color 200ms;
  white-space: nowrap;
}

.sim-tab:last-child { border-right: none; }

.sim-tab:hover { background: rgba(26,67,52,0.07); }

.sim-tab.active {
  background: var(--green-deep);
  color: #fff;
}

/* Panels */
.sim-panel { display: none; }
.sim-panel.active { display: block; }

/* Inputs grid */
.sim-inputs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 3rem;
  margin-bottom: 2rem;
}

.sim-field { display: flex; flex-direction: column; gap: 0.6rem; }

.sim-field-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.sim-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Editable value display */
.sim-value-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  flex-shrink: 0;
}

/* Ghost number input — looks identical to the old value tag, but editable */
.sim-value-input {
  font-family: "Sora", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--green-deep);
  background: transparent;
  border: none;
  outline: none;
  text-align: right;
  width: 8ch;
  padding: 0;
  -moz-appearance: textfield;
  cursor: text;
}

/* Term field is shorter (2-3 digits max) */
.sim-term-slider ~ * .sim-value-input,
.sim-field:has(.sim-term-slider) .sim-value-input { width: 3ch; }

.sim-value-input::-webkit-outer-spin-button,
.sim-value-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Hint on hover: dotted underline, subtle */
.sim-value-input:hover { text-decoration: underline dotted rgba(26,67,52,0.3); }
.sim-value-input:focus { text-decoration: none; }

.sim-value-unit {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-soft);
}

/* Error state on down payment field */
.sim-field-error .sim-slider { background: linear-gradient(to right, #e05252 var(--pct, 100%), var(--border) var(--pct, 100%)) !important; }
.sim-field-error .sim-value-input { color: #c0392b; border-bottom-color: #c0392b; }

/* Range slider */
.sim-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: var(--border);
  outline: none;
  cursor: pointer;
}

.sim-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green-deep);
  border: 3px solid #fff;
  box-shadow: 0 0 0 1.5px var(--green-deep);
  cursor: pointer;
  transition: transform 150ms;
}

.sim-slider::-webkit-slider-thumb:hover { transform: scale(1.15); }

.sim-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green-deep);
  border: 3px solid #fff;
  box-shadow: 0 0 0 1.5px var(--green-deep);
  cursor: pointer;
}

.sim-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-soft);
  opacity: 0.6;
}

/* Rate type selector */
.sim-rate-selector {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.sim-rate-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-soft);
  white-space: nowrap;
}

.sim-rate-btns {
  display: inline-flex;
  align-items: stretch;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
}

.sim-rate-btn {
  padding: 0.45rem 1.1rem;
  font-size: 0.78rem;
  font-weight: 700;
  background: transparent;
  color: var(--text-soft);
  border: none;
  border-right: 1.5px solid var(--border);
  cursor: pointer;
  transition: background 180ms, color 180ms;
  white-space: nowrap;
}

.sim-rate-btn:last-child { border-right: none; }
.sim-rate-btn:hover { background: var(--accent-soft); color: var(--green-deep); }
.sim-rate-btn.active { background: var(--accent); color: #fff; }

/* Calculate button row */
.sim-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

/* Back button */
.sim-back-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0;
  cursor: pointer;
  margin-bottom: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 150ms;
}
.sim-back-btn:hover { color: rgba(255,255,255,0.9); }

/* Result card — display:flex only when not hidden */
.sim-result:not([hidden]) {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  background: var(--green-deep);
  border-radius: 20px;
  padding: 2rem 2.4rem;
  animation: fadeUp 350ms ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.sim-result-main {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.sim-result-block { display: flex; flex-direction: column; gap: 0.3rem; }

.sim-result-divider {
  width: 1px;
  height: 3.5rem;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

.sim-result-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.sim-result-amount {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.sim-result-num {
  font-family: "Sora", sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
}

.sim-result-interest {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  letter-spacing: -0.02em;
}

.sim-result-unit {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
}

.sim-result-details {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.sim-result-details strong { color: rgba(255,255,255,0.8); }

.sim-result-cta {
  margin-left: auto;
  flex-shrink: 0;
  align-self: center;
  background: #fff;
  color: var(--green-deep);
  border-color: #fff;
  font-size: 0.88rem;
  font-weight: 800;
  white-space: nowrap;
}

.sim-result-cta:hover {
  background: var(--accent-soft);
  border-color: var(--accent-soft);
  color: var(--green-deep);
}

.sim-rate-val {
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0.7;
  margin-left: 0.2em;
}
.sim-rate-btn.active .sim-rate-val { opacity: 1; }

/* ── Transfer simulator: two fully independent columns ────── */

.sim-transfer-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 0 2rem;
  align-items: start;
}

.sim-transfer-vdivider {
  background: rgba(26,67,52,0.1);
  align-self: stretch;
  margin-top: 2.4rem; /* clear the heading row */
}

.sim-transfer-col {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.sim-transfer-heading {
  font-family: "Sora", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(26,67,52,0.4);
  margin: 0 0 0.4rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(26,67,52,0.08);
}

.sim-transfer-col--new .sim-transfer-heading {
  color: var(--green-mid);
  border-bottom-color: rgba(26,67,52,0.15);
}

/* Highlight spread label in new column */
.sim-transfer-col--new .sim-field:has(.sim-spread-input) .sim-label {
  color: var(--green-mid);
  font-weight: 700;
}
.sim-transfer-col--new .sim-spread-input {
  color: var(--green-mid);
  font-weight: 800;
}

/* Tipo de taxa select */
.sim-select {
  width: 100%;
  margin-top: 0.4rem;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(26,67,52,0.04) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231a4334' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 0.9rem center;
  border: 1px solid rgba(26,67,52,0.15);
  border-radius: 10px;
  padding: 0.55rem 2.2rem 0.55rem 0.9rem;
  font-family: "Manrope", sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--green-deep);
  cursor: pointer;
  transition: border-color 0.15s;
}
.sim-select:focus {
  outline: none;
  border-color: var(--green-mid);
}

/* Euribor input sits inline in the field-header */
.sim-euribor-input { width: 6ch; }

/* Transfer result: savings hero number */
.sim-result--transfer .sim-result-savings { color: #a8f5c0; }

@media (max-width: 760px) {
  .sim-transfer-grid { grid-template-columns: 1fr; gap: 0; }
  .sim-transfer-vdivider { display: none; }
  .sim-transfer-col { padding-bottom: 1.5rem; }
  .sim-transfer-col--new {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(26,67,52,0.1);
  }
}

@media (max-width: 900px) {
  .sim-inputs  { grid-template-columns: 1fr; gap: 1.5rem; }
  .sim-result-divider { display: none; }
  .sim-result-main { gap: 1.5rem; flex-wrap: wrap; }
  .sim-result-cta { margin-left: 0; width: 100%; text-align: center; justify-content: center; }
}

@media (max-width: 680px) {
  .sim-card    { padding: 1.6rem 1.2rem; border-radius: 16px; }
  .sim-tabs    { flex-wrap: wrap; border-radius: 16px; }
  .sim-tab     { border-right: none; border-bottom: 1.5px solid var(--green-deep); }
  .sim-tab:last-child { border-bottom: none; }
  .sim-rate-selector { flex-direction: column; align-items: flex-start; }
}

/* ─── PARTNER BANKS MARQUEE ───────────────────────────────────── */
.section-banks {
  padding: 3.5rem 0;
  background: #f7f8f6;
  overflow: hidden;
}

.banks-label {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.28);
  margin-bottom: 2.2rem;
}

.banks-track-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.banks-track {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  width: max-content;
  animation: banks-marquee 35s linear infinite;
}

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

.bank-logo-item {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.bank-logo-item a {
  display: flex;
  align-items: center;
}

.bank-logo-item img {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.45);
  transition: filter 0.3s ease;
}

.bank-logo-item:hover img {
  filter: grayscale(0%) opacity(1);
}

@keyframes banks-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── FOOTER ──────────────────────────────────────────────────── */
.site-footer {
  background: #060f09;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  padding: 3rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer-logo {
  width: 180px;
  filter: brightness(0) invert(1);
  opacity: 0.55;
}

.footer-nav {
  display: flex;
  gap: 1.8rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 200ms;
}
.footer-nav a:hover { color: var(--accent); }

.footer-legal {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
}

.footer-legal a {
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color 200ms;
}
.footer-legal a:hover { color: var(--accent); }

.footer-legal span { color: rgba(255,255,255,0.15); }

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
}

/* ─── ANIMATIONS ──────────────────────────────────────────────── */
@keyframes revealIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes riseIn {
  from { opacity: 0; transform: translate(-50%, 18px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateX(-50%) translateY(-12px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ─── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .about-grid   { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-visual { grid-template-columns: 1fr 1fr; }
  .about-stat:first-child { grid-column: 1 / -1; }
  .about-btns   { grid-template-columns: 1fr; gap: 0.75rem; }
  .team-stage   { grid-template-columns: 1fr; min-height: unset; }
  .team-photo-slot { aspect-ratio: 3 / 4; min-height: 380px; }
  .team-photo-slot--right { order: 3; }
  .team-center  { order: 2; padding: 2.5rem 1.5rem; flex-direction: row; flex-wrap: wrap; gap: 1.5rem; }
  .team-info--p1, .team-info--p2 { align-self: auto; text-align: left; transform: none; }
  .team-info--p2 .team-contact { justify-content: flex-start; }
  .section-team.is-open { max-height: 2200px; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .case-grid    { grid-template-columns: 1fr; gap: 2rem; }
  .case-stat    { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.10); padding-right: 0; padding-bottom: 2rem; }
}

/* ─── MOBILE HAMBURGER & DRAWER ────────────────────────────────── */
.mob-burger {
  display: none;
  position: fixed;
  top: 1rem;
  right: 1.2rem;
  z-index: 400;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(15,28,20,0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  transition: background 200ms, border-color 200ms;
}
.mob-burger:hover { background: rgba(15,28,20,0.80); }

.mob-burger-bar {
  width: 17px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 300ms ease, opacity 200ms ease, background 200ms;
  transform-origin: center;
}
.mob-burger.is-open .mob-burger-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mob-burger.is-open .mob-burger-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mob-burger.is-open .mob-burger-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Dark state (over light sections) */
.mob-burger--dark {
  border-color: rgba(0,42,28,0.5);
  background: rgba(0,42,28,0.80);
}
.mob-burger--dark .mob-burger-bar { background: #fff; }

.mob-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
}
.mob-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  transition: opacity 300ms ease;
}
.mob-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(360px, 100vw);
  background: rgba(8,20,12,0.82);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-left: 1px solid rgba(255,255,255,0.08);
  padding: 5rem 1.75rem 2.5rem;
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform 380ms cubic-bezier(0.4,0,0.2,1);
}
.mob-drawer.is-open {
  pointer-events: auto;
}
.mob-drawer.is-open .mob-drawer-backdrop { opacity: 1; }
.mob-drawer.is-open .mob-drawer-panel { transform: translateX(0); }

.mob-nav {
  display: flex;
  flex-direction: column;
}
.mob-nav a {
  display: block;
  padding: 1rem 0.25rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  text-align: right;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 150ms, padding-right 150ms;
}
.mob-nav a:last-child { border-bottom: none; }
.mob-nav a:hover, .mob-nav a.is-current {
  color: var(--accent);
  padding-right: 0.5rem;
}

.mob-drawer-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.10);
}

.mob-sound-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  padding: 0.4rem 0.85rem 0.4rem 0.7rem;
  color: #fff;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 200ms;
}
.mob-sound-btn:hover { background: rgba(255,255,255,0.18); }

.mob-lang {
  display: flex;
  gap: 0.25rem;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  padding: 0.2rem 0.3rem;
}
.mob-lang button {
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.75);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  transition: background 200ms, color 200ms;
  cursor: pointer;
}
.mob-lang button.active,
.mob-lang button:hover {
  background: #fff;
  color: var(--green-deep);
}

@media (max-width: 680px) {
  .top-float  { display: none; }
  .hero-menu  { display: none; }
  .mob-burger { display: flex; }
  .mob-drawer { display: block; }

  .hero { justify-content: flex-start; }
  .hero-logo-wrap { top: 14svh; }
  .hero-body { padding: 36svh 0 5svh; }
  .section { padding: 3.5rem 0; }
  .contact-form-wrap { padding: 1.5rem; }
  .case-grid { padding: 2rem 1.5rem; }
  .about-visual { grid-template-columns: 1fr; }
  .about-stat:first-child { grid-column: unset; }

  /* Team: swap desktop stage for mobile rows */
  .team-stage  { display: none; }
  .team-mobile {
    display: flex;
    flex-direction: column;
  }
  .team-mob-row {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
  }
  .team-mob-row:last-child { border-bottom: none; }
  .team-mob-photo {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
  }
  .team-mob-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
  }
  .team-mob-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
  }
  .team-mob-info .team-name {
    font-size: 1.15rem;
    margin: 0;
  }
  .team-mob-info .team-role {
    font-size: 0.82rem;
    margin: 0 0 0.35rem;
  }

  /* Tighten the expanded section height on mobile */
  .section-team.is-open { max-height: 400px; }
}

/* ─── LEGAL PAGES ─────────────────────────────────────────────── */
.legal-page {
  background: var(--bg);
  min-height: 100vh;
  padding: 5rem 0 6rem;
}

.legal-wrap {
  max-width: 780px;
}

.legal-wrap h1 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 0.4rem;
}

.legal-updated {
  font-size: 0.82rem;
  color: var(--text-soft);
  margin-bottom: 2.5rem;
}

.legal-section {
  padding: 1.6rem 0;
  border-top: 1px solid var(--border);
}

.legal-section h2 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text);
}

.legal-section p {
  color: var(--text-soft);
  line-height: 1.8;
  font-size: 0.95rem;
}

.legal-section a { color: var(--accent); }

/* ─── CASE STUDY DETAIL PAGE ─────────────────────────────────── */
.cs-page { background: var(--bg); min-height: 100vh; }

.cs-hero {
  position: relative;
  background: var(--dark);
  color: #fff;
  padding: 5rem 0 4rem;
  overflow: hidden;
}
.cs-hero .section-bg-img {
  opacity: 0.28;
}
.cs-hero > .site-shell {
  position: relative;
  z-index: 1;
  text-align: left;
}

/* .cs-back kept for any legacy references */
.cs-back { display: none; }

.cs-hero .kicker { color: var(--accent); }

.cs-hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  color: #fff;
  margin: 0.5rem 0 1.5rem;
}

.cs-client {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 0.5rem;
}

.cs-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(70,170,130,0.5);
}

.cs-client-name {
  display: block;
  font-weight: 800;
  color: #fff;
}

.cs-client-role {
  display: block;
  font-size: 0.83rem;
  color: rgba(180,220,205,0.7);
}

.cs-section { padding: 4rem 0; }

/* Before / After grid */
.ba-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: center;
}

.ba-arrow {
  font-size: 2rem;
  color: var(--accent);
  text-align: center;
  font-weight: 800;
}

.ba-card {
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border: 1px solid var(--border);
}

.ba-before {
  background: #fff;
}

.ba-after {
  background: linear-gradient(160deg, #e8f9f1 0%, #d0f0e2 100%);
  border-color: rgba(70,170,130,0.4);
}

.ba-label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0;
}

.ba-before .ba-label { color: var(--text-soft); }
.ba-after  .ba-label { color: var(--accent-strong); }

.ba-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.ba-after .ba-row { border-bottom-color: rgba(70,170,130,0.2); }

.ba-key {
  font-size: 0.9rem;
  color: var(--text-soft);
}

.ba-after .ba-key { color: var(--text-soft); }

.ba-val {
  font-family: "Sora", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
}

.ba-after .ba-val { color: var(--text); }

.ba-cost  { color: #c0392b !important; }
.ba-saving { color: var(--accent-strong) !important; }

.ba-effort {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.4rem;
  padding: 0.6rem 0.8rem;
  border-radius: 10px;
  background: rgba(0,0,0,0.04);
  font-size: 0.85rem;
}

.ba-after .ba-effort {
  background: rgba(70,170,130,0.18);
  color: var(--green-deep);
}

.ba-after .ba-effort strong { color: var(--accent-strong); }

/* Savings banner */
.cs-savings-banner {
  margin-top: 2rem;
  background: var(--accent);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.cs-savings-num {
  font-family: "Sora", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
}

.cs-savings-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Workflow text */
.cs-workflow { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.cs-workflow-inner { max-width: 720px; display: flex; flex-direction: column; gap: 0.8rem; }

.cs-workflow-text {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-soft);
}

/* Testimonial quote */
.cs-quote {
  border-left: 4px solid var(--accent);
  padding: 1.4rem 2rem;
  background: #fff;
  border-radius: 0 16px 16px 0;
  max-width: 720px;
}

.cs-quote p {
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.75;
  color: var(--text);
  margin: 0 0 0.8rem;
}

.cs-quote footer {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-soft);
}

/* CTA */
.cs-cta { background: var(--dark); color: #fff; }

.cs-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.cs-cta h2 { color: #fff; font-size: clamp(1.5rem, 2.5vw, 2.2rem); }
.cs-cta p  { color: rgba(200,228,216,0.7); }

@media (max-width: 680px) {
  .ba-grid { grid-template-columns: 1fr; }
  .ba-arrow { transform: rotate(90deg); }
  .cs-savings-banner { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
}

/* ─── REDUCED MOTION ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
