:root{
  --navy:#0A2540;
  --cream:#F5F9FC;
  --cream-dim:#EAF3F8;
  --gold:#FF7A59;
  --teal:#0A9FA8;
  --stamp:#FF5A4F;
  --ink:#1B2B3A;
  --line:rgba(10,37,64,0.10);
  --grad:linear-gradient(135deg,#00B4D8 0%,#0A9FA8 55%,#12C2A1 100%);
  --coral-grad:linear-gradient(135deg,#FF8A5B 0%,#FF5A4F 100%);
  --dark-grad:
    radial-gradient(800px 380px at 88% -20%, rgba(18,194,161,0.40), transparent 60%),
    radial-gradient(600px 360px at 0% 120%, rgba(255,122,89,0.28), transparent 60%),
    linear-gradient(160deg,#071A2E 0%,#0A2540 55%,#0B3552 100%);
  --shadow-sm:0 2px 10px rgba(10,37,64,0.06);
  --shadow-md:0 14px 38px rgba(10,37,64,0.10);
  --shadow-lg:0 30px 70px rgba(10,37,64,0.18);
  --r-card:22px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--cream);
  color:var(--ink);
  font-family:'Inter','Plus Jakarta Sans',sans-serif;
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3{
  font-family:'Plus Jakarta Sans',sans-serif;
  font-weight:800;
  margin:0;
  color:var(--navy);
  letter-spacing:-0.025em;
}
a{color:inherit;}
img{max-width:100%;display:block;}
.wrap{max-width:1120px;margin:0 auto;padding:0 24px;}
.eyebrow{
  font-family:'Plus Jakarta Sans',sans-serif;
  text-transform:uppercase;
  font-size:12px;
  letter-spacing:0.14em;
  color:var(--teal);
  font-weight:700;
  display:inline-flex; align-items:center; gap:10px;
}
.eyebrow::before{ content:""; width:22px; height:3px; border-radius:3px; background:var(--grad); }
:focus-visible{ outline:2px solid var(--teal); outline-offset:3px; }
@media (prefers-reduced-motion: reduce){
  *{animation-duration:0.001ms !important; transition-duration:0.001ms !important;}
}

/* ---------- NAV ---------- */
header.site{
  position:sticky; top:0; z-index:60;
  background:rgba(255,255,255,0.88);
  backdrop-filter:saturate(180%) blur(14px); -webkit-backdrop-filter:saturate(180%) blur(14px);
  border-bottom:1px solid var(--line);
  box-shadow:0 6px 24px rgba(10,37,64,0.05);
}
nav.wrap{
  display:flex; align-items:center; justify-content:space-between;
  padding-top:14px; padding-bottom:14px;
}
.brand{
  font-family:'Plus Jakarta Sans',sans-serif; font-weight:800; letter-spacing:-0.02em; font-size:20px; color:var(--navy);
  display:flex; align-items:center; gap:8px; white-space:nowrap;
  text-decoration:none;
}
.nav-cta{
  background:var(--coral-grad); color:#fff;
  padding:11px 20px; border-radius:999px;
  font-weight:700; font-size:14px; text-decoration:none; white-space:nowrap;
  display:inline-flex; align-items:center; gap:8px;
  box-shadow:0 8px 22px rgba(255,90,79,0.35);
  transition:transform .18s ease, filter .18s ease;
}
.nav-cta:hover{ filter:brightness(1.05); transform:translateY(-2px); }
.nav-right{ display:flex; align-items:center; gap:16px; }
.nav-blog-link{
  text-decoration:none; color:var(--navy); font-weight:600; font-size:14px;
  opacity:0.85;
}
.nav-blog-link:hover{ opacity:1; }
.lang-switch{
  display:flex; align-items:center; gap:4px;
  font-family:'Plus Jakarta Sans',sans-serif; font-size:12px; font-weight:700; letter-spacing:0.04em;
}
.lang-switch a{
  text-decoration:none; color:var(--navy); opacity:0.5; padding:5px 7px; border-radius:6px;
  transition:opacity .15s ease, background .15s ease;
}
.lang-switch a:hover{ opacity:0.85; background:rgba(10,37,64,0.06); }
.lang-switch a.lang-current{ opacity:1; background:rgba(10,37,64,0.08); }
.lang-switch .sep{ opacity:0.3; }

/* ---------- FOOTER ---------- */
footer{ background:#071A2E; color:rgba(255,255,255,0.8); padding:64px 0 36px; margin-top:24px; }
.footer-grid{
  display:flex; justify-content:space-between; align-items:flex-start; gap:24px; flex-wrap:wrap;
}
footer .brand{ margin-bottom:8px; color:#fff; }
footer p{ color:rgba(255,255,255,0.7); font-size:13.5px; max-width:44ch; }
footer .legal{ font-size:12px; color:rgba(255,255,255,0.5); margin-top:18px; max-width:60ch; }
.foot-links{ display:flex; gap:20px; font-size:14px; }
.foot-links a{ text-decoration:none; color:#fff; font-weight:600; opacity:0.9; }
.foot-links a:hover{ opacity:1; text-decoration:underline; }
.footer-contact{ display:flex; flex-direction:column; gap:6px; }
.footer-contact-label{
  font-family:'Plus Jakarta Sans',sans-serif; font-size:11px; text-transform:uppercase;
  letter-spacing:0.08em; color:#7EE3D4; font-weight:700; margin-bottom:2px;
}
.footer-contact a{ text-decoration:none; color:#fff; font-size:14px; }
.footer-contact a:hover{ text-decoration:underline; }

/* ---------- BLOG: banner de la página de listado ---------- */
.blog-hero{
  color:#fff; padding:84px 0 110px; background:var(--dark-grad);
}
.blog-hero .eyebrow{ margin-bottom:14px; color:#7EE3D4; }
.blog-hero .eyebrow::before{ background:linear-gradient(135deg,#7EE3D4,#12C2A1); }
.blog-hero h1{ color:#fff; font-size:clamp(32px,4.8vw,56px); line-height:1.05; letter-spacing:-0.03em; max-width:20ch; }
.blog-hero p{ color:rgba(255,255,255,0.82); font-size:18px; max-width:60ch; margin-top:18px; }

/* ---------- BLOG: listado ---------- */
.post-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin:-56px 0 72px; position:relative; z-index:2;
}
@media (max-width:860px){ .post-grid{ grid-template-columns:1fr; margin-top:-44px; } }
.post-card{
  background:#fff; border:none; border-radius:var(--r-card); overflow:hidden; box-shadow:var(--shadow-md);
  display:flex; flex-direction:column; text-decoration:none; color:inherit; isolation:isolate;
  transition:transform .25s ease, box-shadow .25s ease;
}
.post-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-lg); }
.post-card img{ width:100%; aspect-ratio:4/3; object-fit:cover; background:var(--cream-dim); transition:transform .6s cubic-bezier(.2,.7,.2,1); }
.post-card:hover img{ transform:scale(1.04); }
.post-card-body{ padding:22px 24px 26px; background:#fff; position:relative; }
.post-card-destino{
  display:block; font-size:12px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:var(--teal);
}
.post-card-date{ font-size:12px; color:#8a97a5; margin-top:2px; }
.post-card h3{ font-size:19px; margin-top:10px; line-height:1.28; }
.post-card p{ color:#4b5d6e; font-size:14.5px; margin-top:10px; line-height:1.55; }
.post-empty{ color:#5b6c7c; padding:24px 0 64px; }

/* ---------- BLOG: artículo ---------- */
.article{ padding:0 0 72px; }
.article-head{ background:var(--dark-grad); color:#fff; padding:56px 0 128px; }
.article-head-inner{ max-width:960px; margin:0 auto; padding:0 24px; }
.article-head .eyebrow{ color:#7EE3D4; }
.article-head .eyebrow::before{ background:linear-gradient(135deg,#7EE3D4,#12C2A1); }
.article h1{ font-size:clamp(30px,4.6vw,52px); line-height:1.06; letter-spacing:-0.03em; margin-top:16px; color:#fff; max-width:22ch; }
.article-meta{
  display:flex; align-items:center; gap:10px; font-size:13px; color:rgba(255,255,255,0.75); margin-top:18px;
}
.article-meta .dot{ opacity:0.5; }
.back-link{
  display:inline-flex; align-items:center; gap:6px; text-decoration:none; color:rgba(255,255,255,0.85);
  font-weight:600; font-size:14px; margin-bottom:22px;
}
.back-link:hover{ text-decoration:underline; color:#fff; }
.article > .wrap{ max-width:1008px; }
.article-photo{
  width:100%; max-height:480px; object-fit:cover; border-radius:26px; margin:-84px auto 0;
  position:relative; z-index:2; box-shadow:var(--shadow-lg);
}
.article-photo-credit{
  margin:10px auto 36px; text-align:right; padding:0 4px;
  font-size:11.5px; color:#7d8b99;
}
.article-photo-credit a{ color:inherit; text-decoration:underline; }
.article-body{ max-width:74ch; margin:0 auto; font-size:17.5px; line-height:1.7; color:#33434f; }
.article-body > p:first-child{ font-size:20px; line-height:1.6; color:var(--navy); font-weight:500; }
.article-body h2{
  font-size:26px; margin-top:52px; margin-bottom:16px; color:var(--navy);
  display:flex; align-items:center; gap:14px;
}
.article-body h2::before{ content:""; width:6px; height:28px; border-radius:6px; background:var(--grad); flex:none; }
.article-body p{ margin:0 0 18px; }
.article-body ul{ margin:0 0 18px; padding:0; list-style:none; }
.article-body li{
  margin-bottom:12px; padding:16px 20px 16px 52px; position:relative;
  background:#fff; border:1px solid var(--line); border-radius:16px; box-shadow:var(--shadow-sm);
  font-size:16.5px; line-height:1.55;
}
.article-body li::before{ content:"✦"; position:absolute; left:20px; top:15px; font-size:17px; color:var(--gold); }
.article-body strong{ color:var(--navy); }
.article-cta{
  max-width:74ch; margin:56px auto 0; color:#fff;
  background:
    radial-gradient(500px 260px at 90% -20%, rgba(18,194,161,0.40), transparent 60%),
    linear-gradient(160deg,#071A2E 0%,#0A2540 60%,#0B3552 100%);
  border-radius:26px; padding:34px 36px; display:flex; align-items:center; justify-content:space-between;
  gap:20px; flex-wrap:wrap; box-shadow:var(--shadow-lg);
}
.article-cta h3{ color:#fff; font-size:22px; }
.article-cta p{ color:rgba(255,255,255,0.78); font-size:15px; margin-top:6px; max-width:44ch; }

@media (max-width:640px){
  .brand{ font-size:16px; gap:6px; }
  .nav-right{ gap:8px; }
  .nav-blog-link{ display:none; }
  .nav-cta{ padding:8px 12px; font-size:12.5px; }
  .lang-switch .sep{ display:none; }
  nav.wrap{ padding-left:16px; padding-right:16px; }
  .article-head{ padding:40px 0 104px; }
  .article-photo{ border-radius:20px; margin-top:-72px; }
  .article-body{ font-size:16.5px; }
  .article-body > p:first-child{ font-size:18px; }
  .article-body h2{ font-size:22px; margin-top:40px; }
  .article-cta{ padding:26px 22px; border-radius:22px; }
  .blog-hero{ padding:56px 0 96px; }
}

/* "Volver al blog" y la etiqueta de destino en líneas separadas */
.article-head .back-link{ display:flex; width:fit-content; }
.article-head .eyebrow{ display:flex; width:fit-content; }
