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

/* ══════════════════════════════════════════
   VARIABLES
══════════════════════════════════════════ */
:root {
  --navy:      #0d1f3c;
  --navy-mid:  #162d52;
  --red:       #c8102e;
  --red-dark:  #a30d24;
  --red-soft:  rgba(200,16,46,.08);
  --white:     #ffffff;
  --off-white: #f5f7fa;
  --text:      #1a2840;
  --muted:     #3d5166;
  --border:    #dce4ef;
  --shadow-sm: 0 2px 12px rgba(13,31,60,.07);
  --shadow-md: 0 8px 32px rgba(13,31,60,.11);
  --shadow-lg: 0 20px 60px rgba(13,31,60,.15);
  --r:         6px;
  --r-lg:      12px;
  --nav-h:     72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--white);
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--off-white); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 4px; }

/* ══════════════════════════════════════════
   CONTAINER
══════════════════════════════════════════ */
.container {
  max-width: 1240px; margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 768px) { .container { padding: 0 28px; } }
@media (max-width: 480px) { .container { padding: 0 22px; } }

/* ══════════════════════════════════════════
   NAVIGATION — FULL RESPONSIVE
══════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  max-width: 1240px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: var(--nav-h);
}
.nav-logo { display: flex; flex-direction: column; line-height: 1; }
.nav-logo-main {
  font-weight: 900; font-size: 1.5rem;
  letter-spacing: 4px; text-transform: uppercase; color: var(--navy);
}
.nav-logo-main span { color: var(--red); }
.nav-logo-sub {
  font-size: .48rem; letter-spacing: 3.5px; text-transform: uppercase;
  color: var(--muted); font-weight: 600; margin-top: 2px;
}

/* Desktop links */
.nav-links {
  display: flex; align-items: center; gap: 4px; list-style: none;
}
.nav-links a {
  padding: 8px 18px; border-radius: var(--r);
  font-size: .72rem; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--muted);
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--navy); background: var(--off-white); }
.nav-links a.active { color: var(--red); }

.nav-cta {
  display: inline-block;
  background: var(--red); color: var(--white);
  padding: 10px 24px; border-radius: var(--r);
  font-size: .7rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: background .2s, transform .15s;
}
.nav-cta:hover { background: var(--red-dark); transform: translateY(-1px); }

/* Hamburger button */
.nav-hamburger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; cursor: pointer;
  background: none; border: none; padding: 8px;
  border-radius: var(--r); transition: background .2s;
}
.nav-hamburger:hover { background: var(--off-white); }
.nav-hamburger span {
  display: block; height: 2px; background: var(--navy); border-radius: 2px;
  transition: transform .3s, opacity .3s, width .3s;
}
.nav-hamburger span:nth-child(1) { width: 22px; }
.nav-hamburger span:nth-child(2) { width: 16px; }
.nav-hamburger span:nth-child(3) { width: 22px; }

/* Mobile menu open state */
.nav.open .nav-hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); width: 22px; }
.nav.open .nav-hamburger span:nth-child(2) { opacity: 0; }
.nav.open .nav-hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); width: 22px; }

