/* ============================================
   K&G ENERGY · Version A
   "Heritage Refined" — Dark luxury editorial
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&display=swap');

:root {
  /* Paleta */
  --black: #0E0E12;
  --black-deep: #08080B;
  --black-soft: #14141A;
  --ivory: #F9F5EB;
  --gold: #C6A149;
  --gold-bright: #D9B767;
  --gold-deep: #9E7C2C;
  --gold-soft: rgba(198, 161, 73, 0.15);
  --gold-line: rgba(198, 161, 73, 0.3);
  --text-light: rgba(249, 245, 235, 0.85);
  --text-muted: rgba(249, 245, 235, 0.55);
  --text-faint: rgba(249, 245, 235, 0.35);
  
  /* Tipografía */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Poppins', -apple-system, sans-serif;
  
  /* Espaciado fluido */
  --section-pad: clamp(4rem, 10vh, 8rem);
  --container-max: 1280px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

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

::selection {
  background: var(--gold);
  color: var(--black);
}

/* Grain overlay para textura premium */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 3rem);
  position: relative;
  z-index: 2;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  background: rgba(8, 8, 11, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gold-line);
  transition: padding 0.3s ease;
}

.nav.scrolled {
  padding: 0.75rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 3rem);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-brand img {
  width: 42px;
  height: 42px;
  transition: transform 0.4s ease;
}

.nav-brand:hover img {
  transform: rotate(15deg);
}

.nav-brand-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--ivory);
  letter-spacing: 1px;
}

.nav-brand-text span {
  color: var(--gold);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-link {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-light);
  text-decoration: none;
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--gold-bright);
}

.nav-link:hover::after {
  width: 100%;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-left: 1px solid var(--gold-line);
  padding-left: 1.5rem;
  margin-left: 0.5rem;
}

.lang-btn {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--text-faint);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.lang-btn.active {
  color: var(--gold);
}

.lang-btn:hover {
  color: var(--gold-bright);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--gold);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

@media (max-width: 900px) {
  .nav-menu {
    position: fixed;
    top: 73px;
    right: 0;
    width: 100%;
    height: calc(100vh - 73px);
    background: var(--black-deep);
    flex-direction: column;
    justify-content: center;
    gap: 3rem;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    border-top: 1px solid var(--gold-line);
  }
  
  .nav-menu.open {
    transform: translateX(0);
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  
  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  
  .lang-switch {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--gold-line);
    padding-top: 2rem;
    margin-top: 1rem;
  }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 8rem 0 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse at top right, rgba(198, 161, 73, 0.08) 0%, transparent 50%),
              radial-gradient(ellipse at bottom left, rgba(198, 161, 73, 0.04) 0%, transparent 50%);
}

.hero-ornament {
  position: absolute;
  top: 20%;
  right: -10%;
  width: 600px;
  height: 600px;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  opacity: 0.4;
  animation: slowRotate 60s linear infinite;
}

.hero-ornament::before {
  content: '';
  position: absolute;
  inset: 60px;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  opacity: 0.5;
}

@keyframes slowRotate {
  to { transform: rotate(360deg); }
}

.hero-globe {
  position: absolute;
  top: 20%;
  right: -10%;
  width: 600px;
  height: 600px;
  color: var(--gold);
  opacity: 0.07;
  z-index: 1;
  pointer-events: none;
}

@media (max-width: 768px) {
  .hero-globe { width: 420px; height: 420px; top: 28%; right: -28%; opacity: 0.05; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 1s 0.2s ease forwards;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -1px;
  color: var(--ivory);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 1s 0.4s ease forwards;
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
  font-weight: 500;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  font-weight: 300;
  color: var(--text-light);
  margin-bottom: 1rem;
  max-width: 650px;
  opacity: 0;
  animation: fadeUp 1s 0.6s ease forwards;
}

.hero-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold-bright);
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeUp 1s 0.8s ease forwards;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s 1s ease forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.25rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(198, 161, 73, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn-ghost:hover {
  background: var(--gold-soft);
  transform: translateY(-2px);
}

.btn::after {
  content: '→';
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.btn:hover::after {
  transform: translateX(4px);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-faint);
  opacity: 0;
  animation: fadeUp 1s 1.2s ease forwards;
}

.hero-scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.6); opacity: 0.5; }
}

/* ============================================
   SECTION GENERAL
   ============================================ */
