/* ============================================================
   AFL ASESORES — STYLESHEET v3
   Paleta: Texto #1d1d1b | Acento #27348b | Fondo #ffffff | Alt #f9fafc
   Fuentes: Poppins (titulares) + Roboto (textos)
   ============================================================ */

/* ─── CUSTOM PROPERTIES ─────────────────────────────────── */
:root {
  --accent:    #27348b;
  --accent-dk: #1e2870;
  --accent-lt: #3d4fa8;
  --text:      #1d1d1b;
  --text-mid:  #4b5563;
  --text-light:#6b7280;
  --bg:        #ffffff;
  --bg-alt:    #f9fafc;
  --bg-dark:   #0f1535;
  --border:    #e5e7eb;
  --white:     #ffffff;
  --green-wa:  #25D366;

  --font-head: 'Poppins', system-ui, sans-serif;
  --font-body: 'Roboto', system-ui, sans-serif;

  --shadow-xs: 0 1px 3px rgba(39,52,139,.06);
  --shadow-sm: 0 2px 8px rgba(39,52,139,.08);
  --shadow-md: 0 6px 20px rgba(39,52,139,.10);
  --shadow-lg: 0 12px 40px rgba(39,52,139,.14);
  --shadow-xl: 0 24px 64px rgba(39,52,139,.18);
  --shadow-accent: 0 6px 24px rgba(39,52,139,.30);

  --r-sm:  6px;
  --r-md:  12px;
  --r-lg:  18px;
  --r-xl:  26px;
  --r-full: 9999px;

  --nav-h: 70px;
  --ease:  cubic-bezier(0.4, 0, 0.2, 1);
  --trans: 0.28s var(--ease);
}

/* ─── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body.body-root {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
address { font-style: normal; }
button { font-family: inherit; cursor: pointer; }

/* ─── TYPOGRAPHY ─────────────────────────────────────────── */
h1,h2,h3,h4,h5 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}
h1 { font-weight: 800; }
p  { line-height: 1.75; font-family: var(--font-body); }

