/* ─── TOKENS ──────────────────────────────────────────────────────────────── */
:root {
  --bg:        #ffffff;
  --surface:   #f8f7f5;
  --dark:      #0f0f0f;
  --body:      #4a4a4a;
  --muted:     #888888;
  --border:    #e8e8e6;
  --brand:     #7b2d26;
  --brand-dim: rgba(123,45,38,.08);
  --accent:    #009fb5;
  --r-sm:      6px;
  --r-md:      10px;
  --r-lg:      16px;
  --sh-sm:     0 1px 4px rgba(0,0,0,.07);
  --sh-md:     0 4px 20px rgba(0,0,0,.08);
  --sh-lg:     0 8px 40px rgba(0,0,0,.11);
  --w:         1100px;
  --nav-h:     68px;
}

/* ─── RESET ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px; line-height: 1.6;
  color: var(--body); background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ─── LAYOUT ──────────────────────────────────────────────────────────────── */
.container { max-width: var(--w); margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }

/* ─── LABEL ───────────────────────────────────────────────────────────────── */
.label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 14px;
}
.label::before {
  content: ''; width: 18px; height: 2px;
  background: var(--brand); border-radius: 2px; flex-shrink: 0;
}

/* ─── BUTTONS ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .9375rem; font-weight: 600; border-radius: var(--r-sm);
  border: none; transition: all .15s; white-space: nowrap; cursor: pointer;
}
.btn-primary { padding: 13px 24px; background: var(--brand); color: #fff; }
.btn-primary:hover { background: #6a2620; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(123,45,38,.3); }
.btn-outline { padding: 12px 22px; background: transparent; color: var(--dark); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--dark); background: var(--surface); }
.btn-whatsapp { padding: 13px 22px; background: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #1da851; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(37,211,102,.38); }

/* ─── NAV ─────────────────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h);
  background: rgba(255,255,255,.9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent; z-index: 100; transition: border-color .2s, box-shadow .2s;
  overflow: visible;
}
.nav.scrolled { border-bottom-color: var(--border); box-shadow: var(--sh-sm); }
.nav-inner {
  max-width: var(--w); margin: 0 auto; padding: 0 24px; height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo { display: flex; align-items: center; gap: 9px; font-size: 1.05rem; font-weight: 800; color: var(--dark); flex-shrink: 0; }
.logo img { height: 32px; width: auto; }
.nav-links { display: flex; list-style: none; gap: 28px; }
.nav-links a {
  font-size: .875rem; font-weight: 500; color: var(--body);
  transition: color .15s; padding: 4px 0; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 2px; background: var(--brand); transition: width .2s; border-radius: 2px;
}
.nav-links a:hover, .nav-links a.active { color: var(--dark); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-btn { display: flex; align-items: center; }
.nav-menu {
  display: none; background: none; border: none; padding: 4px;
  flex-direction: column; gap: 5px;
}
.nav-menu span { display: block; width: 22px; height: 2px; background: var(--dark); border-radius: 2px; }
.mobile-nav {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: #fff; border-bottom: 1px solid var(--border); padding: 12px 24px 24px; z-index: 99;
}
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; margin-bottom: 16px; }
.mobile-nav li a { display: block; padding: 12px 0; font-weight: 500; color: var(--dark); border-bottom: 1px solid var(--border); }
.mobile-nav .btn-primary { width: 100%; justify-content: center; margin-top: 12px; }

/* ─── PAGE HEADER ─────────────────────────────────────────────────────────── */
.page-hd {
  padding-top: calc(var(--nav-h) + 72px); padding-bottom: 72px;
  background: var(--surface); border-bottom: 1px solid var(--border);
}
.page-hd h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800;
  letter-spacing: -.03em; color: var(--dark); margin-bottom: 14px; line-height: 1.1;
}
.page-hd p { font-size: 1.05rem; color: var(--body); max-width: 500px; line-height: 1.7; }

