
/*
Theme Name: Mi Teckel Feliz Definitiva
Theme URI: https://miteckelfeliz.com
Author: Mi Teckel Feliz
Description: Plantilla responsive para blog de teckels con portada editable.
Version: 2.0
Requires at least: 5.8
Text Domain: mi-teckel-feliz
*/

:root{
  --pink:#ef4f91;
  --pink-dark:#d93e7d;
  --blue:#4fa8d8;
  --text:#24242b;
  --muted:#555866;
  --cream:#fff8f9;
  --shadow:0 18px 45px rgba(35,35,45,.12);
  --radius:32px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  color:var(--text);
  background:linear-gradient(180deg,#fff 0%,#fff8fb 100%);
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

.site-header{
  background:#fff;
  box-shadow:0 8px 25px rgba(0,0,0,.045);
  position:relative;
  z-index:20;
}
.header-inner{
  width:min(1180px,92%);
  margin:auto;
  min-height:128px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.brand{
  display:flex;
  align-items:center;
  gap:18px;
  flex:0 0 auto;
}
.brand-logo{
  width:108px;
  height:108px;
  object-fit:contain;
}
.brand-title{
  font-size:34px;
  line-height:1;
  font-weight:900;
  letter-spacing:-.8px;
}
.nav{
  display:flex;
  align-items:center;
  gap:32px;
  font-weight:800;
  white-space:nowrap;
}
.nav a{transition:.2s;color:#17171d}
.nav a:first-child,.nav a:hover{color:var(--pink)}
.menu-toggle{display:none}

.hero-wrap{
  width:min(1180px,92%);
  margin:34px auto 0;
}

.hero-photo{
  width:100%;
  height:520px;
  border-radius:0;
  overflow:hidden;
  background:#fff;
  box-shadow:0 10px 30px rgba(0,0,0,.08);
}
.hero-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
}

.hero-card{
  width:min(1010px,92%);
  margin:-46px auto 0;
  position:relative;
  z-index:5;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(12px);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:58px 64px;
}
.hero-card h1{
  margin:0;
  font-size:clamp(42px,5vw,68px);
  line-height:1.12;
  letter-spacing:-1.6px;
  max-width:900px;
}
.hero-card .accent{color:var(--pink)}
.hero-card p{
  margin:28px 0 0;
  font-size:23px;
  line-height:1.65;
  color:var(--muted);
  max-width:900px;
}
.hero-actions{
  display:flex;
  gap:18px;
  margin-top:34px;
  flex-wrap:wrap;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:68px;
  padding:0 34px;
  border-radius:18px;
  font-size:20px;
  font-weight:900;
  color:#fff;
  box-shadow:0 12px 24px rgba(239,79,145,.25);
}
.btn-pink{background:linear-gradient(135deg,var(--pink),#f65c9f)}
.btn-blue{background:linear-gradient(135deg,#58afe4,#2f93cc);box-shadow:0 12px 24px rgba(79,168,216,.25)}

.features{
  width:min(1120px,92%);
  margin:44px auto 70px;
  background:#fff;
  border-radius:26px;
  box-shadow:var(--shadow);
  display:grid;
  grid-template-columns:repeat(4,1fr);
  overflow:hidden;
}
.feature{
  padding:42px 26px;
  text-align:center;
  border-right:1px solid #eee;
}
.feature:last-child{border-right:0}
.feature-icon{
  width:82px;
  height:82px;
  margin:0 auto 22px;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-size:42px;
}
.feature:nth-child(1) .feature-icon{background:#ffe3ee}
.feature:nth-child(2) .feature-icon{background:#e4f2ff}
.feature:nth-child(3) .feature-icon{background:#fff1d4}
.feature:nth-child(4) .feature-icon{background:#dcf6ee}
.feature h3{
  margin:0 0 14px;
  font-size:19px;
}
.feature:nth-child(1) h3{color:var(--pink)}
.feature:nth-child(2) h3{color:#418dc7}
.feature:nth-child(3) h3{color:#eda514}
.feature:nth-child(4) h3{color:#23a881}
.feature p{
  margin:0;
  font-size:16px;
  color:#333;
  line-height:1.65;
}

.site-footer{
  background:linear-gradient(135deg,#f95699,#ed3c82);
  color:#fff;
  padding:44px 0 24px;
  margin-top:20px;
}
.footer-inner{
  width:min(1120px,92%);
  margin:auto;
  display:grid;
  grid-template-columns:1.3fr 1fr;
  gap:40px;
  align-items:start;
}
.footer-brand{
  display:flex;
  gap:18px;
  align-items:center;
}
.footer-brand img{
  width:92px;
  height:92px;
  object-fit:contain;
  background:#fff;
  border-radius:50%;
}
.footer-brand h3{margin:0 0 10px;font-size:24px}
.footer-brand p{margin:0;line-height:1.6;opacity:.92}
.footer-links h4{margin:0 0 14px;font-size:19px}
.footer-links a{display:inline-block;margin:0 18px 10px 0;opacity:.95}
.copyright{
  width:min(1120px,92%);
  margin:34px auto 0;
  padding-top:22px;
  border-top:1px solid rgba(255,255,255,.25);
  font-size:14px;
  opacity:.9;
}

/* Blog/page defaults */
.content-area{width:min(900px,92%);margin:60px auto}
.content-area h1{font-size:46px}

@media(max-width:900px){
  .header-inner{
    min-height:150px;
    flex-direction:column;
    justify-content:center;
    gap:18px;
    width:100%;
    overflow:hidden;
  }
  .brand{justify-content:center}
  .brand-logo{width:84px;height:84px}
  .brand-title{font-size:34px}
  .nav{
    width:100%;
    overflow-x:auto;
    gap:26px;
    padding:0 22px 20px;
    justify-content:flex-start;
    -webkit-overflow-scrolling:touch;
  }
  .nav::-webkit-scrollbar{display:none}
  .nav a{font-size:25px;flex:0 0 auto}
  .hero-wrap{
    width:100%;
    margin-top:0;
  }
  .hero-photo{
    height:430px;
    border-radius:0;
    box-shadow:none;
  }
  .hero-photo img{
    object-fit:cover;
    object-position:center center;
  }
  .hero-card{
    width:92%;
    margin:-24px auto 0;
    padding:34px 30px 36px;
    border-radius:30px;
  }
  .hero-card h1{
    font-size:44px;
    line-height:1.18;
    letter-spacing:-.9px;
  }
  .hero-card p{
    font-size:25px;
    line-height:1.58;
  }
  .hero-actions{display:block}
  .btn{
    width:100%;
    min-height:80px;
    font-size:24px;
    margin-bottom:18px;
  }
  .features{
    grid-template-columns:1fr;
    margin-top:36px;
  }
  .feature{
    border-right:0;
    border-bottom:1px solid #eee;
  }
  .footer-inner{grid-template-columns:1fr}
}

@media(max-width:520px){
  .brand-logo{width:78px;height:78px}
  .brand-title{font-size:30px}
  .nav a{font-size:22px}
  .hero-photo{height:355px}
  .hero-card h1{font-size:38px}
  .hero-card p{font-size:21px}
}

@media(min-width:901px){
  .hero-photo{
    height:560px;
  }
  .hero-card{
    text-align:left;
  }
}


/* Ajuste fino de tipografías */
.hero-card h1{
  font-size: clamp(34px, 4vw, 52px) !important;
}
.hero-card p{
  font-size: 21px !important;
}
.nav a{
  font-size: 18px !important;
}

@media(max-width:900px){
  .hero-card h1{
    font-size: 32px !important;
    line-height: 1.2 !important;
  }
  .hero-card p{
    font-size: 18px !important;
  }
  .nav a{
    font-size: 18px !important;
  }
  .btn{
    font-size: 20px !important;
  }
}


/* Ajuste final solicitado */
.hero-card h1{
    font-size:42px !important;
    line-height:1.15 !important;
}
.hero-card p{
    font-size:18px !important;
    line-height:1.6 !important;
}

@media(max-width:768px){
    .hero-card h1{
        font-size:30px !important;
    }
    .hero-card p{
        font-size:16px !important;
    }
}