/* Mobile drawer */
.nav-mobile {
  display: none;
  position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  z-index: 800;
  flex-direction: column;
  padding: 28px 24px;
  overflow-y: auto;
  animation: slideDown .25s ease both;
}
.nav-mobile.open { display: flex; }
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nav-mobile ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.nav-mobile a {
  display: block; padding: 14px 16px; border-radius: var(--r);
  font-size: .85rem; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--muted);
  border-left: 3px solid transparent;
  transition: all .2s;
}
.nav-mobile a:hover, .nav-mobile a.active {
  color: var(--red); background: var(--red-soft);
  border-left-color: var(--red);
}
.nav-mobile-cta {
  margin-top: 20px;
  background: var(--red); color: var(--white);
  padding: 14px; text-align: center; border-radius: var(--r);
  font-size: .78rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* ── Responsive nav breakpoints */
@media (max-width: 960px) {
  .nav-inner { padding: 0 20px; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
}

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
  padding: calc(var(--nav-h) + 60px) 0 100px;
}
.hero-diagonal {
  position: absolute; bottom: -2px; left: 0; right: 0; z-index: 2;
  height: 80px; background: var(--white);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 75% 30%, rgba(200,16,46,.15) 0%, transparent 55%),
    radial-gradient(circle at 10% 80%, rgba(255,255,255,.02) 0%, transparent 40%);
}
.hero-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 64px 64px;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 80px; align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .62rem; font-weight: 700; letter-spacing: 4px;
  text-transform: uppercase; color: var(--red);
  margin-bottom: 24px;
  animation: fadeUp .7s ease both;
}
.hero-eyebrow::before, .hero-eyebrow::after { content: ''; width: 20px; height: 2px; background: var(--red); }
.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 900; line-height: 1.08; letter-spacing: -1.5px; color: var(--white);
  animation: fadeUp .7s .1s ease both;
}
.hero h1 em { font-style: normal; color: var(--red); }
.hero-desc {
  margin: 24px 0 38px;
  font-size: .9rem; color: rgba(255,255,255,.58); line-height: 1.85;
  animation: fadeUp .7s .2s ease both;
}
.hero-btns {
  display: flex; gap: 12px; flex-wrap: wrap;
  animation: fadeUp .7s .3s ease both;
}
.hero-stats-bar {
  display: flex; margin-top: 52px;
  border-top: 1px solid rgba(255,255,255,.08);
  animation: fadeUp .7s .4s ease both;
}
.h-stat {
  flex: 1; padding: 20px 0; text-align: center;
  border-right: 1px solid rgba(255,255,255,.08);
}
.h-stat:last-child { border-right: none; }
.h-stat-num { font-size: 1.7rem; font-weight: 900; color: var(--white); letter-spacing: -1px; line-height: 1; }
.h-stat-num em { font-style: normal; color: var(--red); }
.h-stat-label { font-size: .56rem; color: rgba(255,255,255,.32); letter-spacing: 2px; text-transform: uppercase; margin-top: 4px; }

/* Hero right card */
.hero-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-lg); padding: 36px 30px;
  animation: fadeUp .7s .2s ease both;
}
.hero-card-title {
  font-size: .58rem; font-weight: 700; letter-spacing: 3.5px; text-transform: uppercase;
  color: rgba(255,255,255,.32); margin-bottom: 18px; padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.hero-svc-list { list-style: none; }
.hero-svc-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: .84rem; font-weight: 500; color: rgba(255,255,255,.72);
  transition: color .2s;
}
.hero-svc-list li:last-child { border-bottom: none; }
.hero-svc-list li:hover { color: var(--white); }
.svc-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); flex-shrink: 0; }
.hero-svc-list .ico { font-size: .9rem; width: 22px; text-align: center; }

/* Hero responsive */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 50px; }
  .hero-card { display: none; }
}
@media (max-width: 600px) {
  .hero { padding: calc(var(--nav-h) + 40px) 0 90px; }
  .hero h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
  .hero-stats-bar { flex-wrap: wrap; }
  .h-stat { min-width: 50%; border-bottom: 1px solid rgba(255,255,255,.08); }
  .h-stat:nth-child(even) { border-right: none; }
}

/* ══════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Montserrat', sans-serif; font-weight: 700;
  font-size: .72rem; letter-spacing: 1.5px; text-transform: uppercase;
  border: 2px solid transparent; cursor: pointer;
  padding: 13px 28px; border-radius: var(--r);
  transition: all .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-red    { background: var(--red);   color: var(--white); border-color: var(--red); }
.btn-red:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn-white  { background: var(--white); color: var(--navy);  border-color: var(--white); }
.btn-white:hover { background: var(--off-white); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.35); }
.btn-outline-white:hover { border-color: var(--white); }
.btn-outline-navy { background: transparent; color: var(--navy); border-color: var(--border); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-mid); }

/* ══════════════════════════════════════════
   SECTION COMMONS
══════════════════════════════════════════ */
.section     { padding: 90px 0; }
.section-alt { background: var(--off-white); }
.section-navy { background: var(--navy); }

