/* ---------- Reset & base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #ffffff;
  --bg-alt: #f6f4ef;
  --card: #ffffff;
  --card-hover: #fbfaf6;
  --border: rgba(18, 59, 70, 0.10);
  --border-hover: rgba(201, 151, 63, 0.5);
  --text: #16262b;
  --text-muted: #5c6b70;
  --text-faint: #8b969a;
  --accent: #92701f;
  --navy: #123b46;
  --gold: #c9973f;
  --gradient: linear-gradient(135deg, #123b46 0%, #c9973f 100%);
  --whatsapp: #25d366;
  --radius: 16px;
  --radius-sm: 10px;
  --container: 1180px;
}

html { scroll-behavior: smooth; }

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

h1, h2, h3 {
  font-family: 'Sora', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

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

.icon { width: 20px; height: 20px; }
.icon--sm { width: 16px; height: 16px; }

.grad-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

section { position: relative; padding: 100px 0; }

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 14px; }
.section-head p { color: var(--text-muted); font-size: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn--whatsapp {
  background: var(--whatsapp);
  color: #05170d;
}
.btn--whatsapp:hover { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3); }

.btn--ghost {
  background: rgba(18, 59, 70, 0.04);
  color: var(--text);
  border-color: var(--border);
}
.btn--ghost:hover { border-color: var(--border-hover); background: rgba(18, 59, 70, 0.07); }

.btn--card {
  width: 100%;
  justify-content: center;
  background: rgba(18, 59, 70, 0.05);
  color: var(--navy);
  border-color: rgba(18, 59, 70, 0.16);
  margin-top: 24px;
}
.btn--card:hover { background: rgba(18, 59, 70, 0.1); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.nav.is-scrolled {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px -20px rgba(18, 59, 70, 0.3);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

.logo { display: inline-flex; align-items: center; }
.logo__img {
  height: 46px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(18, 59, 70, 0.18));
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0 auto;
}
.nav__link {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.nav__link:hover { color: var(--navy); }

.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__cta { padding: 10px 20px; font-size: 14px; }
.nav__toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 40px; height: 40px;
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* ---------- Language switcher ---------- */
.lang-switch { position: relative; }
.lang-switch__toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 12px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.lang-switch__toggle:hover { border-color: var(--border-hover); background: rgba(18, 59, 70, 0.04); }
.lang-switch__toggle .icon { color: var(--accent); }

.lang-switch__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 150px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 45px -20px rgba(18, 59, 70, 0.35);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 110;
}
.lang-switch.is-open .lang-switch__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-switch__menu li { list-style: none; }
.lang-switch__menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 9px 12px;
  border-radius: 7px;
  background: none;
  border: none;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.lang-switch__menu button:hover { background: rgba(18, 59, 70, 0.06); }
.lang-switch__menu button.is-active { color: var(--accent); font-weight: 600; }

/* ---------- Hero ---------- */
.hero { padding: 110px 0 100px; overflow: hidden; }

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(650px circle at 12% 12%, rgba(201, 151, 63, 0.12), transparent 60%),
    radial-gradient(650px circle at 90% 20%, rgba(18, 59, 70, 0.08), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--bg-alt) 100%);
}
.hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(18, 59, 70, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 59, 70, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 90%);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(32px, 4.4vw, 52px);
  margin-bottom: 22px;
}
.hero__lead {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 32px;
}
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 32px; }

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.hero__trust li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
}
.hero__trust .icon { color: var(--accent); }

/* Estimate / services-preview card */
.hero__visual { position: relative; padding: 22px; }
.estimate-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 30px 70px -28px rgba(18, 59, 70, 0.35), 0 1px 2px rgba(18, 59, 70, 0.06);
}
.estimate-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.estimate-card__badge {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--gradient);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.estimate-card__title { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 15px; color: var(--text); }

.estimate-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  background: var(--bg-alt);
  border: 1px solid transparent;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.estimate-row:hover { border-color: var(--border-hover); transform: translateX(2px); }

