/* ============================================================
   RACEK — Estilos minimalistas
   Navy #0D1B2A  |  Gold #C9A84C  |  Mucho espacio en blanco
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --navy:      #0D1B2A;
  --navy-2:    #162030;
  --gold:      #C9A84C;
  --gold-dim:  #A8882E;
  --white:     #FFFFFF;
  --off-white: #F7F7F5;
  --border:    #E8E8E4;
  --muted:     #8A8A82;
  --text:      #1A1A18;
  --radius:    4px;
  --r-lg:      8px;
  --transition: all .2s ease;
}

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

/* ---- TYPE ---- */
h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 2.5vw, 2.1rem); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
h3 { font-size: 1.2rem; font-weight: 600; line-height: 1.3; }
h4 { font-size: 1rem; font-weight: 600; }
p  { color: var(--muted); font-size: .95rem; line-height: 1.75; }

/* ---- LAYOUT ---- */
.container { max-width: 1080px; margin: 0 auto; padding: 0 32px; }
.section    { padding: 96px 0; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: var(--radius);
  font-size: .875rem; font-weight: 600; letter-spacing: .01em;
  cursor: pointer; border: 1.5px solid transparent; transition: var(--transition);
  white-space: nowrap; font-family: inherit;
}
.btn-primary {
  background: var(--gold); color: var(--navy); border-color: var(--gold);
}
.btn-primary:hover { background: var(--gold-dim); border-color: var(--gold-dim); }

.btn-ghost-dark {
  background: transparent; color: var(--white); border-color: rgba(255,255,255,.3);
}
.btn-ghost-dark:hover { border-color: var(--white); }

.btn-ghost {
  background: transparent; color: var(--text); border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--text); }

.btn-dark {
  background: var(--navy); color: var(--white); border-color: var(--navy);
}
.btn-dark:hover { background: var(--navy-2); }

.btn-wa {
  background: #25D366; color: var(--white); border-color: #25D366;
}
.btn-wa:hover { background: #1fba59; border-color: #1fba59; }

.btn-lg { padding: 16px 32px; font-size: .95rem; }

/* ---- LABEL ---- */
.label {
  display: inline-block;
  font-size: .7rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(13,27,42,.97); backdrop-filter: blur(8px);
  height: 64px; border-bottom: 1px solid rgba(255,255,255,.06);
}
.navbar .container {
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 32px; height: 32px; background: var(--gold); border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .85rem; color: var(--navy); letter-spacing: -.5px;
}
.brand-name { color: var(--white); font-weight: 700; font-size: .95rem; letter-spacing: .02em; }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  color: rgba(255,255,255,.55); font-size: .82rem; font-weight: 500;
  padding: 7px 13px; border-radius: var(--radius); transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }

.nav-end { display: flex; align-items: center; gap: 12px; }
.nav-phone { color: rgba(255,255,255,.45); font-size: .78rem; }
.nav-phone strong { color: rgba(255,255,255,.75); font-weight: 500; }

/* ============================================================
   HERO — HOMEPAGE
   ============================================================ */
.hero-home {
  min-height: 100vh;
  background: var(--navy);
  display: flex; align-items: center;
  padding-top: 64px;
}
.hero-home .container {
  display: grid; grid-template-columns: 1fr 380px; gap: 80px; align-items: center;
  padding-top: 40px; padding-bottom: 40px;
}
.hero-home .label { margin-bottom: 20px; display: block; }
.hero-home h1 { color: var(--white); margin-bottom: 20px; }
.hero-home h1 .accent { color: var(--gold); }
.hero-home .sub {
  color: rgba(255,255,255,.5); font-size: 1rem; margin-bottom: 36px;
  max-width: 500px; line-height: 1.8;
}
.hero-home .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 56px; }

