/* ================================================
   CANTABRIA WEB — styles.css  v2.0
   ================================================ */

/* ─── 1. CUSTOM PROPERTIES ─────────────────────── */
:root {
  --red:        #C41230;
  --red-dark:   #9E0D23;
  --red-subtle: #FBF0F3;
  --white:      #FFFFFF;
  --off-white:  #FAFAFA;
  --black:      #0D0D0D;
  --text-1:     #1A1A1A;
  --text-2:     #505050;
  --text-3:     #959595;
  --border:     #EBEBEB;
  --border-md:  #D4D4D4;
  --bg-alt:     #F5F5F5;
  --shadow-sm:  0 2px 12px rgba(0,0,0,0.06);
  --shadow-md:  0 8px 32px rgba(0,0,0,0.1);
  --shadow-red: 0 12px 40px rgba(196,18,48,0.15);

  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --container: 1140px;
  --pad: 1.5rem;
  --ease: 0.24s ease;
  --ease-slow: 0.42s ease;
  --radius: 4px;
}

/* ─── 2. RESET ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); font-size: 1rem; line-height: 1.65; color: var(--text-1); background: var(--white); overflow-x: hidden; }
img    { max-width: 100%; height: auto; display: block; }
a      { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea { font-family: inherit; }
p { margin: 0; }
.wp-block-image { margin: 0; }

/* ─── 3. LAYOUT ─────────────────────────────────── */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); }

/* ─── 4. UTILITIES ──────────────────────────────── */
.label {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--red);
}
.label::before { content: ''; display: block; width: 1.75rem; height: 1px; background: var(--red); flex-shrink: 0; }

.section-header { margin-bottom: 4rem; }
.section-header .label { margin-bottom: 1.25rem; }
.section-header__title { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 300; line-height: 1.12; letter-spacing: -0.028em; margin-bottom: 1rem; }
.section-header__sub { font-size: 1rem; color: var(--text-2); font-weight: 300; line-height: 1.75; max-width: 52ch; }

/* ─── 5. BUTTONS ────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.9375rem 2.25rem; font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid transparent; cursor: pointer;
  transition: all var(--ease); text-decoration: none; line-height: 1;
}
.btn--primary  { background: var(--red); color: var(--white); border-color: var(--red); }
.btn--primary:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-2px); box-shadow: var(--shadow-red); }
.btn--outline  { background: transparent; color: var(--text-1); border-color: var(--border-md); }
.btn--outline:hover { border-color: var(--text-1); transform: translateY(-2px); }
.btn--white    { background: var(--white); color: var(--red); border-color: var(--white); }
.btn--white:hover { background: var(--off-white); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.45); }
.btn--outline-white:hover { border-color: var(--white); transform: translateY(-2px); }

/* ─── 6. TOPBAR ─────────────────────────────────── */
.topbar {
  background: var(--black); padding: 0.5rem 0;
  display: none;
  position: fixed; top: 0; left: 0; right: 0; z-index: 102;
}
.topbar .container { display: flex; justify-content: flex-end; align-items: center; gap: 1.75rem; }
.topbar__item {
  font-size: 0.6875rem; color: rgba(255,255,255,0.55);
  text-decoration: none; display: flex; align-items: center; gap: 0.375rem;
  transition: color var(--ease);
}
.topbar__item:hover { color: var(--white); }
.topbar__item svg { width: 0.875rem; height: 0.875rem; flex-shrink: 0; }
@media (min-width: 768px) { .topbar { display: block; } }