section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.section-label::before {
  content: '';
  width: 45px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

/* Centered variant: a line on each side, flex-based so it never overlaps text */
.section-label.centered {
  justify-content: center;
}

.section-label.centered::after {
  content: '';
  width: 45px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--ivory);
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.section-title em {
  font-style: italic;
  color: var(--gold);
}

.section-intro {
  font-size: 1.1rem;
  max-width: 700px;
  color: var(--text-light);
  margin-bottom: 4rem;
  line-height: 1.7;
}

/* ============================================
   MISSION SECTION
   ============================================ */
.mission {
  background: var(--black-deep);
  border-top: 1px solid var(--gold-line);
  border-bottom: 1px solid var(--gold-line);
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

@media (max-width: 900px) {
  .mission-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.mission-text p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  color: var(--text-light);
}

.mission-text p:first-of-type {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--gold-bright);
  line-height: 1.4;
}

.mission-meta {
  border-left: 1px solid var(--gold-line);
  padding-left: 3rem;
}

.mission-meta-item {
  margin-bottom: 2.5rem;
}

.mission-meta-label {
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.mission-meta-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ivory);
  line-height: 1.3;
}

/* ============================================
   STATS
   ============================================ */
.stats {
  background: var(--black);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--gold-line);
}

@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.stat {
  padding: 3rem 2rem;
  text-align: center;
  border-right: 1px solid var(--gold-line);
  position: relative;
  transition: background 0.4s ease;
}

.stat:last-child {
  border-right: none;
}

@media (max-width: 900px) {
  .stat {
    border-right: none;
    border-bottom: 1px solid var(--gold-line);
  }
  .stat:nth-child(odd) {
    border-right: 1px solid var(--gold-line);
  }
  .stat:nth-last-child(-n+2) {
    border-bottom: none;
  }
}

.stat:hover {
  background: var(--gold-soft);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.75rem;
  letter-spacing: -2px;
}

.stat-headline {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 500;
  color: var(--gold);
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: 0.3px;
  min-height: 2.4em;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .stat-headline { min-height: auto; }
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-light);
}

/* ============================================
   HERITAGE / FAMILIES
   ============================================ */
.heritage {
  background: var(--black-soft);
}

.heritage-intro {
  text-align: center;
  margin-bottom: 5rem;
}

.families-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  position: relative;
}

@media (max-width: 900px) {
  .families-grid {
    grid-template-columns: 1fr;
  }
}

.family-card {
  padding: 3rem;
  background: var(--black-deep);
  border: 1px solid var(--gold-line);
  position: relative;
  transition: border-color 0.4s ease;
}

.family-card:hover {
  border-color: var(--gold);
}

.family-card::before {
  content: '';
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 30px;
  height: 30px;
  border-top: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
}

.family-card::after {
  content: '';
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  width: 30px;
  height: 30px;
  border-bottom: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
}

.family-monogram {
  width: 70px;
  height: 70px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.family-name {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  color: var(--ivory);
  margin-bottom: 0.5rem;
}

.family-since {
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
}

.family-story {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-light);
}

/* ============================================
   PRODUCTS
   ============================================ */
.products {
  background: var(--black);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (max-width: 900px) {
  .products-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

.product-card {
  padding: 2.5rem 2rem;
  background: var(--black-deep);
  border: 1px solid var(--gold-line);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.5s ease;
}

.product-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  background: var(--black-soft);
}

.product-card:hover::before {
  width: 100%;
}

.product-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
  color: var(--gold);
  stroke-width: 1.2;
}

.product-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ivory);
  margin-bottom: 0.5rem;
}

.product-specs {
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 500;
}

.product-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.products-note {
  text-align: center;
  margin-top: 3rem;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold-bright);
  font-size: 1.1rem;
}

/* ============================================
   HOW WE OPERATE
   ============================================ */
.operate {
  background: var(--black);
  border-top: 1px solid var(--gold-line);
  position: relative;
}

.operate-intro {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem;
  align-items: end;
  margin-bottom: 5rem;
}

@media (max-width: 900px) {
  .operate-intro {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.operate-intro-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--gold-bright);
  line-height: 1.5;
}

.operate-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

@media (max-width: 1100px) {
  .operate-flow {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .operate-flow {
    grid-template-columns: 1fr;
  }
}

.operate-step {
  padding: 2.5rem 2rem;
  background: var(--black-deep);
  border: 1px solid var(--gold-line);
  position: relative;
  transition: all 0.4s ease;
  margin-left: -1px;
  margin-top: -1px;
}

.operate-step:hover {
  background: var(--black-soft);
  z-index: 2;
  border-color: var(--gold);
}

.operate-step-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 3rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 1.25rem;
  opacity: 0.5;
}

.operate-step-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--ivory);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.operate-step-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.operate-pillars {
  margin-top: 5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 900px) {
  .operate-pillars {
    grid-template-columns: 1fr;
  }
}

