/*
Theme Name: Promoción Destinos Turísticos
Theme URI: https://www.promociondestinosturisticos.com/
Author: OpenAI
Description: Tema ligero a medida para Promoción de Destinos Turísticos. Sin WPBakery ni constructores.
Version: 1.13.0
Text Domain: pdt
*/

:root{
  --turq:#49bbbf;
  --turq-dark:#2f9498;
  --ink:#1f2933;
  --muted:#667085;
  --paper:#ffffff;
  --soft:#f4f7f7;
  --line:#e7ecec;
  --max:1180px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--ink);
  background:var(--paper);
  line-height:1.65;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
.container{width:min(calc(100% - 40px),var(--max));margin-inline:auto}
.section{padding:88px 0}
.section--soft{background:var(--soft)}
.eyebrow{color:var(--turq-dark);font-weight:700;letter-spacing:.08em;text-transform:uppercase;font-size:.8rem}
h1,h2,h3{line-height:1.12;margin:0 0 20px}
h1{font-size:clamp(2.7rem,7vw,5.7rem);letter-spacing:-.045em}
h2{font-size:clamp(2rem,4vw,3.5rem);letter-spacing:-.03em}
h3{font-size:1.25rem}
p{margin:0 0 18px}
.lead{font-size:clamp(1.15rem,2vw,1.45rem);max-width:760px;color:#445}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.6rem;
  padding:14px 22px;border-radius:999px;background:var(--turq);color:white;
  font-weight:700;border:1px solid var(--turq);transition:.2s ease;
}
.btn:hover{background:var(--turq-dark);border-color:var(--turq-dark);transform:translateY(-1px)}
.btn--ghost{background:transparent;color:var(--ink);border-color:#cfd8d8}
.btn--ghost:hover{background:#fff;color:var(--ink);border-color:#aebbbb}
.site-header{
  position:sticky;top:0;z-index:40;background:rgba(255,255,255,.94);
  backdrop-filter:blur(12px);border-bottom:1px solid var(--line)
}
.nav{display:flex;align-items:center;justify-content:space-between;min-height:76px;gap:28px}
.brand{font-weight:800;letter-spacing:-.02em}
.brand span{color:var(--turq)}
.menu{display:flex;gap:24px;align-items:center;flex-wrap:wrap}
.menu a{font-size:.95rem}
.hero{
  min-height:78vh;display:grid;align-items:center;
  background:
    linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.88) 42%,rgba(255,255,255,.28) 70%),
    url('https://www.promociondestinosturisticos.com/wp-content/uploads/2018/04/item-title-image-1-1.jpg') center/cover no-repeat;
}
.hero__inner{padding:100px 0;max-width:850px}
.hero__actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}
.grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:56px;align-items:center}
.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.card{
  border:1px solid var(--line);border-radius:24px;padding:30px;background:#fff;
  box-shadow:0 12px 35px rgba(35,69,70,.06)
}
.card__num{font-size:.85rem;font-weight:800;color:var(--turq-dark);margin-bottom:18px}
.service-card h3{font-size:1.45rem}
.icon-dot{width:44px;height:44px;border-radius:50%;background:rgba(73,187,191,.14);display:grid;place-items:center;margin-bottom:20px;color:var(--turq-dark);font-weight:900}
.logo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.logo-card{border:1px solid var(--line);padding:26px;border-radius:18px;display:flex;align-items:center;justify-content:center;min-height:120px;background:white}
.value-band{background:var(--turq);color:white}
.value-band .grid-3{gap:36px}
.value-band .stat{padding:10px 0}
.value-band .stat strong{display:block;font-size:2.2rem;margin-bottom:8px}
.profile{
  border-radius:30px;overflow:hidden;background:var(--soft);min-height:420px;
  background-image:url('https://www.promociondestinosturisticos.com/wp-content/uploads/2018/04/item-title-image-1-1.jpg');
  background-size:cover;background-position:center;
}
.gallery{display:grid;grid-template-columns:2fr 1fr 1fr;gap:14px}
.gallery .ph{background:linear-gradient(135deg,#dceff0,#f5fbfb);border-radius:18px;min-height:220px;border:1px solid var(--line);display:flex;align-items:end;padding:18px;color:#557}
.gallery .ph:first-child{grid-row:span 2;min-height:454px}
.cta{
  padding:56px;border-radius:28px;background:#102a2b;color:#fff;display:flex;justify-content:space-between;gap:24px;align-items:center
}
.footer{padding:42px 0;border-top:1px solid var(--line);font-size:.9rem;color:var(--muted)}
.content{max-width:820px}
.article{padding:70px 0}
.article h1{font-size:clamp(2.4rem,5vw,4.6rem)}
.article-meta{color:var(--muted);margin-bottom:32px}
.posts{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.post-card{border:1px solid var(--line);border-radius:22px;padding:24px;background:#fff}
.legal{max-width:900px}
.wp-block-image img{border-radius:18px}
.contact-form-placeholder{
  border:1px dashed #a8c7c8;border-radius:22px;padding:28px;background:#fbfefe
}

@media (max-width:900px){
  .grid-2,.grid-3,.posts{grid-template-columns:1fr}
  .menu{display:none}
  .hero{min-height:auto;background-position:65% center}
  .section{padding:64px 0}
  .gallery{grid-template-columns:1fr 1fr}
  .gallery .ph:first-child{grid-column:1/-1;grid-row:auto;min-height:320px}
  .cta{padding:36px;flex-direction:column;align-items:flex-start}
}
@media (max-width:560px){
  .container{width:min(calc(100% - 28px),var(--max))}
  .hero__inner{padding:80px 0}
  .gallery{grid-template-columns:1fr}
  .gallery .ph:first-child{grid-column:auto}
}


.hero--media{position:relative;background-color:#eef7f7;background-size:cover;background-position:center}
.hero--media::before{
  content:"";position:absolute;inset:0;
  background:linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.90) 42%,rgba(255,255,255,.34) 72%,rgba(255,255,255,.12) 100%);
}
.hero--media .hero__inner{position:relative;z-index:1}
.media-frame{border-radius:28px;overflow:hidden;background:var(--soft);min-height:420px}
.media-frame img{width:100%;height:100%;min-height:420px;object-fit:cover}
.gallery-media{display:grid;grid-template-columns:2fr 1fr 1fr;gap:14px}
.gallery-media figure{margin:0;border-radius:18px;overflow:hidden;background:#e9f3f3;min-height:220px}
.gallery-media figure:first-child{grid-row:span 2;min-height:454px}
.gallery-media img{width:100%;height:100%;object-fit:cover}
.logo-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:32px}
.logo-strip figure{margin:0;background:#fff;border:1px solid var(--line);border-radius:18px;min-height:130px;display:grid;place-items:center;padding:22px}
.logo-strip img{max-height:80px;width:auto;object-fit:contain}
.service-media{border-radius:24px;overflow:hidden;min-height:360px;background:#e9f3f3}
.service-media img{width:100%;height:100%;min-height:360px;object-fit:cover}
@media(max-width:900px){
  .gallery-media{grid-template-columns:1fr 1fr}
  .gallery-media figure:first-child{grid-column:1/-1;grid-row:auto;min-height:320px}
  .logo-strip{grid-template-columns:1fr}
}
@media(max-width:560px){
  .gallery-media{grid-template-columns:1fr}
  .gallery-media figure:first-child{grid-column:auto}
}


.site-branding{display:flex;align-items:center;min-width:180px}
.custom-logo-link{display:inline-flex;align-items:center}
.custom-logo{width:auto;max-width:260px;max-height:64px;object-fit:contain}
.service-card{padding:0;overflow:hidden}
.service-card__image{width:100%;aspect-ratio:16/9;background:#e9f3f3;overflow:hidden}
.service-card__image img{width:100%;height:100%;object-fit:cover}
.service-card__body{padding:30px}
.service-card .btn--ghost{margin-top:8px}
.service-card a:not(.btn){color:var(--turq-dark);text-decoration:underline;text-underline-offset:3px}
a:focus-visible,.btn:focus-visible{outline:3px solid rgba(73,187,191,.35);outline-offset:3px}
.content-links a,.article a{color:var(--turq-dark);text-decoration:underline;text-underline-offset:3px}
@media(max-width:560px){
  .custom-logo{max-width:210px;max-height:54px}
}


.services-hero{
  padding:96px 0 56px;
  background:linear-gradient(180deg,#f3fbfb 0%,#ffffff 100%);
}
.services-intro{max-width:780px}
.service-detail{
  padding:88px 0;
  scroll-margin-top:96px;
}
.service-detail:nth-of-type(even){background:var(--soft)}
.service-detail__grid{
  display:grid;
  grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);
  gap:64px;
  align-items:center;
}
.service-detail__media{
  border-radius:28px;
  overflow:hidden;
  min-height:440px;
  background:#e8f2f2;
  box-shadow:0 18px 45px rgba(35,69,70,.08);
}
.service-detail__media img{
  width:100%;
  height:100%;
  min-height:440px;
  object-fit:cover;
}
.service-detail__content ul{
  margin:26px 0 30px;
  padding-left:1.2rem;
}
.service-detail__content li{margin:0 0 12px}
.service-detail__content .btn{margin-top:8px}
@media(max-width:900px){
  .service-detail__grid{grid-template-columns:1fr;gap:34px}
  .service-detail__media{min-height:300px}
  .service-detail__media img{min-height:300px}
}


/* v1.4 — tarjetas de servicios más compactas y completamente visibles */
#servicios.section{padding:58px 0 64px}
#servicios h2{
  font-size:clamp(2.1rem,3.6vw,3.8rem);
  margin-bottom:8px;
}
#servicios .grid-3{
  gap:18px !important;
  margin-top:28px !important;
  align-items:stretch;
}
#servicios .service-card{
  display:flex;
  flex-direction:column;
  min-width:0;
  height:100%;
  border-radius:20px;
}
#servicios .service-card__image{
  aspect-ratio:16/7;
  min-height:0;
  flex:0 0 auto;
}
#servicios .service-card__image img{
  width:100%;
  height:100%;
  object-fit:cover;
}
#servicios .service-card__body{
  padding:22px 24px 24px;
  display:flex;
  flex-direction:column;
  flex:1;
}
#servicios .icon-dot{
  width:40px;
  height:40px;
  margin-bottom:14px;
  font-size:.9rem;
}
#servicios .service-card h3{
  font-size:clamp(1.25rem,1.7vw,1.65rem);
  margin-bottom:12px;
}
#servicios .service-card p{
  font-size:.98rem;
  line-height:1.55;
  margin-bottom:18px;
}
#servicios .service-card .btn{
  margin-top:auto;
  padding:11px 18px;
  font-size:.92rem;
  align-self:flex-start;
}

