@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

:root {
  --bg:       #F8F9FA;
  --white:    #FFFFFF;
  --ink:      #0D1117;
  --ink-2:    #1C2730;
  --muted:    #6B7A8A;
  --faint:    #B0BBC6;
  --border:   #E2E7EC;
  --border-h: #C8D3DC;
  --cyan:     #0077B6;
  --cyan-l:   #E8F4FB;
  --amber:    #B5500A;
  --display:  'Syne', sans-serif;
  --body:     'DM Sans', sans-serif;
  --radius:   8px;
  --max:      1080px;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── LAYOUT ── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
section { padding: 96px 0; }
section:nth-child(even) { background: var(--white); }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(248,249,250,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
.nav-logo {
  font-family: var(--display); font-size: 17px; font-weight: 800;
  letter-spacing: -.02em; text-decoration: none; color: var(--ink);
}
.nav-logo span { color: var(--cyan); }
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a {
  font-size: 13px; color: var(--muted); text-decoration: none;
  transition: color .2s; letter-spacing: .01em;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  font-family: var(--display); font-size: 13px; font-weight: 700;
  background: var(--ink); color: var(--white);
  padding: 8px 18px; border-radius: var(--radius);
  text-decoration: none; transition: opacity .2s;
  letter-spacing: .01em;
}
.nav-cta:hover { opacity: .82; }

/* ── SECTION LABEL ── */
.eyebrow {
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--cyan); font-weight: 500; margin-bottom: 16px;
  display: block;
}
h2 {
  font-family: var(--display); font-size: clamp(28px, 4vw, 42px);
  font-weight: 800; letter-spacing: -.03em; line-height: 1.08;
  color: var(--ink); margin-bottom: 16px;
}
h3 { font-family: var(--display); font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
p { color: var(--muted); line-height: 1.8; }

.divider {
  display: flex; align-items: center; gap: 16px; margin-bottom: 64px;
}
.divider-label { font-size: 10px; letter-spacing: .25em; text-transform: uppercase; color: var(--faint); white-space: nowrap; }
.divider-line { flex: 1; height: 1px; background: var(--border); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-size: 14px; font-weight: 700;
  text-decoration: none; border-radius: var(--radius); transition: all .2s;
  letter-spacing: .01em;
}
.btn-dark { background: var(--ink); color: var(--white); padding: 13px 24px; }
.btn-dark:hover { background: var(--ink-2); transform: translateY(-1px); }
.btn-outline { border: 1.5px solid var(--border-h); color: var(--muted); padding: 12px 22px; }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-1px); }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; }
.d2 { transition-delay: .16s; }
.d3 { transition-delay: .24s; }
.d4 { transition-delay: .32s; }
.d5 { transition-delay: .40s; }
.d6 { transition-delay: .48s; }

/* ── FOOTER ── */
footer {
  background: var(--ink); color: var(--white);
  padding: 48px 0 40px;
}
.footer-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 32px; align-items: center;
}
.footer-logo { font-family: var(--display); font-size: 16px; font-weight: 800; letter-spacing: -.02em; }
.footer-logo span { color: var(--cyan); }
.footer-tagline { font-size: 11px; color: rgba(255,255,255,.35); margin-top: 4px; letter-spacing: .05em; }
.footer-nav { display: flex; gap: 28px; justify-content: center; list-style: none; }
.footer-nav a { font-size: 12px; color: rgba(255,255,255,.45); text-decoration: none; transition: color .2s; }
.footer-nav a:hover { color: rgba(255,255,255,.85); }
.footer-right { text-align: right; font-size: 12px; color: rgba(255,255,255,.3); }

@media (max-width: 760px) {
  section { padding: 64px 0; }
  .container { padding: 0 20px; }
  .footer-inner { grid-template-columns: 1fr; gap: 20px; text-align: center; }
  .footer-right { text-align: center; }
  .nav-links { display: none; }
}
/* ── CONTACTO ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact-right,
.contact-left {
  min-width: 0;
}

.contact-form {
  display: block;
  width: 100%;
}

.form-heading {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-family: var(--body);
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--faint);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.10);
}

.form-select {
  appearance: none;
  cursor: pointer;
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.form-hint {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.6;
}

.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--ink);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  padding: 14px 22px;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .01em;
  cursor: pointer;
  transition: background .2s, transform .2s, opacity .2s;
}

.form-submit:hover {
  background: var(--ink-2);
  transform: translateY(-1px);
}

.form-legal {
  font-size: 12px;
  color: var(--muted);
  margin-top: 14px;
  line-height: 1.6;
}

.form-success {
  display: none;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.success-icon {
  font-size: 28px;
  margin-bottom: 10px;
}

.success-title {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.success-sub {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}

/* ── RESPONSIVE CONTACTO ── */
@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 760px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-heading {
    font-size: 20px;
  }

  .form-submit {
    width: 100%;
  }
}