/* ── CSS VARIABLES ── */
:root {
  --coral: #FF7477;
  --coral-soft: #FF747718;
  --coral-hover: #e8686b;
  --black: #0A0A0A;
  --text-dark: #1A1A1A;
  --text-muted: #6B6B6B;
  --warm-white: #FAF8F5;
  --cream: #F0EDE8;
  --light-gray: #F5F2EE;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
}

/* ── RESET & BASE ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--warm-white);
  color: var(--text-dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── NAV ── */
nav#site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.25rem 4rem;
  display: flex; justify-content: space-between; align-items: center;
  transition: all .4s; background: transparent;
}
nav#site-nav.scrolled {
  background: rgba(250,248,245,.96);
  backdrop-filter: blur(20px);
  padding: .9rem 4rem;
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 700;
  color: var(--text-dark) !important;
	letter-spacing: .02em;
}
.nav-logo span { color: var(--coral); }
.nav-links {
  display: flex; gap: 2.5rem; align-items: center;
}
.nav-links a {
  font-size: .82rem; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
  position: relative; padding-bottom: 2px;
  color: var(--text-dark);
  transition: color .3s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1.5px; background: var(--coral); transition: width .3s;
}
.nav-links a:hover::after,
.nav-links a.current-menu-item::after { width: 100%; }
.nav-links a.current-menu-item { color: var(--coral); }
.nav-cta {
  background: var(--coral) !important; color: #fff !important;
  padding: .55rem 1.4rem !important; border-radius: 2px !important;
  transition: opacity .3s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { opacity: .88 !important; }

/* Mobile menu toggle */
.nav-toggle {
  display: none; background: none; border: none;
  cursor: pointer; padding: .4rem; color: var(--text-dark);
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: currentColor; margin: 5px 0; transition: all .3s;
}

/* ── SHARED COMPONENTS ── */
.tag {
  font-size: .72rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--coral); font-weight: 600; margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: .8rem;
}
.tag::before { content: ''; width: 28px; height: 1.5px; background: var(--coral); }