.hero-stats { display: flex; gap: 40px; }
.stat-item { }
.stat-num  { font-size: 1.75rem; font-weight: 700; color: var(--white); line-height: 1; letter-spacing: -.02em; }
.stat-lbl  { font-size: .72rem; color: rgba(255,255,255,.35); text-transform: uppercase; letter-spacing: .1em; margin-top: 4px; }
.stat-div  { width: 1px; background: rgba(255,255,255,.1); height: 36px; align-self: center; }

/* ============================================================
   HERO FORM CARD
   ============================================================ */
.form-card {
  background: var(--white); border-radius: var(--r-lg);
  padding: 32px 28px;
}
.form-card h3 { color: var(--navy); margin-bottom: 4px; font-size: 1.05rem; }
.form-card .fc-sub { font-size: .8rem; margin-bottom: 24px; }

.field { margin-bottom: 12px; }
.field label {
  display: block; font-size: .7rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 5px;
}
.field input, .field select, .field textarea {
  width: 100%; padding: 10px 12px; border: 1.5px solid var(--border);
  border-radius: var(--radius); font-size: .88rem; font-family: inherit;
  color: var(--text); background: var(--white); transition: var(--transition);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy);
}
.field input::placeholder { color: var(--border); }
.field textarea { resize: vertical; min-height: 72px; }
.field select {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%238A8A82' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px;
}
.field select option { background: var(--white); color: var(--text); }
.field-submit {
  width: 100%; margin-top: 4px; padding: 12px; border: none;
  border-radius: var(--radius); background: var(--navy); color: var(--white);
  font-weight: 600; font-size: .88rem; font-family: inherit; cursor: pointer;
  transition: var(--transition);
}
.field-submit:hover { background: var(--navy-2); }
.field-privacy { text-align: center; font-size: .72rem; color: var(--border); margin-top: 8px; }

/* ============================================================
   TRUST ROW
   ============================================================ */
.trust-row {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.trust-row .container {
  display: flex; align-items: center; justify-content: center; gap: 0; flex-wrap: wrap;
}
.trust-tag {
  padding: 0 28px; font-size: .72rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
  border-right: 1px solid var(--border);
}
.trust-tag:last-child { border-right: none; }

/* ============================================================
   SECTION HEADER
   ============================================================ */
.sec-header { margin-bottom: 56px; }
.sec-header.centered { text-align: center; }
.sec-header.centered p { max-width: 480px; margin: 0 auto; }
.sec-header .label { margin-bottom: 10px; display: block; }
.sec-header h2 { color: var(--navy); margin-bottom: 14px; }
.sec-header p { font-size: .95rem; }

/* ============================================================
   PILARES
   ============================================================ */
.pilares-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.pilar-card {
  background: var(--white); padding: 40px 32px;
  transition: var(--transition);
}
.pilar-card:hover { background: var(--off-white); }
.pilar-card .pc-num {
  font-size: .7rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 24px;
}
.pilar-card h3 { color: var(--navy); margin-bottom: 12px; font-size: 1.1rem; }
.pilar-card p { margin-bottom: 28px; font-size: .9rem; }
.pilar-card .pc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 28px; }
.pilar-card .tag {
  font-size: .68rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted); padding: 3px 0;
  border-bottom: 1px solid var(--border);
}
.pilar-link {
  font-size: .8rem; font-weight: 600; color: var(--navy); letter-spacing: .02em;
  display: inline-flex; align-items: center; gap: 6px; transition: var(--transition);
}
.pilar-link:hover { color: var(--gold); }

/* ============================================================
   TWO COLUMN
   ============================================================ */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.two-col.reverse .col-img { order: -1; }
.col-img img { width: 100%; height: 420px; object-fit: cover; border-radius: var(--r-lg); }
.col-text .label { margin-bottom: 12px; display: block; }
.col-text h2 { color: var(--navy); margin-bottom: 16px; }
.col-text p { margin-bottom: 32px; }

/* ============================================================
   LIST
   ============================================================ */