.section-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .6rem; font-weight: 700; letter-spacing: 4px;
  text-transform: uppercase; color: var(--red); margin-bottom: 10px;
}
.section-eyebrow::before { content: ''; width: 16px; height: 2px; background: var(--red); }
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 900;
  letter-spacing: -0.8px; line-height: 1.15; color: var(--navy); margin-bottom: 12px;
}
.section-title.light { color: var(--white); }
.section-sub { font-size: .88rem; color: var(--muted); line-height: 1.8; max-width: 600px; }
.section-sub.light { color: rgba(255,255,255,.52); }
.divider { width: 42px; height: 3px; background: var(--red); margin: 16px 0 22px; border-radius: 2px; }
.text-center { text-align: center; }
.text-center .section-sub { margin: 10px auto 0; }
.text-center .section-eyebrow { display: flex; justify-content: center; }

@media (max-width: 768px) { .section { padding: 64px 0; } }

/* Boost body text readability on mobile */
@media (max-width: 600px) {
  .about-text-block p,
  .pillar-row p,
  .svc-card p,
  .section-sub,
  .diff-card p,
  .contact-panel > p,
  .hero-desc { font-size: .93rem; }
}

/* ══════════════════════════════════════════
   HOME — ABOUT STRIP
══════════════════════════════════════════ */
.about-strip-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center;
}
.about-pillars { display: flex; flex-direction: column; }
.pillar-row {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 0; border-bottom: 1px solid var(--border);
}
.pillar-row:first-child { border-top: 1px solid var(--border); }
.pillar-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--navy); border-radius: var(--r);
  display: flex; align-items: center; justify-content: center; font-size: .95rem;
}
.pillar-row h4 { font-size: .82rem; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.pillar-row p  { font-size: .78rem; color: var(--muted); line-height: 1.6; }

@media (max-width: 900px) {
  .about-strip-inner { grid-template-columns: 1fr; gap: 44px; }
}

/* ══════════════════════════════════════════
   HOME — SERVICES GRID
══════════════════════════════════════════ */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.svc-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 32px 26px;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s, transform .25s, border-color .3s;
  display: block; color: inherit;
}
.svc-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .4s;
}
.svc-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); border-color: rgba(200,16,46,.2); }
.svc-card:hover::before { transform: scaleX(1); }
.svc-card-icon {
  width: 50px; height: 50px; background: var(--navy); border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; margin-bottom: 18px;
}
.svc-card-num {
  position: absolute; top: 16px; right: 20px;
  font-size: 3rem; font-weight: 900; color: var(--off-white); line-height: 1;
}
.svc-card h3 { font-size: .88rem; font-weight: 800; color: var(--navy); margin-bottom: 8px; line-height: 1.3; }
.svc-card p  { font-size: .78rem; color: var(--muted); line-height: 1.7; }
.svc-card-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 18px; font-size: .65rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--red); opacity: 0; transition: opacity .3s;
}
.svc-card:hover .svc-card-link { opacity: 1; }

@media (max-width: 960px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .svc-grid { grid-template-columns: 1fr; gap: 14px; } }

/* ══════════════════════════════════════════
   CTA STRIP
══════════════════════════════════════════ */
.cta-strip { background: var(--navy); padding: 72px 0; position: relative; overflow: hidden; }
.cta-strip::before {
  content: '';
  position: absolute; top: 0; right: 0; bottom: 0; width: 45%;
  background: linear-gradient(135deg, transparent, rgba(200,16,46,.12));
}
.cta-strip::after {
  content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 4px; background: var(--red);
}
.cta-strip-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; position: relative; z-index: 1;
}
.cta-strip h2 {
  font-size: clamp(1.3rem, 2.8vw, 2rem); font-weight: 900;
  color: var(--white); letter-spacing: -0.5px; line-height: 1.2;
}
.cta-strip p { color: rgba(255,255,255,.48); margin-top: 8px; font-size: .83rem; }
.cta-strip .btn { flex-shrink: 0; }

@media (max-width: 700px) {
  .cta-strip-inner { flex-direction: column; text-align: center; }
  .cta-strip .btn { width: 100%; justify-content: center; }
}

