/* ================================================================
   CUIDADORES MARESME — Design System v2.0
   Inspirado en wayalia.es — cuidadoresmaresme.es
   ================================================================ */

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

/* ─── Tokens ──────────────────────────────────────────────────── */
:root {
  --blue:        #0066CC;
  --blue-dark:   #0050A0;
  --blue-darker: #003D7A;
  --blue-light:  #EBF4FF;
  --blue-mid:    #C3DDF7;
  --green:       #16A34A;
  --green-light: #F0FFF4;
  --orange:      #EA580C;
  --white:       #FFFFFF;
  --bg:          #F9FAFB;
  --bg-dark:     #F3F4F6;
  --text:        #111827;
  --text-2:      #374151;
  --text-3:      #6B7280;
  --text-4:      #9CA3AF;
  --border:      #E5E7EB;
  --border-2:    #D1D5DB;

  --r-sm:  6px;
  --r-md:  10px;
  --r-lg:  16px;
  --r-xl:  24px;
  --r-2xl: 32px;
  --r-f:   9999px;

  --sh-xs: 0 1px 2px rgba(0,0,0,.05);
  --sh-sm: 0 1px 3px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.04);
  --sh-md: 0 4px 12px rgba(0,0,0,.08),0 2px 4px rgba(0,0,0,.04);
  --sh-lg: 0 8px 24px rgba(0,0,0,.09),0 4px 8px rgba(0,0,0,.04);
  --sh-xl: 0 20px 40px rgba(0,0,0,.10),0 8px 16px rgba(0,0,0,.05);
  --sh-blue: 0 8px 24px rgba(0,102,204,.25);

  --ease: cubic-bezier(.4,0,.2,1);
  --t-fast: 150ms;
  --t-mid:  250ms;
  --t-slow: 400ms;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --w: 1200px;
}

/* ─── Reset ───────────────────────────────────────────────────── */
*,::before,::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body { font-family:var(--font); color:var(--text); line-height:1.6; background:var(--white); -webkit-font-smoothing:antialiased; }
img,svg { display:block; max-width:100%; }
a { text-decoration:none; color:inherit; }
ul { list-style:none; }
button,input,select,textarea { font-family:var(--font); }
button { cursor:pointer; border:none; background:none; }
::selection { background:var(--blue); color:var(--white); }

/* ─── Scrollbar ───────────────────────────────────────────────── */
::-webkit-scrollbar { width:5px; }
::-webkit-scrollbar-track { background:var(--bg); }
::-webkit-scrollbar-thumb { background:var(--blue); border-radius:3px; }

/* ─── Layout ──────────────────────────────────────────────────── */
.container { width:100%; max-width:var(--w); margin:0 auto; padding:0 24px; }
.section    { padding:80px 0; }
.section-sm { padding:56px 0; }
.section-lg { padding:104px 0; }
.section-alt { background:var(--bg); }
.section-dark { background:var(--text); }
.section-blue { background:linear-gradient(135deg,var(--blue-darker) 0%,var(--blue) 100%); }

/* ─── Type ────────────────────────────────────────────────────── */
h1 { font-size:clamp(2rem,5vw,3.25rem); font-weight:800; line-height:1.15; }
h2 { font-size:clamp(1.5rem,3.5vw,2.25rem); font-weight:700; line-height:1.25; }
h3 { font-size:clamp(1.1rem,2vw,1.375rem); font-weight:700; line-height:1.3; }
h4 { font-size:1.0625rem; font-weight:600; line-height:1.4; }
p  { color:var(--text-3); line-height:1.75; }

.text-white    { color:var(--white) !important; }
.text-blue     { color:var(--blue); }
.text-center   { text-align:center; }
.font-semibold { font-weight:600; }
.font-bold     { font-weight:700; }
.lead          { font-size:1.1rem; line-height:1.8; }

/* ─── Tag / Badge ─────────────────────────────────────────────── */
.tag {
  display:inline-flex; align-items:center; gap:6px;
  padding:5px 14px;
  background:var(--blue-light); color:var(--blue);
  border-radius:var(--r-f); font-size:.8rem; font-weight:600;
  letter-spacing:.04em; text-transform:uppercase;
}
.tag-green { background:var(--green-light); color:var(--green); }
.tag-white { background:rgba(255,255,255,.15); color:var(--white); }