.operate-pillar {
  padding: 2rem 0;
  border-left: 1px solid var(--gold);
  padding-left: 2rem;
}

.operate-pillar-label {
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.operate-pillar-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--ivory);
  line-height: 1.3;
}


.services {
  background: var(--black-deep);
  border-top: 1px solid var(--gold-line);
  border-bottom: 1px solid var(--gold-line);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service {
  text-align: center;
}

.service-icon-wrap {
  width: 90px;
  height: 90px;
  margin: 0 auto 2rem;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-soft);
  transition: transform 0.4s ease;
}

.service:hover .service-icon-wrap {
  transform: scale(1.05) rotate(5deg);
}

.service-icon-wrap svg {
  width: 40px;
  height: 40px;
  color: var(--gold);
  stroke-width: 1.2;
}

.service-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ivory);
  margin-bottom: 1rem;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
  max-width: 320px;
  margin: 0 auto;
}

/* ============================================
   VALUES
   ============================================ */
.values {
  background: var(--black);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

@media (max-width: 900px) {
  .values-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.value {
  text-align: center;
  padding: 2.5rem 1.5rem;
  position: relative;
}

.value-number {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.value-name {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--ivory);
  margin-bottom: 1rem;
}

.value-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  background: var(--black-deep);
  border-top: 1px solid var(--gold-line);
}

.contact-center {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.contact-email-lead {
  display: inline-block;
  font-family: var(--font-display, 'Cormorant Garamond', serif);
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 500;
  color: var(--ivory, #F9F5EB);
  text-decoration: none;
  letter-spacing: 0.5px;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--gold-line, rgba(198,161,73,0.25));
  transition: color 0.3s ease, border-color 0.3s ease;
}

.contact-email-lead:hover {
  color: var(--gold-bright, #D9B767);
  border-bottom-color: var(--gold, #C6A149);
}

.contact-email-note {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted, rgba(249,245,235,0.62));
  max-width: 520px;
  margin: 2rem auto 0;
}

.contact-meta {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--gold-line, rgba(198,161,73,0.18));
}

@media (max-width: 600px) {
  .contact-meta { flex-direction: column; gap: 2rem; }
}

.contact-meta-item { flex: 1; max-width: 280px; }

.contact-meta-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold, #C6A149);
  margin-bottom: 0.85rem;
}

.contact-meta-value {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-soft, rgba(249,245,235,0.82));
}

.contact-meta-divider {
  width: 1px;
  background: var(--gold-line, rgba(198,161,73,0.18));
}

@media (max-width: 600px) {
  .contact-meta-divider { width: 100%; height: 1px; }
}


/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--black-deep);
  border-top: 1px solid var(--gold-line);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-brand img {
  width: 56px;
  height: 56px;
}

.footer-brand-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ivory);
}

.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.footer-legal {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.75rem;
}

.footer-col a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid var(--gold-line);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  font-size: 0.82rem;
  color: var(--text-faint);
  letter-spacing: 1px;
}

.footer-meta {
  font-size: 0.82rem;
  color: var(--text-faint);
  letter-spacing: 1px;
}

/* ============================================
   REVEAL ON SCROLL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1), transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   UTILITIES
   ============================================ */
.fade-in {
  animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ============================================
   COMPLIANCE & RESPONSIBILITY
   ============================================ */
.compliance {
  background: var(--black-deep, #08080B);
  position: relative;
  overflow: hidden;
}

/* Subtle concentric-arc texture (security / global reach motif) */
.compliance::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -10%;
  width: 900px;
  height: 900px;
  transform: translateY(-50%);
  background-image:
    radial-gradient(circle, transparent 0, transparent 38%, rgba(198,161,73,0.05) 38.3%, transparent 39%),
    radial-gradient(circle, transparent 0, transparent 48%, rgba(198,161,73,0.045) 48.3%, transparent 49%),
    radial-gradient(circle, transparent 0, transparent 58%, rgba(198,161,73,0.04) 58.3%, transparent 59%),
    radial-gradient(circle, transparent 0, transparent 68%, rgba(198,161,73,0.03) 68.3%, transparent 69%);
  pointer-events: none;
  z-index: 0;
}

.compliance .container { position: relative; z-index: 1; }

.compliance-intro {
  max-width: 720px;
  margin-bottom: 4.5rem;
}

.compliance-intro .section-intro {
  margin-top: 1.5rem;
}

.compliance-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--gold-line, rgba(198,161,73,0.18));
  border: 1px solid var(--gold-line, rgba(198,161,73,0.18));
}

