/* ══════════════════════════════════════════════════════
   Arte Global Internacional — CSS Global
   Archivo: assets/css/global.css
   ══════════════════════════════════════════════════════ */

/* ── RESET & BASE ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --gold:        #C9A84C;
  --gold-light:  #E8C97A;
  --gold-dark:   #9B7A2E;
  --black:       #0A0A0A;
  --dark:        #111111;
  --dark-2:      #1A1A1A;
  --dark-3:      #222222;
  --gray:        #888888;
  --gray-light:  #CCCCCC;
  --white:       #FFFFFF;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Outfit', system-ui, sans-serif;

  --transition: 0.25s ease;
  --radius:     2px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

address {
  font-style: normal;
}

/* ── TIPOGRAFÍA COMPARTIDA ── */
.section-label {
  font-size: 1rem;
  font-weight: 600 !important;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::after {
  content: '';
  flex: 0 0 40px;
  height: 1px;
  background: var(--gold);
}
.section-label--center {
  justify-content: center;
}
.section-label--center::after {
  display: none;
}

.section-title {
  font-family: font-family:'Montserrat',sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}
.section-title em {
  font-style: normal;
  color: var(--gold);
}

.section-subtitle {
  font-size: 1rem;
  color: var(--black);
  font-weight: 300;
  line-height: 1.75;
  max-width: 580px;
}

/* ── BOTONES ── */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  padding: 0.9rem 2.2rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-block;
  border: 1px solid rgba(201,168,76,0.5);
  color: var(--gold);
  padding: 0.9rem 2.2rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-outline:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,0.08);
  transform: translateY(-2px);
}

.btn-dark {
  display: inline-block;
  background: var(--black);
  color: var(--gold);
  padding: 1rem 2.5rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.btn-dark:hover {
  background: var(--dark-3);
  transform: translateY(-2px);
}

/* ── NAVEGACIÓN ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.2rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201,168,76,0.15);
  transition: padding var(--transition);
}
#navbar.scrolled {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.nav-logo img {
  height: 48px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-light);
  transition: color var(--transition);
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  background: var(--gold);
  color: var(--black);
  padding: 0.55rem 1.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background var(--transition);
  white-space: nowrap;
}
.nav-cta:hover {
  background: var(--gold-light);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

/* ── MENÚ MÓVIL ── */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 999;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.mobile-menu:not([hidden]) {
  display: flex;
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.mobile-menu a {
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  transition: color var(--transition);
}
.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--gold);
}
.mobile-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.8rem;
  cursor: pointer;
  padding: 0.5rem;
  line-height: 1;
}

/* ── PAGE HERO (páginas internas) ── */
.page-hero {
  min-height: 75vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.35);
  z-index: 0;
}
.page-hero-breadcrumb {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50px;
  padding: 0.5rem 1.8rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 2rem;
  order: 3;
}
.page-hero-breadcrumb a { color: var(--white); }
.page-hero-breadcrumb span { color: rgba(255,255,255,0.7); }
.page-hero h1 {
  position: relative;
  z-index: 1;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 700;
  color: #F5A623;
  line-height: 1.1;
  max-width: 800px;
  margin-bottom: 1.2rem;
  order: 1;
}
.hero-desc {
  position: relative;
  z-index: 1;
  font-size: 1.5rem;
  color: rgba(255,255,255,0.85);
  font-weight: 300;
  max-width: 600px;
  line-height: 1.3;
  order: 2;
  margin-bottom: 1.5rem;
}

@media (max-width: 1024px) {
  .page-hero { padding: 8rem 2rem 4rem; min-height: 50vh; }
  .page-hero h1 { font-size: 2.8rem; }
}

/* ── TESTIMONIOS ── */
.testimonials {
  padding: 7rem 5rem;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}
.testimonial-card {
  background: var(--dark-2);
  border: 1px solid rgba(201,168,76,0.15);
  padding: 2.5rem;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.25;
  position: absolute;
  top: 0.5rem; left: 1.5rem;
  line-height: 1;
}
.testimonial-text {
  font-size: 1rem;
  color: var(--gray-light);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 2rem;
  margin-top: 1rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.testimonial-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(201,168,76,0.3);
}
.testimonial-name {
  font-weight: 600;
  font-size: 0.95rem;
}
.testimonial-role {
  font-size: 0.78rem;
  color: var(--gold);
  letter-spacing: 0.04em;
}

/* ── BANNER CTA ── */
.banner-cta {
  padding: 0;
  padding-left: 4rem;
  background: var(--gold);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}
.banner-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3rem);
  color: var(--black);
  font-weight: 700;
  max-width: 540px;
  line-height: 1.2;
  position: relative;
}