.btn-p {
  background: var(--coral); color: #fff;
  padding: .9rem 2.2rem; font-size: .82rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  border: none; cursor: pointer; transition: all .3s;
  display: inline-block; font-family: var(--font-body);
}
.btn-p:hover {
  background: var(--coral-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(255,116,119,.3);
}
.btn-o {
  color: var(--text-dark); font-size: .82rem; font-weight: 500;
  letter-spacing: .05em; display: inline-flex; align-items: center;
  gap: .5rem; transition: color .3s; background: none; border: none;
  cursor: pointer; font-family: var(--font-body);
}
.btn-o:hover { color: var(--coral); }
.btn-o svg { width: 18px; height: 18px; transition: transform .3s; }
.btn-o:hover svg { transform: translateX(4px); }

/* ── HERO (Home) ── */
.home-hero {
  min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; padding: 7rem 4rem 5rem;
  position: relative; overflow: hidden; gap: 3rem;
}
.home-hero-bg {
  position: absolute; top: 0; right: 0; width: 52%; height: 100%;
  background: linear-gradient(170deg, var(--cream), var(--coral-soft) 40%, var(--warm-white));
  z-index: 0;
}
.home-hero-content { position: relative; z-index: 2; max-width: 600px; }
.hero-eyebrow {
  font-size: .72rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--coral); font-weight: 600; margin-bottom: 2rem;
  display: flex; align-items: center; gap: 1rem;
}
.hero-eyebrow::before { content: ''; width: 36px; height: 1.5px; background: var(--coral); }
.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 4.5vw, 4.2rem);
  font-weight: 400; line-height: 1.15; margin-bottom: 1.8rem !important; color: var(--black);
}
.hero-h1 em { font-style: italic; color: var(--coral); }
.hero-sub {
  font-size: 1.05rem; line-height: 1.85; color: var(--text-muted);
  max-width: 480px; margin-bottom: 2.5rem !important; font-weight: 300;
}
.hero-actions { display: flex; gap: 1.5rem; align-items: center; }
.home-hero-visual {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center;
}
.hero-img {
  width: 100%; max-width: 480px; aspect-ratio: 4/3;
  background: var(--cream); border: 1px solid rgba(0,0,0,.04);
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 1rem; color: var(--text-muted);
  font-size: .85rem; position: relative; overflow: hidden;
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.hero-img::before { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 4px; background: var(--coral); }

/* ── STATS BAR ── */
.stats-bar {
  background: var(--black); padding: 3.5rem 4rem;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2rem; position: relative;
}
.stats-bar::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--coral);
}
.stat { text-align: center; color: #fff; }
.stat-n {
  font-family: var(--font-display); font-size: 3rem; font-weight: 400;
  color: var(--coral); line-height: 1; margin-bottom: .4rem;
}
.stat-l { font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; color: rgba(255,255,255,.45); }

/* ── HOME ABOUT ── */
.home-about {
  padding: 7rem 4rem; display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center; max-width: 1400px; margin: 0 auto;
}
.home-about h2 { font-family: var(--font-display); font-size: 2.4rem; font-weight: 400; line-height: 1.25; margin-bottom: 1.8rem; }
.home-about h2 em { font-style: italic; color: var(--coral); }
.home-about p { font-size: .95rem; line-height: 1.9; color: var(--text-muted); margin-bottom: 1.2rem; font-weight: 300; }
.about-vis { position: relative; }
.about-img {
  background: var(--cream); aspect-ratio: 4/5;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-acc {
  position: absolute; bottom: -1.5rem; left: -1.5rem;
  background: var(--black); color: #fff; padding: 1.8rem; max-width: 260px;
}
.about-acc-n { font-family: var(--font-display); font-size: 2.5rem; font-weight: 400; color: var(--coral); line-height: 1; }
.about-acc-t { font-size: .82rem; line-height: 1.6; margin-top: .4rem; color: rgba(255,255,255,.6); }

/* ── HOME SERVICES ── */
.home-services { padding: 7rem 4rem; background: var(--light-gray); }
.home-services-hd { max-width: 1400px; margin: 0 auto 3.5rem; }
.home-services-hd h2 { font-family: var(--font-display); font-size: 2.4rem; font-weight: 400; line-height: 1.25; }
.home-sgrid {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}

/* ── SERVICE CARDS ── */
.sc {
  background: #fff; padding: 2.5rem 2rem; position: relative;
  transition: all .4s; border: 1px solid rgba(0,0,0,.03); cursor: pointer;
}
.sc:hover { transform: translateY(-3px); box-shadow: 0 16px 50px rgba(0,0,0,.07); }
.sc::before {
  content: ''; position: absolute; top: 0; left: 0; width: 0;
  height: 2.5px; background: var(--coral); transition: width .4s;
}
.sc:hover::before { width: 100%; }
.sc-n { font-family: var(--font-display); font-size: 2.5rem; font-weight: 400; color: var(--coral); opacity: .3; line-height: 1; margin-bottom: 1.2rem; }
.sc h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; margin-bottom: .8rem; line-height: 1.3; }
.sc p { font-size: .88rem; line-height: 1.7; color: var(--text-muted); font-weight: 300; }
.sc ul { margin-top: .8rem; display: flex; flex-direction: column; gap: .4rem; }
.sc ul li { font-size: .83rem; color: var(--text-muted); padding-left: 1rem; position: relative; line-height: 1.55; }
.sc ul li::before { content: '–'; position: absolute; left: 0; color: var(--coral); }
.sc-lk { display: block; margin-top: 1.2rem; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--coral); }