/* ─── 7. NAVIGATION ─────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.5rem 0;
  transition: background var(--ease), box-shadow var(--ease), padding var(--ease), top var(--ease);
}
.nav.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border); padding: 1rem 0;
}
@media (min-width: 768px) {
  .nav { top: 36px; }
}

.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

.nav__logo { display: flex; flex-direction: column; text-decoration: none; }
.nav__logo-name { font-size: 1.1875rem; font-weight: 700; letter-spacing: -0.025em; color: var(--text-1); line-height: 1.1; }
.nav__logo-name span { color: var(--red); }
.nav__logo-tag { font-size: 0.625rem; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); line-height: 1; }

.nav__links { display: none; align-items: center; gap: 2.25rem; }
.nav__links a {
  font-size: 0.875rem; font-weight: 400; color: var(--text-2);
  text-decoration: none; position: relative; transition: color var(--ease);
}
.nav__links a::after { content: ''; position: absolute; bottom: -3px; left: 0; width: 0; height: 1px; background: var(--red); transition: width var(--ease); }
.nav__links a:hover, .nav__links a.active { color: var(--text-1); }
.nav__links a:hover::after, .nav__links a.active::after { width: 100%; }

.nav__cta { display: none; }

.nav__burger { display: flex; flex-direction: column; justify-content: center; gap: 5px; background: none; border: none; padding: 0.25rem; cursor: pointer; z-index: 110; }
.nav__burger span { display: block; width: 22px; height: 1.5px; background: var(--text-1); transition: all var(--ease); }
.nav__burger.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.nav__burger.open span:nth-child(2) { opacity: 0; transform: translateX(-6px); }
.nav__burger.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

.nav__mobile { position: fixed; inset: 0; background: var(--white); z-index: 105; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 0 var(--pad); gap: 2rem; opacity: 0; pointer-events: none; transition: opacity var(--ease-slow); }
.nav__mobile.open { opacity: 1; pointer-events: all; }
.nav__mobile a { font-size: clamp(2rem, 8vw, 3rem); font-weight: 300; letter-spacing: -0.03em; color: var(--text-1); text-decoration: none; transition: color var(--ease); }
.nav__mobile a:hover { color: var(--red); }
.nav__mobile-foot { position: absolute; bottom: 2.5rem; left: var(--pad); font-size: 0.8125rem; color: var(--text-3); }

@media (min-width: 768px) {
  .nav__links  { display: flex; }
  .nav__cta    { display: inline-flex; }
  .nav__burger { display: none; }
}

/* ─── 8. HERO ───────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  overflow: hidden;
  position: relative;
}
.hero__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem var(--pad) 5rem;
  position: relative;
  z-index: 1;
  overflow: hidden;
  min-width: 0;
}
.hero__content-inner {
  width: 100%;
  max-width: 580px;
}
@media (min-width: 768px) {
  .hero__content { padding-top: 9rem; }
}
@media (min-width: 960px) {
  .hero__content {
    /* align left edge with main container */
    padding-left: max(var(--pad), calc((100vw - 1140px) / 2));
    padding-right: 2.5rem;
  }
  .hero__content-inner { max-width: 520px; }
}
.hero__panel {
  width: 40%;
  background: var(--red);
  display: none;
  flex-direction: column;
  justify-content: flex-end;
  padding: 4rem;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.hero__panel-bg {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
}
.hero__panel-word {
  font-size: clamp(5rem, 9vw, 10rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.88;
  color: rgba(255,255,255,0.06);
  white-space: nowrap;
  display: block;
  user-select: none;
}
.hero__panel-cta {
  position: relative; z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 2rem;
}
.hero__panel-cta p { font-size: 0.875rem; color: rgba(255,255,255,0.6); margin-bottom: 0.25rem; }
.hero__panel-cta a { font-size: 1.0625rem; color: var(--white); text-decoration: none; font-weight: 300; }
.hero__panel-cta a:hover { text-decoration: underline; }

@media (min-width: 960px) { .hero__panel { display: flex; } }

.hero__eyebrow { margin-bottom: 2rem; }
.hero__title {
  font-size: clamp(2.75rem, 6vw, 5.5rem);
  font-weight: 300; line-height: 1.06;
  letter-spacing: -0.035em; margin-bottom: 1.75rem;
}
.hero__title em { font-style: normal; color: var(--red); }
.hero__subtitle {
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  color: var(--text-2); font-weight: 300; line-height: 1.75;
  max-width: 44ch; margin-bottom: 3rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 4rem; }

.hero__stats {
  display: flex; flex-wrap: wrap; gap: 2.5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}
.hero__stat-num { display: block; font-size: 2rem; font-weight: 300; letter-spacing: -0.04em; line-height: 1; color: var(--text-1); }
.hero__stat-num sup { font-size: 0.5em; vertical-align: super; font-weight: 400; }
.hero__stat-label { font-size: 0.75rem; color: var(--text-3); margin-top: 0.25rem; font-weight: 400; }

/* ─── 9. SERVICE CARDS ──────────────────────────── */
.services-preview { padding: 7rem 0; background: var(--bg-alt); }

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px)  { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 2.5rem 2rem 2rem;
  display: flex; flex-direction: column; gap: 1rem;
  transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
  text-decoration: none; color: inherit;
}
.service-card:hover { border-color: var(--red); transform: translateY(-5px); box-shadow: var(--shadow-red); }
.service-card__icon { width: 2.75rem; height: 2.75rem; color: var(--red); }
.service-card__num  { font-size: 0.625rem; font-weight: 500; letter-spacing: 0.12em; color: var(--text-3); }
.service-card__title { font-size: 1.125rem; font-weight: 500; letter-spacing: -0.01em; }
.service-card__desc { font-size: 0.9rem; color: var(--text-2); line-height: 1.7; font-weight: 300; flex: 1; }
.service-card__link {
  font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--red);
  display: flex; align-items: center; gap: 0.5rem;
  margin-top: 0.5rem;
  transition: gap var(--ease);
}
.service-card:hover .service-card__link { gap: 0.875rem; }

