/* ================================================================
   SHARED.CSS — BASE COMPARTIDA 4RCHITEK
   Importado en todas las páginas internas
   ================================================================ */
@font-face {
  font-family: 'Montserrat';
  src: url('assets/fonts/montserrat-bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/inter-regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}

:root {
  --color-primary:   #1B3A5C;
  --color-cta:       #D4622A;
  --color-bg-light:  #FAFAF8;
  --color-bg-dark:   #0F2338;
  --color-text:      #2C2C2C;
  --color-separator: #C8C8C8;
  --color-white:     #FFFFFF;
  --font-heading: 'Montserrat', 'Trebuchet MS', sans-serif;
  --font-body:    'Inter', 'Helvetica Neue', Arial, sans-serif;
  --nav-height: 72px;
  --transition: 0.25s ease;
  --max-width: 1240px;
}

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

/* --- NAV --- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-height);
  display: flex; align-items: center;
  padding: 0 clamp(1.5rem, 5vw, 3rem);
  background: var(--color-bg-dark);
  box-shadow: 0 2px 24px rgba(0,0,0,0.3);
}
.nav__inner { width: 100%; max-width: var(--max-width); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.nav__logo { font-family: var(--font-heading); font-weight: 700; font-size: 1.35rem; color: var(--color-white); letter-spacing: -0.02em; }
.nav__logo span { color: var(--color-cta); }
.nav__links { display: flex; gap: clamp(1.5rem, 3vw, 2.5rem); }
.nav__links a { font-size: 0.82rem; color: rgba(255,255,255,0.75); letter-spacing: 0.06em; text-transform: uppercase; transition: color var(--transition); }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--color-cta); }
.nav__cta-btn { background: var(--color-cta); color: var(--color-white); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; padding: 0.6rem 1.3rem; border-radius: 2px; transition: background var(--transition); }
.nav__cta-btn:hover { background: #bf5525; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: white; border-radius: 2px; }

/* --- PAGE HERO (páginas internas) --- */
.page-hero {
  background: var(--color-bg-dark);
  padding: calc(var(--nav-height) + 4.5rem) clamp(1.5rem, 5vw, 3rem) 5rem;
}
.page-hero__inner { max-width: var(--max-width); margin: 0 auto; }
.page-hero__label { display: inline-flex; align-items: center; gap: 0.55rem; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-cta); margin-bottom: 1rem; }
.page-hero__label::after { content: ''; display: block; width: 28px; height: 1px; background: var(--color-cta); }
.page-hero__title { font-family: var(--font-heading); font-size: clamp(1.8rem, 3.5vw, 3rem); font-weight: 700; color: white; letter-spacing: -0.025em; line-height: 1.12; max-width: 700px; }
.page-hero__sub { margin-top: 1rem; font-size: 1rem; color: rgba(255,255,255,0.55); max-width: 560px; line-height: 1.7; }

/* --- HELPERS --- */
.section-label { display: inline-flex; align-items: center; gap: 0.55rem; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-cta); margin-bottom: 0.75rem; }
.section-label::after { content: ''; display: block; width: 32px; height: 1px; background: var(--color-cta); }
.section-title { font-family: var(--font-heading); font-size: clamp(1.5rem, 2.8vw, 2.2rem); font-weight: 700; color: var(--color-primary); line-height: 1.14; letter-spacing: -0.02em; }
.btn-primary { display: inline-flex; align-items: center; gap: 0.65rem; background: var(--color-cta); color: white; font-size: 0.92rem; font-weight: 600; padding: 0.95rem 1.75rem; border-radius: 2px; box-shadow: 0 4px 22px rgba(212,98,42,0.38); transition: background var(--transition), transform var(--transition), box-shadow var(--transition); }
.btn-primary:hover { background: #bf5525; transform: translateY(-2px); box-shadow: 0 8px 32px rgba(212,98,42,0.50); }
.btn-primary svg { width: 18px; height: 18px; flex-shrink: 0; }

/* --- FOOTER --- */
.footer { background: var(--color-primary); padding: 4.5rem clamp(1.5rem, 5vw, 3rem) 2.5rem; }
.footer__inner { max-width: var(--max-width); margin: 0 auto; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3.5rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer__brand-logo { font-family: var(--font-heading); font-size: 1.45rem; font-weight: 700; color: white; letter-spacing: -0.02em; margin-bottom: 0.9rem; }
.footer__brand-logo span { color: var(--color-cta); }
.footer__brand-tagline { font-size: 0.82rem; color: rgba(255,255,255,0.48); line-height: 1.65; margin-bottom: 1.5rem; }
.footer__social { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.footer__social-link { width: 36px; height: 36px; border-radius: 2px; border: 1px solid rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center; color: var(--color-separator); transition: border-color var(--transition), color var(--transition), background var(--transition); }
.footer__social-link:hover { border-color: var(--color-cta); color: white; background: rgba(212,98,42,0.15); }
.footer__social-link svg { width: 16px; height: 16px; }
.footer__col-title { font-family: var(--font-heading); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 1.25rem; }
.footer__links { display: flex; flex-direction: column; gap: 0.65rem; }
.footer__links a { font-size: 0.88rem; color: rgba(255,255,255,0.62); transition: color var(--transition); }
.footer__links a:hover { color: white; }
.footer__contact-item { display: flex; align-items: center; gap: 0.6rem; font-size: 0.86rem; color: rgba(255,255,255,0.62); margin-bottom: 0.65rem; transition: color var(--transition); }
.footer__contact-item:hover { color: white; }
.footer__contact-item svg { width: 15px; height: 15px; color: var(--color-cta); flex-shrink: 0; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 2rem; flex-wrap: wrap; gap: 1rem; }
.footer__copy { font-size: 0.78rem; color: rgba(255,255,255,0.28); }
.footer__legal { display: flex; gap: 1.5rem; }
.footer__legal a { font-size: 0.78rem; color: rgba(255,255,255,0.28); transition: color var(--transition); }
.footer__legal a:hover { color: rgba(255,255,255,0.6); }

/* --- WA FLOTANTE --- */
.whatsapp-float { position: fixed; bottom: 1.75rem; right: 1.75rem; z-index: 999; width: 56px; height: 56px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 18px rgba(37,211,102,0.45); transition: transform var(--transition), box-shadow var(--transition); }
.whatsapp-float:hover { transform: scale(1.09) translateY(-2px); box-shadow: 0 8px 28px rgba(37,211,102,0.58); }
.whatsapp-float svg { width: 28px; height: 28px; }
.whatsapp-float::before { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #25D366; animation: waPulse 2.8s ease-in-out infinite; }
@keyframes waPulse { 0%,100%{opacity:.55;transform:scale(1)}60%{opacity:0;transform:scale(1.35)} }

/* --- RESPONSIVE GLOBAL --- */
@media(max-width:768px){
  .nav__links,.nav__cta-btn{display:none}
  .nav__toggle{display:flex}
  .footer__top{grid-template-columns:1fr 1fr;gap:2rem}
}
@media(max-width:600px){
  .footer__top{grid-template-columns:1fr}
  .footer__bottom{flex-direction:column;align-items:flex-start}
}