/* ── PROCESS STEPS ── */
.steps-section { padding: 6rem 4rem; background: var(--warm-white); }
.steps-inner { max-width: 1400px; margin: 0 auto; }
.steps-inner > h2 { font-family: var(--font-display); font-size: 2.2rem; font-weight: 400; line-height: 1.25; margin-bottom: 3.5rem; max-width: 520px; }
.steps-inner > h2 em { font-style: italic; color: var(--coral); }
.steps-grid { display: grid; gap: 0; position: relative; }
.steps-grid.s4 { grid-template-columns: repeat(4, 1fr); }
.steps-grid.s5 { grid-template-columns: repeat(5, 1fr); }
.steps-grid::before {
  content: ''; position: absolute; top: 28px; left: 7%; right: 7%;
  height: 1px; background: rgba(255,116,119,.2); z-index: 0;
}
.step { text-align: center; position: relative; z-index: 1; padding: 0 .8rem; }
.step-dot {
  width: 56px; height: 56px; background: var(--warm-white);
  border: 2px solid var(--coral); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .78rem; font-weight: 600; color: var(--coral);
  margin: 0 auto 1.5rem; transition: all .3s;
}
.step:hover .step-dot { background: var(--coral); color: #fff; }
.step h4 { font-family: var(--font-display); font-size: 1rem; font-weight: 500; margin-bottom: .5rem; color: var(--black); }
.step p { font-size: .8rem; color: var(--text-muted); line-height: 1.6; }

/* ── SECTORES ── */
.sectores { padding: 6rem 4rem; background: var(--warm-white); }
.sectores-inner { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.sectores-text h2 { font-family: var(--font-display); font-size: 2.2rem; font-weight: 400; line-height: 1.25; margin-bottom: 1.2rem; }
.sectores-text h2 em { font-style: italic; color: var(--coral); }
.sectores-text p { font-size: .95rem; line-height: 1.9; color: var(--text-muted); font-weight: 300; }
.sectores-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(0,0,0,.07); }
.sector-item { background: var(--warm-white); padding: 2.2rem 2rem; transition: background .3s; }
.sector-item:hover { background: var(--cream); }
.sector-n { font-family: var(--font-display); font-size: 1.8rem; color: var(--coral); opacity: .2; line-height: 1; margin-bottom: .7rem; }
.sector-name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 500; margin-bottom: .4rem; }
.sector-desc { font-size: .82rem; color: var(--text-muted); line-height: 1.6; }

