/* C&O Business Consulting — estilos. Navy dominante, coral con funcion, Inter. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-var-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --navy: #0A2540;
  --navy-soft: #1c3a57;
  --coral: #FF8A4C;
  --coral-deep: #f2730f;
  --cream: #FFF8F3;
  --ink: #0A2540;
  --muted: #5b6b7c;
  --line: #e7e2db;
  --maxw: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: var(--ink);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
}

/* Bilingue: toggle por clase en <html> */
html.lang-es .en { display: none; }
html.lang-en .es { display: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,0.88);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: inline-flex; align-items: center; }
.brand svg { height: 30px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--navy); text-decoration: none; font-weight: 600; font-size: 14px; letter-spacing: 0.01em; }
.nav a:hover { color: var(--coral-deep); }

.lang {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line); border-radius: 999px; overflow: hidden;
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
}
.lang button {
  border: 0; background: transparent; color: var(--muted);
  padding: 6px 12px; cursor: pointer; font: inherit;
}
.lang button.active { background: var(--navy); color: #fff; }

/* Hero */
.hero { padding: 96px 0 72px; }
.kicker {
  display: inline-block;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--coral-deep); margin-bottom: 22px;
}
.hero h1 {
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.05;
  font-size: clamp(38px, 6vw, 66px); margin: 0 0 26px; max-width: 16ch;
}
.hero h1 .amp { color: var(--coral); }
.hero .lede {
  font-size: clamp(17px, 2.1vw, 21px); color: var(--muted);
  max-width: 56ch; margin: 0 0 38px;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--coral); color: #20140a; text-decoration: none;
  font-weight: 700; font-size: 15px; letter-spacing: 0.01em;
  padding: 14px 24px; border-radius: 10px;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: var(--coral-deep); color: #fff; transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: var(--navy);
  border: 1px solid var(--line); padding: 13px 22px; border-radius: 10px;
  font-weight: 600; font-size: 15px; text-decoration: none;
}
.btn-ghost:hover { border-color: var(--navy); }

/* Capabilities */
.section { padding: 18px 0 84px; }
.section-head { margin-bottom: 40px; }
.section-head h2 {
  font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -0.015em; margin: 0 0 10px;
}
.section-head p { color: var(--muted); margin: 0; max-width: 60ch; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.cap { padding: 34px 28px 34px 0; border-bottom: 1px solid var(--line); }
.cap + .cap { padding-left: 28px; border-left: 1px solid var(--line); }
.cap .num { font-size: 13px; font-weight: 700; color: var(--coral-deep); letter-spacing: 0.08em; }
.cap h3 { font-size: 19px; font-weight: 700; margin: 14px 0 10px; letter-spacing: -0.01em; }
.cap p { color: var(--muted); font-size: 15px; margin: 0; }

/* Approach band */
.band { background: var(--navy); color: #fff; padding: 72px 0; }
.band h2 { font-size: clamp(24px, 3.4vw, 38px); font-weight: 800; letter-spacing: -0.02em; margin: 0 0 18px; max-width: 22ch; }
.band h2 .amp { color: var(--coral); }
.band p { color: #b9c6d3; font-size: 18px; max-width: 58ch; margin: 0; }

/* Contact */
.contact { padding: 18px 0 90px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-intro h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -0.02em; margin: 0 0 14px; }
.contact-intro p { color: var(--muted); margin: 0 0 24px; max-width: 38ch; }
.contact-meta a { display: block; color: var(--navy); font-weight: 600; text-decoration: none; margin-bottom: 6px; }
.contact-meta a:hover { color: var(--coral-deep); }
.contact-meta span { color: var(--muted); font-size: 15px; }

.contact-form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 13px; font-weight: 600; color: var(--navy); letter-spacing: 0.01em; }
.field input, .field textarea {
  font: inherit; color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: 9px; padding: 12px 14px;
  width: 100%; transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(255,138,76,0.18);
}
.contact-form .btn { justify-self: start; margin-top: 4px; border: 0; cursor: pointer; }
.contact-form .btn[disabled] { opacity: 0.6; cursor: default; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { margin: 4px 0 0; font-size: 14px; min-height: 20px; }
.form-status.ok { color: #1f7a4d; font-weight: 600; }
.form-status.err { color: #c0392b; font-weight: 600; }

/* Footer */
.site-footer { padding: 54px 0; border-top: 1px solid var(--line); }
.foot-grid { display: flex; flex-wrap: wrap; gap: 28px 56px; align-items: flex-start; justify-content: space-between; }
.foot-brand svg { height: 26px; width: auto; display: block; margin-bottom: 14px; }
.foot-brand .legal { color: var(--muted); font-size: 13px; max-width: 34ch; }
.foot-col h4 { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; font-weight: 700; }
.foot-col a, .foot-col span { display: block; color: var(--navy); text-decoration: none; font-size: 15px; font-weight: 500; margin-bottom: 7px; }
.foot-col a:hover { color: var(--coral-deep); }
.foot-bottom { margin-top: 40px; color: var(--muted); font-size: 13px; }

@media (max-width: 760px) {
  .grid3 { grid-template-columns: 1fr; }
  .cap, .cap + .cap { padding: 26px 0; border-left: 0; }
  .hero { padding: 64px 0 48px; }
  .nav { gap: 12px; }
  .nav .nav-link { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}