/* ─── 10. PROCESS STEPS ─────────────────────────── */
.process { padding: 7rem 0; }
.process__steps { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 640px)  { .process__steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .process__steps { grid-template-columns: repeat(4, 1fr); } }

.process__step {
  padding: 2.5rem 2rem 2.5rem 0;
  border-top: 2px solid var(--border);
}
.process__step:first-child { border-top-color: var(--red); }
.process__step-num {
  font-size: 3.5rem; font-weight: 300; letter-spacing: -0.05em;
  color: var(--border); line-height: 1; margin-bottom: 1.25rem;
  transition: color var(--ease);
}
.process__step:first-child .process__step-num { color: var(--red-subtle); }
.process__step-title { font-size: 1rem; font-weight: 500; margin-bottom: 0.625rem; }
.process__step-desc  { font-size: 0.875rem; color: var(--text-2); line-height: 1.7; font-weight: 300; }

/* ─── 11. ABOUT/NOSOTROS (dark section) ─────────── */
.about { padding: 7rem 0; background: var(--black); color: var(--white); }
.about__inner { display: grid; gap: 4rem; }
.about__title { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 300; letter-spacing: -0.03em; line-height: 1.1; color: var(--white); margin-top: 1.25rem; }
.about__label { color: var(--red); }
.about__label::before { background: var(--red); }
.about__text { font-size: 0.9375rem; line-height: 1.8; color: rgba(255,255,255,0.58); }
.about__text p + p { margin-top: 1.25rem; }
.about__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem 2rem; margin-top: 3rem; padding-top: 3rem; border-top: 1px solid rgba(255,255,255,0.1); }
.stat__number { display: block; font-size: clamp(2.5rem, 5vw, 3.75rem); font-weight: 300; letter-spacing: -0.04em; line-height: 1; color: var(--white); margin-bottom: 0.375rem; }
.stat__number sup { font-size: 0.38em; vertical-align: super; font-weight: 400; }
.stat__label { font-size: 0.8125rem; color: rgba(255,255,255,0.38); font-weight: 300; }
@media (min-width: 768px) { .about__inner { grid-template-columns: 1fr 1.1fr; align-items: start; } }

/* ─── 12. VALUES GRID ───────────────────────────── */
.values { padding: 7rem 0; }
.values-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px)  { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .values-grid { grid-template-columns: repeat(4, 1fr); } }

.value-card { padding: 2.5rem 2rem; border: 1px solid var(--border); }
.value-card__icon { width: 2.5rem; height: 2.5rem; color: var(--red); margin-bottom: 1.25rem; }
.value-card__title { font-size: 1rem; font-weight: 500; margin-bottom: 0.625rem; }
.value-card__desc { font-size: 0.875rem; color: var(--text-2); line-height: 1.7; font-weight: 300; }