.item-list { display: flex; flex-direction: column; gap: 20px; }
.list-item { display: flex; gap: 16px; align-items: flex-start; }
.list-item .li-line {
  width: 2px; height: 20px; background: var(--gold);
  flex-shrink: 0; margin-top: 3px;
}
.list-item .li-text strong { display: block; color: var(--navy); font-size: .95rem; margin-bottom: 3px; }
.list-item .li-text span { font-size: .85rem; color: var(--muted); }

/* ============================================================
   ALERTA
   ============================================================ */
.alert-strip {
  background: var(--off-white); border-top: 2px solid var(--gold);
  padding: 32px 40px; border-radius: var(--r-lg);
}
.alert-strip h4 { color: var(--navy); font-size: .88rem; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .06em; }
.alert-strip ul { display: flex; flex-direction: column; gap: 8px; }
.alert-strip li { font-size: .875rem; color: var(--muted); padding-left: 16px; position: relative; line-height: 1.65; }
.alert-strip li::before { content: '—'; position: absolute; left: 0; color: var(--gold); }

/* ============================================================
   SERVICIOS GRID
   ============================================================ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.service-card { background: var(--white); padding: 32px 28px; transition: var(--transition); }
.service-card:hover { background: var(--off-white); }
.service-card .sc-num { font-size: .68rem; font-weight: 700; color: var(--gold); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.service-card h4 { color: var(--navy); margin-bottom: 10px; }
.service-card p { font-size: .875rem; }

/* ============================================================
   PROCESO
   ============================================================ */
.proceso-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.paso { padding: 32px 24px; background: var(--white); }
.paso .paso-n { font-size: 2rem; font-weight: 700; color: var(--border); line-height: 1; margin-bottom: 16px; }
.paso h4 { color: var(--navy); margin-bottom: 8px; font-size: .9rem; }
.paso p  { font-size: .82rem; }

/* ============================================================
   STATS BAND
   ============================================================ */
.stats-band { background: var(--navy); padding: 64px 0; }
.stats-band .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08); }
.stat-cell { background: var(--navy); padding: 40px 32px; text-align: center; }
.stat-cell .sc-num { font-size: 2.5rem; font-weight: 700; color: var(--white); letter-spacing: -.03em; line-height: 1; margin-bottom: 8px; }
.stat-cell .sc-num span { color: var(--gold); }
.stat-cell .sc-lbl { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.35); }

/* ============================================================
   DARK SECTION
   ============================================================ */
.dark-section { background: var(--navy); }
.dark-section h2 { color: var(--white); }
.dark-section p { color: rgba(255,255,255,.45); }
.dark-section .sec-header h2 { color: var(--white); }
.dark-section .service-card { background: rgba(255,255,255,.04); border: none; }
.dark-section .service-card:hover { background: rgba(255,255,255,.07); }
.dark-section .service-card .sc-num { color: var(--gold); }
.dark-section .service-card h4 { color: var(--white); }
.dark-section .service-card p { color: rgba(255,255,255,.4); }
.dark-section .services-grid { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.06); }
.dark-section .list-item .li-text strong { color: var(--white); }
.dark-section .list-item .li-text span { color: rgba(255,255,255,.4); }

/* ============================================================
   CERTS ROW
   ============================================================ */
