/* ================================================================
   ALUS Corp — Estilos compartidos
   Usado por: sobre.html, servicios.html, aac.html,
              plataforma.html, contacto.html
================================================================ */

/* --- Reset & Variables --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --gold:        #c59e4b;
  --gold-light:  #d1b372;
  --gold-dark:   #a78336;
  --green:       #2a473c;
  --green-mid:   #3d6757;
  --green-dark:  #172721;
  --white:       #ffffff;
  --gray-50:     #f8f8f6;
  --gray-100:    #f0efeb;
  --gray-200:    #e4e2da;
  --gray-400:    #9d9b93;
  --gray-600:    #5c5a54;
  --gray-800:    #2d2c28;
  --fh: 'Montserrat', 'Arial Black', sans-serif;
  --fb: 'Lato', 'Arial', sans-serif;
  --container:   1200px;
  --r:           4px;
  --rm:          8px;
  --py:          88px;
}

body {
  font-family: var(--fb);
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---- Utilities ---- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 40px;
}
.chip {
  display: inline-block;
  font-family: var(--fh);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.chip--light { color: var(--gold-light); }
.rule {
  width: 44px; height: 3px;
  background: var(--gold);
  margin-block: 18px 28px;
}
.rule--center { margin-inline: auto; }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  font-family: var(--fh);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 15px 32px;
  border-radius: var(--r);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
  border: 2px solid transparent;
}
.btn-gold    { background: var(--gold);        color: #fff;         border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.btn-outline { background: transparent;        color: var(--gold);  border-color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: #fff; }
.btn-white   { background: transparent;        color: #fff;         border-color: rgba(255,255,255,.5); }
.btn-white:hover { background: rgba(255,255,255,.1); border-color: #fff; }

/* ---- Header ---- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--gray-200);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: box-shadow .2s;
}
.header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.08); }
.header__inner {
  display: flex; align-items: center;
  justify-content: space-between; height: 72px;
}
.header__logo img { height: 38px; width: auto; }

.nav-list { display: flex; align-items: center; gap: 30px; }
.nav-link {
  font-family: var(--fh); font-size: 11px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--gray-600); transition: color .2s; position: relative;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--gold); transition: width .2s;
}
.nav-link:hover,
.nav-link.active { color: var(--green); }
.nav-link.active::after,
.nav-link:hover::after { width: 100%; }

.nav-cta {
  font-family: var(--fh); font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--gold); padding: 9px 20px;
  border: 1.5px solid var(--gold); border-radius: var(--r);
  transition: background .2s, color .2s;
}
.nav-cta:hover,
.nav-cta.active { background: var(--gold); color: #fff; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px; background: none; border: none;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--green); }

.mobile-nav {
  display: none; position: fixed;
  top: 72px; left: 0; right: 0;
  background: #fff; border-top: 1px solid var(--gray-200);
  padding: 20px 40px 28px; z-index: 999;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.mobile-nav.open { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav .nav-link { padding: 11px 0; font-size: 13px; border-bottom: 1px solid var(--gray-100); display: block; }
.mobile-nav .nav-cta  { margin-top: 14px; text-align: center; padding: 13px; display: block; }

/* ---- Page Hero (interior pages) ---- */
.phero {
  padding-top: 72px;
  background: var(--green);
  padding-bottom: 72px;
  overflow: hidden; position: relative;
}
.phero--dark { background: var(--green-dark); }
.phero__inner { padding-top: 64px; position: relative; z-index: 1; }
.phero__crumb {
  font-family: var(--fh); font-size: 10px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold-light);
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
}
.phero__crumb::before {
  content: ''; display: block; width: 32px; height: 1px; background: var(--gold-light);
}
.phero__title {
  font-family: var(--fh);
  font-size: clamp(30px, 4.5vw, 54px);
  font-weight: 900; color: #fff; line-height: 1.1; max-width: 780px;
}
.phero__title em { font-style: normal; color: var(--gold-light); }
.phero__desc {
  font-size: 17px; color: rgba(255,255,255,.65);
  line-height: 1.8; max-width: 600px; margin-top: 20px;
}
.phero__deco {
  position: absolute; right: -80px; bottom: -80px;
  width: 360px; height: 360px; border-radius: 50%;
  border: 60px solid rgba(197,158,75,.06); pointer-events: none;
}
.phero__deco-2 {
  position: absolute; left: 60%; top: 50%; transform: translateY(-50%);
  opacity: .06; pointer-events: none;
}
.phero__deco-2 img { height: 180px; width: auto; filter: brightness(10); }