/* ── CLIENTS ── */
.clients { padding: 5rem 4rem; text-align: center; }
.clients-lb { font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 2.5rem; }
.clients-rw { display: flex; justify-content: center; align-items: center; gap: 3.5rem; flex-wrap: wrap; opacity: .3; }
.clients-rw span { font-size: 1rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* ── QUOTE ── */
.quote { padding: 7rem 4rem; background: var(--black); text-align: center; position: relative; overflow: hidden; }
.quote-wm {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  font-family: var(--font-display); font-size: 20rem;
  color: rgba(255,255,255,.015); pointer-events: none; white-space: nowrap;
}
.quote-in { position: relative; z-index: 1; max-width: 750px; margin: 0 auto; }
.quote-mk { font-family: var(--font-display); font-size: 5rem; color: var(--coral); line-height: .5; margin-bottom: 1.5rem; display: flex;justify-content: center;}
.quote-tx { font-family: var(--font-display); font-size: 1.7rem; font-weight: 400; line-height: 1.55; color: #fff; font-style: italic; margin-bottom: 1.8rem; }
.quote-au { font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; color: rgba(255,255,255,.35); }
.quote-au strong { color: var(--coral); font-weight: 600; }

/* ── CTA SECTION ── */
.cta-section { padding: 7rem 4rem; background: var(--cream); text-align: center; }
.cta-in { max-width: 550px; margin: 0 auto; }
.cta-in h2 { font-family: var(--font-display); font-size: 2.8rem; font-weight: 400; line-height: 1.2; margin-bottom: 1.2rem; }
.cta-in h2 em { font-style: italic; color: var(--coral); }
.cta-in p { font-size: .95rem; line-height: 1.8; color: var(--text-muted); margin-bottom: 2.2rem; font-weight: 300; }
.cta-contact { margin-top: 1.5rem; font-size: .85rem; color: var(--text-muted); }
.cta-contact a { color: var(--coral); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  min-height: 62vh; display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; padding: 9rem 4rem 6rem;
  position: relative; overflow: hidden; gap: 3rem;
}
.page-hero-bg {
  position: absolute; top: 0; right: 0; width: 52%; height: 100%;
  background: linear-gradient(170deg, var(--cream), var(--coral-soft) 40%, var(--warm-white)); z-index: 0;
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(2.5rem,4vw,3.8rem); font-weight: 400; line-height: 1.15; margin-bottom: 1.5rem; color: var(--black); }
.page-hero h1 em { font-style: italic; color: var(--coral); }
.page-hero p { font-size: 1.05rem; line-height: 1.85; color: var(--text-muted); max-width: 480px; font-weight: 300; margin-bottom: 2rem; }
.page-hero-visual { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; }
.hero-card { background: #fff; padding: 2.5rem; box-shadow: 0 20px 60px rgba(0,0,0,.08); max-width: 360px; width: 100%; border-top: 3px solid var(--coral); }
.hero-card-label { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-muted); margin-bottom: .5rem; }
.hero-card-value { font-family: var(--font-display); font-size: 2.5rem; color: var(--coral); font-weight: 400; line-height: 1; margin-bottom: 1.5rem; }
.hero-card-items { display: flex; flex-direction: column; gap: .7rem; }
.hero-card-item { display: flex; align-items: center; gap: .7rem; font-size: .85rem; color: var(--text-muted); }
.hero-card-dot { width: 6px; height: 6px; background: var(--coral); border-radius: 50%; flex-shrink: 0; }

/* ── SECTION INTRO ── */
.sec-intro { padding: 5rem 4rem; max-width: 780px; margin: 0 auto; text-align: center; }
.sec-intro h2 { font-family: var(--font-display); font-size: 2.2rem; font-weight: 400; line-height: 1.25; margin-bottom: 1.2rem; }
.sec-intro h2 em { font-style: italic; color: var(--coral); }
.sec-intro p { font-size: 1rem; line-height: 1.9; color: var(--text-muted); font-weight: 300; }

/* ── SC SECTION (área de especialización) ── */
.sc-section { padding: 5rem 4rem; background: var(--light-gray); }
.sc-inner { max-width: 1400px; margin: 0 auto; }
.sc-inner > h2 { font-family: var(--font-display); font-size: 2.2rem; font-weight: 400; line-height: 1.25; margin-bottom: 3rem; }
.sc-inner > h2 em { font-style: italic; color: var(--coral); }
.sgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

/* ── SPLIT SECTION ── */
.split-section { padding: 6rem 4rem; }
.split-inner { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.split-inner.top { align-items: start; }
.split-text h2 { font-family: var(--font-display); font-size: 2.2rem; font-weight: 400; line-height: 1.25; margin-bottom: 1.5rem; }
.split-text h2 em { font-style: italic; color: var(--coral); }
.split-text p { font-size: .95rem; line-height: 1.9; color: var(--text-muted); margin-bottom: 1.2rem; font-weight: 300; }
.dif-list { display: flex; flex-direction: column; }
.dif-item { display: flex; gap: 1.2rem; padding: 1.5rem 0; border-bottom: 1px solid rgba(0,0,0,.06); align-items: flex-start; }
.dif-item:first-child { border-top: 1px solid rgba(0,0,0,.06); }
.dif-icon { width: 40px; height: 40px; background: var(--coral-soft); border: 1px solid rgba(255,116,119,.2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dif-icon svg { width: 18px; height: 18px; color: var(--coral); }
.dif-content h4 { font-family: var(--font-display); font-size: 1rem; font-weight: 500; margin-bottom: .3rem; }
.dif-content p { font-size: .85rem; color: var(--text-muted); line-height: 1.65; }
.stats-visual { background: var(--cream); padding: 3rem; display: flex; flex-direction: column; }
.big-stat { padding: 1.8rem 0; border-bottom: 1px solid rgba(0,0,0,.07); }
.big-stat:last-child { border-bottom: none; }
.big-stat .n { font-family: var(--font-display); font-size: 3rem; color: var(--coral); line-height: 1; }
.big-stat .l { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); margin-top: .3rem; }

/* ── VALUES GRID ── */
.values-section { padding: 6rem 4rem; background: var(--light-gray); }
.values-inner { max-width: 1400px; margin: 0 auto; }
.values-inner > h2 { font-family: var(--font-display); font-size: 2.2rem; font-weight: 400; line-height: 1.25; margin-bottom: 3rem; }
.values-inner > h2 em { font-style: italic; color: var(--coral); }
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid rgba(0,0,0,.06); }
.value-item { padding: 2.2rem 2rem; border-bottom: 1px solid rgba(0,0,0,.06); border-right: 1px solid rgba(0,0,0,.06); transition: background .3s; }
.value-item:hover { background: #fff; }
.value-item:nth-child(2n) { border-right: none; }
.value-item:nth-last-child(-n+2) { border-bottom: none; }
.value-num { font-family: var(--font-display); font-size: 2rem; color: var(--coral); opacity: .25; line-height: 1; margin-bottom: .8rem; }
.value-name { font-family: var(--font-display); font-size: 1.05rem; font-weight: 500; margin-bottom: .5rem; }
.value-text { font-size: .85rem; color: var(--text-muted); line-height: 1.7; }

/* ── TIMELINE ── */
.timeline-section { padding: 6rem 4rem; }
.timeline-inner { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.timeline-text h2 { font-family: var(--font-display); font-size: 2.2rem; font-weight: 400; line-height: 1.25; margin-bottom: 1.5rem; }
.timeline-text h2 em { font-style: italic; color: var(--coral); }
.timeline-text p { font-size: .95rem; line-height: 1.9; color: var(--text-muted); margin-bottom: 1.2rem; font-weight: 300; }
.timeline { display: flex; flex-direction: column; }
.timeline-item { display: flex; gap: 1.5rem; padding: 1.4rem 0; border-bottom: 1px solid rgba(0,0,0,.06); }
.timeline-item:first-child { border-top: 1px solid rgba(0,0,0,.06); }
.tl-year { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: var(--coral); min-width: 48px; flex-shrink: 0; padding-top: .1rem; }
.tl-content h4 { font-family: var(--font-display); font-size: .95rem; font-weight: 500; margin-bottom: .25rem; color: var(--black); }
.tl-content p { font-size: .83rem; color: var(--text-muted); line-height: 1.6; }

/* ── PHILOSOPHY CARDS ── */
.philo-section { padding: 6rem 4rem; background: var(--light-gray); }
.philo-inner { max-width: 1400px; margin: 0 auto; }
.philo-inner > h2 { font-family: var(--font-display); font-size: 2.2rem; font-weight: 400; line-height: 1.25; margin-bottom: 3rem; }
.philo-inner > h2 em { font-style: italic; color: var(--coral); }
.philo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.philo-card { background: #fff; padding: 2.5rem; border: 1px solid rgba(0,0,0,.04); position: relative; transition: all .3s; }
.philo-card:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0,0,0,.06); }
.philo-card::before { content: ''; position: absolute; top: 0; left: 0; width: 0; height: 2.5px; background: var(--coral); transition: width .4s; }
.philo-card:hover::before { width: 100%; }
.philo-n { font-family: var(--font-display); font-size: 3.5rem; color: var(--coral); opacity: .12; line-height: 1; margin-bottom: 1.2rem; }
.philo-card h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; margin-bottom: .7rem; }
.philo-card p { font-size: .88rem; color: var(--text-muted); line-height: 1.7; }

/* ── TEAM ── */
.team-featured-section { padding: 6rem 4rem; }
.team-featured-inner { max-width: 1400px; margin: 0 auto; }
.team-featured { display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; align-items: start; margin-bottom: 5rem; padding-bottom: 5rem; border-bottom: 1px solid rgba(0,0,0,.07); }
.team-photo { background: var(--cream); aspect-ratio: 3/4; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.team-photo-badge { position: absolute; bottom: 0; left: 0; right: 0; background: var(--black); color: #fff; padding: 1.1rem 1.4rem; display: flex; align-items: center; gap: .8rem; }
.team-photo-badge-dot { width: 8px; height: 8px; background: var(--coral); border-radius: 50%; flex-shrink: 0; }
.team-photo-badge-text { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.team-bio h2 { font-family: var(--font-display); font-size: 2.5rem; font-weight: 400; line-height: 1.2; margin-bottom: .4rem; }
.team-role { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--coral); font-weight: 600; margin-bottom: 2rem; display: flex; align-items: center; gap: .6rem; }
.team-role::before { content: ''; width: 24px; height: 1.5px; background: var(--coral); }
.team-bio p { font-size: .95rem; line-height: 1.9; color: var(--text-muted); margin-bottom: 1.1rem; font-weight: 300; }
.team-stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 2rem 0; padding: 2rem 0; border-top: 1px solid rgba(0,0,0,.06); border-bottom: 1px solid rgba(0,0,0,.06); }
.tsn { font-family: var(--font-display); font-size: 2rem; color: var(--coral); line-height: 1; }
.tsl { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); margin-top: .3rem; }
.team-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.team-tag { font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--coral); border: 1px solid rgba(255,116,119,.35); padding: .35rem .85rem; }
.team-rest-title { font-family: var(--font-display); font-size: 1.8rem; font-weight: 400; margin-bottom: 2rem; color: var(--black); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.team-card { background: #fff; padding: 2.2rem; border: 1px solid rgba(0,0,0,.05); position: relative; transition: all .3s; }
.team-card:hover { transform: translateY(-3px); box-shadow: 0 16px 50px rgba(0,0,0,.07); }
.team-card::before { content: ''; position: absolute; top: 0; left: 0; width: 0; height: 2.5px; background: var(--coral); transition: width .4s; }
.team-card:hover::before { width: 100%; }
.team-initials { width: 56px; height: 56px; background: var(--cream); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; color: var(--coral); margin-bottom: 1.2rem; }
.team-card h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; margin-bottom: .25rem; }
.team-card-role { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--coral); font-weight: 600; margin-bottom: .9rem; }
.team-card p { font-size: .85rem; line-height: 1.7; color: var(--text-muted); font-weight: 300; }
.team-card-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.1rem; }
.team-card-tag { font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--coral); border: 1px solid rgba(255,116,119,.3); padding: .25rem .65rem; }