@media (min-width:901px) and (max-height:900px){
  #servicios.section{padding:44px 0 50px}
  #servicios h2{font-size:clamp(2rem,3.2vw,3.2rem)}
  #servicios .grid-3{margin-top:22px !important}
  #servicios .service-card__image{aspect-ratio:16/6.2}
  #servicios .service-card__body{padding:18px 20px 20px}
  #servicios .service-card p{font-size:.93rem;line-height:1.45}
  #servicios .service-card h3{font-size:1.32rem}
}

@media(max-width:900px){
  #servicios.section{padding:52px 0}
  #servicios .service-card__image{aspect-ratio:16/8}
}


/* v1.5 — mostrar completas las imágenes superiores de las tarjetas */
#servicios .service-card__image{
  aspect-ratio:auto;
  height:220px;
  min-height:220px;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:10px;
}
#servicios .service-card__image img{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  display:block;
}

@media (min-width:1200px){
  #servicios .service-card__image{
    height:240px;
    min-height:240px;
  }
}

@media (max-width:900px){
  #servicios .service-card__image{
    height:auto;
    min-height:0;
    aspect-ratio:16/9;
    padding:8px;
  }
  #servicios .service-card__image img{
    object-fit:contain;
  }
}


/* v1.6 — colaboraciones + footer completo */
.collaborations{
  padding:72px 0 82px;
  background:#fff;
}
.collaborations__head{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:24px;
  margin-bottom:30px;
}
.collaborations__grid{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:14px;
}
.collaboration-logo{
  min-height:112px;
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
}
.collaboration-logo img{
  display:block;
  width:auto;
  max-width:100%;
  max-height:68px;
  object-fit:contain;
  filter:none;
}