/* ---- Footer ---- */
.footer { background: var(--green-dark); padding-block: 56px 36px; }
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 56px; margin-bottom: 48px;
}
.footer__logo   { height: 34px; width: auto; margin-bottom: 18px; }
.footer__tagline {
  font-size: 13px; color: rgba(255,255,255,.45);
  line-height: 1.75; max-width: 320px; margin-bottom: 20px;
}
.footer__country {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; font-family: var(--fh); font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,.32);
}
.footer__country svg { width: 12px; height: 12px; fill: var(--gold); }
.footer__col-label {
  font-family: var(--fh); font-size: 10px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: rgba(255,255,255,.28); margin-bottom: 18px;
}
.footer__links  { display: flex; flex-direction: column; gap: 10px; }
.footer__flink  {
  font-size: 13px; color: rgba(255,255,255,.5);
  font-family: var(--fh); font-weight: 500; transition: color .2s;
}
.footer__flink:hover { color: var(--gold-light); }
.footer__info   {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: rgba(255,255,255,.45); margin-bottom: 10px; line-height: 1.5;
}
.footer__info svg { width: 13px; height: 13px; fill: var(--gold); flex-shrink: 0; margin-top: 3px; }
.footer__rule   { height: 1px; background: rgba(255,255,255,.07); margin-bottom: 24px; }
.footer__bottom {
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer__copy   {
  font-size: 11px; color: rgba(255,255,255,.22);
  font-family: var(--fh); font-weight: 600; letter-spacing: .5px;
}
.footer__legals { display: flex; gap: 20px; }
.footer__legal  {
  font-size: 10px; color: rgba(255,255,255,.22);
  font-family: var(--fh); font-weight: 600; letter-spacing: .5px;
  text-transform: uppercase; transition: color .2s;
}
.footer__legal:hover { color: var(--gold-light); }

/* ---- Shared content blocks ---- */
.section-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.section-row--rev { direction: rtl; }
.section-row--rev > * { direction: ltr; }

.section-title {
  font-family: var(--fh);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 900; color: var(--green-dark); line-height: 1.15;
}
.section-title--white { color: #fff; }
.section-body {
  font-size: 16px; color: var(--gray-600); line-height: 1.85;
}
.section-body + .section-body { margin-top: 16px; }

/* ---- CTA strip (shared) ---- */
.cta-strip {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  padding-block: 80px;
  text-align: center;
}
.cta-strip__title {
  font-family: var(--fh);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900; color: var(--green-dark); line-height: 1.2;
  max-width: 640px; margin-inline: auto; margin-bottom: 16px;
}
.cta-strip__desc {
  font-size: 16px; color: var(--gray-600); line-height: 1.8;
  max-width: 540px; margin-inline: auto; margin-bottom: 36px;
}
.cta-strip__actions {
  display: flex; justify-content: center; gap: 18px; flex-wrap: wrap;
}
.cta-strip__note {
  margin-top: 20px; font-size: 12px; color: var(--gray-400);
  font-family: var(--fh); font-weight: 600; letter-spacing: .5px;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .container { padding-inline: 28px; }
  .section-row { gap: 52px; }
}
@media (max-width: 768px) {
  :root { --py: 60px; }
  .container { padding-inline: 20px; }
  .nav-list  { display: none; }
  .hamburger { display: flex; }
  .section-row { grid-template-columns: 1fr; gap: 40px; }
  .section-row--rev { direction: ltr; }
  .footer__grid {
    grid-template-columns: 1fr; gap: 32px; margin-bottom: 32px;
  }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .phero__deco { display: none; }
  .phero__deco-2 { display: none; }
}
@media (max-width: 480px) {
  .cta-strip__actions { flex-direction: column; align-items: center; }
}