/* ══════════════════════════════════════════
   PAGE HERO
══════════════════════════════════════════ */
.page-hero {
  background: var(--navy);
  padding: calc(var(--nav-h) + 64px) 0 88px;
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; bottom: -1px; left: 0; right: 0; height: 64px;
  background: var(--white);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
.page-hero.bg-alt::after { background: var(--off-white); }
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 75% at 85% 50%, rgba(200,16,46,.15) 0%, transparent 65%);
}
.page-hero-inner { position: relative; z-index: 1; }
.page-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: .58rem; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: rgba(255,255,255,.28); margin-bottom: 22px; flex-wrap: wrap;
}
.page-breadcrumb a { color: rgba(255,255,255,.28); transition: color .2s; }
.page-breadcrumb a:hover { color: rgba(255,255,255,.6); }
.page-breadcrumb .sep { color: rgba(255,255,255,.15); }
.page-breadcrumb .cur { color: var(--red); }
.page-hero h1 {
  font-size: clamp(1.9rem, 4.5vw, 3.5rem); font-weight: 900;
  color: var(--white); letter-spacing: -1.5px; line-height: 1.1; margin-bottom: 16px;
}
.page-hero h1 em { font-style: normal; color: var(--red); }
.page-hero .hero-sub {
  font-size: .9rem; color: rgba(255,255,255,.52); max-width: 520px; line-height: 1.8;
}

@media (max-width: 600px) {
  .page-hero { padding: calc(var(--nav-h) + 44px) 0 80px; }
  .page-hero h1 { font-size: clamp(1.7rem, 7vw, 2.4rem); }
}

/* ══════════════════════════════════════════
   NOSOTROS
══════════════════════════════════════════ */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 70px; align-items: start; }
.about-text-block { margin-bottom: 32px; }
.about-text-block h3 {
  font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 2px;
  color: var(--navy); margin-bottom: 10px;
}
.about-text-block p { font-size: .87rem; color: var(--muted); line-height: 1.85; }
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.value-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r); padding: 22px 18px; box-shadow: var(--shadow-sm);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.value-card:hover { border-color: var(--red); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.value-card-icon {
  width: 36px; height: 36px; background: var(--navy); border-radius: var(--r);
  display: flex; align-items: center; justify-content: center; font-size: .85rem; margin-bottom: 10px;
}
.value-card h4 { font-size: .8rem; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.value-card p  { font-size: .74rem; color: var(--muted); line-height: 1.6; }
.highlight-box {
  background: var(--off-white); border: 1px solid var(--border);
  border-left: 4px solid var(--red);
  padding: 22px 22px; border-radius: 0 var(--r) var(--r) 0;
  font-size: .84rem; color: var(--muted); line-height: 1.8; margin-top: 26px;
}
.highlight-box strong { color: var(--navy); }

@media (max-width: 1000px) {
  .about-grid { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 560px) {
  .values-grid { grid-template-columns: 1fr; }
}

/* Stats bar */
.stats-bar { background: var(--navy); display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-box {
  padding: 40px 16px; text-align: center;
  border-right: 1px solid rgba(255,255,255,.07);
}
.stat-box:last-child { border-right: none; }
.stat-box-num { font-size: 2.5rem; font-weight: 900; color: var(--white); line-height: 1; letter-spacing: -1px; }
.stat-box-num em { font-style: normal; color: var(--red); }
.stat-box-label { font-size: .58rem; color: rgba(255,255,255,.32); letter-spacing: 2.5px; text-transform: uppercase; margin-top: 8px; }

@media (max-width: 768px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat-box:nth-child(2) { border-right: none; }
  .stat-box:nth-child(1),
  .stat-box:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.07); }
}
@media (max-width: 400px) {
  .stats-bar { grid-template-columns: 1fr; }
  .stat-box { border-right: none; border-bottom: 1px solid rgba(255,255,255,.07); }
}

/* Diff cards */
.diff-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.diff-card {
  background: var(--off-white); border: 1px solid var(--border);
  border-top: 3px solid var(--red); border-radius: var(--r-lg);
  padding: 34px 28px;
}
.diff-card-icon {
  width: 46px; height: 46px; background: var(--navy); border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; margin-bottom: 16px;
}
.diff-card h3 { font-size: .86rem; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.diff-card p  { font-size: .78rem; color: var(--muted); line-height: 1.7; }

@media (max-width: 860px) { .diff-grid { grid-template-columns: 1fr; gap: 14px; } }

/* ══════════════════════════════════════════
   SERVICIOS PAGE
══════════════════════════════════════════ */
.services-layout { display: grid; grid-template-columns: 240px 1fr; gap: 50px; align-items: start; }
.services-sidebar { position: sticky; top: calc(var(--nav-h) + 20px); }
.sidebar-label {
  font-size: .56rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: var(--muted); margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--border);
}
.sidebar-nav { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.sidebar-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: var(--r);
  font-size: .76rem; font-weight: 600; color: var(--muted);
  border-left: 3px solid transparent; transition: all .2s;
}
.sidebar-nav a .s-ico { font-size: .88rem; width: 20px; text-align: center; }
.sidebar-nav a:hover { color: var(--navy); background: var(--off-white); border-left-color: var(--border); }
.sidebar-nav a.active { color: var(--red); background: var(--red-soft); border-left-color: var(--red); font-weight: 700; }

.service-block {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 44px 40px; margin-bottom: 20px;
  box-shadow: var(--shadow-sm); scroll-margin-top: calc(var(--nav-h) + 20px);
  transition: box-shadow .3s;
}
.service-block:hover { box-shadow: var(--shadow-md); }
.service-block-head {
  display: flex; align-items: flex-start; gap: 20px;
  padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--border);
}
.sb-icon {
  width: 58px; height: 58px; flex-shrink: 0;
  background: var(--navy); border-radius: var(--r);
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
}
.sb-badge {
  display: inline-block; font-size: .56rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--red); background: var(--red-soft);
  border: 1px solid rgba(200,16,46,.2);
  padding: 3px 10px; border-radius: 20px; margin-bottom: 6px;
}
.service-block h2 { font-size: 1.25rem; font-weight: 900; color: var(--navy); line-height: 1.2; }
.service-block > p { font-size: .87rem; color: var(--muted); line-height: 1.85; margin-bottom: 22px; }
.feat-label {
  font-size: .58rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: var(--navy); margin-bottom: 12px;
}
.feat-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.feat-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .8rem; color: var(--text); line-height: 1.5;
}
.feat-list li::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--red); flex-shrink: 0; margin-top: 6px;
}
.sb-footer { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--border); }