/* ── INGENIAELX ── */
.ingeniaelx { padding: 6rem 4rem; background: var(--black); }
.ingeniaelx-inner { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.ingeniaelx .tag { color: var(--coral); }
.ingeniaelx .tag::before { background: var(--coral); }
.ingeniaelx h2 { font-family: var(--font-display); font-size: 2.2rem; font-weight: 400; line-height: 1.25; margin-bottom: 1.5rem; color: #fff; }
.ingeniaelx h2 em { color: var(--coral); font-style: italic; }
.ingeniaelx p { font-size: .95rem; line-height: 1.9; color: rgba(255,255,255,.5); margin-bottom: 1.1rem; font-weight: 300; }
.ingeniaelx-visual { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); padding: 3rem; text-align: center; }
.ingeniaelx-logo { font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; color: #fff; margin-bottom: .4rem; }
.ingeniaelx-logo span { color: var(--coral); }
.ingeniaelx-sub { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 2rem; }
.ig-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; border-top: 1px solid rgba(255,255,255,.07); padding-top: 2rem; }
.ig-stat .n { font-family: var(--font-display); font-size: 2.5rem; color: var(--coral); line-height: 1; }
.ig-stat .l { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.3); margin-top: .3rem; }

/* ── FOOTER ── */
footer#site-footer { background: var(--black); color: #fff; padding: 4.5rem 4rem 2.5rem; }
.footer-grid { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3.5rem; margin-bottom: 3.5rem; }
.footer-brand-name { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: #fff; }
.footer-brand-name span { color: var(--coral); }
.footer-brand p { font-size: .85rem; line-height: 1.8; color: rgba(255,255,255,.4); font-weight: 300; margin-top: .8rem; }
.footer-col-title { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--coral); margin-bottom: 1.3rem; font-weight: 600; }
.footer-col ul { display: flex; flex-direction: column; gap: .7rem; }
.footer-col a { color: rgba(255,255,255,.45); font-size: .88rem; font-weight: 300; transition: color .3s; }
.footer-col a:hover { color: var(--coral); }
.footer-bottom { max-width: 1400px; margin: 0 auto; padding-top: 1.8rem; border-top: 1px solid rgba(255,255,255,.07); display: flex; justify-content: space-between; font-size: .78rem; color: rgba(255,255,255,.25); }

