:root {
  --navy: #0d2f6e;
  --navy-deep: #081d48;
  --blue: #1a4fa3;
  --gold: #d9a62e;
  --gold-dark: #a87a14;
  --gold-soft: #fbf3df;
  --ink: #1b2333;
  --muted: #5b6577;
  --line: #e3e7ef;
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(8, 29, 72, .08);
  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--bg); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 820px; }

/* ---- Header ---- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 20px; height: 72px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 74px; height: auto; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; color: var(--navy); letter-spacing: -.01em; }
.brand-name span { color: var(--gold); }
.brand-name.light { color: #fff; }

.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .92rem; padding: 8px 10px; border-radius: 8px; white-space: nowrap; }
.main-nav a:hover { background: var(--bg-alt); color: var(--navy); }
.main-nav a.nav-cta { background: var(--navy); color: #fff; }
.main-nav a.nav-cta:hover { background: var(--blue); }

.lang-switch { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; flex-shrink: 0; }
.lang-switch button { border: 0; background: none; font: 600 .78rem var(--font-head); color: var(--muted); padding: 6px 9px; border-radius: 999px; cursor: pointer; }
.lang-switch button[aria-pressed="true"] { background: var(--gold); color: var(--navy-deep); }

.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle .bar { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; }

/* ---- Hero ---- */
.hero { background: linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%); padding: 56px 0 64px; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-block; font: 600 .82rem var(--font-head); text-transform: uppercase; letter-spacing: .08em; color: var(--gold-dark); margin: 0 0 12px; }
.hero h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 56ch; }
.hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 28px 0 18px; }
.action-card { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.action-card:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(8, 29, 72, .14); }
.action-card strong { display: block; font-family: var(--font-head); color: var(--navy); margin-bottom: 4px; }
.action-card small { color: var(--muted); font-size: .88rem; line-height: 1.45; display: block; }
.action-card.primary { background: var(--navy); border-color: var(--navy); }
.action-card.primary strong { color: #fff; }
.action-card.primary small { color: #cfd9ee; }
.action-icon { font-size: 1.6rem; line-height: 1; }
.hero-logo img { border-radius: 24px; box-shadow: var(--shadow); background: #fff; }

/* ---- Sections ---- */
/* Every section uses the same vertical padding and heading spacing so the gaps stay even */
.section { padding: 88px 0; }
.section.alt { background: var(--bg-alt); }
.section-title { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; position: relative; padding-bottom: 16px; margin-bottom: 36px; text-align: center; }
.section-title::after { content: ""; position: absolute; left: 50%; transform: translateX(-50%); bottom: 0; width: 56px; height: 4px; border-radius: 4px; background: var(--gold); }
.section-title:has(+ .section-sub) { margin-bottom: 16px; }
.section-sub { color: var(--muted); margin: 0 auto 36px; font-size: 1.05rem; text-align: center; max-width: 680px; }
.section-sub strong { color: var(--navy); }

.about-text p { margin: 0 0 1em; font-size: 1.05rem; }
.about-closing { font: 700 1.15rem var(--font-head); color: var(--navy); border-left: 4px solid var(--gold); padding: 6px 0 6px 16px; margin-top: 24px; }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card, .panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card-icon { font-size: 1.8rem; margin-bottom: 8px; }
.card h3, .panel h3 { font-size: 1.1rem; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { padding: 6px 0 6px 26px; position: relative; border-bottom: 1px dashed var(--line); }
.ticks li:last-child { border-bottom: 0; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-dark); font-weight: 700; }

.services-bottom { display: grid; grid-template-columns: 1fr 1.6fr; gap: 20px; margin-top: 20px; }
.combos { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.combos li { background: var(--gold-soft); color: var(--navy); font-weight: 600; padding: 10px 14px; border-radius: 10px; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; position: relative; padding: 8px 0 8px 44px; min-height: 36px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 6px; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font: 700 .9rem/30px var(--font-head); text-align: center; }
.tagline { text-align: center; font: 600 1.1rem var(--font-head); color: var(--navy); margin: 36px 0 0; }

.referent-list { display: grid; gap: 16px; }
.referent { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; box-shadow: var(--shadow); }
.referent img { width: 100%; border-radius: 10px; }
.referent h4 { font: 700 1.1rem var(--font-head); color: var(--navy); margin: 0 0 6px; }
.referent p { margin: 0; color: var(--muted); }

.per-page { display: inline-block; vertical-align: middle; background: var(--gold-soft); color: var(--gold-dark); font-size: .85rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; margin-left: 6px; }
.price-table-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.price-table { width: 100%; border-collapse: collapse; }
.price-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); }
.price-table tr:last-child td { border-bottom: 0; }
.price-table tr:nth-child(even) { background: #fafbfd; }
.price-table .num { width: 44px; color: var(--muted); font-weight: 600; }
.price-table .price { text-align: right; white-space: nowrap; font-weight: 700; color: var(--navy); }
.note { color: var(--muted); font-size: .9rem; margin-top: 12px; }

/* ---- Form ---- */
.request-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 32px; box-shadow: var(--shadow); }
.field { display: flex; flex-direction: column; gap: 6px; }
.full { grid-column: 1 / -1; }
.field > label { font-weight: 600; font-size: .92rem; color: var(--navy); }
input[type="text"], input[type="tel"], input[type="email"], select, textarea {
  font: inherit; color: var(--ink); padding: 11px 13px; border: 1px solid #cfd6e3; border-radius: 10px; background: #fff; width: 100%;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26, 79, 163, .15); }
textarea { resize: vertical; }
.hint { margin: -6px 0 0; font-size: .85rem; color: var(--muted); }
.check label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--ink); font-size: .95rem; cursor: pointer; }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--navy); flex-shrink: 0; }

