/* ─────────────────────────────────────
   TOKENS
───────────────────────────────────── */
:root {
  --neon:       #00D756;
  --neon-dim:   rgba(0,215,86,0.1);
  --forest:     #1b5c35;
  --forest-deep:#133d23;
  --black:      #0c0e0c;
  --dark:       #131713;
  --dark-2:     #1a1f1a;
  --white:      #ffffff;
  --warm:       #F8F4EF;   /* warm off-white for light sections */
  --warm-2:     #EEE9E2;   /* slightly deeper warm */
  --ink:        #161c16;
  --ink-2:      #2c3a2c;
  --ink-3:      #4a5e4a;
  --muted:      #7a8c7a;
  --muted-2:    #b0bfb0;
  --rule-dark:  rgba(0,215,86,0.12);
  --rule-light: rgba(27,92,53,0.14);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  background: var(--black);
  color: var(--warm);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 300;
  line-height: 1.72;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
* { min-width: 0; }

/* ─────────────────────────────────────
   NAV (Versión de Escritorio Optimizada)
───────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 68px;
  background: rgba(12,14,12,0.8);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--rule-dark);
  transition: background 0.3s;
}
nav.scrolled { background: rgba(12,14,12,0.97); }

.nav-logo img { height: 34px; width: auto; display: block; }
.nav-logo-fallback {
  font-family: 'Fraunces', serif; font-size: 1rem; font-weight: 600;
  color: var(--neon); letter-spacing: 0.04em; display: none;
}

/* En PC, este contenedor derecho se alinea con el logo */
.nav-right-mobile { 
  display: flex; align-items: center; gap: 1rem;
  order: 2; /* Lo mandamos al final de la flexbox */
}

/* Links principales */
.nav-links { 
  display: flex; gap: 2.5rem; list-style: none; align-items: center; 
  order: 1; /* Los links quedan en el medio */
}
.nav-links a {
  color: var(--muted-2); text-decoration: none;
  font-size: 0.74rem; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--neon); }

/* Botón de idioma */
.lang-btn {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: transparent; border: 1px solid rgba(255,255,255,0.18);
  color: var(--muted-2); padding: 0.4rem 0.9rem; border-radius: 2px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.08em;
  cursor: pointer; transition: border-color 0.2s, color 0.2s;
}
.lang-btn:hover { border-color: var(--neon); color: var(--neon); }
.lang-btn i { font-size: 0.8rem; opacity: 0.8; }

/* Hamburger (Oculto en PC) */
.nav-burger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 3px; flex-shrink: 0; }
.nav-burger span { display: block; width: 20px; height: 1.5px; background: var(--warm); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav { display: none; position: fixed; top: 68px; left: 0; right: 0; z-index: 150; background: rgba(12,14,12,0.99); border-bottom: 1px solid var(--rule-dark); flex-direction: column; }
.mobile-nav.open { display: flex; }
.mobile-nav a { color: var(--muted-2); text-decoration: none; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 1.2rem 5%; border-bottom: 1px solid var(--rule-dark); transition: color 0.2s, background 0.2s; }
.mobile-nav a:hover { color: var(--neon); background: var(--neon-dim); }

/* ─────────────────────────────────────
   HERO — dark, asymmetric 62/38
───────────────────────────────────── */
#hero {
  position: relative;
  display: flex; align-items: center;
  padding: 68px 0 0; overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 65% 40%, rgba(0,215,86,0.06) 0%, transparent 55%),
    radial-gradient(ellipse 45% 75% at 0% 85%, rgba(27,92,53,0.4) 0%, transparent 60%),
    linear-gradient(145deg, var(--black) 0%, #080d09 100%);
}
.hero-grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,215,86,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,215,86,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 70%, transparent 100%);
}

/* decorative big letter */
.hero-deco-letter {
  position: absolute; right: -2%; top: 50%; transform: translateY(-50%);
  font-family: 'Fraunces', serif; font-size: clamp(16rem, 30vw, 28rem);
  font-weight: 700; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(0,215,86,0.06);
  pointer-events: none; user-select: none; z-index: 1;
  letter-spacing: -0.05em;
}