@media (max-width: 1024px) {
  .services-layout { grid-template-columns: 1fr; }
  .services-sidebar { display: none; }
}
@media (max-width: 600px) {
  .service-block { padding: 28px 20px; }
  .feat-list { grid-template-columns: 1fr; }
  .service-block-head { flex-direction: column; gap: 14px; }
}

/* ══════════════════════════════════════════
   CONTACT PAGE
══════════════════════════════════════════ */
.contact-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
.contact-panel > p { font-size: .87rem; color: var(--muted); line-height: 1.8; margin-bottom: 32px; }
.c-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 0; border-bottom: 1px solid var(--border);
}
.c-item:first-of-type { border-top: 1px solid var(--border); }
.c-icon {
  width: 40px; height: 40px; flex-shrink: 0; background: var(--navy); border-radius: var(--r);
  display: flex; align-items: center; justify-content: center; font-size: .82rem;
}
.c-label { font-size: .56rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.c-val   { font-size: .86rem; font-weight: 600; color: var(--navy); }
.resp-badge {
  background: var(--navy); border-radius: var(--r-lg);
  padding: 22px 22px; margin-top: 26px;
  display: flex; gap: 14px; align-items: center;
}
.resp-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  background: var(--red); border-radius: var(--r);
  display: flex; align-items: center; justify-content: center; font-size: .95rem;
}
.resp-text strong { display: block; font-size: .54rem; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.38); margin-bottom: 3px; }
.resp-text span   { font-size: .95rem; font-weight: 800; color: var(--white); }