/* ─── FOOTER ──────────────────────────────────────────────────────────────── */
.footer { background: var(--dark); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 44px; margin-bottom: 52px; }
.footer-brand .logo { color: #fff; margin-bottom: 14px; }
.footer-brand .logo img { filter: brightness(0) invert(1); }
.footer-brand > p { font-size: .875rem; color: rgba(255,255,255,.45); line-height: 1.7; max-width: 240px; }
.socials { display: flex; gap: 9px; margin-top: 22px; }
.social {
  width: 34px; height: 34px; border-radius: var(--r-sm);
  background: rgba(255,255,255,.07); display: flex; align-items: center; justify-content: center; transition: background .15s;
}
.social:hover { background: var(--brand); }
.fc h4 { font-size: .8125rem; font-weight: 700; color: #fff; margin-bottom: 14px; letter-spacing: .04em; text-transform: uppercase; }
.fc ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.fc a { font-size: .875rem; color: rgba(255,255,255,.45); transition: color .15s; }
.fc a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .8rem; color: rgba(255,255,255,.3);
}

/* ─── SCROLL ANIMATIONS ───────────────────────────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(22px); transition: opacity .5s ease, transform .5s ease; }
.fade-up.in { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; }
.d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; }
.d4 { transition-delay: .4s; }

/* ─── WHATSAPP ────────────────────────────────────────────────────────────── */
.wa-btn {
  position: fixed; bottom: 28px; right: 28px; z-index: 200;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45); transition: transform .2s, box-shadow .2s;
}
.wa-btn:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,.55); }
.wa-tip {
  position: absolute; right: 68px; background: #fff; color: #111;
  font-size: .8rem; font-weight: 600; padding: 7px 13px; border-radius: var(--r-sm);
  box-shadow: var(--sh-md); white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s;
}
.wa-btn:hover .wa-tip { opacity: 1; }

/* ─── LOCALE SWITCHER ─────────────────────────────────────────────────────── */
.locale-sel { display: flex; align-items: center; gap: 6px; }
.lsw { position: static; }
.lsw-btn {
  display: flex; align-items: center; gap: 5px; cursor: pointer;
  background: none; border: 1.5px solid var(--border); border-radius: var(--r-sm);
  padding: 6px 10px; font-size: .8rem; font-weight: 600; color: var(--body);
  font-family: inherit; transition: border-color .15s, color .15s; white-space: nowrap;
  line-height: 1;
}
.lsw-btn:hover { border-color: var(--dark); color: var(--dark); }
.lsw-btn[aria-expanded="true"] { border-color: var(--brand); color: var(--brand); }
.lsw-drop {
  display: none; position: fixed; top: 0; right: 0;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-md);
  box-shadow: var(--sh-lg); min-width: 184px; max-height: 70vh; overflow-y: auto; z-index: 9999;
}
.lsw-drop.open { display: block; }
.lsw-opt {
  display: flex; align-items: center; width: 100%; padding: 10px 14px;
  text-align: left; font-size: .84rem; font-weight: 500; color: var(--body);
  background: none; border: none; cursor: pointer; font-family: inherit;
  transition: background .1s, color .1s; white-space: nowrap;
}
.lsw-opt:hover:not(:disabled) { background: var(--surface); color: var(--dark); }
.lsw-opt.lsw-active { color: var(--brand); font-weight: 700; background: var(--brand-dim); }
.lsw-opt.lsw-disabled { opacity: .38; cursor: not-allowed; }
/* Mobile locale (inside mobile-nav) */
.mobile-locale { border-top: 1px solid var(--border); margin-top: 12px; padding-top: 16px; display: flex; gap: 12px; }
.mobile-locale > div { flex: 1; }
.mobile-locale-label { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 8px; }
.mobile-locale-opts { display: flex; flex-direction: column; gap: 2px; }
.mobile-locale-opts button {
  background: none; border: none; text-align: left; padding: 7px 10px;
  font-family: inherit; font-size: .83rem; font-weight: 500; color: var(--body);
  border-radius: var(--r-sm); cursor: pointer; transition: background .1s;
}
.mobile-locale-opts button:hover:not(:disabled) { background: var(--surface); }
.mobile-locale-opts button.lsw-active { color: var(--brand); font-weight: 700; background: var(--brand-dim); }
.mobile-locale-opts button.lsw-disabled { opacity: .38; cursor: not-allowed; }