.estimate-row__icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  background: rgba(18, 59, 70, 0.08);
  color: var(--navy);
}
.estimate-row__info { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.estimate-row__label { font-size: 13.5px; font-weight: 600; color: var(--text); font-family: 'Sora', sans-serif; }
.estimate-row__sub { font-size: 12.5px; color: var(--text-faint); }

.estimate-card__footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.estimate-card__footer-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(201, 151, 63, 0.16);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.estimate-card__footer p { font-size: 13px; color: var(--text-muted); }
.estimate-card__footer strong { color: var(--text); }

.float-chip {
  position: absolute;
  width: 54px; height: 54px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 28px -10px rgba(18, 59, 70, 0.4);
  z-index: 2;
}
.float-chip--calc {
  top: 0;
  right: 4px;
  background: var(--navy);
  color: #fff;
  transform: rotate(-8deg);
}
.float-chip--coin {
  bottom: 0;
  left: 4px;
  background: var(--gold);
  color: var(--navy);
  transform: rotate(7deg);
}

/* ---------- Grid ---------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- About value cards ---------- */
.about { background: var(--bg-alt); }
.value-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.value-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 16px 40px -20px rgba(18, 59, 70, 0.3);
}
.value-card__icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--gradient);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.value-card h3 { font-size: 17px; margin-bottom: 8px; }
.value-card p { font-size: 14.5px; color: var(--text-muted); }

/* ---------- Services ---------- */
.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: 0 24px 55px -28px rgba(18, 59, 70, 0.35);
}
.service-card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(18, 59, 70, 0.08);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-card h3 { font-size: 20px; margin-bottom: 12px; }
.service-card > p { color: var(--text-muted); font-size: 14.5px; margin-bottom: 18px; }
.service-card__list { flex: 1; }
.service-card__list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.service-card__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gradient);
}

/* ---------- Process ---------- */
.process { background: var(--bg-alt); }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border) 15%, var(--border) 85%, transparent);
}
.step { position: relative; }
.step__num {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border-hover);
  color: var(--accent);
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--bg-alt);
}
.step h3 { font-size: 16.5px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-muted); }

/* ---------- Contact ---------- */
.contact__panel { max-width: 560px; margin: 0 auto; }

.contact__list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.contact__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
a.contact__item:hover { border-color: var(--border-hover); transform: translateX(4px); }
.contact__icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(18, 59, 70, 0.06);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact__icon--wa { background: rgba(37, 211, 102, 0.14); color: #1a9e51; }
.contact__label { display: block; font-size: 12.5px; color: var(--text-faint); }
.contact__value { display: block; font-size: 15px; font-weight: 600; color: var(--text); font-family: 'Sora', sans-serif; }

.contact__cta { width: 100%; justify-content: center; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 48px 0; }
.footer__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.footer__tagline { color: var(--text-muted); font-size: 14px; max-width: 420px; }
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer__links a { font-size: 14px; color: var(--text-muted); transition: color 0.2s ease; }
.footer__links a:hover { color: var(--accent); }
.footer__copy { font-size: 13px; color: var(--text-faint); }
.footer__address { font-size: 11px; color: var(--text-faint); opacity: 0.7; }

/* ---------- WhatsApp floating button ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #05170d;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  z-index: 90;
  animation: pulse 2.4s ease-in-out infinite;
}
.whatsapp-float .icon { width: 28px; height: 28px; }
.whatsapp-float:hover { animation: none; transform: scale(1.06); }

@keyframes pulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.45); }
  50% { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4), 0 0 0 12px rgba(37, 211, 102, 0); }
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 420px; margin: 0 auto; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
}

@media (max-width: 960px) {
  .nav.is-open .nav__links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px;
    left: 0; right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px);
    padding: 20px 24px 28px;
    gap: 18px;
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 600px) {
  section { padding: 64px 0; }
  .grid--4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .whatsapp-float { bottom: 18px; right: 18px; width: 54px; height: 54px; }
  .float-chip { width: 44px; height: 44px; }
  .float-chip .icon { width: 18px; height: 18px; }
}

@media (max-width: 400px) {
  .container { padding: 0 18px; }
  .hero h1 { font-size: 28px; }
}

@media (max-width: 480px) {
  .nav__cta-label { display: none; }
  .nav__cta { padding: 0; width: 40px; height: 40px; justify-content: center; }
  .lang-switch__toggle { padding: 0 8px; gap: 4px; }
}