.dropzone { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; padding: 28px 16px; border: 2px dashed #b9c4da; border-radius: 14px; background: var(--bg-alt); cursor: pointer; transition: border-color .15s, background .15s; }
.dropzone:hover, .dropzone.over { border-color: var(--gold); background: var(--gold-soft); }
.dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.dropzone:focus-within { border-color: var(--blue); }
.dz-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 1.2rem; margin-bottom: 6px; }
.dz-text { font-weight: 600; color: var(--navy); }
.dropzone small { color: var(--muted); }
.file-list { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-direction: column; gap: 6px; }
.file-list li { display: flex; align-items: center; gap: 10px; background: var(--bg-alt); border-radius: 8px; padding: 8px 12px; font-size: .9rem; }
.f-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.f-size { color: var(--muted); }
.f-remove { border: 0; background: none; font-size: 1.3rem; line-height: 1; color: var(--muted); cursor: pointer; padding: 0 4px; }
.f-remove:hover { color: #c0392b; }

.hp { position: absolute; left: -9999px; }
.form-status:empty { display: none; }
.form-status { padding: 12px 16px; border-radius: 10px; font-weight: 500; }
.form-status.error { background: #fdecea; color: #a12a1d; }
.form-status.success { background: #e8f6ee; color: #1d6b3f; }

.btn { font: 700 1rem var(--font-head); border: 0; border-radius: 12px; padding: 14px 28px; cursor: pointer; }
.btn-primary { background: var(--gold); color: var(--navy-deep); }
.btn-primary:hover { background: #e6b544; }
.btn:disabled { opacity: .6; cursor: wait; }
#submit-btn { width: 100%; }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact-card { display: flex; flex-direction: column; gap: 4px; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .15s; }
.contact-card:hover { transform: translateY(-2px); }
.contact-card strong { font-family: var(--font-head); color: var(--navy); }
.c-icon { font-size: 1.6rem; }
.c-value { color: var(--muted); font-size: .92rem; word-break: break-word; }
.contact-card.whatsapp { border-top: 4px solid #25d366; }
.contact-card.viber { border-top: 4px solid #7360f2; }
.hours { color: var(--muted); margin: 24px 0 0; text-align: center; }

/* ---- FAQ ---- */
.faq-list details { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; background: #fff; }
.faq-list summary { cursor: pointer; padding: 16px 20px; font-weight: 600; color: var(--navy); list-style: none; position: relative; padding-right: 44px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 20px; top: 12px; font-size: 1.4rem; color: var(--gold-dark); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 0; padding: 0 20px 16px; color: var(--muted); }

/* ---- Footer ---- */
.site-footer { background: var(--navy-deep); color: #c6d0e6; padding: 40px 0 20px; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-inner p { margin: 6px 0 0; font-size: .92rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; }
.footer-links a, .footer-links button { color: #fff; background: none; border: 0; font: inherit; font-size: .92rem; cursor: pointer; padding: 0; text-decoration: none; }
.footer-links a:hover, .footer-links button:hover { color: var(--gold); }
.copyright { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 28px; padding-top: 16px; font-size: .85rem; }

/* ---- Modal ---- */
.modal { border: 0; border-radius: 18px; padding: 0; max-width: 560px; width: calc(100% - 32px); box-shadow: 0 30px 80px rgba(0, 0, 0, .3); }
.modal::backdrop { background: rgba(8, 29, 72, .55); }
.modal-body { padding: 28px; }
.modal-body p { color: var(--muted); }

/* ---- Responsive ---- */
@media (max-width: 1180px) {
  .menu-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 20px 20px; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px; font-size: 1rem; }
  .lang-switch { margin-left: auto; }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-logo { order: -1; max-width: 420px; margin: 0 auto; }
  .cards-3, .services-bottom { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .header-inner { gap: 10px; height: 64px; }
  .main-nav { top: 64px; }
  .brand img { width: 54px; }
  .site-header .brand-name { display: none; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer-links { justify-content: center; }
  .copyright { text-align: center; }
  .lang-switch button { padding: 5px 7px; }
  .hero { padding: 32px 0 48px; }
  .hero-actions { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .section-title { margin-bottom: 28px; }
  .per-page { margin: 8px 0 0; }
  .request-form { grid-template-columns: 1fr; padding: 20px; }
  .referent { grid-template-columns: 1fr; gap: 12px; padding: 18px; }
  .referent img { max-width: 220px; }
  .contact-grid { grid-template-columns: 1fr; }
  .price-table td { padding: 10px 12px; }
}