.contact-form-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 44px 40px; box-shadow: var(--shadow-lg);
}
.contact-form-card h3 { font-size: 1.15rem; font-weight: 900; color: var(--navy); margin-bottom: 6px; }
.contact-form-card > p { font-size: .78rem; color: var(--muted); margin-bottom: 28px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { margin-bottom: 14px; }
.form-field label {
  display: block; font-size: .58rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--navy); margin-bottom: 6px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%; background: var(--off-white); border: 1.5px solid var(--border);
  color: var(--text); padding: 11px 14px;
  font-family: 'Montserrat', sans-serif; font-size: .82rem;
  border-radius: var(--r); outline: none;
  transition: border-color .2s, box-shadow .2s; -webkit-appearance: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--navy); box-shadow: 0 0 0 3px rgba(13,31,60,.07); background: var(--white);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--muted); opacity: .55; }
.form-field select option { background: var(--white); color: var(--text); }
.form-field textarea { height: 116px; resize: vertical; }
.form-footer { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 4px; }
.form-note { font-size: .64rem; color: var(--muted); }
.form-msg {
  padding: 12px 16px; border-radius: var(--r);
  font-size: .8rem; font-weight: 600; margin-bottom: 20px;
}
.form-msg.success { background: #e8f8f0; border: 1.5px solid #34c37a; color: #17693d; }
.form-msg.error   { background: #fdf0f0; border: 1.5px solid var(--red); color: var(--red-dark); }

@media (max-width: 1000px) { .contact-layout { grid-template-columns: 1fr; } }
@media (max-width: 560px)  {
  .contact-form-card { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.footer { background: var(--navy); padding: 60px 0 0; }
.footer-inner {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 52px;
  padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-logo { font-weight: 900; font-size: 1.45rem; letter-spacing: 4px; color: var(--white); margin-bottom: 12px; }
.footer-logo span { color: var(--red); }
.footer-brand p { font-size: .78rem; color: rgba(255,255,255,.32); line-height: 1.75; max-width: 280px; }
.footer-col h4 {
  font-size: .58rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: rgba(255,255,255,.28); margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: .78rem; color: rgba(255,255,255,.46); transition: color .2s; }
.footer-col ul a:hover { color: var(--white); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0; font-size: .68rem; color: rgba(255,255,255,.2); flex-wrap: wrap; gap: 8px;
}
.footer-bottom a { color: rgba(255,255,255,.28); transition: color .2s; }
.footer-bottom a:hover { color: var(--white); }

@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ══════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════════
   FIXES GLOBALES MOBILE
══════════════════════════════════════════ */

/* 1 — Texto subtítulo page-hero visible */
.page-hero .hero-sub {
  color: rgba(255,255,255,.85) !important;
  font-size: .92rem;
}
/* Párrafo directo dentro de page-hero también */
.page-hero-inner > p,
.page-hero .container > p {
  color: rgba(255,255,255,.85) !important;
}

/* 2 — Texto de contacto y nosotros más visible */
.contact-panel h2 { color: var(--navy); }
.contact-panel > p { color: var(--text) !important; font-size: .9rem; }

/* 3 — Hero desc levemente más visible */
.hero-desc { color: rgba(255,255,255,.78) !important; }

/* ══════════════════════════════════════════
   MOBILE FIXES (≤ 600px)
══════════════════════════════════════════ */
@media (max-width: 600px) {

  /* Padding generoso en todos los lados */
  .container { padding: 0 24px !important; }
  .nav-inner  { padding: 0 24px !important; }

  /* Hero: centrar todo */
  .hero-inner { text-align: center; }
  .hero-eyebrow { justify-content: center; }
  .hero-btns {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }
  .hero-btns .btn { width: 100%; max-width: 300px; justify-content: center; }

  /* Page-hero centrado */
  .page-hero-inner { text-align: left; }

  /* About grid: más espacio */
  .about-strip-inner,
  .about-grid { gap: 36px; }

  /* Diff grid inline → 1 col */
  .diff-grid-inline { display: flex !important; flex-direction: column !important; gap: 14px !important; }

  /* Service blocks padding */
  .service-block { padding: 24px 18px; }
  .contact-form-card { padding: 26px 18px; }

  /* Footer padding */
  .footer { padding: 44px 0 0; }
}
