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

/* ============================================
   ESTUDIO GBAZ — HIGH-END EDITORIAL REDESIGN
   Palette: Onyx Black, Champagne Gold, Cream White
   ============================================ */

:root {
  /* Colors */
  --bg-darker:  #000000;
  --bg-dark:    #0a0a0c;
  --bg-gray:    #141416;
  --text-main:  #ffffff;
  --text-dim:   #a8a8a8;
  --text-dark:  #ffffff;
  --gold:       #e0b85a;
  --gold-dim:   rgba(224, 184, 90, 0.2);
  --gold-glow:  rgba(224, 184, 90, 0.08);
  
  /* Fonts */
  --font-display: 'Cinzel', serif;
  --font-body:    'Manrope', sans-serif;
  
  /* Layout */
  --container:    1320px;
  --pad-xl:       140px;
  --pad-lg:       90px;
  --pad-md:       60px;
  
  /* Utilities */
  --ease:         0.8s cubic-bezier(0.19, 1, 0.22, 1);
  --ease-fast:    0.3s ease;
}

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
}

a { text-decoration: none; color: inherit; transition: var(--ease-fast); }
ul { list-style: none; }

/* ---------- UTILITIES ---------- */
.pad-xl { padding: var(--pad-xl) 0; }
.pad-lg { padding: var(--pad-lg) 0; }
.mt-xl { margin-top: 80px; }
.mt-lg { margin-top: 40px; }
.mt-md { margin-top: 24px; }
.mt-sm { margin-top: 12px; }
.mb-lg { margin-bottom: 40px; }
.mb-xl { margin-bottom: 80px; }
.text-center, .center { text-align: center; }

.gold-text { color: var(--gold); }
.italic { font-style: italic; }
.bg-darker { background-color: var(--bg-darker); color: var(--text-main); }
.bg-dark { background-color: var(--bg-dark); color: var(--text-main); }
.bg-gray { background-color: var(--bg-gray); color: var(--text-main); }
.light { color: #fff !important; }

.w-100 { width: 100%; }

/* ---------- CONTAINERS & GRIDS ---------- */
.container-ed {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: max(1rem, 4vw, env(safe-area-inset-left, 0px));
  padding-right: max(1rem, 4vw, env(safe-area-inset-right, 0px));
}
.grid-ed {
  display: grid;
  gap: 40px;
}

/* NOISE OVERLAY */
.noise-overlay {
  position: fixed;
  inset: 0;
  background: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="a"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23a)" opacity="0.04"/%3E%3C/svg%3E');
  pointer-events: none;
  z-index: 9999;
}

/* ---------- NAVIGATION ---------- */
.nav-editorial {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: calc(90px + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  z-index: 1000;
  background: rgba(5, 5, 5, 0.85);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: #fff;
  transition: var(--ease);
}
.nav-editorial.scrolled {
  height: calc(70px + env(safe-area-inset-top, 0px));
  background: rgba(10, 10, 11, 0.95);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: #fff;
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 4vw;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.brand-logotype {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 2px;
}
.brand-img {
  height: 40px; width: 40px;
  border-radius: 0; /* Strict orthogonality */
  border: 1px solid var(--gold);
}
.nav-links-ed {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(18px, 2.5vw, 40px);
}
.nav-links-ed li {
  flex-shrink: 0;
}
.nav-links-ed li a {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  white-space: nowrap;
  padding-bottom: 4px;
  /* Contiene el ::after: sin esto, width:100% en inline no acota por ítem y las líneas se “rompen” */
  overflow: hidden;
}
.nav-links-ed li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: translateX(-101%);
  transform-origin: left center;
  transition: transform 0.4s ease;
}
.nav-links-ed li a:hover::after,
.nav-links-ed li a:focus-visible::after {
  transform: translateX(0);
}

.btn-outline-ed {
  padding: 12px 28px;
  border: 1px solid var(--gold);
  border-radius: 0;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: var(--gold);
}
.btn-outline-ed:hover {
  background: var(--gold);
  color: var(--bg-dark);
}

.menu-trigger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  width: 44px;
  height: 44px;
  padding: 12px 10px;
  box-sizing: border-box;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 1001;
  color: inherit;
}
.menu-trigger .menu-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  flex-shrink: 0;
}
.menu-trigger:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: 0.5s ease;
}
.mobile-menu-overlay.open {
  opacity: 1; pointer-events: all;
}
.mobile-links { text-align: center; }
.mobile-links li { margin: 20px 0; }
.mobile-links a {
  font-family: var(--font-display);
  font-size: 2rem;
  color: #fff;
  text-transform: uppercase;
}