/* ─── 13. CTA BLOCK ─────────────────────────────── */
.cta-block { background: var(--red); padding: 6rem 0; }
.cta-block__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.5rem; }
.cta-block__title { font-size: clamp(1.875rem, 4vw, 3rem); font-weight: 300; letter-spacing: -0.025em; color: var(--white); line-height: 1.15; }
.cta-block__sub { font-size: 1.0625rem; color: rgba(255,255,255,0.7); font-weight: 300; line-height: 1.65; max-width: 48ch; }
.cta-block__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 0.5rem; }

/* ─── 14. CONTACT ───────────────────────────────── */
.contact { padding: 7rem 0; }
.contact__inner { display: grid; gap: 4rem; }
.contact__title { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 300; letter-spacing: -0.028em; line-height: 1.1; margin: 1.25rem 0 2.5rem; }
.contact__details { display: flex; flex-direction: column; gap: 1.75rem; }
.contact__detail-label { font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 0.25rem; }
.contact__detail-value { font-size: 1rem; color: var(--text-1); }
.contact__detail-value a { color: var(--text-1); transition: color var(--ease); }
.contact__detail-value a:hover { color: var(--red); }
@media (min-width: 900px) { .contact__inner { grid-template-columns: 1fr 1.4fr; align-items: start; } }

/* ─── 15. FORM ──────────────────────────────────── */
.form { display: flex; flex-direction: column; gap: 2.5rem; }
.form__row { display: grid; gap: 2rem; }
@media (min-width: 640px) { .form__row { grid-template-columns: repeat(2, 1fr); } }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label { font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); transition: color var(--ease); }
.form-group:focus-within label { color: var(--red); }
.form-control { width: 100%; background: none; border: none; border-bottom: 1px solid var(--border); padding: 0.75rem 0; font-size: 1rem; font-weight: 300; color: var(--text-1); outline: none; transition: border-color var(--ease); }
.form-control::placeholder { color: var(--text-3); }
.form-control:focus { border-color: var(--red); }
textarea.form-control { resize: vertical; min-height: 110px; }
.form-check { display: flex; align-items: flex-start; gap: 1rem; }
.form-check input[type="checkbox"] { width: 1rem; height: 1rem; margin-top: 0.15rem; flex-shrink: 0; accent-color: var(--red); cursor: pointer; }
.form-check label { font-size: 0.875rem; color: var(--text-2); line-height: 1.55; cursor: pointer; }
.form-check a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
.form__msg { display: none; padding: 1rem 1.25rem; font-size: 0.875rem; border-radius: 2px; }
.form__msg--success { background: #F0FFF4; color: #276749; border: 1px solid #9AE6B4; }
.form__msg--error   { background: #FFF5F5; color: #C53030; border: 1px solid #FC8181; }

/* ─── 16. PAGE HERO (inner pages) ───────────────── */
.page-hero {
  padding: 8rem 0 5rem;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) {
  .page-hero { padding-top: 9.5rem; }
}
.page-hero::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 30%; height: 6px;
  background: var(--red);
}
.page-hero::after {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 30%; height: 100%;
  background: linear-gradient(to left, var(--red-subtle), transparent);
  pointer-events: none;
}
.page-hero .label { margin-bottom: 1.5rem; }
.page-hero__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 300; letter-spacing: -0.03em;
  line-height: 1.08; margin-bottom: 1.25rem; max-width: 14ch;
}
.page-hero__sub {
  font-size: 1.0625rem; color: var(--text-2);
  font-weight: 300; line-height: 1.7; max-width: 52ch;
}

/* ─── 17. SERVICES DETAIL PAGE ─────────────────── */
.services-detail { padding: 7rem 0; }
.service-block { display: grid; gap: 3rem; padding: 4rem 0; border-top: 1px solid var(--border); }
.service-block:last-child { border-bottom: 1px solid var(--border); }
@media (min-width: 768px) { .service-block { grid-template-columns: 1fr 2fr; align-items: start; } }

.service-block__head { display: flex; flex-direction: column; gap: 1rem; }
.service-block__icon { width: 3rem; height: 3rem; color: var(--red); }
.service-block__num  { font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.12em; color: var(--text-3); }
.service-block__title { font-size: 1.625rem; font-weight: 300; letter-spacing: -0.02em; line-height: 1.2; }

.service-block__body h3 { font-size: 0.875rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); margin-bottom: 1rem; }
.service-block__body p  { font-size: 1rem; color: var(--text-2); line-height: 1.8; margin-bottom: 2rem; font-weight: 300; }