@media (max-width: 760px) {
  .compliance-grid { grid-template-columns: 1fr; }
}

.compliance-item {
  background: var(--black-deep, #08080B);
  padding: 2.75rem 2.5rem;
  transition: background 0.4s ease;
}

.compliance-item:hover {
  background: #0c0c10;
}

.compliance-icon {
  width: 30px;
  height: 30px;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.compliance-icon svg { width: 100%; height: 100%; }

.compliance-name {
  font-family: var(--font-display, 'Cormorant Garamond', serif);
  font-size: 1.5rem;
  color: var(--ivory, #F9F5EB);
  margin-bottom: 0.9rem;
  letter-spacing: 0.3px;
}

.compliance-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted, rgba(249,245,235,0.62));
}

.compliance-footnote {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gold-line, rgba(198,161,73,0.18));
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.compliance-footnote-text {
  font-size: 0.85rem;
  color: var(--text-faint, rgba(249,245,235,0.4));
  line-height: 1.6;
  letter-spacing: 0.3px;
}

.compliance-footnote-text strong {
  color: var(--gold);
  font-weight: 500;
}

/* ============================================
   MULTIPAGE — Page hero (internal pages)
   ============================================ */
.page-hero {
  position: relative;
  padding: 11rem 0 5rem;
  background: var(--midnight, #0E0E12);
  border-bottom: 1px solid var(--gold-line, rgba(198,161,73,0.18));
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(198,161,73,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.page-hero-label::before {
  content: '';
  width: 45px; height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--ivory, #F9F5EB);
  max-width: 16ch;
}
.page-hero-title em { font-style: italic; color: var(--gold); }

.page-hero-intro {
  margin-top: 1.75rem;
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-muted, rgba(249,245,235,0.62));
  max-width: 60ch;
}

/* Active nav link */
.nav-link.active {
  color: var(--gold) !important;
}
.nav-link.active::after {
  width: 100% !important;
}

/* ============================================
   HOME — overview sections
   ============================================ */
.home-intro {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.home-intro .section-title { margin: 0 auto 1.5rem; }

/* Capabilities preview cards (Home) */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gold-line, rgba(198,161,73,0.18));
  border: 1px solid var(--gold-line, rgba(198,161,73,0.18));
  margin-top: 4rem;
}
@media (max-width: 860px) { .cap-grid { grid-template-columns: 1fr; } }

.cap-card {
  background: var(--midnight, #0E0E12);
  padding: 3rem 2.5rem;
  transition: background 0.4s ease;
}
.cap-card:hover { background: #131318; }
.cap-card-num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold);
  opacity: 0.6;
  margin-bottom: 1.25rem;
}
.cap-card h3 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  color: var(--ivory, #F9F5EB);
  margin-bottom: 1rem;
  font-weight: 500;
}
.cap-card p {
  font-size: 0.97rem;
  line-height: 1.65;
  color: var(--text-muted, rgba(249,245,235,0.62));
}

/* Split feature block (Home) */
.home-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
@media (max-width: 900px) { .home-split { grid-template-columns: 1fr; gap: 3rem; } }

.home-split-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--gold-line, rgba(198,161,73,0.18));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.home-split-visual svg { width: 75%; height: 75%; color: var(--gold); opacity: 0.5; }

/* CTA band */
.cta-band {
  text-align: center;
  padding: 6rem 0;
  background: var(--black-deep, #08080B);
  border-top: 1px solid var(--gold-line, rgba(198,161,73,0.18));
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 400;
  color: var(--ivory, #F9F5EB);
  margin-bottom: 1.5rem;
}
.cta-band h2 em { font-style: italic; color: var(--gold); }
.cta-band p {
  font-size: 1.05rem;
  color: var(--text-muted, rgba(249,245,235,0.62));
  max-width: 50ch;
  margin: 0 auto 2.5rem;
}

/* Home product strip */
.home-products {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 3rem;
}
.home-product-tag {
  border: 1px solid var(--gold-line, rgba(198,161,73,0.25));
  padding: 0.7rem 1.4rem;
  font-size: 0.85rem;
  letter-spacing: 1px;
  color: var(--text-soft, rgba(249,245,235,0.82));
  transition: all 0.3s ease;
}
.home-product-tag:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* No mostrar contenido de un idioma cuando el otro está activo */
[lang-content="es"] { display: none; }
body.lang-es [lang-content="en"] { display: none; }
body.lang-es [lang-content="es"] { display: revert; }
body.lang-es .nav-link[lang-content="en"],
body.lang-es .section-label[lang-content="en"] { display: none; }
