/* ============================================================
   CISNE GROUP — Estilos compartidos (landing + Cisne Facility)
   ============================================================ */

:root {
  --navy: #1d2647;
  --navy-deep: #0c121d;
  --navy-soft: #2a3660;
  --gray-text: #646c71;
  --gray-line: #e6e8ec;
  --light-bg: #f5f6f8;
  --white: #ffffff;
  --gold: #fcaf17;
  --gold-dark: #e09b0e;
  --teal: #14a382;
  --teal-dark: #0f8069;
  --whatsapp: #25d366;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 4px 16px rgba(12, 18, 29, 0.06);
  --shadow: 0 16px 40px rgba(12, 18, 29, 0.12);
  --shadow-lg: 0 24px 60px rgba(12, 18, 29, 0.18);

  --font-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--navy-deep);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
section { position: relative; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--navy-deep);
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; color: var(--gray-text); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.eyebrow.teal { color: var(--teal); }

.section-title {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  line-height: 1.15;
}

.section-lead {
  max-width: 640px;
  font-size: 1.05rem;
}

.center { text-align: center; margin-left: auto; margin-right: auto; }

.pad {
  padding: 90px 0;
}
@media (max-width: 768px) {
  .pad { padding: 60px 0; }
}

.pad-sm { padding: 56px 0; }

.bg-light { background: var(--light-bg); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--white); }
.bg-navy p { color: rgba(255,255,255,0.72); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-dark); box-shadow: var(--shadow); }

.btn-teal { background: var(--teal); color: var(--white); }
.btn-teal:hover { background: var(--teal-dark); box-shadow: var(--shadow); }

.btn-outline { background: transparent; border-color: rgba(255,255,255,0.5); color: var(--white); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

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

.btn-black { background: var(--navy-deep); color: var(--white); }
.btn-black:hover { background: #000; box-shadow: var(--shadow); }

.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header.is-scrolled {
  background: var(--white);
  padding: 14px 0;
  box-shadow: var(--shadow-sm);
}

.brand {
  display: flex;
  align-items: center;
}
.brand-logo {
  height: 42px;
  width: auto;
  transition: height 0.3s ease;
}
.site-header.is-scrolled .brand-logo { height: 34px; }
.brand-logo-dark { display: none; }
.site-header.is-scrolled .brand-logo-light { display: none; }
.site-header.is-scrolled .brand-logo-dark { display: block; }
.brand-sub {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.65;
  font-weight: 500;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.header-nav a:not(.btn) {
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0.85;
  transition: opacity 0.2s ease, color 0.3s ease;
}
.header-nav a:not(.btn):hover { opacity: 1; }
.site-header.is-scrolled .header-nav a:not(.btn) { color: var(--navy-deep); }

.header-nav .btn { padding: 10px 22px; font-size: 0.85rem; }

@media (max-width: 860px) {
  .header-nav a:not(.btn) { display: none; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.6);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
.footer-grid h4 {
  color: var(--white);
  font-size: 1rem;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer-brand { margin-bottom: 14px; }
.footer-brand img { height: 40px; width: auto; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { opacity: 0.75; transition: opacity 0.2s; }
.footer-links a:hover { opacity: 1; color: var(--gold); }

.social-row { display: flex; gap: 12px; margin-top: 6px; }
.social-row a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.social-row a:hover { background: var(--gold); border-color: var(--gold); }
.social-row svg { width: 16px; height: 16px; }

.footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Icons ---------- */
.icon-badge {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.icon-badge svg { width: 30px; height: 30px; stroke: currentColor; fill: none; }
.icon-badge.gold { background: rgba(252, 175, 23, 0.12); color: var(--gold-dark); }
.icon-badge.teal { background: rgba(20, 163, 130, 0.12); color: var(--teal-dark); }