/* ── FOOTER CTA ── */
.contact-cta {
  padding: 0 4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to bottom, #ffffff 50%, var(--dark-2) 50%);
}
.contact-cta-card {
  margin: 4rem 0;
}
.contact-cta-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 16px;
  overflow: hidden;
  max-width: 1100px;
  width: 100%;
}
.contact-cta-img img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.contact-cta-text {
  background: #F5A623;
  padding: 4rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-cta-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1rem;
}
.contact-cta-text h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 2.2vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1.2rem;
}
.contact-cta-line {
  width: 40px; height: 3px;
  background: var(--white);
  margin-bottom: 2rem;
  border-radius: 2px;
}

@media (max-width: 1024px) {
  .contact-cta { padding: 1rem; }
  .contact-cta-card { grid-template-columns: 1fr; }
  .contact-cta-img { height: 280px; }
  .contact-cta-text { padding: 2.5rem 1.5rem; }
}

/* ── FOOTER ── */
footer {
  padding: 5rem 5rem 2rem;
  background: var(--dark-2);
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}
.footer-logo img {
  height: 52px;
  width: auto;
  margin-bottom: 1.2rem;
}
.footer-desc {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.footer-socials {
  display: flex;
  gap: 0.8rem;
}
.footer-social {
  width: 36px; height: 36px;
  border: 1px solid rgba(201,168,76,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0;
  text-transform: uppercase;
  transition: all var(--transition);
}
.footer-social:hover {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}
.footer-col-title {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-links a {
  font-size: 0.875rem;
  color: var(--gray);
  transition: color var(--transition);
  line-height: 1.4;
}
.footer-links a:hover {
  color: var(--white);
}
.footer-address p {
  font-size: 0.875rem;
  color: var(--gray);
  margin-bottom: 1rem;
  line-height: 1.6;
}
.footer-address a {
  color: var(--gray);
  transition: color var(--transition);
}
.footer-address a:hover {
  color: var(--white);
}
.footer-contact-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.25rem;
}
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--gray);
}
.footer-bottom a {
  color: var(--gray);
  transition: color var(--transition);
}
.footer-bottom a:hover {
  color: var(--gold);
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1200px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 1024px) {
  #navbar {
    padding: 1rem 2rem;
  }
  .nav-links,
  .nav-cta {
    display: none;
  }
  .hamburger {
    display: flex;
  }

  .page-hero {
    padding: 8rem 2rem 4rem;
  }

  .testimonials {
    padding: 5rem 2rem;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .banner-cta {
    flex-direction: column;
    text-align: center;
    padding: 0;
  }
  .banner-cta h2 {
    max-width: 100%;
  }

  .footer-cta {
    padding: 4rem 2rem;
  }
  .footer-cta-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-cta-actions {
    justify-content: center;
  }

  footer {
    padding: 4rem 2rem 2rem;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 640px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════
   NAV — WhatsApp derecha
══════════════════════════════════════ */
.nav-wa {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: opacity 0.25s;
}
.nav-wa:hover { opacity: 0.85; }

.nav-wa-icon {
  width: 44px; height: 44px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--white);
}

.nav-wa-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.nav-wa-label {
  font-size: 0.68rem;
  color: var(--gray-light);
  letter-spacing: 0.02em;
}
.nav-wa-number {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
}

/* ══════════════════════════════════════
   REDES SOCIALES — barra lateral izquierda
══════════════════════════════════════ */
.social-sidebar {
  position: fixed;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.social-sidebar-item {
  width: 40px; height: 40px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background 0.25s, transform 0.25s;
  position: relative;
}
.social-sidebar-item::after {
  content: attr(aria-label);
  position: absolute;
  left: 52px;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  white-space: nowrap;
  padding: 0.35rem 0.85rem;
  border-radius: 4px;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
}
.social-sidebar-item:hover::after {
  opacity: 1;
  transform: translateX(0);
}
.social-sidebar-item:hover {
  background: var(--gold-light);
  transform: scale(1.12);
}
.social-sidebar-item svg { display: block; }

/* ══════════════════════════════════════
   BOTONES HERO — estilo píldora (override para hero)
══════════════════════════════════════ */
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.9rem 2rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  border-radius: 50px;
  transition: all 0.25s;
  cursor: pointer;
  text-decoration: none;
  border: none;
  white-space: nowrap;
}
.btn-pill-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-pill-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}
.btn-pill-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-pill-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}
.btn-pill-arrow {
  width: 28px; height: 28px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* ══════════════════════════════════════
   RESPONSIVE — social sidebar oculto en móvil
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .social-sidebar { display: none; }
  .nav-wa { display: none; }
  .btn-pill { font-size: 0.88rem; padding: 0.8rem 1.4rem; gap: 8px; }
  .btn-pill-arrow { width: 24px; height: 24px; font-size: 0.8rem; }
}