.title-accent       { color: var(--accent); }
.title-accent-light { color: #a5b4fc; }

/* ─── CONTAINER ─────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 2rem);
}

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  border-radius: var(--r-md);
  padding: 0.7rem 1.4rem;
  border: 2px solid transparent;
  transition: background var(--trans), color var(--trans), border-color var(--trans),
              transform var(--trans), box-shadow var(--trans);
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  box-shadow: var(--shadow-accent);
}
.btn-primary:hover {
  background: var(--accent-dk);
  border-color: var(--accent-dk);
  box-shadow: 0 8px 28px rgba(39,52,139,.42);
}
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.9);
}
.btn-ghost {
  background: transparent;
  color: var(--text-mid);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--bg-alt); }
.btn-sm   { font-size: 0.8rem; padding: 0.5rem 1rem; }
.btn-lg   { font-size: 0.95rem; padding: 0.85rem 1.75rem; }
.btn-full { width: 100%; justify-content: center; }
.mt-4 { margin-top: 1rem; }

/* ─── NAVBAR ─────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--trans), background var(--trans);
}
.navbar.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255,255,255,0.98);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 2rem);
}
.nav-logo { display: flex; align-items: center; }
.logo-img { object-fit: contain; }

.nav-menu { display: flex; gap: 2rem; }
.nav-link {
  font-family: var(--font-head);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-mid);
  position: relative;
  padding-block: 0.2rem;
  transition: color var(--trans);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 100%;
  height: 2px;
  background: var(--accent);
  transition: right var(--trans);
  border-radius: 2px;
}
.nav-link:hover { color: var(--accent); }
.nav-link:hover::after { right: 0; }

.nav-actions { display: flex; align-items: center; gap: 1rem; }
.nav-cta { display: none; }

.hamburger {
  display: flex; flex-direction: column; gap: 5px;
  width: 30px; background: none; border: none; padding: 4px; cursor: pointer;
}
.ham-line {
  display: block; height: 2px; width: 100%;
  background: var(--text); border-radius: 2px;
  transition: transform var(--trans), opacity var(--trans);
  transform-origin: center;
}
.hamburger.open .ham-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open .ham-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open .ham-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  overflow: hidden; max-height: 0;
  transition: max-height 0.4s var(--ease), opacity 0.3s;
  opacity: 0; background: var(--white);
  border-top: 1px solid var(--border);
}
.mobile-menu.open { max-height: 500px; opacity: 1; }
.mobile-menu ul {
  display: flex; flex-direction: column;
  padding: 1.5rem clamp(1rem,5vw,2rem); gap: 0.2rem;
  max-width: 1200px; margin-inline: auto;
}
.mob-link {
  display: block; padding: 0.6rem 0;
  font-family: var(--font-head); font-size: 0.95rem; font-weight: 500;
  color: var(--text-mid); border-bottom: 1px solid var(--border);
  transition: color var(--trans);
}
.mob-link:hover { color: var(--accent); }

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  filter: blur(2px);
  transform: scale(1.04);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,15,55,0.88) 0%,
    rgba(15,21,53,0.74) 55%,
    rgba(20,30,80,0.62) 100%
  );
}
.particles-canvas {
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none; width: 100%; height: 100%;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 760px; padding-block: 5rem;
}
.badge {
  display: inline-flex;
  align-items: center; gap: 0.4rem;
  background: rgba(39,52,139,.22);
  border: 1px solid rgba(165,180,252,.4);
  color: #c7d2fe;
  font-family: var(--font-head);
  font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.38rem 0.9rem;
  border-radius: var(--r-full);
  margin-bottom: 1.5rem;
  text-decoration: none;
  transition: background var(--trans), border-color var(--trans);
}
.badge:hover {
  background: rgba(39,52,139,.35);
  border-color: rgba(165,180,252,.65);
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800; color: var(--white);
  line-height: 1.12; margin-bottom: 1.25rem;
}
.hero-title-accent { color: #a5b4fc; }
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.12rem);
  color: rgba(255,255,255,0.75);
  line-height: 1.78; margin-bottom: 2.25rem;
}
.hero-br { display: none; }
.hero-ctas {
  display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem;
}
.hero-social-proof {
  display: flex; align-items: center; gap: 0.5rem;
  color: rgba(255,255,255,0.6); font-size: 0.875rem;
}
.hero-social-proof svg { color: #a5b4fc; flex-shrink: 0; }
.hero-social-proof strong { color: #a5b4fc; }

.scroll-indicator {
  position: absolute; bottom: 2.5rem; left: 50%;
  transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.scroll-indicator span {
  display: block; width: 2px; height: 8px;
  background: rgba(255,255,255,0.35); border-radius: 2px;
  animation: scrollPulse 1.7s ease-in-out infinite;
}
.scroll-indicator span:nth-child(2) { animation-delay: .15s; opacity: .65; }
.scroll-indicator span:nth-child(3) { animation-delay: .3s;  opacity: .35; }
@keyframes scrollPulse {
  0%,100% { transform: scaleY(1); }
  50%      { transform: scaleY(1.7); }
}

/* ─── METRICS ────────────────────────────────────────────── */
.metrics-section { background: var(--bg-dark); padding-block: 3.5rem; }
.metrics-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
}
.metric-card { text-align: center; padding: 1.5rem 2rem; }
.metric-number {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800; color: #a5b4fc;
  line-height: 1; margin-bottom: 0.65rem;
}
.metric-label {
  font-size: 0.85rem; color: rgba(255,255,255,0.55);
  line-height: 1.5; max-width: 200px; margin-inline: auto;
}
.metric-divider { width: 1px; height: 70px; background: rgba(255,255,255,0.1); }

/* ─── SECTION BASE ───────────────────────────────────────── */
.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  max-width: 720px; margin-inline: auto;
}
.section-tag {
  display: inline-block;
  background: rgba(39,52,139,.08);
  color: var(--accent);
  font-family: var(--font-head);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase;
  padding: 0.28rem 0.85rem; border-radius: var(--r-full);
  margin-bottom: 0.9rem;
  border: 1px solid rgba(39,52,139,.15);
}
.section-tag--light {
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.85);
  border-color: rgba(255,255,255,.2);
}
.section-title {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  color: var(--text); margin-bottom: 0.9rem;
}
.section-title--light { color: var(--white); }
.section-subtitle { font-size: 1rem; color: var(--text-light); line-height: 1.7; }
.section-subtitle--light { color: rgba(255,255,255,.65); }

/* ─── SERVICES ───────────────────────────────────────────── */
.services-section { background: var(--bg-alt); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.5rem; align-items: start;
}

/* All cards same background */
.service-card {
  position: relative;
  background: var(--bg);
  border-radius: var(--r-lg);
  padding: 2.25rem 1.75rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans);
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--border);
  transition: background var(--trans);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(39,52,139,.18);
}
.service-card:hover::after { background: var(--accent); }

/* Featured = same bg, just accent top border always on */
.service-card--featured {
  background: var(--bg);
  border-color: rgba(39,52,139,.25);
  box-shadow: var(--shadow-md);
}
.service-card--featured::after { background: var(--accent); }
.service-card--featured:hover {
  box-shadow: var(--shadow-xl);
  border-color: rgba(39,52,139,.4);
}
/* Override dark-card text back to normal */
.service-card--featured .service-title { color: var(--text); }
.service-card--featured .service-desc  { color: var(--text-light); }
.service-card--featured .service-list li p { color: var(--text-mid); }
.service-card--featured .service-list li p strong { color: var(--text); font-weight: 700; }
.service-card--featured .check-icon { background: var(--accent); opacity: 0.75; }
.service-card--featured .service-cta-link { color: var(--accent); }
.service-card--featured .service-cta-link:hover { color: var(--accent-dk); }