/* ── MODAL ── */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(10,10,10,.65); backdrop-filter: blur(4px);
  align-items: center; justify-content: center;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--warm-white); max-width: 560px; width: 95%;
  padding: 3rem; position: relative; box-shadow: 0 30px 80px rgba(0,0,0,.18);
}
.modal-top-bar { position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--coral); }
.modal-close {
  position: absolute; top: 1.2rem; right: 1.5rem; background: none;
  border: none; font-size: 1.4rem; cursor: pointer; color: var(--text-muted); line-height: 1;
}
.modal-tag { font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--coral); font-weight: 600; margin-bottom: 1.2rem; }
.modal-box h2 { font-family: var(--font-display); font-size: 2rem; font-weight: 400; margin-bottom: .5rem; }
.modal-box > p { font-size: .88rem; color: var(--text-muted); margin-bottom: 2rem; line-height: 1.6; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; color: var(--text-muted); display: block; margin-bottom: .4rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: .75rem 1rem; border: 1px solid rgba(0,0,0,.12);
  background: #fff; font-family: var(--font-body); font-size: .9rem;
  outline: none; transition: border .3s; color: var(--text-dark);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--coral); }
.form-group textarea { resize: vertical; }
.modal-submit { width: 100%; padding: 1rem; font-size: .88rem; text-align: center; }