.hero-inner {
  position: relative; z-index: 2; width: 100%;
  display: flex; align-items: center; justify-content: center;
  padding: 60px 5% 70px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 55fr 45fr;
  align-items: center;
  gap: 3rem;
  max-width: 1100px;
  width: 100%;
}

.hero-label {
  display: flex; align-items: center; gap: 0.7rem;
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--neon); margin-bottom: 2rem;
  animation: fadeUp 0.9s 0.05s ease both;
}
.hero-label::before { content: ''; width: 28px; height: 1px; background: var(--neon); flex-shrink: 0; }

.hero-h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(3.6rem, 7.5vw, 7rem);
  font-weight: 400; line-height: 1.0;
  color: var(--white); margin-bottom: 1.8rem;
  letter-spacing: -0.03em;
  animation: fadeUp 0.9s 0.15s ease both;
}
.hero-h1 em { font-style: italic; font-weight: 300; color: var(--neon); }

.hero-body {
  font-size: 1rem; color: var(--muted-2); max-width: 480px;
  margin-bottom: 2.8rem; line-height: 1.85;
  animation: fadeUp 0.9s 0.28s ease both;
}

.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; animation: fadeUp 0.9s 0.4s ease both; }

/* logo panel — no float, centered */
.hero-logo-panel {
  display: flex; align-items: center; justify-content: center; height: 100%;
  animation: fadeUp 0.9s 0.55s ease both;
}
.hero-logo-panel img {
  max-width: 380px; width: 100%;
  filter: drop-shadow(0 0 60px rgba(0,215,86,0.15));
}

/* ─────────────────────────────────────
   BUTTONS
───────────────────────────────────── */
.btn-fill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--neon); color: var(--black);
  padding: 0.8rem 1.8rem; border-radius: 2px; text-decoration: none;
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-fill:hover { background: #2de96e; transform: translateY(-2px); }

.btn-line-dark {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent; color: var(--warm);
  padding: 0.8rem 1.8rem; border-radius: 2px; text-decoration: none;
  font-size: 0.76rem; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.2);
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
}
.btn-line-dark:hover { border-color: var(--neon); color: var(--neon); transform: translateY(-2px); }