/* ---------- HERO ---------- */
.hero-ed {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg-dark);
  color: #fff;
  overflow: hidden;
}
.hero-left {
  padding: 150px 4vw 80px 10vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.hero-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--gold);
  margin-bottom: 20px;
}
.hero-kicker::before {
  content: '';
  display: inline-block;
  width: 40px; height: 1px;
  background: var(--gold);
  margin-right: 15px;
  vertical-align: middle;
}
.hero-title {
  font-size: clamp(2.8rem, 8vw, 7rem);
  line-height: 0.95;
  margin-bottom: 30px;
  letter-spacing: -1px;
}
.hero-text {
  font-size: 1.1rem;
  color: var(--text-dim);
  max-width: 500px;
  margin-bottom: 40px;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.hero-badges .badge {
  border: 1px solid rgba(255,255,255,0.15);
  padding: 8px 16px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 0;
}
.btn-solid-ed {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background: var(--gold);
  color: var(--bg-dark);
  padding: 18px 40px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  cursor: pointer;
}
.btn-solid-ed:hover { background: #fff; }

.hero-right {
  position: relative;
}
.hero-visual-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, var(--bg-dark) 0%, rgba(10,10,12,0.1) 100%), url('img/hero-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-circle-accent {
  position: absolute;
  top: 50%; left: 0%;
  transform: translate(-50%, -50%);
  width: 60vh; height: 60vh;
  border: 1px solid rgba(224, 184, 90, 0.4);
  border-radius: 0; /* Orthogonal accent */
  animation: slowSpin 40s linear infinite;
}
.hero-circle-accent::before {
  content: '';
  position: absolute;
  top: 10%; left: 10%; right: 10%; bottom: 10%;
  border: 1px solid rgba(224, 184, 90, 0.2);
  border-radius: 0;
}
@keyframes slowSpin { 100% { transform: translate(-50%,-50%) rotate(360deg); } }

/* ---------- MARQUEE ---------- */
.marquee-scroller {
  background: var(--gold);
  color: var(--bg-dark);
  padding: 20px 0;
  overflow: hidden;
  white-space: nowrap;
  display: flex;
}
.marquee-content {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 2px;
  animation: scrollText 30s linear infinite;
}
.marquee-content .dot { margin: 0 20px; font-size: 0.8rem; }
@keyframes scrollText { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ---------- SECTION HEADINGS ---------- */
.section-heading {
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  color: #fff;
  margin-bottom: 20px;
}

/* ---------- ABOUT ---------- */
.about-grid {
  grid-template-columns: 1fr 1fr; /* Perfect symmetry */
  align-items: center;
  gap: 8vw;
}
.about-images {
  position: relative;
}
.about-images .img-main {
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
  z-index: 2;
  position: relative;
}
.about-images .img-accent {
  position: absolute;
  bottom: -30px; left: -30px;
  width: 80%; height: 80%;
  background: var(--bg-dark);
  z-index: 1;
}
.lead-text {
  font-size: 1.6rem;
  font-family: var(--font-display);
  color: var(--gold);
  line-height: 1.4;
}
.body-text {
  font-size: 1.1rem;
  color: var(--text-dark);
}
.mvv-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 40px;
}
.mvv-title {
  font-family: var(--font-body);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
  color: var(--gold);
}

/* ---------- SERVICES (MEGA CARDS) ---------- */
.services-layout {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.service-mega-card {
  background: var(--bg-darker);
  border: 1px solid rgba(255,255,255,0.05);
  display: grid;
  grid-template-columns: 1fr 2fr;
  transition: var(--ease);
}
.service-mega-card:hover { border-color: var(--gold-dim); }
.smc-header {
  padding: 60px;
  border-right: 1px solid rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.smc-icon {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 20px;
}
.smc-header h3 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}
.smc-tagline {
  font-style: italic;
  color: var(--text-dim);
  font-family: var(--font-display);
}
.smc-body {
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 24px;
  align-content: start;
}
.smc-feature {
  position: relative;
  background: linear-gradient(165deg, rgba(22, 22, 26, 0.95) 0%, rgba(10, 10, 12, 0.85) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 2px solid rgba(224, 184, 90, 0.35);
  padding: 22px 22px 24px 24px;
  transition:
    border-color 0.4s var(--ease-fast),
    box-shadow 0.4s var(--ease-fast),
    transform 0.45s var(--ease-fast),
    background 0.4s ease;
}
.smc-feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--gold) 0%, transparent 72%);
  opacity: 0.45;
  pointer-events: none;
}
.smc-feature:hover {
  border-color: rgba(224, 184, 90, 0.35);
  border-left-color: var(--gold);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(224, 184, 90, 0.12);
  transform: translateY(-3px);
  background: linear-gradient(165deg, rgba(28, 26, 22, 0.98) 0%, rgba(12, 12, 14, 0.95) 100%);
}
@media (prefers-reduced-motion: reduce) {
  .smc-feature {
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
  }
  .smc-feature:hover {
    transform: none;
  }
}
.smc-feature h4 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 10px;
  padding-top: 2px;
  letter-spacing: 0.02em;
}
.smc-feature h4::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  margin-top: 10px;
  background: var(--gold);
  opacity: 0.55;
}
.smc-feature p {
  color: var(--text-dim);
  font-size: clamp(0.9rem, 2.8vw, 0.95rem);
  line-height: 1.58;
  margin: 0;
}
.service-desc {
  grid-column: 1 / -1;
  font-size: clamp(1rem, 3.2vw, 1.1rem);
  color: var(--text-dim);
  margin-bottom: 20px;
  line-height: 1.55;
}
.clean-list {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 560px) {
  .service-mega-card .smc-body > .clean-list {
    grid-template-columns: 1fr 1fr;
  }
}
.clean-list li {
  color: #fff;
  font-size: clamp(0.92rem, 2.9vw, 0.95rem);
  position: relative;
  padding-left: 20px;
  line-height: 1.45;
}
.clean-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
}
.pricing-ed .tier-body .clean-list {
  grid-column: unset;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
  margin: 0;
  padding: 0;
  justify-content: flex-start;
}
.pricing-ed .tier-body .clean-list li::before {
  display: none;
}
.pricing-ed .tier-body .clean-list li {
  padding-left: 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.5;
}
.pricing-ed .tier-body .clean-list li i {
  flex-shrink: 0;
  margin-top: 3px;
}