.site-footer{
  background:#102a2b;
  color:#fff;
  padding:58px 0 24px;
}
.site-footer a{color:#fff}
.footer-grid{
  display:grid;
  grid-template-columns:1.5fr 1fr 1fr;
  gap:48px;
  align-items:start;
}
.footer-brand .custom-logo{
  max-width:240px;
  max-height:64px;
  margin-bottom:18px;
}
.footer-brand .brand{
  color:#fff;
  display:inline-block;
  margin-bottom:18px;
}
.footer-brand .brand span{color:#9ee0e2}
.footer-copy{
  color:rgba(255,255,255,.72);
  max-width:440px;
  font-size:.96rem;
}
.footer-title{
  font-size:.82rem;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:#9ee0e2;
  font-weight:800;
  margin-bottom:16px;
}
.footer-links{
  display:grid;
  gap:10px;
}
.footer-bottom{
  margin-top:42px;
  padding-top:20px;
  border-top:1px solid rgba(255,255,255,.14);
  display:flex;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
  color:rgba(255,255,255,.6);
  font-size:.88rem;
}
.footer-bottom__links{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
}
.footer-bottom a{color:rgba(255,255,255,.82)}

@media(max-width:1000px){
  .collaborations__grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:800px){
  .footer-grid{grid-template-columns:1fr;gap:30px}
  .collaborations__head{display:block}
}
@media(max-width:560px){
  .collaborations{padding:56px 0}
  .collaborations__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .collaboration-logo{min-height:96px;padding:14px}
  .site-footer{padding-top:46px}
}


/* v1.7 — logos de colaboraciones fijos + financiación Junta de Castilla y León */
.collaborations__grid{
  grid-template-columns:repeat(5,minmax(0,1fr));
}
.collaboration-logo img{
  max-height:74px;
}
.footer-funded{
  margin-top:34px;
  padding-top:24px;
  border-top:1px solid rgba(255,255,255,.14);
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
}
.footer-funded__text{
  color:rgba(255,255,255,.82);
  font-size:.92rem;
  margin:0;
}
.footer-funded__logo{
  background:#fff;
  border-radius:10px;
  padding:10px 14px;
  display:inline-flex;
  align-items:center;
}
.footer-funded__logo img{
  display:block;
  max-height:58px;
  width:auto;
}
@media(max-width:900px){
  .collaborations__grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:560px){
  .collaborations__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .footer-funded{align-items:flex-start}
}


/* v1.8 — logos más legibles + financiación integrada en el footer */
.collaborations{
  padding:64px 0 72px;
}
.collaborations__grid{
  gap:16px;
}
.collaboration-logo{
  min-height:150px;
  padding:16px 20px;
}
.collaboration-logo img{
  width:auto;
  height:auto;
  max-width:82%;
  max-height:105px;
  object-fit:contain;
  transform:scale(1.18);
  transform-origin:center;
}

/* Bloque de financiación más compacto e integrado */
.footer-funded{
  margin-top:30px;
  padding:20px 0 0;
  border-top:1px solid rgba(255,255,255,.14);
  display:grid;
  grid-template-columns:minmax(0,auto) 150px;
  justify-content:start;
  align-items:center;
  gap:22px;
}
.footer-funded__text{
  color:rgba(255,255,255,.78);
  font-size:.88rem;
  line-height:1.45;
  margin:0;
  max-width:430px;
}
.footer-funded__logo{
  width:150px;
  height:72px;
  background:#fff;
  border-radius:8px;
  padding:0;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
}
.footer-funded__logo img{
  display:block;
  width:100%;
  max-width:none;
  height:100%;
  max-height:none;
  object-fit:contain;
  transform:scale(2.15);
  transform-origin:center;
}

@media(max-width:900px){
  .collaboration-logo{min-height:130px}
  .collaboration-logo img{max-height:90px;max-width:86%;transform:scale(1.12)}
}
@media(max-width:560px){
  .collaboration-logo{min-height:115px}
  .collaboration-logo img{max-height:78px;max-width:90%;transform:scale(1.08)}
  .footer-funded{
    grid-template-columns:1fr;
    gap:14px;
  }
  .footer-funded__logo{
    width:140px;
    height:68px;
  }
}


/* v1.9 — financiación final: sin negrita, sin caja blanca */
.footer-funded__text{
  font-weight:400;
}

.footer-funded__logo{
  width:190px;
  height:auto;
  min-height:0;
  background:transparent;
  border-radius:0;
  padding:0;
  overflow:visible;
  display:flex;
  align-items:center;
  justify-content:flex-start;
}

.footer-funded__logo img{
  display:block;
  width:190px;
  height:auto;
  max-width:100%;
  max-height:none;
  object-fit:contain;
  transform:none;
  filter:none;
}

@media(max-width:560px){
  .footer-funded__logo{
    width:170px;
  }
  .footer-funded__logo img{
    width:170px;
  }
}


/* v1.13 — hero más viajero, bloque de imágenes separado y menú móvil */
.menu-toggle{
  display:none;
  width:46px;
  height:46px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
  padding:10px;
  cursor:pointer;
  flex-direction:column;
  justify-content:center;
  gap:4px;
}
.menu-toggle span{
  display:block;
  width:100%;
  height:2px;
  background:var(--ink);
  border-radius:999px;
}
.mobile-menu{
  display:none;
  border-top:1px solid var(--line);
  background:rgba(255,255,255,.98);
  backdrop-filter:blur(12px);
}
.mobile-menu.is-open{display:block}
.mobile-menu__inner{
  display:grid;
  gap:0;
  padding:10px 0 14px;
}
.mobile-menu a{
  padding:14px 0;
  border-bottom:1px solid var(--line);
}
body.menu-open{overflow:hidden}

.hero--media{
  position:relative;
  min-height:78vh;
  background-position:center center;
  background-size:cover;
}
.hero--media::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(6,18,31,.78) 0%, rgba(6,18,31,.62) 38%, rgba(6,18,31,.38) 64%, rgba(6,18,31,.14) 100%),
    linear-gradient(180deg, rgba(6,18,31,.18) 0%, rgba(6,18,31,.38) 100%);
}
.hero--media .hero__inner{
  position:relative;
  z-index:1;
  max-width:760px;
}
.hero--media .eyebrow{color:#bfeff1}
.hero--media h1,
.hero--media .lead{color:#fff}
.hero--media .lead{max-width:680px}
.hero--media .btn--ghost{
  color:#fff;
  border-color:rgba(255,255,255,.68);
  background:rgba(255,255,255,.08);
}
.hero--media .btn--ghost:hover{
  background:rgba(255,255,255,.16);
  color:#fff;
  border-color:#fff;
}

.section--tight{padding:72px 0}
.resource-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
  margin-top:34px;
}
.resource-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 12px 35px rgba(35,69,70,.06);
}
.resource-card__image{
  background:#f6fbfb;
  padding:10px;
}
.resource-card__image img{
  width:100%;
  height:auto;
  max-height:220px;
  object-fit:contain;
  margin:0 auto;
}
.resource-card__body{
  padding:18px 22px 22px;
}
.resource-card__body h3{
  margin:0;
  font-size:1.05rem;
}

.service-card--simple{
  padding:0 !important;
  overflow:hidden;
}
.service-card--simple .service-card__body{
  padding:28px 28px 30px !important;
}
.service-card--simple h3{
  font-size:1.35rem;
}
.service-card--simple p{
  font-size:.98rem;
}
.service-card--simple .btn{
  margin-top:8px;
}

@media (max-width:900px){
  .menu{display:none}
  .menu-toggle{display:inline-flex}
  .hero--media{
    min-height:68vh;
    background-position:center;
  }
  .hero--media::before{
    background:
      linear-gradient(180deg, rgba(6,18,31,.72) 0%, rgba(6,18,31,.46) 52%, rgba(6,18,31,.36) 100%);
  }
  .resource-grid{grid-template-columns:1fr}
}

@media (max-width:560px){
  .hero--media .hero__inner{padding:78px 0}
}
