/* ECHO CONSULTORIA — static marketing site
   Palette: navy/charcoal + gold/tan */

:root {
  --bg: #0F141C;
  --bg-elevated: #121721;
  --bg-card: #161C27;
  --bg-card-hover: #1A2130;
  --gold: #C9A66B;
  --gold-deep: #B08D57;
  --gold-muted: #A89068;
  --gold-dim: #8A7355;
  --text: #F2EDE4;
  --text-muted: #B8B0A2;
  --border: rgba(201, 166, 107, 0.18);
  --border-strong: rgba(201, 166, 107, 0.35);
  --focus: #E2C48A;
  --danger: #C97B7B;
  --radius: 10px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: Inter, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --header-h: 72px;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--focus); }
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--bg);
  padding: 0.6rem 1rem;
  z-index: 1000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(15, 20, 28, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo-link { display: inline-flex; flex-shrink: 0; }
.logo-img { width: clamp(150px, 28vw, 210px); height: auto; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.site-nav ul {
  display: flex;
  gap: 0.25rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.35rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.site-nav a:hover,
.site-nav a[aria-current="true"] {
  color: var(--gold);
  border-bottom-color: var(--gold-deep);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  padding: 10px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 0.55rem 1rem; font-size: 0.85rem; }
.btn-primary {
  background: linear-gradient(180deg, #D4B57A, var(--gold-deep));
  color: #121721;
  border-color: var(--gold-deep);
}
.btn-primary:hover { color: #0a0d12; filter: brightness(1.05); }
.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--border-strong);
}
.btn-outline:hover { background: rgba(201, 166, 107, 0.08); color: var(--focus); }
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border);
}
.btn-ghost:hover { color: var(--gold); border-color: var(--border-strong); }
/* Typography */
.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-muted);
}
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  margin: 0 0 1rem;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 3.6rem); letter-spacing: 0.01em; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); }
h3 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--gold);
}
.gold { color: var(--gold); }

/* Hero */
.hero {
  position: relative;
  padding: clamp(3.5rem, 10vw, 7rem) 0 clamp(4rem, 10vw, 7.5rem);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-waves {
  width: 100%;
  height: 100%;
  opacity: 1;
}
.hero-inner { position: relative; max-width: 720px; }
.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--text-muted);
  margin: 0 0 2rem;
  max-width: 38rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* Sections */
.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}
.section-alt {
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
}
.section-head {
  max-width: 640px;
  margin-bottom: 2.5rem;
}
.section-intro {
  color: var(--text-muted);
  margin: 0;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.6rem;
  box-shadow: var(--shadow);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.card:hover {
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}
.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.card-icon { margin-bottom: 0.85rem; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.about-copy p { color: var(--text-muted); }
.about-copy p + p { margin-top: 1rem; }
.about-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.pillars li {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-left: 1rem;
  border-left: 2px solid var(--gold-deep);
}
.pillars strong {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--gold);
  font-weight: 700;
}
.pillars span { color: var(--text-muted); font-size: 0.92rem; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: start;
}
.contact-intro p { color: var(--text-muted); }
.contact-email {
  margin-top: 1.25rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 1rem; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gold-muted);
  letter-spacing: 0.02em;
}
input, textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input::placeholder, textarea::placeholder { color: #6e675c; }
input:hover, textarea:hover { border-color: var(--border-strong); }
input:focus, textarea:focus {
  outline: none;
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 3px rgba(176, 141, 87, 0.2);
}
input:invalid:not(:placeholder-shown):not(:focus),
textarea:invalid:not(:placeholder-shown):not(:focus) {
  border-color: var(--danger);
}
.form-hint {
  margin: 0.85rem 0 0;
  font-size: 0.88rem;
  color: var(--gold-muted);
  min-height: 1.2em;
}
.form-hint.is-error { color: var(--danger); }
.form-hint.is-ok { color: var(--gold); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 2rem;
  background: #0C1016;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: flex-start;
}
.footer-brand p {
  margin: 0.75rem 0 0;
  color: var(--gold-dim);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}
.footer-meta {
  max-width: 420px;
  text-align: right;
}
.footer-meta p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.footer-meta .privacy {
  margin-top: 0.5rem;
  color: var(--gold-dim);
  font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .footer-meta { text-align: left; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding: 1rem 1.25rem 1.25rem;
    background: rgba(18, 23, 33, 0.98);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s, opacity 0.25s;
  }
  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .site-nav ul {
    flex-direction: column;
    gap: 0;
  }
  .site-nav a {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
  }
  .site-nav .btn { margin-top: 0.5rem; width: 100%; }
  .cards { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}


.email-link {
  color: var(--gold, #C9A66B);
  font-weight: 500;
  word-break: break-all;
}
.email-link:hover { text-decoration: underline; }
.contact-intro .btn-primary { margin-top: 1rem; }