.btn-line-light {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent; color: var(--ink);
  padding: 0.8rem 1.8rem; border-radius: 2px; text-decoration: none;
  font-size: 0.76rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  border: 1.5px solid var(--ink);
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.btn-line-light:hover { background: var(--ink); color: var(--white); transform: translateY(-2px); }

/* ─────────────────────────────────────
   MARQUEE BAND
───────────────────────────────────── */
.marquee-band {
  background: var(--forest-deep); border-top: 1px solid rgba(0,215,86,0.1); border-bottom: 1px solid rgba(0,215,86,0.1);
  overflow: hidden; padding: 0; height: 44px; display: flex; align-items: center;
  white-space: nowrap;
}
.marquee-track {
  display: flex; align-items: center; flex-shrink: 0;
  white-space: nowrap; width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-track span {
  display: inline-block;
  font-size: 0.62rem; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase;
  color: rgba(255,255,255,0.45); padding: 0 2rem; flex-shrink: 0;
}
.marquee-track span.accent { color: var(--neon); opacity: 0.6; padding: 0 0.5rem; }

/* ─────────────────────────────────────
   SECTION UTILS
───────────────────────────────────── */
.sec-wrap { max-width: 1180px; margin: 0 auto; padding: 0 5%; }

.tag-d { font-size: 0.65rem; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase; color: var(--neon); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.6rem; }
.tag-d::before { content: ''; width: 22px; height: 1px; background: var(--neon); flex-shrink: 0; }

.tag-l { font-size: 0.65rem; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase; color: var(--forest); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.6rem; }
.tag-l::before { content: ''; width: 22px; height: 1px; background: var(--forest); flex-shrink: 0; }

.h2-d { font-family: 'Fraunces', serif; font-size: clamp(1.9rem, 3.5vw, 3rem); font-weight: 400; line-height: 1.12; letter-spacing: -0.02em; color: var(--white); margin-bottom: 1.4rem; }
.h2-d em { font-style: italic; font-weight: 300; color: var(--neon); }

.h2-l { font-family: 'Fraunces', serif; font-size: clamp(1.9rem, 3.5vw, 3rem); font-weight: 400; line-height: 1.12; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 1.4rem; }
.h2-l em { font-style: italic; font-weight: 300; color: var(--forest); }

/* decorative section number */
.sec-num {
  font-family: 'Fraunces', serif; font-size: 9rem; font-weight: 700;
  line-height: 1; color: transparent; user-select: none; pointer-events: none;
  letter-spacing: -0.04em;
}
.sec-num.dark { -webkit-text-stroke: 1px rgba(255,255,255,0.05); }
.sec-num.light { -webkit-text-stroke: 1px rgba(27,92,53,0.1); }

/* ─────────────────────────────────────
   ABOUT — warm white, image bleeds right
───────────────────────────────────── */
#about {
  background: var(--warm);
  padding: 100px 0 0;
  overflow: hidden;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 600px;
}

.about-text-col {
  padding: 60px 5% 80px calc((100vw - 1180px) / 2 + 5%);
  display: flex; flex-direction: column; justify-content: center;
}
/* fallback for narrower screens */
@media (max-width: 1260px) {
  .about-text-col { padding: 60px 5% 80px 5%; }
}

.about-text-col .sec-num { margin-bottom: -1.5rem; }

.about-text-col p {
  color: var(--ink-3); font-size: 0.92rem; line-height: 1.9; margin-bottom: 1.1rem;
}

.about-pillars {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; margin-top: 1.8rem;
}
.about-pill {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--rule-light); border-radius: 4px;
  font-size: 0.78rem; font-weight: 400; color: var(--ink-2);
  transition: border-color 0.2s, background 0.2s;
}
.about-pill:hover { border-color: var(--neon); background: var(--neon-dim); }
.about-pill i { font-size: 1rem; color: var(--forest); flex-shrink: 0; }

/* image column — multi-image mosaic */
.about-img-col {
  position: relative; overflow: hidden;
  min-height: 560px; padding: 20px 20px 20px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
}
/* main large image top-left spanning 2 rows */
.about-img-col .img-main {
  grid-column: 1; grid-row: 1 / 3;
  overflow: hidden; border-radius: 6px; position: relative;
}
.about-img-col .img-main img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease; border-radius: 6px;
}
.about-img-col .img-main:hover img { transform: scale(1.05); }

/* top-right smaller image */
.about-img-col .img-tr {
  grid-column: 2; grid-row: 1;
  overflow: hidden; border-radius: 6px;
}
.about-img-col .img-tr img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease; border-radius: 6px;
}
.about-img-col .img-tr:hover img { transform: scale(1.05); }

/* bottom-right smaller image */
.about-img-col .img-br {
  grid-column: 2; grid-row: 2;
  overflow: hidden; border-radius: 6px; position: relative;
}
.about-img-col .img-br img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease; border-radius: 6px;
}
.about-img-col .img-br:hover img { transform: scale(1.05); }

.about-badge {
  position: absolute; bottom: 36px; left: 16px; z-index: 4;
  background: var(--neon); color: var(--black);
  padding: 0.65rem 1.1rem; border-radius: 3px;
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.06em;
}
.about-badge small { display: block; font-size: 0.6rem; font-weight: 400; opacity: 0.72; margin-top: 2px; }

/* ─────────────────────────────────────
   FINANCIAL — dark, wide text + aside
───────────────────────────────────── */
#financial {
  background: var(--dark);
  padding: 100px 0;
  position: relative; overflow: hidden;
}
/* big decorative number behind content */
.fin-deco {
  position: absolute; right: 3%; top: 50%; transform: translateY(-50%);
  font-family: 'Fraunces', serif; font-size: clamp(10rem, 20vw, 18rem);
  font-weight: 700; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.04);
  pointer-events: none; user-select: none;
}