/* ─── Buttons ─────────────────────────────────────────────────── */
.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:13px 28px; border-radius:var(--r-sm);
  font-size:.9375rem; font-weight:600; line-height:1;
  transition:all var(--t-mid) var(--ease);
  white-space:nowrap; cursor:pointer;
}
.btn-primary {
  background:var(--blue); color:var(--white);
  box-shadow:0 4px 14px rgba(0,102,204,.35);
}
.btn-primary:hover { background:var(--blue-dark); transform:translateY(-2px); box-shadow:0 8px 20px rgba(0,102,204,.45); }
.btn-secondary {
  background:#16A34A; color:var(--white);
  box-shadow:0 4px 14px rgba(22,163,74,.3);
}
.btn-secondary:hover { background:#15803D; transform:translateY(-2px); }
.btn-outline {
  background:transparent; color:var(--blue);
  border:2px solid var(--blue);
}
.btn-outline:hover { background:var(--blue); color:var(--white); transform:translateY(-2px); }
.btn-white {
  background:var(--white); color:var(--blue); font-weight:700;
}
.btn-white:hover { background:var(--blue-light); transform:translateY(-2px); }
.btn-outline-white {
  background:transparent; color:var(--white);
  border:2px solid rgba(255,255,255,.6);
}
.btn-outline-white:hover { background:rgba(255,255,255,.1); border-color:var(--white); }
.btn-lg { padding:16px 36px; font-size:1rem; }
.btn-sm { padding:9px 18px; font-size:.85rem; }
.btn-full { width:100%; }

/* ─── Section Header ──────────────────────────────────────────── */
.sh { margin-bottom:52px; }
.sh .tag { margin-bottom:14px; }
.sh h2 { margin-bottom:12px; }
.sh p { max-width:560px; font-size:1.05rem; }
.sh.center { text-align:center; }
.sh.center p { margin:0 auto; }

/* ─── Divider ─────────────────────────────────────────────────── */
.divider { height:1px; background:var(--border); margin:0; }

/* ─────────────────────────────────────────────────────────────── */
/*  NAVBAR                                                          */
/* ─────────────────────────────────────────────────────────────── */
.nav {
  position:fixed; top:0; left:0; right:0; z-index:1000;
  padding:18px 0;
  transition:background var(--t-mid) var(--ease),
             padding var(--t-mid) var(--ease),
             box-shadow var(--t-mid) var(--ease);
}
.nav.scrolled {
  background:var(--white);
  padding:12px 0;
  box-shadow:0 1px 0 var(--border), 0 4px 20px rgba(0,0,0,.06);
}
.nav-inner {
  display:flex; align-items:center; gap:8px;
}
.nav-logo {
  flex-shrink:0; margin-right:auto;
  font-size:1.25rem; font-weight:800; color:var(--white);
  letter-spacing:-.03em;
  transition:color var(--t-mid) var(--ease);
}
.nav-logo span { color:#7DD3FC; }
.nav.scrolled .nav-logo { color:var(--blue); }
.nav.scrolled .nav-logo span { color:#38BDF8; }

.nav-links {
  display:flex; align-items:center; gap:2px;
}
.nav-links a {
  padding:8px 14px; border-radius:var(--r-sm);
  font-size:.9rem; font-weight:500; color:rgba(255,255,255,.9);
  transition:all var(--t-fast) var(--ease);
}
.nav.scrolled .nav-links a { color:var(--text-2); }
.nav-links a:hover { background:rgba(255,255,255,.12); color:var(--white); }
.nav.scrolled .nav-links a:hover { background:var(--blue-light); color:var(--blue); }
.nav-links a.active { font-weight:600; }

.nav-cta { margin-left:12px; }
.nav-cta .btn { padding:10px 22px; font-size:.875rem; }

.nav-toggle {
  display:none; flex-direction:column; gap:5px;
  padding:6px; margin-left:8px;
}
.nav-toggle span {
  display:block; width:22px; height:2px;
  background:var(--white); border-radius:2px;
  transition:all var(--t-mid) var(--ease);
}
.nav.scrolled .nav-toggle span { background:var(--text); }
.nav-toggle.open span:nth-child(1) { transform:rotate(45deg) translate(5px,5px); }
.nav-toggle.open span:nth-child(2) { opacity:0; }
.nav-toggle.open span:nth-child(3) { transform:rotate(-45deg) translate(5px,-5px); }

/* ─────────────────────────────────────────────────────────────── */
/*  HERO                                                             */
/* ─────────────────────────────────────────────────────────────── */
.hero {
  position:relative; min-height:100vh;
  display:flex; align-items:center;
  background:linear-gradient(135deg,#002D62 0%,#0050A0 40%,var(--blue) 100%);
  overflow:hidden; padding:120px 0 80px;
}
.hero::after {
  content:''; position:absolute; inset:0; z-index:0;
  background:url('/images/hero-bg.jpg') center/cover no-repeat;
  opacity:.08;
}
.hero-bg-shapes { position:absolute; inset:0; pointer-events:none; z-index:1; overflow:hidden; }
.hero-circle {
  position:absolute; border-radius:50%;
  background:rgba(255,255,255,.04);
}
.hero-circle-1 { width:700px; height:700px; top:-200px; right:-150px; }
.hero-circle-2 { width:400px; height:400px; bottom:-100px; left:-80px; }
.hero-circle-3 { width:200px; height:200px; top:40%; right:20%; background:rgba(255,255,255,.06); }

.hero-content { position:relative; z-index:2; max-width:700px; }
.hero .tag { margin-bottom:24px; }
.hero h1 { color:var(--white); margin-bottom:20px; }
.hero h1 em { font-style:normal; color:#93C5FD; }
.hero-sub { font-size:1.15rem; color:rgba(255,255,255,.8); margin-bottom:40px; max-width:560px; }
.hero-actions { display:flex; gap:14px; flex-wrap:wrap; margin-bottom:56px; }
.hero-stats {
  display:grid; grid-template-columns:repeat(4,1fr); gap:0;
  background:rgba(255,255,255,.08); backdrop-filter:blur(12px);
  border-radius:var(--r-lg); border:1px solid rgba(255,255,255,.12);
  overflow:hidden;
}
.hero-stat {
  padding:20px 16px; text-align:center;
  border-right:1px solid rgba(255,255,255,.1);
}
.hero-stat:last-child { border-right:none; }
.hero-stat-n {
  font-size:1.9rem; font-weight:800; color:var(--white);
  line-height:1; margin-bottom:4px;
}
.hero-stat-l { font-size:.78rem; color:rgba(255,255,255,.65); font-weight:500; }

/* ─────────────────────────────────────────────────────────────── */
/*  FEATURE SECTIONS (alternating)                                  */
/* ─────────────────────────────────────────────────────────────── */
.feature-row {
  display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center;
}
.feature-row.reverse { direction:rtl; }
.feature-row.reverse > * { direction:ltr; }

.feature-img {
  position:relative; border-radius:var(--r-xl); overflow:hidden;
  box-shadow:var(--sh-xl);
}
.feature-img img {
  width:100%; height:460px; object-fit:cover; display:block;
}
.feature-img-placeholder {
  width:100%; height:460px;
  background:linear-gradient(135deg,var(--blue-light),var(--bg-dark));
  display:flex; align-items:center; justify-content:center;
  font-size:6rem; color:var(--blue); border-radius:var(--r-xl);
  border:1px solid var(--border);
}
.feature-badge {
  position:absolute; bottom:20px; left:20px;
  background:var(--white); border-radius:var(--r-md);
  padding:14px 18px; box-shadow:var(--sh-lg);
  display:flex; align-items:center; gap:12px;
}
.feature-badge-icon {
  width:42px; height:42px; background:var(--blue-light); border-radius:var(--r-sm);
  display:flex; align-items:center; justify-content:center; font-size:1.2rem;
}
.feature-badge strong { display:block; font-size:.95rem; color:var(--text); }
.feature-badge span { font-size:.78rem; color:var(--text-3); }

.feature-text .tag { margin-bottom:18px; }
.feature-text h2 { margin-bottom:16px; }
.feature-text p { margin-bottom:24px; font-size:1.0rem; }
.feature-list { display:flex; flex-direction:column; gap:14px; margin:24px 0; }
.feature-item {
  display:flex; gap:12px; align-items:flex-start;
}
.feature-item-dot {
  width:22px; height:22px; flex-shrink:0; margin-top:2px;
  background:var(--blue-light); border-radius:var(--r-f);
  display:flex; align-items:center; justify-content:center;
}
.feature-item-dot svg { width:12px; height:12px; }
.feature-item h5 { font-size:.9rem; font-weight:600; color:var(--text); margin-bottom:2px; }
.feature-item p { font-size:.85rem; margin:0; }

/* ─────────────────────────────────────────────────────────────── */
/*  SERVICES GRID                                                    */
/* ─────────────────────────────────────────────────────────────── */
.services-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}
.svc-card {
  background:var(--white); border:1px solid var(--border);
  border-radius:var(--r-lg); padding:28px 24px;
  transition:all var(--t-mid) var(--ease);
  cursor:default;
}
.svc-card:hover {
  transform:translateY(-6px);
  box-shadow:var(--sh-lg);
  border-color:var(--blue-mid);
}
.svc-card:hover .svc-icon { background:var(--blue); color:var(--white); }
.svc-icon {
  width:52px; height:52px; border-radius:var(--r-md);
  background:var(--blue-light); color:var(--blue);
  display:flex; align-items:center; justify-content:center;
  font-size:1.5rem; margin-bottom:16px;
  transition:all var(--t-mid) var(--ease);
}
.svc-card h4 { font-size:.975rem; margin-bottom:8px; }
.svc-card p { font-size:.84rem; line-height:1.6; }
.svc-link {
  display:inline-flex; align-items:center; gap:5px;
  color:var(--blue); font-size:.82rem; font-weight:600;
  margin-top:14px;
  transition:gap var(--t-fast) var(--ease);
}
.svc-card:hover .svc-link { gap:9px; }

/* ─────────────────────────────────────────────────────────────── */
/*  STATS BAR                                                        */
/* ─────────────────────────────────────────────────────────────── */
.stats-bar { background:var(--blue); padding:52px 0; }
.stats-bar-grid {
  display:grid; grid-template-columns:repeat(4,1fr);
  gap:0; text-align:center;
}
.stat-bar-item {
  padding:0 20px;
  border-right:1px solid rgba(255,255,255,.15);
}
.stat-bar-item:last-child { border-right:none; }
.stat-bar-n {
  font-size:2.75rem; font-weight:900;
  color:var(--white); line-height:1; margin-bottom:8px;
}
.stat-bar-l { font-size:.875rem; color:rgba(255,255,255,.7); font-weight:500; }

/* ─────────────────────────────────────────────────────────────── */
/*  FORM SECTION                                                     */
/* ─────────────────────────────────────────────────────────────── */
.form-section-wrap {
  display:grid; grid-template-columns:1fr 1.15fr; gap:60px; align-items:start;
}
.form-info {}
.form-info .tag { margin-bottom:16px; }
.form-info h2 { margin-bottom:16px; }
.form-info p { margin-bottom:28px; }
.form-trust { display:flex; flex-direction:column; gap:14px; }
.form-trust-item {
  display:flex; align-items:center; gap:12px;
  background:var(--white); border:1px solid var(--border);
  border-radius:var(--r-md); padding:14px 16px;
  box-shadow:var(--sh-xs);
}
.form-trust-icon {
  width:38px; height:38px; flex-shrink:0;
  background:var(--blue-light); border-radius:var(--r-sm);
  display:flex; align-items:center; justify-content:center; font-size:1.1rem;
}
.form-trust-item strong { display:block; font-size:.875rem; color:var(--text); margin-bottom:2px; }
.form-trust-item span { font-size:.8rem; color:var(--text-3); }

.form-card {
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--r-xl);
  padding:40px;
  box-shadow:var(--sh-xl);
}
.form-card h3 { font-size:1.2rem; margin-bottom:24px; color:var(--text); }

.fg { margin-bottom:18px; }
.fg-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
label {
  display:block; font-size:.8rem; font-weight:600;
  color:var(--text-2); margin-bottom:6px;
  text-transform:uppercase; letter-spacing:.04em;
}
label .req { color:#EF4444; margin-left:2px; }
input[type=text],input[type=email],input[type=tel],input[type=number],
select,textarea {
  width:100%; padding:11px 14px;
  border:1.5px solid var(--border-2); border-radius:var(--r-sm);
  font-size:.9375rem; color:var(--text); background:var(--white);
  transition:border-color var(--t-fast) var(--ease),
             box-shadow var(--t-fast) var(--ease);
  outline:none; -webkit-appearance:none;
}
input:focus,select:focus,textarea:focus {
  border-color:var(--blue);
  box-shadow:0 0 0 3px rgba(0,102,204,.12);
}
input.err,select.err,textarea.err { border-color:#EF4444; }
.ferr { color:#EF4444; font-size:.76rem; margin-top:4px; display:none; }
textarea { resize:vertical; min-height:100px; }
.form-note { font-size:.78rem; color:var(--text-4); margin-top:12px; line-height:1.5; }
.form-note a { color:var(--blue); }
.form-ok {
  display:none; background:var(--green-light); color:var(--green);
  border:1px solid #86EFAC; border-radius:var(--r-sm);
  padding:14px 18px; font-weight:600; font-size:.9rem;
  margin-top:14px;
}
.checkbox-wrap {
  display:flex; gap:10px; align-items:flex-start; cursor:pointer;
}
.checkbox-wrap input[type=checkbox] {
  width:18px; height:18px; margin-top:2px; flex-shrink:0; cursor:pointer;
}
.checkbox-wrap span { font-size:.82rem; color:var(--text-3); line-height:1.5; }
.checkbox-wrap span a { color:var(--blue); }

/* ─────────────────────────────────────────────────────────────── */
/*  TESTIMONIALS                                                     */
/* ─────────────────────────────────────────────────────────────── */
.testimonials-grid {
  display:grid; grid-template-columns:repeat(3,1fr); gap:24px;
}
.testi-card {
  background:var(--white); border:1px solid var(--border);
  border-radius:var(--r-lg); padding:32px;
  transition:box-shadow var(--t-mid) var(--ease);
  position:relative;
}
.testi-card:hover { box-shadow:var(--sh-lg); }
.testi-quote-mark {
  position:absolute; top:20px; right:24px;
  font-size:3.5rem; line-height:1; color:var(--blue-mid); font-family:Georgia,serif;
}
.testi-stars { color:#FBBF24; font-size:1rem; margin-bottom:14px; letter-spacing:2px; }
.testi-text { font-size:.9375rem; font-style:italic; color:var(--text-2); line-height:1.7; margin-bottom:22px; }
.testi-author { display:flex; align-items:center; gap:12px; }
.testi-avatar {
  width:44px; height:44px; border-radius:50%; flex-shrink:0;
  background:var(--blue-light); color:var(--blue);
  display:flex; align-items:center; justify-content:center;
  font-weight:700; font-size:.95rem;
}
.testi-name { font-size:.875rem; font-weight:700; color:var(--text); margin-bottom:1px; }
.testi-loc { font-size:.78rem; color:var(--text-3); }

/* ─────────────────────────────────────────────────────────────── */
/*  COVERAGE                                                         */
/* ─────────────────────────────────────────────────────────────── */
.coverage-grid {
  display:grid; grid-template-columns:repeat(2,1fr); gap:0 40px;
  max-width:800px; margin:40px auto 0;
}
.city-link {
  display:flex; align-items:center; gap:10px;
  padding:12px 0; border-bottom:1px solid var(--border);
  color:var(--text-2); font-size:.9rem; font-weight:500;
  transition:color var(--t-fast) var(--ease);
}
.city-link:hover { color:var(--blue); }
.city-dot { width:8px; height:8px; border-radius:50%; background:var(--blue); flex-shrink:0; }

/* ─────────────────────────────────────────────────────────────── */
/*  BLOG PREVIEW                                                     */
/* ─────────────────────────────────────────────────────────────── */
.blog-grid {
  display:grid; grid-template-columns:repeat(3,1fr); gap:28px;
}
.blog-card {
  background:var(--white); border:1px solid var(--border);
  border-radius:var(--r-lg); overflow:hidden;
  transition:all var(--t-mid) var(--ease);
}
.blog-card:hover { transform:translateY(-4px); box-shadow:var(--sh-lg); }
.blog-thumb {
  height:192px; background:linear-gradient(135deg,var(--blue-light),var(--bg-dark));
  display:flex; align-items:center; justify-content:center; font-size:3rem;
  position:relative; overflow:hidden;
}
.blog-thumb img { width:100%; height:100%; object-fit:cover; position:absolute; inset:0; }
.blog-body { padding:24px; }
.blog-meta { display:flex; gap:10px; align-items:center; margin-bottom:10px; }
.blog-cat { background:var(--blue-light); color:var(--blue); padding:3px 10px; border-radius:var(--r-f); font-size:.72rem; font-weight:700; }
.blog-date { font-size:.78rem; color:var(--text-4); }
.blog-card h4 { font-size:.975rem; line-height:1.45; margin-bottom:8px; color:var(--text); }
.blog-card p { font-size:.84rem; line-height:1.6; }
.blog-read { display:inline-flex; align-items:center; gap:6px; color:var(--blue); font-size:.82rem; font-weight:600; margin-top:14px; }
.blog-card:hover .blog-read { gap:10px; }

/* ─────────────────────────────────────────────────────────────── */
/*  CTA BAND                                                         */
/* ─────────────────────────────────────────────────────────────── */
.cta-band {
  background:linear-gradient(135deg,var(--blue-darker) 0%,var(--blue) 100%);
  padding:72px 0; text-align:center; position:relative; overflow:hidden;
}
.cta-band::before {
  content:''; position:absolute; inset:0;
  background:radial-gradient(ellipse at 60% 50%, rgba(255,255,255,.06) 0%, transparent 70%);
}
.cta-band-inner { position:relative; z-index:1; }
.cta-band h2 { color:var(--white); margin-bottom:12px; }
.cta-band p { color:rgba(255,255,255,.75); font-size:1.05rem; margin-bottom:36px; max-width:560px; margin-left:auto; margin-right:auto; }
.cta-band-actions { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* ─────────────────────────────────────────────────────────────── */
/*  PROCESS                                                          */
/* ─────────────────────────────────────────────────────────────── */
.process-grid {
  display:grid; grid-template-columns:repeat(4,1fr); gap:32px;
  position:relative;
}
.process-grid::before {
  content:''; position:absolute; top:32px; left:12%; right:12%; height:2px;
  background:linear-gradient(90deg,var(--blue),#93C5FD); z-index:0;
}
.process-step { text-align:center; position:relative; z-index:1; }
.process-num {
  width:64px; height:64px; border-radius:50%;
  background:var(--blue); color:var(--white);
  font-size:1.3rem; font-weight:800;
  display:flex; align-items:center; justify-content:center;
  margin:0 auto 20px;
  border:4px solid var(--white); box-shadow:var(--sh-blue);
}
.process-step h4 { font-size:.9375rem; margin-bottom:8px; }
.process-step p { font-size:.84rem; }

/* ─────────────────────────────────────────────────────────────── */
/*  WHY US                                                           */
/* ─────────────────────────────────────────────────────────────── */
.why-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.why-card {
  background:var(--white); border:1px solid var(--border);
  border-radius:var(--r-lg); padding:28px;
  transition:all var(--t-mid) var(--ease);
}
.why-card:hover { box-shadow:var(--sh-lg); border-color:var(--blue-mid); }
.why-card-icon { font-size:2.2rem; margin-bottom:16px; }
.why-card h4 { margin-bottom:8px; }

/* ─────────────────────────────────────────────────────────────── */
/*  TEAM                                                             */
/* ─────────────────────────────────────────────────────────────── */
.team-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.team-card {
  background:var(--white); border:1px solid var(--border);
  border-radius:var(--r-lg); overflow:hidden;
  transition:all var(--t-mid) var(--ease); text-align:center;
}
.team-card:hover { transform:translateY(-4px); box-shadow:var(--sh-lg); }
.team-photo {
  height:220px;
  background:linear-gradient(135deg,var(--blue-light),var(--bg-dark));
  display:flex; align-items:center; justify-content:center;
  font-size:4rem; overflow:hidden; position:relative;
}
.team-photo img { width:100%; height:100%; object-fit:cover; position:absolute; inset:0; }
.team-body { padding:20px; }
.team-body h4 { font-size:.975rem; margin-bottom:4px; }
.team-role { font-size:.8rem; color:var(--blue); font-weight:600; margin-bottom:8px; }
.team-body p { font-size:.82rem; }

/* ─────────────────────────────────────────────────────────────── */
/*  FAQ                                                              */
/* ─────────────────────────────────────────────────────────────── */
.faq-wrap { max-width:768px; margin:0 auto; }
.faq-item { border-bottom:1px solid var(--border); }
.faq-q {
  width:100%; display:flex; justify-content:space-between; align-items:center;
  padding:20px 0; text-align:left; font-size:.9375rem; font-weight:600;
  color:var(--text); gap:16px; cursor:pointer;
}
.faq-icon {
  width:28px; height:28px; flex-shrink:0; border-radius:50%;
  background:var(--blue-light); color:var(--blue);
  display:flex; align-items:center; justify-content:center;
  font-size:1.2rem; font-weight:300; line-height:1;
  transition:all var(--t-mid) var(--ease);
}
.faq-item.open .faq-icon { background:var(--blue); color:var(--white); transform:rotate(45deg); }
.faq-a { overflow:hidden; max-height:0; transition:max-height .35s var(--ease); }
.faq-item.open .faq-a { max-height:400px; }
.faq-a-inner { padding-bottom:20px; }
.faq-a-inner p { font-size:.9rem; }

/* ─────────────────────────────────────────────────────────────── */
/*  PAGE HERO                                                        */
/* ─────────────────────────────────────────────────────────────── */
.page-hero {
  background:linear-gradient(135deg,#002D62 0%,var(--blue-dark) 50%,var(--blue) 100%);
  padding:140px 0 72px; position:relative; overflow:hidden;
}
.page-hero::after {
  content:''; position:absolute; inset:0;
  background:url('/images/hero-bg.jpg') center/cover; opacity:.07;
}
.page-hero-inner { position:relative; z-index:1; max-width:720px; }
.breadcrumb {
  display:flex; align-items:center; gap:8px;
  font-size:.8rem; color:rgba(255,255,255,.6); margin-bottom:16px;
}
.breadcrumb a { color:rgba(255,255,255,.6); }
.breadcrumb a:hover { color:var(--white); }
.breadcrumb i { font-style:normal; color:rgba(255,255,255,.3); }
.page-hero h1 { color:var(--white); margin-bottom:14px; }
.page-hero p { color:rgba(255,255,255,.75); font-size:1.05rem; max-width:600px; }

/* ─────────────────────────────────────────────────────────────── */
/*  LEGAL CONTENT                                                    */
/* ─────────────────────────────────────────────────────────────── */
.legal { max-width:840px; margin:0 auto; }
.legal h2 { font-size:1.35rem; margin:40px 0 12px; }
.legal h3 { font-size:1.05rem; margin:24px 0 10px; }
.legal p,
.legal li { font-size:.9375rem; color:var(--text-2); line-height:1.8; margin-bottom:12px; }
.legal ul { margin-left:20px; list-style:disc; }
.legal a { color:var(--blue); text-decoration:underline; }
.legal table { width:100%; border-collapse:collapse; margin:16px 0; font-size:.875rem; }
.legal th,
.legal td { padding:10px 14px; border:1px solid var(--border); }
.legal th { background:var(--bg); font-weight:700; }

/* ─────────────────────────────────────────────────────────────── */
/*  MAP                                                              */
/* ─────────────────────────────────────────────────────────────── */
.map-wrap { border-radius:var(--r-lg); overflow:hidden; box-shadow:var(--sh-lg); }
.map-wrap iframe { width:100%; height:380px; border:none; display:block; }

/* ─────────────────────────────────────────────────────────────── */
/*  CONTACT INFO                                                     */
/* ─────────────────────────────────────────────────────────────── */
.contact-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.contact-card {
  background:var(--white); border:1px solid var(--border);
  border-radius:var(--r-lg); padding:28px; text-align:center;
  box-shadow:var(--sh-sm);
}
.contact-card-icon {
  width:56px; height:56px; border-radius:50%;
  background:var(--blue-light); color:var(--blue); font-size:1.5rem;
  display:flex; align-items:center; justify-content:center;
  margin:0 auto 16px;
}
.contact-card h4 { margin-bottom:8px; }
.contact-card a { color:var(--blue); font-weight:600; font-size:.9375rem; }
.contact-card p { font-size:.84rem; margin-top:4px; }

/* ─────────────────────────────────────────────────────────────── */
/*  EMPLEO                                                           */
/* ─────────────────────────────────────────────────────────────── */
.job-cards { display:flex; flex-direction:column; gap:16px; max-width:760px; margin:0 auto; }
.job-card {
  background:var(--white); border:1px solid var(--border);
  border-radius:var(--r-lg); padding:24px 28px;
  display:flex; align-items:center; justify-content:space-between; gap:24px;
  transition:all var(--t-mid) var(--ease);
}
.job-card:hover { box-shadow:var(--sh-lg); border-color:var(--blue-mid); }
.job-card-info h4 { margin-bottom:6px; }
.job-card-info p { font-size:.875rem; }
.job-tags { display:flex; gap:8px; margin-top:10px; flex-wrap:wrap; }
.job-tag { background:var(--bg); color:var(--text-2); padding:4px 12px; border-radius:var(--r-f); font-size:.76rem; font-weight:600; }

/* ─────────────────────────────────────────────────────────────── */
/*  FLOATING ELEMENTS                                                */
/* ─────────────────────────────────────────────────────────────── */
.float-wa {
  position:fixed; bottom:24px; right:24px; z-index:999;
  width:58px; height:58px; border-radius:50%;
  background:#25D366; color:var(--white); font-size:1.5rem;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 4px 20px rgba(37,211,102,.4);
  animation:waPulse 2.5s infinite;
  transition:transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.float-wa:hover { transform:scale(1.1); box-shadow:0 6px 28px rgba(37,211,102,.6); animation:none; }
@keyframes waPulse {
  0%,100% { transform:scale(1); }
  50% { transform:scale(1.05); }
}
.float-tel {
  position:fixed; bottom:96px; right:24px; z-index:999;
  width:48px; height:48px; border-radius:50%;
  background:var(--blue); color:var(--white); font-size:1.2rem;
  display:flex; align-items:center; justify-content:center;
  box-shadow:var(--sh-blue);
  transition:transform var(--t-fast) var(--ease);
}
.float-tel:hover { transform:scale(1.1); background:var(--blue-dark); }

/* ─────────────────────────────────────────────────────────────── */
/*  COOKIE BANNER                                                    */
/* ─────────────────────────────────────────────────────────────── */
.cookie {
  position:fixed; bottom:0; left:0; right:0; z-index:1100;
  background:var(--white); border-top:2px solid var(--border);
  box-shadow:0 -4px 20px rgba(0,0,0,.08);
  padding:16px 0;
  transform:translateY(100%);
  transition:transform var(--t-slow) var(--ease);
}
.cookie.show { transform:translateY(0); }
.cookie-inner {
  display:flex; align-items:center; gap:20px; flex-wrap:wrap;
}
.cookie-text { flex:1; min-width:220px; font-size:.84rem; color:var(--text-2); line-height:1.5; }
.cookie-text a { color:var(--blue); text-decoration:underline; }
.cookie-btns { display:flex; gap:10px; flex-shrink:0; }
.c-accept,.c-reject {
  padding:9px 18px; border-radius:var(--r-sm);
  font-size:.84rem; font-weight:600; cursor:pointer; border:none;
  transition:all var(--t-fast) var(--ease);
}
.c-accept { background:var(--blue); color:var(--white); }
.c-accept:hover { background:var(--blue-dark); }
.c-reject { background:var(--bg-dark); color:var(--text-2); }
.c-reject:hover { background:var(--border-2); }

/* ─────────────────────────────────────────────────────────────── */
/*  FOOTER                                                           */
/* ─────────────────────────────────────────────────────────────── */
.footer { background:#0D1829; color:rgba(255,255,255,.65); }
.footer-top { padding:64px 0 48px; }
.footer-grid {
  display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr; gap:48px;
}
.footer-brand-name {
  font-size:1.3rem; font-weight:800; color:var(--white); margin-bottom:14px;
  letter-spacing:-.02em;
}
.footer-brand-name span { color:#38BDF8; }
.footer-brand p { font-size:.84rem; line-height:1.7; max-width:280px; }
.footer-brand-meta { font-size:.76rem; color:rgba(255,255,255,.3); margin-top:14px; }
.footer-social { display:flex; gap:8px; margin-top:20px; }
.footer-social a {
  width:34px; height:34px; border-radius:var(--r-sm);
  background:rgba(255,255,255,.07);
  display:flex; align-items:center; justify-content:center;
  font-size:.85rem; transition:background var(--t-fast) var(--ease);
}
.footer-social a:hover { background:var(--blue); color:var(--white); }
.footer-col h6 {
  font-size:.72rem; font-weight:700; color:rgba(255,255,255,.4);
  letter-spacing:.1em; text-transform:uppercase; margin-bottom:18px;
}
.footer-col ul li { margin-bottom:10px; }
.footer-col ul a { font-size:.84rem; transition:color var(--t-fast) var(--ease); }
.footer-col ul a:hover { color:var(--white); }
.footer-contact-item { display:flex; gap:10px; margin-bottom:12px; font-size:.84rem; }
.footer-contact-item .ico { flex-shrink:0; color:#38BDF8; margin-top:1px; }
.footer-contact-item a:hover { color:var(--white); }
.footer-bottom {
  border-top:1px solid rgba(255,255,255,.08); padding:20px 0;
  display:flex; justify-content:space-between; align-items:center;
  flex-wrap:wrap; gap:12px;
}
.footer-bottom p { font-size:.78rem; color:rgba(255,255,255,.35); }
.footer-legal { display:flex; gap:20px; }
.footer-legal a { font-size:.78rem; color:rgba(255,255,255,.4); }
.footer-legal a:hover { color:var(--white); }

/* ─────────────────────────────────────────────────────────────── */
/*  SCROLL REVEAL                                                    */
/* ─────────────────────────────────────────────────────────────── */
[data-sr] {
  opacity:0; transform:translateY(28px);
  transition:opacity .65s var(--ease), transform .65s var(--ease);
}
[data-sr].visible { opacity:1; transform:none; }
[data-sr][data-delay="1"] { transition-delay:.1s; }
[data-sr][data-delay="2"] { transition-delay:.2s; }
[data-sr][data-delay="3"] { transition-delay:.3s; }
[data-sr][data-delay="4"] { transition-delay:.4s; }

/* ─────────────────────────────────────────────────────────────── */
/*  RESPONSIVE                                                       */
/* ─────────────────────────────────────────────────────────────── */
@media (max-width:1024px) {
  .services-grid { grid-template-columns:repeat(3,1fr); }
  .stats-bar-grid { grid-template-columns:repeat(2,1fr); gap:32px; }
  .stat-bar-item { border-right:none; border-bottom:1px solid rgba(255,255,255,.12); padding-bottom:24px; }
  .stat-bar-item:last-child { border-bottom:none; }
  .process-grid { grid-template-columns:repeat(2,1fr); }
  .process-grid::before { display:none; }
  .team-grid { grid-template-columns:repeat(2,1fr); }
  .footer-grid { grid-template-columns:1fr 1fr; gap:36px; }
  .testimonials-grid { grid-template-columns:repeat(2,1fr); }
  .form-section-wrap { grid-template-columns:1fr; }
  .form-info { display:none; }
  .why-grid { grid-template-columns:repeat(2,1fr); }
  .coverage-grid { max-width:100%; }
}

@media (max-width:768px) {
  :root { --w: 100%; }
  .section { padding:60px 0; }
  .section-lg { padding:80px 0; }

  .nav-links,.nav-cta { display:none; }
  .nav-toggle { display:flex; }

  /* Mobile menu */
  .nav-mobile-menu {
    position:fixed; inset:0; z-index:998;
    background:var(--text); display:none;
    flex-direction:column; align-items:center; justify-content:center; gap:8px;
  }
  .nav-mobile-menu.open { display:flex; }
  .nav-mobile-menu a {
    font-size:1.3rem; font-weight:600; color:rgba(255,255,255,.85);
    padding:14px 32px; border-radius:var(--r-md); width:280px; text-align:center;
    transition:all var(--t-fast) var(--ease);
  }
  .nav-mobile-menu a:hover { background:rgba(255,255,255,.1); color:var(--white); }
  .nav-mobile-menu .btn { background:var(--blue); color:var(--white); margin-top:16px; width:280px; justify-content:center; }
  .nav-mobile-close { position:absolute; top:20px; right:24px; font-size:1.5rem; color:rgba(255,255,255,.6); cursor:pointer; }

  .hero { padding:100px 0 60px; min-height:auto; }
  .hero-stats { grid-template-columns:repeat(2,1fr); }
  .hero-actions { flex-direction:column; }
  .hero-actions .btn { width:100%; }

  .feature-row,.feature-row.reverse { grid-template-columns:1fr; direction:ltr; }
  .feature-img,.feature-img-placeholder { height:280px; }
  .services-grid { grid-template-columns:repeat(2,1fr); gap:14px; }
  .testimonials-grid { grid-template-columns:1fr; }
  .blog-grid { grid-template-columns:1fr; }
  .why-grid { grid-template-columns:1fr; }
  .process-grid { grid-template-columns:1fr; gap:24px; }
  .team-grid { grid-template-columns:repeat(2,1fr); }
  .contact-cards { grid-template-columns:1fr; }
  .coverage-grid { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr; }
  .footer-bottom { flex-direction:column; text-align:center; }
  .footer-legal { flex-direction:column; gap:8px; align-items:center; }
  .cta-band-actions { flex-direction:column; align-items:center; }
  .cta-band-actions .btn { width:100%; max-width:320px; }
  .fg-row { grid-template-columns:1fr; }
  .hero-stats .hero-stat { padding:14px 10px; }
  .hero-stat-n { font-size:1.5rem; }
  .form-card { padding:24px 20px; }
}

@media (max-width:480px) {
  .container { padding:0 16px; }
  .services-grid { grid-template-columns:1fr; }
  .team-grid { grid-template-columns:1fr; }
  .float-wa { bottom:16px; right:16px; width:52px; height:52px; }
  .float-tel { bottom:80px; right:16px; width:44px; height:44px; }
}

/* ─────────────────────────────────────────────────────────────── */
/*  UTILITIES                                                        */
/* ─────────────────────────────────────────────────────────────── */
.mt-4  { margin-top: 16px; }
.mt-6  { margin-top: 24px; }
.mt-8  { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.mb-4  { margin-bottom: 16px; }
.mb-6  { margin-bottom: 24px; }
.flex  { display:flex; }
.gap-3 { gap:12px; }
.gap-4 { gap:16px; }
.items-center { align-items:center; }
.justify-center { justify-content:center; }
.flex-wrap { flex-wrap:wrap; }
.w-full { width:100%; }