/* ---------- TEAM ---------- */
.team-showcase {
  grid-template-columns: repeat(3, 1fr);
  gap: 60px 40px;
  align-items: stretch;
}
.team-member {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.member-photo {
  width: 100%;
  aspect-ratio: 1/1; /* Orthogonal perfect square */
  overflow: hidden;
  position: relative;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,0.15);
  background: var(--bg-gray);
}
.member-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.5s ease;
}
.team-member:hover .member-photo img { transform: scale(1.05); }
.member-photo-brand {
  background: linear-gradient(160deg, #f0f2f5 0%, #dfe3e9 55%, #d4d9e1 100%);
}
.member-photo-brand img {
  object-fit: contain;
  padding: clamp(12px, 5vw, 28px);
  transform: none;
}
.team-member:hover .member-photo-brand img { transform: scale(1.02); }

.placeholder-dark {
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
.placeholder-dark .initials {
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.2;
}
.member-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--ease);
}
.team-member:hover .member-overlay { opacity: 1; }
.member-link {
  width: 50px; height: 50px;
  border-radius: 0;
  background: var(--gold);
  color: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.member-info {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.member-name {
  font-size: clamp(1.35rem, 5vw, 1.8rem);
  margin-bottom: 5px;
  line-height: 1.15;
  min-height: 2.7em;
}
.member-role {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: clamp(0.68rem, 2.2vw, 0.75rem);
  font-weight: 700;
  margin-bottom: 8px;
  min-height: 2.6em;
  display: flex;
  align-items: center;
}
.member-years {
  font-family: var(--font-body);
  font-size: clamp(0.8rem, 2.6vw, 0.88rem);
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: 0.06em;
  text-transform: none;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(224, 184, 90, 0.25);
  min-height: 3.1em;
  display: flex;
  align-items: center;
}
.member-desc {
  font-size: clamp(0.9rem, 2.9vw, 0.95rem);
  color: var(--text-dim);
  line-height: 1.58;
  margin-top: 0;
}

/* ---------- PRICING ---------- */
.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 40px);
  align-items: stretch;
}
.price-tier {
  --tier-pad: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  background: linear-gradient(180deg, rgba(18, 18, 20, 0.98) 0%, rgba(10, 10, 12, 0.99) 100%);
  color: #fff;
  padding: var(--tier-pad);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.price-tier:hover {
  border-color: rgba(224, 184, 90, 0.28);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.45);
}
.mt-card-offset { margin-top: 0; }
.tier-top {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 12.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: clamp(24px, 3vw, 36px);
  margin-bottom: clamp(24px, 3vw, 36px);
}
.tier-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.6vw, 1.3rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.3;
  color: var(--gold);
  text-transform: none;
  padding: 14px 16px 14px 18px;
  background: rgba(224, 184, 90, 0.07);
  border: 1px solid rgba(224, 184, 90, 0.28);
  border-left: 4px solid var(--gold);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.premium .tier-title {
  background: rgba(224, 184, 90, 0.1);
  border-color: rgba(224, 184, 90, 0.4);
}
.tier-price {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 10vw, 4rem);
  line-height: 1.05;
  margin: clamp(12px, 2vw, 18px) 0;
  word-break: keep-all;
  overflow-wrap: normal;
  flex-shrink: 0;
}
.tier-desc {
  color: var(--text-dim);
  font-size: clamp(0.9rem, 2.5vw, 0.98rem);
  line-height: 1.45;
  max-width: 28ch;
}
.tier-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.premium {
  background: linear-gradient(165deg, rgba(16, 14, 12, 0.99) 0%, rgba(8, 8, 10, 1) 100%);
  border: 1px solid rgba(224, 184, 90, 0.35);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(224, 184, 90, 0.08);
}
.premium:hover {
  border-color: rgba(224, 184, 90, 0.5);
}
.tier-accent {
  position: absolute;
  top: 0;
  right: 0;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle at top right, rgba(224, 184, 90, 0.12), transparent 62%);
  pointer-events: none;
}