.fin-layout {
  display: grid; grid-template-columns: 58fr 38fr; gap: 5rem; align-items: start;
  position: relative; z-index: 1;
}
.fin-text p { color: var(--muted-2); font-size: 0.92rem; line-height: 1.9; margin-bottom: 1rem; }

.fin-caps { margin-top: 2rem; }
.fin-caps-label {
  font-family: 'Fraunces', serif; font-size: 1rem; font-weight: 400;
  color: var(--white); margin-bottom: 1rem; font-style: italic;
}
.caps-list { display: flex; flex-direction: column; gap: 0; }
.cap-row {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--rule-dark);
  font-size: 0.82rem; color: var(--muted-2);
  transition: color 0.2s;
}
.cap-row:hover { color: var(--neon); }
.cap-row i { font-size: 0.82rem; color: var(--neon); opacity: 0.7; flex-shrink: 0; }

.fin-aside { position: sticky; top: 88px; }
.fin-photo { border-radius: 6px; overflow: hidden; margin-bottom: 1.4rem; }
.fin-photo img { width: 100%; height: 220px; object-fit: cover; filter: brightness(0.82) saturate(0.85); transition: filter 0.4s; }
.fin-photo:hover img { filter: brightness(1) saturate(1); }

.fin-card {
  background: var(--dark-2); border: 1px solid var(--rule-dark);
  border-radius: 6px; padding: 2rem; position: relative; overflow: hidden;
}
.fin-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--neon), transparent);
}
.fin-card h3 {
  font-family: 'Fraunces', serif; font-size: 1.2rem; font-weight: 400;
  font-style: italic; color: var(--white); margin-bottom: 1rem; line-height: 1.35;
}
.fin-card p { color: var(--muted-2); font-size: 0.86rem; line-height: 1.85; margin-bottom: 0.85rem; }
.fin-card p:last-child { margin-bottom: 0; }

/* ─────────────────────────────────────
   QUOTE BAND — centered
───────────────────────────────────── */
#quote-band {
  background: var(--forest-deep);
  padding: 88px 5%; position: relative; overflow: hidden;
}
#quote-band::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(0,215,86,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.quote-layout {
  max-width: 800px; margin: 0 auto;
  text-align: center;
  position: relative; z-index: 1;
}
.quote-big-mark {
  font-family: 'Fraunces', serif; font-size: 6rem; line-height: 0.7;
  color: var(--neon); opacity: 0.22; font-weight: 700;
  display: block; margin-bottom: 1rem;
}
.quote-body { }
.quote-text {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem); font-weight: 300; font-style: italic;
  color: var(--white); line-height: 1.45; margin-bottom: 1.4rem;
}
.quote-rule { width: 40px; height: 2px; background: var(--neon); margin: 0 auto 0.9rem; }
.quote-attr { font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.4); }

/* ─────────────────────────────────────
   SERVICES — editorial numbered list
───────────────────────────────────── */
#services {
  background: var(--warm);
  padding: 100px 0;
}

.svc-top {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: end; margin-bottom: 5rem;
}
.svc-top p { color: var(--ink-3); font-size: 0.92rem; line-height: 1.85; }

.svc-list { border-top: 1.5px solid var(--rule-light); }
.svc-row {
  display: grid;
  grid-template-columns: 56px 1fr 1fr;
  gap: 2.5rem; align-items: start;
  padding: 2.2rem 0;
  border-bottom: 1.5px solid var(--rule-light);
  transition: background 0.2s;
  cursor: default;
}
.svc-row:hover { background: var(--warm-2); margin: 0 -2rem; padding-left: 2rem; padding-right: 2rem; }
.svc-row:hover .svc-row-num { color: var(--neon); }