/* ── FADE ANIMATION ── */
.fade-in { opacity: 0; transform: translateY(22px); transition: opacity .7s, transform .7s; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  nav#site-nav, nav#site-nav.scrolled { padding-left: 2rem; padding-right: 2rem; }
  .home-hero { grid-template-columns: 1fr; padding: 7rem 2rem 4rem; }
  .home-hero-bg { width: 100%; height: 50%; }
  .home-hero-visual { display: none; }
  .page-hero { grid-template-columns: 1fr; padding: 7rem 2rem 5rem; }
  .page-hero-bg { width: 100%; height: 50%; }
  .page-hero-visual { display: none; }
  .home-about { grid-template-columns: 1fr; gap: 3rem; padding: 5rem 2rem; }
  .home-about .about-vis { display: none; }
  .home-services, .home-services-hd { padding-left: 2rem; padding-right: 2rem; }
  .home-sgrid, .sgrid, .team-grid, .philo-grid { grid-template-columns: 1fr 1fr; }
  .sectores-inner, .split-inner, .timeline-inner, .ingeniaelx-inner { grid-template-columns: 1fr; gap: 3rem; }
  .steps-grid.s4, .steps-grid.s5 { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .steps-grid::before { display: none; }
  .stats-bar { /*grid-template-columns: repeat(2, 1fr);*/ display:flex;justify-content: space-around; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .team-featured { grid-template-columns: 1fr; gap: 2rem; }
  .values-grid { grid-template-columns: 1fr; }
  .value-item { border-right: none !important; }
  .sc-section, .steps-section, .split-section, .values-section, .philo-section,
  .team-featured-section, .timeline-section, .ingeniaelx, .sectores, .clients,
  .cta-section, .quote { padding-left: 2rem; padding-right: 2rem; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--warm-white); padding: 5rem 2rem 2rem; gap: 1.5rem; z-index: 99; }
  .nav-toggle { display: block; }
  .home-sgrid, .sgrid, .team-grid, .philo-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; padding: 2.5rem 2rem; }
  .steps-grid.s4, .steps-grid.s5 { grid-template-columns: 1fr; }
  .sectores-grid { grid-template-columns: 1fr; }
  .team-stats-row { grid-template-columns: repeat(3, 1fr); }
  .footer-bottom { flex-direction: column; gap: .8rem; }
}

/* WordPress core alignment helpers */
.wp-block-image { margin: 0; }
.alignwide { max-width: 1400px; margin-left: auto; margin-right: auto; }
#menu-item-18 a{
	padding-top: 10px;
    padding-bottom: 10px;
}
}
.w-navlinea{
    line-height: 20px !important;
}
.l-canvas {
    margin: 0 auto;
    width: 100vw !important;
    flex-grow: 1;
    background: var(--warm-white) !important;
    color: var(--color-content-text);
}

.fb_p{
	font-size: .85rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, .4);
    font-weight: 300;
    margin-top: .8rem;
}

.fb-name {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
}

.fb-name span {
    color: var(--coral);
}

.fc-t {
    font-size: .72rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 1.3rem;
    font-weight: 600;
}
.fc ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    letter-spacing: 0.1rem;
    margin-left: 0rem;
}

.fc ul li a{
	color: rgba(255, 255, 255, .45);
    text-decoration: none;
    font-size: .88rem;
    font-weight: 300;
    transition: color .3s;
    cursor: pointer;
    background: none;
    border: none;
    font-family: var(--font-body);
	cursor:pointer;
	text-transform: none;
	letter-spacing: 0rem;
	line-height:.88rem;
}
.fc ul li a:hover{
	color:var(--coral);
}

.fbot {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 1.8rem;
    border-top: 1px solid rgba(255, 255, 255, .07);
    display: flex;
    justify-content: space-between;
    font-size: .78rem;
    color: rgba(255, 255, 255, .25);
}

.fbot a{
	cursor:pointer;
    color: rgba(255, 255, 255, .25);
}

.fbot span a:hover{
	cursor:pointer;
    color:var(--coral);
}
.stats {
    background: var(--black);
    padding: 3.5rem 4rem;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 2rem;
    position: relative;
}