.feature-list { display: grid; gap: 0.625rem; }
.feature-list li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.9375rem; color: var(--text-2); line-height: 1.5; }
.feature-list li::before { content: ''; display: block; width: 1rem; height: 1rem; border-radius: 50%; background: var(--red-subtle); flex-shrink: 0; margin-top: 0.15rem; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 8l3.5 3.5L13 4.5' stroke='%23C41230' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; }

/* ─── 18. ABOUT PAGE SECTIONS ───────────────────── */
.about-intro { padding: 7rem 0; }
.about-intro__inner { display: grid; gap: 4rem; }
@media (min-width: 768px) { .about-intro__inner { grid-template-columns: 1fr 1fr; align-items: start; } }
.about-intro__title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 300; letter-spacing: -0.025em; line-height: 1.12; margin-top: 1.25rem; }
.about-intro__text  { font-size: 1rem; color: var(--text-2); line-height: 1.8; font-weight: 300; }
.about-intro__text p + p { margin-top: 1.25rem; }

.differentiators { padding: 7rem 0; background: var(--bg-alt); }
.diff-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 640px)  { .diff-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .diff-grid { grid-template-columns: repeat(3, 1fr); } }
.diff-item { padding: 2.5rem 2rem; background: var(--white); border: 1px solid var(--border); }
.diff-item__icon  { width: 2.5rem; height: 2.5rem; color: var(--red); margin-bottom: 1.25rem; }
.diff-item__title { font-size: 1rem; font-weight: 500; margin-bottom: 0.625rem; }
.diff-item__desc  { font-size: 0.875rem; color: var(--text-2); line-height: 1.7; font-weight: 300; }