.certs-row {
  border-top: 1px solid var(--border); padding: 28px 0;
  display: flex; align-items: center; justify-content: center; gap: 0; flex-wrap: wrap;
}
.cert-pill {
  padding: 0 32px; text-align: center; border-right: 1px solid var(--border);
}
.cert-pill:last-child { border-right: none; }
.cert-pill .cp-title { font-size: .82rem; font-weight: 700; color: var(--navy); letter-spacing: .02em; }
.cert-pill .cp-sub   { font-size: .68rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; margin-top: 2px; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { background: var(--off-white); border-top: 1px solid var(--border); padding: 80px 0; }
.cta-band .container { display: grid; grid-template-columns: 1fr auto; gap: 64px; align-items: center; }
.cta-band h2 { color: var(--navy); margin-bottom: 8px; }
.cta-band p  { font-size: .95rem; max-width: 480px; }
.cta-actions { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.cta-contact { font-size: .8rem; color: var(--muted); text-align: right; margin-top: 4px; }
.cta-contact a { color: var(--navy); font-weight: 600; }
.cta-contact a:hover { color: var(--gold); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy); }
.footer-main { padding: 64px 0 40px; }
.footer-main .container { display: grid; grid-template-columns: 220px 1fr 1fr 1fr; gap: 48px; }
.footer-brand .fm-logo { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.footer-brand .fm-mark { width: 28px; height: 28px; background: var(--gold); border-radius: 3px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .8rem; color: var(--navy); }
.footer-brand .fm-name { color: var(--white); font-weight: 700; font-size: .9rem; }
.footer-brand p { font-size: .8rem; color: rgba(255,255,255,.3); line-height: 1.7; max-width: 200px; }
.footer-col h5 { color: rgba(255,255,255,.3); font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: .82rem; color: rgba(255,255,255,.5); transition: var(--transition); }
.footer-col ul a:hover { color: var(--white); }
.footer-col .fc-item { font-size: .82rem; color: rgba(255,255,255,.4); margin-bottom: 8px; }
.footer-col .fc-item strong { color: rgba(255,255,255,.65); font-weight: 500; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.06); padding: 20px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: .75rem; color: rgba(255,255,255,.2); }
.footer-bottom .fb-links { display: flex; gap: 20px; }
.footer-bottom .fb-links a { font-size: .72rem; color: rgba(255,255,255,.25); transition: var(--transition); }
.footer-bottom .fb-links a:hover { color: rgba(255,255,255,.6); }

/* ============================================================
   HERO LANDING
   ============================================================ */
.hero-landing {
  min-height: 76vh; background: var(--navy);
  display: flex; align-items: center; padding-top: 64px;
  position: relative; overflow: hidden;
}
.hero-landing .hl-bg {
  position: absolute; inset: 0; object-fit: cover; width: 100%; height: 100%;
  opacity: .14;
}
.hero-landing .container {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 360px; gap: 72px; align-items: center;
  padding-top: 48px; padding-bottom: 48px;
}
.hl-content .label { margin-bottom: 16px; display: block; }
.hl-content h1 { color: var(--white); margin-bottom: 18px; }
.hl-content h1 em { color: var(--gold); font-style: normal; }
.hl-content .hl-sub { color: rgba(255,255,255,.45); font-size: .95rem; margin-bottom: 28px; max-width: 480px; }
.hl-checks { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.hl-check { display: flex; gap: 10px; align-items: flex-start; }
.hl-check .chk { color: var(--gold); font-size: .7rem; margin-top: 4px; flex-shrink: 0; }
.hl-check span { color: rgba(255,255,255,.6); font-size: .875rem; }
.hl-btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-home .container  { grid-template-columns: 1fr; }
  .form-card             { display: none; }
  .hero-landing .container { grid-template-columns: 1fr; }
  .hero-landing .form-card { display: block; max-width: 420px; }
  .two-col               { grid-template-columns: 1fr; gap: 40px; }
  .two-col .col-img      { display: none; }
  .pilares-grid          { grid-template-columns: 1fr; }
  .services-grid         { grid-template-columns: repeat(2, 1fr); }
  .stats-band .container { grid-template-columns: repeat(2, 1fr); }
  .proceso-strip         { grid-template-columns: repeat(2, 1fr); }
  .cta-band .container   { grid-template-columns: 1fr; }
  .cta-actions           { align-items: flex-start; flex-direction: row; }
  .footer-main .container { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links              { display: none; }
  .nav-phone              { display: none; }
  .services-grid          { grid-template-columns: 1fr; }
  .proceso-strip          { grid-template-columns: 1fr; }
  .stats-band .container  { grid-template-columns: repeat(2, 1fr); }
  .trust-row .container   { justify-content: flex-start; overflow-x: auto; }
  .certs-row              { flex-direction: column; gap: 16px; }
  .cert-pill              { border-right: none; }
  .footer-main .container { grid-template-columns: 1fr; }
}