.service-featured-badge {
  position: absolute; top: 1.25rem; right: 1.25rem;
  background: var(--accent); color: var(--white);
  font-family: var(--font-head); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 0.2rem 0.6rem; border-radius: var(--r-full);
}

/* "Más solicitada" badge on Card 1 */
.service-card-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: nowrap;
  width: 100%;
  margin-bottom: 0.65rem;
}
.service-card-header .service-title {
  margin-bottom: 0;
  flex: 1 1 auto;
  min-width: 0;
}
.service-badge-top {
  position: static;
  flex-shrink: 0;
  white-space: nowrap;
  background: rgba(39,52,139,.1);
  color: var(--accent);
  font-family: var(--font-head); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 0.25rem 0.65rem; border-radius: var(--r-full);
  border: 1px solid rgba(39,52,139,.2);
}

.service-card-label {
  font-family: var(--font-head); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.5rem;
}
.service-card-label--light { color: var(--accent); }

.service-icon-wrap {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  background: rgba(39,52,139,.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); margin-bottom: 1.25rem;
}
.service-icon-wrap--accent { background: rgba(39,52,139,.12); color: var(--accent); }

/* Bigger card titles */
.service-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.65rem;
  line-height: 1.25;
}
.service-desc {
  font-size: 0.86rem; color: var(--text-light);
  margin-bottom: 1.4rem; line-height: 1.65;
}
.service-list { display: flex; flex-direction: column; gap: 0.65rem; margin-bottom: 1.75rem; }
.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  text-align: left;
}
.service-list li p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--text-mid);
  line-height: 1.6;
  text-align: left;
  font-family: var(--font-body);
  font-weight: 400;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: none;
}
.service-list li p strong {
  font-weight: 600;
  font-family: var(--font-body);
  display: inline;
  color: var(--text);
}
.check-icon {
  display: block;
  flex-shrink: 0;
  width: 10px; height: 10px;
  margin-top: 5px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.75;
}

.service-cta-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-head); font-size: 0.84rem; font-weight: 600;
  color: var(--accent); transition: gap var(--trans), color var(--trans);
}
.service-cta-link:hover { gap: 0.7rem; color: var(--accent-dk); }
.service-cta-link--light { color: var(--accent); }
.service-cta-link--light:hover { color: var(--accent-dk); }

/* ─── SOLUTIONS ──────────────────────────────────────────── */
.solutions-section { background: var(--bg); }
.solutions-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem;
}
.solution-card {
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--bg-alt); border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  transition: transform var(--trans), box-shadow var(--trans);
}
.solution-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.solution-visual {
  position: relative; height: 200px; overflow: hidden;
}
.solution-img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.solution-card:hover .solution-img { transform: scale(1.06); }
.solution-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 35%, rgba(15,21,53,.55));
}
.solution-badge {
  position: absolute; bottom: 0.85rem; left: 0.85rem;
  display: flex; align-items: center; gap: 0.4rem;
  background: rgba(15,21,53,.75);
  backdrop-filter: blur(6px);
  color: var(--white);
  font-family: var(--font-head); font-size: 0.72rem; font-weight: 600;
  padding: 0.25rem 0.65rem; border-radius: var(--r-full);
  border: 1px solid rgba(255,255,255,.2);
}
.solution-body { padding: 1.5rem; }
.solution-title {
  font-size: 1.1rem; color: var(--text); margin-bottom: 0.65rem;
}
.solution-desc {
  font-size: 0.85rem; color: var(--text-light);
  line-height: 1.7; margin-bottom: 1.1rem;
}
.solution-sectors {
  display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.1rem;
}
.sector-tag {
  background: rgba(39,52,139,.08);
  color: var(--accent);
  font-family: var(--font-head); font-size: 0.72rem; font-weight: 600;
  padding: 0.2rem 0.6rem; border-radius: var(--r-full);
  border: 1px solid rgba(39,52,139,.15);
}
.solution-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-head); font-size: 0.84rem; font-weight: 600;
  color: var(--accent); transition: gap var(--trans);
}
.solution-link:hover { gap: 0.7rem; }