.svc-row-num {
  font-family: 'Fraunces', serif; font-size: 1.6rem; font-weight: 600;
  color: var(--warm-2); line-height: 1.1; transition: color 0.2s;
  padding-top: 4px;
}
.svc-row-icon-title { }
.svc-row-icon {
  width: 40px; height: 40px; border-radius: 8px;
  background: rgba(27,92,53,0.08); border: 1.5px solid var(--rule-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.8rem; transition: background 0.2s, border-color 0.2s;
}
.svc-row:hover .svc-row-icon { background: var(--neon-dim); border-color: rgba(0,215,86,0.25); }
.svc-row-icon i { font-size: 1.1rem; color: var(--forest); }
.svc-row-title {
  font-family: 'Fraunces', serif; font-size: 1.15rem; font-weight: 500;
  color: var(--ink); line-height: 1.25; letter-spacing: -0.01em;
}
.svc-row-desc { color: var(--ink-3); font-size: 0.84rem; line-height: 1.8; padding-top: 4px; }

/* ─────────────────────────────────────
   PORTFOLIO BANNER — crossfade
───────────────────────────────────── */
#portfolio { position: relative; height: 520px; overflow: hidden; }
.p-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.5s ease-in-out;
}
.p-slide.on { opacity: 1; }
.p-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(105deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.28) 60%, rgba(0,0,0,0.1) 100%);
}
.p-content {
  position: absolute; inset: 0; z-index: 3;
  display: flex; align-items: center; padding: 0 7%;
}
.p-text { max-width: 520px; }
.p-text .tag-d { margin-bottom: 0.8rem; }
.p-text .h2-d { margin-bottom: 0.8rem; }
.p-text p { color: rgba(255,255,255,0.7); font-size: 0.9rem; line-height: 1.8; max-width: 400px; }
.p-dots { position: absolute; bottom: 26px; left: 7%; z-index: 4; display: flex; gap: 8px; }
.p-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.3); border: none; cursor: pointer; padding: 0; transition: background 0.3s, transform 0.3s; }
.p-dot.on { background: var(--neon); transform: scale(1.3); }

.slide-1 { background-image: url('../img/slide-1.webp'); }
.slide-2 { background-image: url('../img/slide-2.webp'); }
.slide-3 { background-image: url('../img/slide-3.webp'); }
.slide-4 { background-image: url('../img/slide-4.webp'); }

/* ─────────────────────────────────────
   CONTACT — split panel dark/light
───────────────────────────────────── */
#contact { display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; }

.contact-dark {
  background: var(--dark); padding: 90px 5% 90px 5%;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
.contact-dark::after {
  content: '';
  position: absolute; top: 0; bottom: 0; right: 0; width: 1px;
  background: linear-gradient(to bottom, transparent, var(--rule-dark), transparent);
}
/* decorative number */
.contact-deco {
  font-family: 'Fraunces', serif; font-size: 10rem; font-weight: 700;
  position: absolute; bottom: -1.5rem; right: 2rem;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.04);
  pointer-events: none; user-select: none; line-height: 1;
}

.contact-dark .h2-d { font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
.contact-dark > p { color: var(--muted-2); font-size: 0.9rem; line-height: 1.85; margin-bottom: 0.6rem; }
.doubt-line { font-size: 0.82rem; font-weight: 400; color: var(--muted); margin: 1.4rem 0 1.2rem; font-style: italic; }

.c-methods { display: flex; flex-direction: column; gap: 0.8rem; }
.c-method {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--rule-dark); border-radius: 4px; text-decoration: none;
  background: rgba(255,255,255,0.02);
  transition: border-color 0.2s, background 0.2s;
}
.c-method:hover { border-color: var(--neon); background: var(--neon-dim); }
.c-method-icon {
  width: 32px; height: 32px; border-radius: 6px;
  background: var(--neon-dim); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.c-method-icon i { font-size: 1rem; color: var(--neon); }
.c-method-label { font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--neon); margin-bottom: 0.1rem; }
.c-method-val { font-size: 0.84rem; color: var(--warm); font-weight: 400; }

.contact-light {
  background: var(--warm); padding: 90px 5%;
  display: flex; flex-direction: column; justify-content: center;
}
.c-form-title {
  font-family: 'Fraunces', serif; font-size: 1.5rem; font-weight: 400;
  color: var(--ink); margin-bottom: 0.3rem; font-style: italic;
}
.c-form-sub { font-size: 0.78rem; color: var(--muted); margin-bottom: 1.8rem; }