.modalities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: transparent;
  border: none;
  padding: 0;
}
.mod-item {
  background: var(--bg-darker);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 40px 30px;
  text-align: center;
}
.mod-item i { font-size: 2rem; margin-bottom: 18px; display: block; }
.mod-item h4 { font-family: var(--font-body); font-size: 1.1rem; margin-bottom: 12px; }

/* ---------- FAQ (SEO / snippets) ---------- */
.faq-ed {
  border-top: 1px solid rgba(224, 184, 90, 0.12);
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 920px;
  margin: 0 auto;
}
.faq-item {
  background: var(--bg-gray);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 28px 32px;
  text-align: left;
}
.faq-q {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 3vw, 1.25rem);
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 14px;
  line-height: 1.3;
}
.faq-a {
  font-size: clamp(0.92rem, 2.8vw, 0.98rem);
  color: var(--text-dim);
  line-height: 1.62;
}
.faq-a a { text-decoration: none; border-bottom: 1px solid rgba(224, 184, 90, 0.35); }

.footer-internal-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 22px;
  padding-bottom: 28px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-internal-nav a {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-dim);
}
.footer-internal-nav a:hover { color: var(--gold); }
.footer-bar-inner {
  width: 100%;
  align-items: center;
}

/* ---------- CONTACT / FOOTER ---------- */
.contact-ed {
  background: var(--bg-dark);
  color: #fff;
}
.contact-grid {
  grid-template-columns: 1fr 1.3fr;
  gap: 6vw;
}
.giant-heading {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--gold);
}
.info-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.info-list li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.info-list i {
  font-size: 1.3rem;
  color: var(--gold);
  margin-top: 4px;
  flex-shrink: 0;
}
.info-list strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
}
.hover-gold:hover { color: var(--gold); }
.mails-grid { display: flex; flex-direction: column; gap: 8px; }
.mails-grid .mail-link {
  word-break: break-word;
  overflow-wrap: anywhere;
  font-size: clamp(0.82rem, 2.3vw, 0.93rem);
  line-height: 1.45;
}
.form-mail-hint {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 22px;
  line-height: 1.55;
}
.form-mail-hint strong { color: var(--gold); font-weight: 600; }
.contact-form-side .honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.form-status { margin-top: 16px; font-size: 0.9rem; min-height: 1.35em; line-height: 1.45; }
.form-status-ok { color: #8fd4a8; }
.form-status-err { color: #e8a0a0; }

.form-container {
  position: relative;
  background: var(--bg-darker);
  padding: 60px;
  border: 1px solid rgba(255,255,255,0.15);
}
.form-title { font-size: 2rem; margin-bottom: 30px; }
.input-line { margin-bottom: 20px; }
.input-line input, .input-line textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding: 15px 0;
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: 0.3s;
}
.input-line input:focus, .input-line textarea:focus {
  outline: none;
  border-bottom-color: var(--gold);
}
.input-line textarea { resize: none; }
.input-line select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding: 15px 0;
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: 0.3s;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23e0b85a' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 5px center;
}
.input-line select:focus {
  outline: none;
  border-bottom-color: var(--gold);
}
.input-line select:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.input-line select option {
  background: var(--bg-darker);
  color: #fff;
}

.char-count {
  display: block;
  text-align: right;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 8px;
}
.char-count.over-limit {
  color: #e05a5a;
  font-weight: 600;
}