/* ─── ABOUT ──────────────────────────────────────────────── */
.about-section { background: var(--bg-alt); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 5rem); align-items: start;
}
.about-visual { position: relative; }
.about-img {
  width: 100%; object-fit: cover; max-height: 580px;
  border-radius: var(--r-xl); box-shadow: var(--shadow-xl);
}
.about-accent-card {
  position: absolute; bottom: -1.25rem; right: -1.25rem;
  background: var(--white); border-radius: var(--r-md);
  padding: 0.9rem 1.1rem;
  display: flex; align-items: center; gap: 0.65rem;
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
}
.about-accent-card div { display: flex; flex-direction: column; }
.about-accent-card strong { font-family: var(--font-head); font-size: 1rem; color: var(--text); }
.about-accent-card span { font-size: 0.76rem; color: var(--text-light); }

.about-text .section-tag { margin-bottom: 0.6rem; }
.about-body {
  font-size: 1rem; color: var(--text-mid);
  line-height: 1.8; margin-top: 1.1rem; margin-bottom: 1.75rem;
}
.about-pillars { display: flex; flex-direction: column; gap: 1.1rem; margin-bottom: 2rem; }
.pillar { display: flex; gap: 0.9rem; align-items: flex-start; }
.pillar-icon {
  width: 38px; height: 38px;
  background: rgba(39,52,139,.08); border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); flex-shrink: 0; margin-top: 2px;
}
.pillar strong {
  display: block; font-family: var(--font-head);
  font-size: 0.92rem; font-weight: 600; color: var(--text); margin-bottom: 0.15rem;
}
.pillar p { font-size: 0.83rem; color: var(--text-light); line-height: 1.5; }

.location-block {
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow-md);
  background: var(--white);
}
.location-img-wrap { position: relative; height: 180px; overflow: hidden; }
.location-img { width: 100%; height: 100%; object-fit: cover; }
.location-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(15,21,53,.55));
}
.location-body {
  padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem;
}
.location-icon {
  width: 40px; height: 40px;
  background: rgba(39,52,139,.08); border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); flex-shrink: 0;
}
.location-text { font-size: 0.92rem; color: var(--text-mid); line-height: 1.7; }
.location-text strong { color: var(--text); }
.location-address { display: block; margin-top: 0.3rem; font-size: 0.82rem; color: var(--text-light); }
.location-map-btn { align-self: flex-start; }

/* ─── CONTACT — 4 BOXES ─────────────────────────────────── */
.contact-section {
  background: linear-gradient(145deg, #0c1240 0%, #101a4a 100%);
}

/* 4-column grid on desktop, 2 on tablet, 1 on mobile */
.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.contact-card {
  display: flex; flex-direction: column;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-lg);
  padding: 2rem 1.5rem;
  text-decoration: none;
  transition: background var(--trans), border-color var(--trans),
              transform var(--trans), box-shadow var(--trans);
  gap: 0.4rem;
}
.contact-card:hover {
  background: rgba(39,52,139,.25);
  border-color: rgba(165,180,252,.4);
  transform: translateY(-5px);
  box-shadow: 0 14px 40px rgba(10,15,55,.45);
}
/* WhatsApp card keeps green accent on hover */
.contact-card--whatsapp:hover {
  background: rgba(37,211,102,.14);
  border-color: rgba(37,211,102,.4);
}
/* Non-clickable cards */
.contact-card--static { cursor: default; }
.contact-card--static:hover {
  transform: none; box-shadow: none;
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.1);
}

.contact-card-icon {
  width: 52px; height: 52px;
  background: rgba(39,52,139,.25);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: #a5b4fc;
  margin-bottom: 0.75rem;
  flex-shrink: 0;
  transition: background var(--trans);
}
.contact-card--whatsapp .contact-card-icon { background: rgba(37,211,102,.2); color: #4ade80; }
.contact-card:hover .contact-card-icon { background: rgba(39,52,139,.35); }
.contact-card--whatsapp:hover .contact-card-icon { background: rgba(37,211,102,.3); }

.contact-card-label {
  font-family: var(--font-head); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,.45); margin-bottom: 0.35rem;
}
.contact-card-value {
  font-family: var(--font-head); font-size: 1.15rem; font-weight: 700;
  color: var(--white); line-height: 1.3;
}
.contact-card-sub {
  font-size: 0.8rem; color: rgba(255,255,255,.5); line-height: 1.55; flex: 1;
}
/* Inline phone links inside contact-card-sub */
.contact-phone-row {
  display: flex; flex-direction: column; gap: 0.15rem; margin-top: 0.25rem;
}
.contact-phone-row a {
  font-family: var(--font-head); font-size: 0.95rem; font-weight: 600;
  color: #a5b4fc; text-decoration: none; transition: color var(--trans);
}
.contact-phone-row a:hover { color: var(--white); }