.f-group { margin-bottom: 1.1rem; }
.f-group label { display: block; font-size: 0.68rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--forest); margin-bottom: 0.38rem; }
.f-group input,
.f-group textarea,
.f-group select {
  width: 100%; background: var(--white);
  border: 1.5px solid var(--rule-light); border-radius: 3px;
  padding: 0.68rem 0.9rem; color: var(--ink);
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.86rem; font-weight: 300;
  outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.f-group input:focus,
.f-group textarea:focus,
.f-group select:focus {
  border-color: var(--neon);
  box-shadow: 0 0 0 3px rgba(0,215,86,0.08);
}
.f-group textarea { resize: vertical; min-height: 100px; }
.f-group select option { background: var(--white); color: var(--ink); }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }

.btn-send {
  width: 100%; background: var(--neon); color: var(--black);
  border: none; padding: 0.86rem 2rem; border-radius: 2px;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.77rem; font-weight: 600;
  letter-spacing: 0.13em; text-transform: uppercase;
  cursor: pointer; transition: background 0.2s, transform 0.15s; margin-top: 0.3rem;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
}
.btn-send:hover { background: #2de96e; transform: translateY(-2px); }

/* ─────────────────────────────────────
   ALERTA DEL FORMULARIO
───────────────────────────────────── */
.custom-alert {
  padding: 0.85rem 1.2rem;
  margin-bottom: 1.5rem;
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid transparent;
}
.custom-alert.success {
  background-color: rgba(0, 215, 86, 0.1); /* Tonos del neón */
  border-color: rgba(0, 215, 86, 0.3);
  color: var(--forest);
}
.custom-alert.error {
  background-color: rgba(220, 53, 69, 0.08);
  border-color: rgba(220, 53, 69, 0.2);
  color: #c82333;
}
.close-alert {
  background: none; border: none; font-size: 1.4rem; cursor: pointer; 
  color: inherit; opacity: 0.6; line-height: 1; margin-left: 1rem;
}
.close-alert:hover { opacity: 1; }

/* ─────────────────────────────────────
   FOOTER
───────────────────────────────────── */
footer {
  background: #070907; border-top: 1px solid var(--rule-dark);
  padding: 2.4rem 5%;
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 2rem;
}
.f-logo img { height: 28px; filter: brightness(0) invert(1); opacity: 0.65; }
.f-logo-txt { font-family: 'Fraunces', serif; font-size: 0.95rem; font-weight: 600; color: var(--neon); display: none; }
.f-links { display: flex; gap: 1.8rem; list-style: none; justify-content: center; flex-wrap: wrap; }
.f-links a { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.f-links a:hover { color: var(--neon); }
.f-copy { font-size: 0.68rem; color: var(--muted); text-align: right; white-space: nowrap; }

/* ─────────────────────────────────────
   ANIMATIONS
───────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse { 0%,100%{opacity:.3} 50%{opacity:1} }
@keyframes floatLogo {
  0%,100%{ transform: translateY(0); }
  50%    { transform: translateY(-14px); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes scroll-logos {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.reveal { opacity: 1; transform: translateY(0); transition: opacity 0.75s ease, transform 0.75s ease; }
.reveal.will-animate { opacity: 0; transform: translateY(24px); }
.reveal.will-animate.visible { opacity: 1; transform: translateY(0); }

/* ─────────────────────────────────────
   RESPONSIVE
───────────────────────────────────── */
@media (max-width: 960px) {
  .hero-inner { padding: 40px 5% 50px; }
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-logo-panel { order: -1; }
  .hero-logo-panel img { max-width: 170px; }
  .hero-deco-letter { display: none; }
  .hero-side-text { display: none; }
  .hero-h1 { font-size: clamp(2.4rem, 9vw, 3.5rem); }

  .about-inner { grid-template-columns: 1fr; }

  .about-img-col { 
    min-height: auto !important; 
    order: -1 !important; 
    padding: 20px 5% !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    grid-template-rows: 110px !important; /* Altura perfecta para celular */
    gap: 8px !important;
  }

  .about-img-col .img-main { grid-column: 1 !important; grid-row: 1 !important; }
  .about-img-col .img-tr { grid-column: 2 !important; grid-row: 1 !important; }
  .about-img-col .img-br { grid-column: 3 !important; grid-row: 1 !important; }

  #about { padding: 100px 0 0 !important; }

  .about-img-col { padding: 0 5% !important; }
  .about-text-col { padding: 25px 5% 50px 5% !important; }

  .fin-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .fin-aside { position: static; }
  .fin-deco { display: none; }

  .svc-top { grid-template-columns: 1fr; gap: 1.5rem; }
  .svc-row { grid-template-columns: 42px 1fr; gap: 1.5rem; }
  .svc-row-desc { grid-column: 2; }
  .svc-row:hover { margin: 0; padding-left: 0; padding-right: 0; }

  #contact { grid-template-columns: 1fr; }
  .contact-dark { padding: 60px 5%; }
  .contact-light { padding: 60px 5%; }
  .contact-deco { display: none; }

  footer { grid-template-columns: 1fr; gap: 1.2rem; }
  .f-copy { text-align: left; }
  .f-links { justify-content: flex-start; }

  .quote-layout { grid-template-columns: 1fr; gap: 0.5rem; }
  .quote-big-mark { font-size: 5rem; }

  .nav-burger { display: flex; }
  .nav-links { display: none; }

  .nav-right-mobile {
    gap: 0.8rem;
  }

  .lang-btn {
    padding: 0.35rem 0.75rem;
    font-size: 0.7rem;
  }
}

@media (max-width: 600px) {
  #hero { padding: 68px 0 0; }
  .scroll-cue { display: none; }

  .svc-row { grid-template-columns: 1fr; gap: 0.8rem; }
  .svc-row-num { font-size: 1.1rem; }
  .about-pillars { grid-template-columns: 1fr 1fr; }
  .f-row { grid-template-columns: 1fr; }

  #portfolio { height: 300px; }
  
  .slide-1 { background-image: url('../img/slide-1-mobile.webp'); }
  .slide-2 { background-image: url('../img/slide-2-mobile.webp'); }
  .slide-3 { background-image: url('../img/slide-3-mobile.webp'); }
  .slide-4 { background-image: url('../img/slide-4-mobile.webp'); }
  
  .p-text .h2-d { font-size: 1.55rem; }
  
/* --- 1. TÍTULO HERO (Quitar el salto de línea) --- */
  .hero-h1 br { display: none; }
  .hero-h1 em::before { content: " "; }

  /* --- 2. BOTONES HERO (Uno al lado del otro) --- */
  .hero-btns {
    flex-wrap: nowrap; /* Evita que salten a la línea de abajo */
    gap: 0.5rem; /* Achicamos el espacio del medio */
  }
  .hero-btns .btn-fill,
  .hero-btns .btn-line-dark {
    width: 50%; /* Cada uno ocupa mitad de pantalla */
    padding: 0.7rem 0.3rem; /* Menos relleno a los costados */
    font-size: 0.65rem; /* Letra apenitas más chica para que encajen */
    justify-content: center; /* Texto bien centrado */
    text-align: center;
  }

  /* --- 3. FOOTER CENTRADO Y EN UNA LÍNEA --- */
  .f-logo img { 
    margin: 0 auto; /* Centra el loguito */
  } 
  .f-links {
    justify-content: center !important; /* Pisa la regla de 960px */
    flex-wrap: nowrap !important; /* Fuerza los 4 links en un renglón */
    gap: 0.5rem; /* Achicamos espacio entre links */
  }
  .f-links a {
    font-size: 0.58rem; /* Letra más chica para que entren los 4 */
    letter-spacing: 0.05em; /* Reducimos el espaciado para ganar lugar */
  }
  .f-copy { 
    text-align: center !important; /* Centra el texto del copyright */
  }
}