.form-disclaimers {
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.8;
}
.form-disclaimers .disclaimer-note {
  color: var(--gold);
  font-style: italic;
  opacity: 0.85;
}

.mb-md { margin-bottom: 24px; }

.footer-bar {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
}
.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand-logotype.small { font-size: 1.2rem; }
.brand-logotype.small .brand-img { width: 30px; height: 30px; }
.legal-text { text-align: right; font-size: 0.85rem; color: var(--text-dim); }
.footer-credit { opacity: 0.5; font-size: 0.8em; }
.footer-credit a { text-decoration: underline; }

.fab-wpp {
  position: fixed;
  bottom: max(24px, env(safe-area-inset-bottom, 0px) + 12px);
  right: max(20px, env(safe-area-inset-right, 0px) + 12px);
  width: 60px; height: 60px;
  background: #25d366;
  color: #fff;
  border-radius: 0; /* Orthogonal */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  z-index: 1000;
  box-shadow: 0 10px 30px rgba(37,211,102,0.3);
  transition: 0.3s;
}
.fab-wpp:hover { transform: scale(1.1); }
.d-none-mobile { display: inline-flex; }

/* ---------- REVEAL ANIMATIONS (Fallback without JS initially) ---------- */
.reveal-up { opacity: 0; transform: translateY(40px); transition: 1s cubic-bezier(0.19, 1, 0.22, 1); }
.reveal-scale { opacity: 0; transform: scale(0.95); transition: 1s cubic-bezier(0.19, 1, 0.22, 1); }
.reveal-fade { opacity: 0; transition: 1s ease; }

.reveal-up.active, .reveal-scale.active, .reveal-fade.active {
  opacity: 1; transform: translate(0) scale(1);
}

.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }
.delay-5 { transition-delay: 0.5s !important; }

.pricing-ed .pricing-lead {
  max-width: min(52ch, 100%);
  margin-left: auto;
  margin-right: auto;
  font-family: var(--font-body);
  font-size: clamp(0.82rem, 1.9vw, 0.98rem);
  font-weight: 400;
  color: var(--text-dim);
  line-height: 1.65;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  :root {
    --pad-xl: 80px;
    --pad-lg: 56px;
  }
  .hero-ed {
    grid-template-columns: 1fr;
    background-color: var(--bg-darker);
    background-image:
      linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(10, 10, 12, 0.82) 38%, rgba(10, 10, 12, 0.94) 100%),
      url('img/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
  }
  .hero-left {
    padding: calc(110px + env(safe-area-inset-top, 0px)) max(4vw, 1rem) 72px;
    text-align: center;
  }
  .hero-badges { justify-content: center; }
  /* La imagen va en el fondo del hero; la columna derecha duplicaría la foto */
  .hero-right { display: none; }
  
  .about-grid { grid-template-columns: 1fr; }
  .service-mega-card { grid-template-columns: 1fr; }
  .smc-header { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.05); padding: 32px max(28px, 4vw); }
  .smc-body { padding: 32px max(28px, 4vw); grid-template-columns: 1fr; gap: 28px; }
  .smc-header h3 { font-size: clamp(1.5rem, 5vw, 2.2rem); }
  
  .team-showcase { grid-template-columns: repeat(2, 1fr); }
  .pricing-cards { grid-template-columns: 1fr; }
  .price-tier { padding: 36px max(24px, 4vw); }
  .tier-top { padding-bottom: 28px; margin-bottom: 28px; }
  .mt-card-offset { margin-top: 0; }
  .modalities { grid-template-columns: 1fr; }
  
  .contact-grid { grid-template-columns: 1fr; }
  .form-container { padding: 40px; }
}

@media (max-width: 768px) {
  :root {
    --pad-xl: 56px;
    --pad-lg: 44px;
  }
  .nav-links-ed, .d-none-mobile { display: none; }
  .menu-trigger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    color: var(--gold);
    min-width: 44px;
    min-height: 44px;
    width: 44px;
    height: 44px;
    padding: 13px 10px;
  }
  .nav-editorial.scrolled .menu-trigger { color: #fff; }
  
  .team-showcase { grid-template-columns: 1fr; gap: 48px 0; }
  
  .flex-between { flex-direction: column; gap: 20px; text-align: center; }
  .legal-text { text-align: center; }

  .section-heading { margin-bottom: 14px; }
  .lead-text { font-size: clamp(1.05rem, 4vw, 1.45rem); }
  .mobile-menu-overlay { padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
}

@media (max-width: 380px) {
  .pricing-ed .tier-body .clean-list li {
    font-size: 0.88rem;
  }
}