/* ─── 19. FOOTER ────────────────────────────────── */
.footer { background: var(--black); color: rgba(255,255,255,0.45); padding: 5rem 0 2.5rem; }
.footer__top { display: grid; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 2rem; }
.footer__logo { display: inline-block; font-size: 1.1875rem; font-weight: 700; letter-spacing: -0.025em; color: var(--white); text-decoration: none; margin-bottom: 0.375rem; }
.footer__logo span { color: var(--red); }
.footer__logo-tag { font-size: 0.625rem; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.3); display: block; margin-bottom: 0.875rem; }
.footer__tagline { font-size: 0.875rem; line-height: 1.6; }
.footer__col-title { font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); margin-bottom: 1.25rem; }
.footer__links { display: flex; flex-direction: column; gap: 0.625rem; }
.footer__links a { font-size: 0.9375rem; color: rgba(255,255,255,0.45); text-decoration: none; transition: color var(--ease); }
.footer__links a:hover { color: var(--white); }
.footer__bottom { display: flex; flex-direction: column; gap: 0.375rem; }
.footer__copy  { font-size: 0.8125rem; }
.footer__legal { font-size: 0.75rem; opacity: 0.5; }
@media (min-width: 600px) {
  .footer__top { grid-template-columns: 1.6fr 1fr 1fr; }
  .footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ─── 20. BACK TO TOP ───────────────────────────── */
.back-to-top { position: fixed; bottom: 2rem; right: 2rem; width: 2.75rem; height: 2.75rem; background: var(--red); color: var(--white); border: none; font-size: 1.125rem; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity var(--ease), transform var(--ease); z-index: 50; }
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover   { transform: translateY(-3px); }

/* ─── 21. FADE-UP ANIMATIONS ─────────────────────── */
.fade-up { opacity: 0; transform: translateY(22px); transition: opacity 0.65s ease, transform 0.65s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up.d1 { transition-delay: 0.1s; }
.fade-up.d2 { transition-delay: 0.2s; }
.fade-up.d3 { transition-delay: 0.3s; }
.fade-up.d4 { transition-delay: 0.4s; }

/* ─── 22. LEGAL PAGES ───────────────────────────── */
.legal-hero { padding: 10rem 0 4.5rem; background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.legal-hero .label { margin-bottom: 1.5rem; }
.legal-hero__title { font-size: clamp(2.25rem, 6vw, 4rem); font-weight: 300; letter-spacing: -0.03em; line-height: 1.08; margin-bottom: 0.75rem; }
.legal-hero__date  { font-size: 0.875rem; color: var(--text-3); }
.legal-body { padding: 5rem 0 7rem; }
.legal-body__inner { max-width: 74ch; }
.legal-body h2 { font-size: 1.25rem; font-weight: 500; letter-spacing: -0.01em; margin-top: 3rem; margin-bottom: 1rem; color: var(--text-1); }
.legal-body h3 { font-size: 1rem; font-weight: 500; margin-top: 2rem; margin-bottom: 0.75rem; }
.legal-body p  { font-size: 0.9375rem; line-height: 1.8; color: var(--text-2); margin-bottom: 1rem; }
.legal-body ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-body ul li { font-size: 0.9375rem; line-height: 1.8; color: var(--text-2); margin-bottom: 0.375rem; }
.legal-body strong { font-weight: 500; color: var(--text-1); }
.legal-body a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
.legal-body a:hover { color: var(--red-dark); }
.legal-body table { width: 100%; border-collapse: collapse; margin: 1.5rem 0 2rem; font-size: 0.875rem; }
.legal-body th, .legal-body td { padding: 0.75rem 1rem; text-align: left; border: 1px solid var(--border); }
.legal-body th { background: var(--bg-alt); font-weight: 500; color: var(--text-1); }
.legal-body td { color: var(--text-2); }

/* ─── 23. RESPONSIVE ────────────────────────────── */
@media (min-width: 1024px) { :root { --pad: 2.5rem; } }

/* ─── 24. ABOUT TEASER (front-page) ─────────────── */
.about-teaser { padding: 7rem 0; background: var(--black); color: var(--white); }
.about-teaser__inner { display: grid; gap: 4rem; }
@media (min-width: 768px) { .about-teaser__inner { grid-template-columns: 1fr 1fr; align-items: start; } }
.about-teaser__text h2 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 300; letter-spacing: -0.03em; line-height: 1.1; color: var(--white); margin: 1.25rem 0 1.5rem; }
.about-teaser__text p  { font-size: 0.9375rem; color: rgba(255,255,255,0.58); line-height: 1.8; font-weight: 300; }
.about-teaser__text p + p { margin-top: 1.25rem; }
.about-teaser__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem 2rem; padding-top: 3rem; border-top: 1px solid rgba(255,255,255,0.1); }
.about-teaser__stat strong { display: block; font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 300; letter-spacing: -0.04em; line-height: 1; color: var(--white); margin-bottom: 0.375rem; }
.about-teaser__stat strong sup { font-size: 0.38em; vertical-align: super; font-weight: 400; }
.about-teaser__stat span { font-size: 0.8125rem; color: rgba(255,255,255,0.38); font-weight: 300; }

/* ─── 25. ABOUT INTRO STATS (nosotros page) ──────── */
.about__stats .stat__number { color: var(--text-1); }
.about__stats .stat__label  { color: var(--text-3); }

/* ─── 26. CONTACT DETAIL ITEMS ──────────────────── */
.contact__detail-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact__detail-icon { width: 2.5rem; height: 2.5rem; background: var(--red-subtle); color: var(--red); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact__info h2 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 300; letter-spacing: -0.028em; line-height: 1.1; margin-bottom: 1.25rem; }

/* ─── 27. FOOTER 4-COLUMN & CONTACT INFO ────────── */
@media (min-width: 600px) {
  .footer__top { grid-template-columns: 1.8fr 1fr 1fr 1fr; }
}
.footer__contact-info { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1.25rem; }
.footer__contact-info a { font-size: 0.875rem; color: rgba(255,255,255,0.55); text-decoration: none; transition: color var(--ease); }
.footer__contact-info a:hover { color: var(--white); }

/* ─── 28. BUTTON FULL WIDTH ─────────────────────── */
.btn--full { width: 100%; justify-content: center; }

/* ─── 29. DIFFERENTIATORS PAGE LAYOUT ───────────── */
@media (min-width: 640px)  { .diff-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .diff-grid { grid-template-columns: repeat(3, 1fr); } }

/* ─── 30. DELAY CLASS D5 ────────────────────────── */
.fade-up.d5 { transition-delay: 0.5s; }