.contact-card-cta {
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 1.25rem;
  padding: 0.55rem 1rem;
  border-radius: var(--r-md);
  font-family: var(--font-head); font-size: 0.8rem; font-weight: 600;
  background: var(--accent); color: var(--white);
  transition: background var(--trans), transform var(--trans);
  text-decoration: none;
}
.contact-card-cta:hover { background: var(--accent-dk); transform: translateY(-1px); }
.contact-card--whatsapp .contact-card-cta { background: var(--green-wa); color: var(--white); }
.contact-card--whatsapp .contact-card-cta:hover { background: #1ebe5a; }
.contact-card-cta--static {
  background: rgba(255,255,255,.1); color: rgba(255,255,255,.5); cursor: default;
}
.contact-card-cta--static:hover { background: rgba(255,255,255,.1); transform: none; }

.contact-map {
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: var(--shadow-xl);
}
.contact-map iframe { display: block; }

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: #07102a;
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 4rem; padding-bottom: 2rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem; padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-logo { margin-bottom: 0.6rem; filter: brightness(0) invert(1); opacity: 0.88; }
.footer-tagline {
  font-family: var(--font-head); font-size: 0.75rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: #a5b4fc; font-weight: 700; margin-bottom: 0.85rem;
}
.footer-desc { font-size: 0.83rem; color: rgba(255,255,255,.4); line-height: 1.7; margin-bottom: 1.4rem; }
.footer-social { display: flex; gap: 0.65rem; }
.social-link {
  width: 34px; height: 34px; background: rgba(255,255,255,.07);
  border-radius: var(--r-sm); display: flex; align-items: center;
  justify-content: center; color: rgba(255,255,255,.55);
  transition: background var(--trans), color var(--trans);
}
.social-link:hover { background: var(--accent); color: var(--white); }

.footer-nav-title {
  font-family: var(--font-head); font-size: 0.75rem; letter-spacing: 0.09em;
  text-transform: uppercase; color: rgba(255,255,255,.45);
  font-weight: 700; margin-bottom: 1.1rem;
}
.footer-nav ul, .footer-contact-list { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-link { font-size: 0.85rem; color: rgba(255,255,255,.45); transition: color var(--trans); }
.footer-link:hover { color: #a5b4fc; }
.footer-contact-list li {
  display: flex; align-items: flex-start; gap: 0.55rem;
  font-size: 0.84rem; color: rgba(255,255,255,.45); line-height: 1.5;
}
.footer-contact-list svg { color: #a5b4fc; flex-shrink: 0; margin-top: 2px; }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-legal { font-size: 0.76rem; color: rgba(255,255,255,.3); }
.footer-legal-links { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.footer-link-btn {
  background: none; border: none;
  font-family: var(--font-body); font-size: 0.76rem;
  color: rgba(255,255,255,.35); cursor: pointer;
  padding: 0.2rem 0.45rem; border-radius: var(--r-sm);
  transition: color var(--trans), background var(--trans);
}
.footer-link-btn:hover { color: #a5b4fc; background: rgba(39,52,139,.15); }

/* ─── FABs ───────────────────────────────────────────────── */
.fab-container {
  position: fixed; bottom: 1.75rem; right: 1.75rem;
  z-index: 999; display: flex; flex-direction: column; gap: 0.6rem;
}
.fab {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(0,0,0,.25);
  transition: transform var(--trans), box-shadow var(--trans);
}
.fab:hover { transform: scale(1.1); box-shadow: 0 6px 26px rgba(0,0,0,.3); }
.fab-whatsapp { background: var(--green-wa); color: var(--white); }
.fab-phone    { background: var(--accent); color: var(--white); }

/* ─── MODALS ─────────────────────────────────────────────── */
.modal {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center; padding: 1rem;
}
.modal[hidden] { display: none; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(15,21,53,0.7); backdrop-filter: blur(4px);
}
.modal-content {
  position: relative; background: var(--white); border-radius: var(--r-xl);
  max-width: 540px; width: 100%; max-height: 85vh; overflow-y: auto;
  box-shadow: var(--shadow-xl);
  animation: modalIn 0.25s cubic-bezier(0.34,1.56,0.64,1) forwards;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.94) translateY(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem 1.75rem 0.9rem;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; background: var(--white); z-index: 1;
}
.modal-title { font-size: 1.25rem; color: var(--text); font-family: var(--font-head); }
.modal-close {
  width: 34px; height: 34px; background: var(--bg-alt);
  border: none; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-light); cursor: pointer;
  transition: background var(--trans), color var(--trans);
}
.modal-close:hover { background: var(--border); color: var(--text); }
.modal-body {
  padding: 1.4rem 1.75rem 1.75rem;
  display: flex; flex-direction: column; gap: 0.8rem;
}
.modal-body p  { font-size: 0.875rem; color: var(--text-mid); line-height: 1.7; }
.modal-body h4 { font-family: var(--font-head); font-size: 0.95rem; color: var(--text); }
.modal-body ul { list-style: disc; padding-left: 1.1rem; display: flex; flex-direction: column; gap: 0.35rem; }
.modal-body li { font-size: 0.875rem; color: var(--text-mid); line-height: 1.65; }

/* ─── COOKIE BANNER ──────────────────────────────────────── */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1500;
  background: var(--text); border-top: 1px solid rgba(255,255,255,.08);
  padding: 0.9rem clamp(1rem,5vw,2rem);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner-content {
  max-width: 1200px; margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.cookie-banner-content p { font-size: 0.83rem; color: rgba(255,255,255,.6); }
.cookie-policy-link {
  background: none; border: none; color: #a5b4fc; cursor: pointer;
  font-size: inherit; font-family: inherit;
  text-decoration: underline; text-underline-offset: 2px;
}
.cookie-banner-actions { display: flex; gap: 0.5rem; }

/* ─── ANIMATIONS ─────────────────────────────────────────── */
.animate-fade-up {
  opacity: 0; transform: translateY(22px);
  animation: fadeUp 0.6s cubic-bezier(0.22,1,0.36,1) forwards;
}
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
.anim-delay-1 { animation-delay: 0.1s; }
.anim-delay-2 { animation-delay: 0.2s; }
.anim-delay-3 { animation-delay: 0.32s; }
.anim-delay-4 { animation-delay: 0.44s; }

.observe-fade {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1),
              transform 0.65s cubic-bezier(0.22,1,0.36,1);
}
.observe-fade.anim-delay-1 { transition-delay: 0.1s; }
.observe-fade.anim-delay-2 { transition-delay: 0.2s; }
.observe-fade.anim-delay-3 { transition-delay: 0.32s; }
.observe-fade.anim-delay-4 { transition-delay: 0.44s; }
.observe-fade.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (min-width: 1024px) {
  .nav-cta   { display: inline-flex; }
  .hamburger { display: none; }
  .hero-br   { display: initial; }
}
@media (max-width: 1023px) {
  .nav-menu       { display: none; }
  .services-grid  { grid-template-columns: 1fr; max-width: 540px; margin-inline: auto; }
  .solutions-grid { grid-template-columns: 1fr; max-width: 540px; margin-inline: auto; }
  .about-grid     { grid-template-columns: 1fr; }
  .about-accent-card { right: 1rem; bottom: -1rem; }
  .contact-cards-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid    { grid-template-columns: 1fr 1fr; }
  .footer-brand   { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .metrics-grid { grid-template-columns: 1fr; }
  .metric-divider { width: 70%; height: 1px; margin-inline: auto; }
  .metric-card { padding: 1.4rem 1rem; }
  .footer-grid    { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom  { flex-direction: column; align-items: flex-start; }
  .hero-ctas      { flex-direction: column; align-items: flex-start; }
  .contact-cards-grid { grid-template-columns: 1fr; }
  .about-accent-card  { display: none; }
}
@media (max-width: 479px) {
  .hero-title { font-size: 2rem; }
  .badge      { font-size: 0.7rem; }
  .cookie-banner-content { flex-direction: column; align-items: flex-start; }
}

/* ─── ACCESSIBILITY ──────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px; border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ─── MOBILE OVERLAY MENU ────────────────────────────────── */

/* Remove the old dropdown rules */
.mobile-menu { display: none !important; }

/* Full-screen overlay */
.mob-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  /* Hidden state */
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%);
  transition:
    opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.35s;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.mob-overlay.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Prevent body scroll when overlay is open */
body.mob-open { overflow: hidden; }

.mob-overlay-inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 0 clamp(1.5rem, 6vw, 2.5rem) 2.5rem;
}

/* Header row: logo + close btn */
.mob-overlay-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  flex-shrink: 0;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 2.5rem;
}
.mob-overlay-logo img { object-fit: contain; }

.mob-close-btn {
  width: 44px;
  height: 44px;
  border: none;
  background: #f9fafc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1d1d1b;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}
.mob-close-btn:hover { background: #e5e7eb; }

/* Nav links */
.mob-nav { flex: 1; }
.mob-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mob-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 700;
  color: #1d1d1b;
  border-bottom: 1px solid #f3f4f6;
  text-decoration: none;
  min-height: 64px;
  transition: color 0.2s;
  position: relative;
}
.mob-nav-link::after {
  content: '→';
  font-size: 1.2rem;
  color: #d1d5db;
  transition: color 0.2s, transform 0.2s;
}
.mob-nav-link:hover,
.mob-nav-link:focus-visible {
  color: #27348b;
}
.mob-nav-link:hover::after { color: #27348b; transform: translateX(4px); }

/* Footer quick-actions */
.mob-footer {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.mob-footer-label {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9ca3af;
}
.mob-footer-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.mob-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  min-height: 48px;
  flex: 1;
  justify-content: center;
  min-width: 140px;
}
.mob-action-btn:hover { transform: translateY(-2px); }

.mob-action-btn--phone {
  background: #27348b;
  color: #ffffff;
}
.mob-action-btn--phone:hover { background: #1e2870; }

.mob-action-btn--wa {
  background: #25D366;
  color: #ffffff;
}
.mob-action-btn--wa:hover { background: #1ebe5a; }

.mob-address-link {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: 'Roboto', system-ui, sans-serif;
  font-size: 0.85rem;
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s;
  min-height: 44px;
}
.mob-address-link:hover { color: #27348b; }
.mob-address-link svg { flex-shrink: 0; color: #27348b; }

/* Only show overlay on mobile/tablet */
@media (min-width: 1024px) {
  .mob-overlay { display: none !important; }
}

/* ─── RGPD / COOKIE COMPLIANCE ────────────────────────────── */

/* Botón outline (mismo peso visual que btn-primary) */
.btn-outline-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 1.25rem;
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1;
  border-radius: 8px;
  border: 2px solid var(--accent, #27348b);
  background: transparent;
  color: var(--accent, #27348b);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.btn-outline-primary:hover {
  background: var(--accent, #27348b);
  color: #ffffff;
}

/* Cookie banner — equal-weight buttons side by side */
.cookie-banner-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-banner-actions .btn {
  flex: 0 0 auto;
}

/* Map consent placeholder */
.map-consent-placeholder {
  width: 100%;
  height: 300px;
  background: #f1f5f9;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2e8f0;
}
.map-consent-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem;
  text-align: center;
  color: #64748b;
}
.map-consent-inner svg {
  color: var(--accent, #27348b);
  opacity: 0.6;
}
.map-consent-inner p {
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}
.map-consent-link {
  font-size: 0.82rem;
  color: var(--accent, #27348b);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Cookie table inside modal */
.cookie-table-wrap {
  overflow-x: auto;
  margin: 1rem 0;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}
.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  font-family: 'Roboto', system-ui, sans-serif;
  min-width: 480px;
}
.cookie-table th {
  background: #f1f5f9;
  color: #374151;
  font-weight: 600;
  text-align: left;
  padding: 0.6rem 0.9rem;
  border-bottom: 2px solid #e2e8f0;
  white-space: nowrap;
}
.cookie-table td {
  padding: 0.55rem 0.9rem;
  border-bottom: 1px solid #f1f5f9;
  color: #4b5563;
  vertical-align: top;
}
.cookie-table tbody tr:last-child td { border-bottom: none; }
.cookie-table tbody tr:hover td { background: #f8fafc; }
.cookie-table code {
  font-family: 'Courier New', monospace;
  font-size: 0.78rem;
  background: #e0e7ff;
  color: #1e40af;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}

/* Modal body links */
.modal-body a {
  color: var(--accent, #27348b);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.modal-body a:hover { opacity: 0.8; }

/* ─── NOSOTROS: left-only layout + contact info rows ──────── */
.about-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1.25rem;
}
.about-contact-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.about-contact-row svg { flex-shrink: 0; color: var(--accent, #27348b); }
.about-contact-link {
  color: var(--text, #1d1d1b);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.about-contact-link:hover { color: var(--accent, #27348b); }
.about-contact-sep { color: #9ca3af; }

/* about-grid: when no left image, text takes full left, location right */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ─── SERVICES: intro paragraph (no section title) ─────────── */
.section-intro-text {
  max-width: 780px;
  margin: 0 auto 3rem;
  text-align: center;
}
.section-intro-text p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #4b5563;
}

/* ─── SERVICE CARD: primary/featured variant ────────────────── */
.service-card--primary {
  border-top: 3px solid var(--accent, #27348b);
  background: #f0f4ff;
}

/* ─── CONTACT: 3-column grid ────────────────────────────────── */
.contact-cards-grid--3col {
  grid-template-columns: repeat(3, 1fr) !important;
}
@media (max-width: 900px) {
  .contact-cards-grid--3col { grid-template-columns: 1fr !important; }
}

/* WhatsApp inline icon+link inside contact card */
.contact-wa-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  color: inherit;
  font-weight: 500;
}
.contact-wa-inline a {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
}
.contact-wa-inline:hover a { color: var(--accent, #27348b); }

/* ─── SECCIÓN SERVICIOS: intro de dos párrafos ─────────────── */
.section-intro-text p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #4b5563;
  max-width: 780px;
  margin: 0 auto;
}
.section-intro-text p + p {
  margin-top: 0.9rem;
}

/* ─── NOSOTROS: Estructura central en una sola columna apilada ── */
.about-section {
  background: var(--bg-alt, #f9fafc);
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
}

.about-single-col {
  max-width: 860px;
  margin: 0 auto;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.about-header {
  margin-bottom: 1.25rem;
  text-align: center;
  width: 100%;
}

.about-header .section-title {
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  line-height: 1.25;
  margin-bottom: 0;
  text-align: center;
  text-wrap: balance;
}

.about-body {
  font-size: 1.05rem;
  color: var(--text-mid, #4b5563);
  line-height: 1.85;
  margin-bottom: 1rem;
  text-align: center;
  max-width: 820px;
}

.about-body strong {
  color: var(--text, #1d1d1b);
}

.about-pills-row {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
  margin-top: 0.5rem;
  margin-bottom: 2.25rem;
  width: 100%;
}

.about-contact-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #eef4ff;
  color: var(--accent, #27348b);
  border: 1px solid rgba(39, 52, 139, 0.15);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 1px 3px rgba(39, 52, 139, 0.04);
}

.about-contact-pill:hover {
  background-color: #e0ecff;
  border-color: rgba(39, 52, 139, 0.3);
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(39, 52, 139, 0.1);
  color: var(--accent, #27348b);
}

.about-contact-pill svg {
  flex-shrink: 0;
}

/* ─── CONTACTO: 4-column grid ───────────────────────────────── */
.contact-cards-grid--4col {
  grid-template-columns: repeat(4, 1fr) !important;
}
@media (max-width: 1100px) {
  .contact-cards-grid--4col { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 600px) {
  .contact-cards-grid--4col { grid-template-columns: 1fr !important; }
}

/* ─── CONTACTO: WhatsApp navy card ─────────────────────────── */
.contact-card--wa-navy {
  background: #0a192f;
  border-color: #0a192f;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

/* WA icon in green rounded square */
.contact-wa-icon-wrap {
  width: 52px;
  height: 52px;
  background: rgba(37,211,102,0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

/* Overrides for navy card labels */
.contact-card-label--wa {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}
.contact-card-value--wa {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
  line-height: 1.25;
}
.contact-card-sub--wa {
  font-size: 0.83rem;
  color: #94a3b8;
  margin-bottom: auto;
  padding-bottom: 1.25rem;
}

/* WA CTA button — full-width green */
.contact-card-cta--wa {
  display: block;
  width: 100%;
  text-align: center;
  background: #25D366;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  text-decoration: none;
  margin-top: auto;
  transition: background 0.2s, transform 0.2s;
  box-sizing: border-box;
}
.contact-card-cta--wa:hover {
  background: #1ebe5a;
  transform: translateY(-2px);
}

/* ─── NOSOTROS: Cajas apiladas al 100% con Badge superpuesto ─── */
.about-mockup-wrap,
.location-block {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  border-radius: 16px !important; /* Mismo radio de curvatura suave */
  overflow: hidden !important;
  border: 1px solid var(--border, #e2e8f0) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
  background: #ffffff !important;
  margin: 0 !important;
  transition: transform var(--trans, 0.3s ease), box-shadow var(--trans, 0.3s ease);
}

.about-mockup-wrap {
  position: relative !important;
  margin-bottom: 24px !important; /* Margen vertical entre el mockup y la ubicación */
}

.about-mockup-wrap:hover,
.location-block:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.09) !important;
}

.location-block {
  text-align: left;
}

.about-mockup-img {
  width: 100% !important;
  height: 320px !important; /* Formato panorámico para ancho completo */
  object-fit: cover !important;
  display: block !important;
}

@media (max-width: 640px) {
  .about-mockup-img {
    height: 220px !important;
  }
}

/* Sutil gradiente sobre la imagen para contraste del badge */
.about-mockup-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.05) 50%, rgba(15, 23, 42, 0.35) 100%);
  pointer-events: none;
}

/* Badge flotante superpuesto en la esquina superior de la foto */
.about-mockup-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(10, 25, 47, 0.88); /* Fondo oscuro semitransparente elegante */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 0.6rem 1.15rem;
  border-radius: 50px;
  font-family: var(--font-head, 'Poppins', sans-serif);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.25);
  z-index: 2;
}

.about-mockup-badge svg {
  color: #60a5fa;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .about-mockup-badge {
    top: 0.85rem;
    left: 0.85rem;
    font-size: 0.8rem;
    padding: 0.45rem 0.85rem;
  }
}

.location-img-wrap {
  width: 100% !important;
  height: 200px !important;
  position: relative !important;
  overflow: hidden !important;
}

@media (max-width: 640px) {
  .location-img-wrap {
    height: 160px !important;
  }
}

.location-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

/* ─── SERVICIOS: Cabecera con título y badge en la misma línea (nowrap) ── */
.service-card-header {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
  margin-bottom: 0.65rem !important;
}

.service-card-header .service-title {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  margin-bottom: 0 !important;
}

.service-badge-top {
  position: static !important;
  flex-shrink: 0 !important;
  white-space: nowrap !important;
}