/* ─── SERVICE DETAIL PAGES ────────────────────────────────────────────────── */
.svc-intro { max-width: 720px; margin: 0 auto 8px; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -.03em; color: var(--dark); margin-bottom: 12px; line-height: 1.15; }
.section-head p { color: var(--body); font-size: 1.02rem; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px 24px; transition: border-color .15s, transform .15s, box-shadow .15s; }
.feature-card:hover { border-color: var(--brand); transform: translateY(-3px); box-shadow: var(--sh-md); }
.feature-card .fc-ic { width: 44px; height: 44px; border-radius: var(--r-md); background: var(--brand-dim); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 16px; }
.feature-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.feature-card p { font-size: .9rem; color: var(--body); line-height: 1.65; }

.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.pkg-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 32px 26px; position: relative; }
.pkg-card.featured { border-color: var(--brand); box-shadow: var(--sh-md); }
.pkg-badge { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 12px; border-radius: 100px; white-space: nowrap; }
.pkg-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.pkg-price { font-size: 1.7rem; font-weight: 800; color: var(--brand); letter-spacing: -.02em; margin-bottom: 18px; }
.pkg-price small { font-size: .8rem; font-weight: 600; color: var(--muted); }
.pkg-card ul { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.pkg-card li { font-size: .9rem; color: var(--body); padding-left: 26px; position: relative; line-height: 1.5; }
.pkg-card li::before { content: '✓'; position: absolute; left: 0; color: var(--brand); font-weight: 700; }
.pkg-card .btn { width: 100%; justify-content: center; }

.proc-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.proc-step { position: relative; padding-top: 8px; }
.proc-step .step-n { width: 42px; height: 42px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.proc-step h3 { font-size: 1.02rem; font-weight: 700; color: var(--dark); margin-bottom: 7px; }
.proc-step p { font-size: .88rem; color: var(--body); line-height: 1.6; }

.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--r-md); padding: 22px 24px; background: #fff; }
.faq-item h3 { font-size: 1.02rem; font-weight: 700; color: var(--dark); margin-bottom: 9px; }
.faq-item p { font-size: .92rem; color: var(--body); line-height: 1.7; }

.svc-cta { background: var(--brand); padding: 72px 0; text-align: center; }
.svc-cta h2 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: 14px; }
.svc-cta p { color: rgba(255,255,255,.82); font-size: 1.05rem; max-width: 520px; margin: 0 auto 28px; }
.svc-cta .btn-primary { background: #fff; color: var(--brand); }
.svc-cta .btn-primary:hover { background: #f3f3f3; }
.spec-table { max-width: 760px; margin: 0 auto; border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; }
.spec-table div { display: flex; justify-content: space-between; padding: 13px 20px; font-size: .92rem; }
.spec-table div:nth-child(odd) { background: var(--surface); }
.spec-table span:first-child { color: var(--body); font-weight: 600; }
.spec-table span:last-child { color: var(--dark); }

/* ─── RESPONSIVE ──────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .nav-links, .nav-btn, .locale-sel { display: none; }
  .nav-menu { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .feature-grid, .pkg-grid { grid-template-columns: repeat(2, 1fr); }
  .proc-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  section { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .wa-btn { bottom: 20px; right: 20px; width: 50px; height: 50px; }
  .feature-grid, .pkg-grid, .proc-steps { grid-template-columns: 1fr; }
}
