/* Aplica estilos landing a Landing AsesorÃƒÂ­a + Renta 2026 */
.page-template-page-landing .am-landing,
.page-template-page-landing-renta-2026 .am-landing{
  --am-text:#0f172a;
  --am-muted:#64748b;
  --am-border:#e5e7eb;
  --am-shadow:0 10px 30px rgba(15,23,42,.08);
  --am-primary:#ff5a1f;
  --am-primaryDark:#e24b16;
  --am-accent:#2563eb;
  --am-radius:16px;
}

/* =========================
   LANDING: hero + form + por quÃƒÂ© + planes
   (SIN romper header/footer Astra)
   ========================= */

/* Variables */
.page-template-page-landing .am-landing{
  --am-text:#0f172a;
  --am-muted:#64748b;
  --am-border:#e5e7eb;
  --am-shadow:0 10px 30px rgba(15,23,42,.08);
  --am-primary:#ff5a1f;
  --am-primaryDark:#e24b16;
  --am-accent:#2563eb;
  --am-radius:16px;
}

/* Helpers */
.page-template-page-landing .am-price{ color:var(--am-accent); font-weight:800; }
.page-template-page-landing .am-req{ color:#ef4444; font-weight:700; margin-left:4px; }
.page-template-page-landing .am-accent{ color:var(--am-accent); }

/* Scroll suave SOLO en landing */
.page-template-page-landing html{ scroll-behavior:smooth; }

/* Evita que el header sticky tape secciones */
.page-template-page-landing #servicios,
.page-template-page-landing #planes,
.page-template-page-landing #por-que,
.page-template-page-landing #contacto{
  scroll-margin-top: 100px;
}

/* =========================================
   FIX ASTRA (solo contenido)
   - Header y Footer quedan como en Home
   ========================================= */

/* Quita padding del ÃƒÂ¡rea de contenido */
.page-template-page-landing .site-content{
  padding: 0 !important;
}

/* Haz el contenedor del contenido full width */
.page-template-page-landing .site-content .ast-container,
.page-template-page-landing .site-content .ast-container-fluid{
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Si Astra mete margen arriba/abajo en el contenedor, neutraliza */
.page-template-page-landing .site-content .ast-container{
  margin: 0 !important;
}

/* =========================
   HERO
   ========================= */

.page-template-page-landing .am-hero{
  padding: 54px 0 18px; /* extra top por header sticky */
  background:#fff;
}

@media (max-width: 960px){
  .page-template-page-landing .am-hero{ padding-top: 40px; }
}

.page-template-page-landing .am-hero-grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  align-items: start;
}

@media (max-width: 960px){
  .page-template-page-landing .am-hero-grid{ grid-template-columns: 1fr; }
}

.page-template-page-landing .am-hero-copy h1{
  font-size: clamp(34px, 4vw, 54px);
  letter-spacing: -0.03em;
  line-height: 1.03;
  margin: 0 0 14px;
  color: var(--am-text);
}

.page-template-page-landing .am-hero-sub{
  margin: 0 0 18px;
  font-size: 16px;
  color: var(--am-text);
}

/* Bullets */
.page-template-page-landing .am-bullets{
  margin: 18px 0 20px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.page-template-page-landing .am-bullets li{
  position: relative;
  padding-left: 18px;
  color: var(--am-muted);
  font-weight: 600;
}

/* âœ… ARREGLADO: antes era "Ã¢â‚¬Â¢" */
.page-template-page-landing .am-bullets li::before{
  content: "\2022"; /* â€¢ */
  position: absolute;
  left: 2px;
  top: 0;
  color: var(--am-accent);
  font-weight: 900;
}

.page-template-page-landing .am-cta{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top: 8px;
}

.page-template-page-landing .am-divider{
  margin-top: 22px;
  height: 2px;
  width: 140px;
  background: linear-gradient(90deg, var(--am-primary), transparent);
  border-radius: 999px;
}

/* Card */
.page-template-page-landing .am-card{
  background:#fff;
  border: 1px solid var(--am-border);
  border-radius: var(--am-radius);
  padding: 18px;
  box-shadow: var(--am-shadow);
}

.page-template-page-landing .am-card h2{
  margin: 4px 0 14px;
  font-size: 20px;
  color: var(--am-accent);
  letter-spacing: -0.01em;
}

/* Form */
.page-template-page-landing .am-form{
  display:grid;
  gap: 12px;
}

.page-template-page-landing .am-form label{
  display:grid;
  gap:6px;
  font-weight:700;
  font-size: 13px;
  color: var(--am-text);
}

.page-template-page-landing .am-form input,
.page-template-page-landing .am-form textarea{
  width:100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--am-border);
  outline: none;
  font-size: 14px;
  background:#fff;
}

.page-template-page-landing .am-form input:focus,
.page-template-page-landing .am-form textarea:focus{
  border-color:#93c5fd;
  box-shadow: 0 0 0 3px rgba(147,197,253,.35);
}

.page-template-page-landing .am-check{
  display:grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  font-weight: 600;
  color: var(--am-muted);
}

.page-template-page-landing .am-check input{
  width:18px;
  height:18px;
  margin-top:2px;
  accent-color: var(--am-accent);
}

.page-template-page-landing .am-check a{
  color: var(--am-accent);
  font-weight: 800;
}

.page-template-page-landing .am-hp{
  position:absolute;
  left:-9999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}

.page-template-page-landing .am-fineprint{
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--am-muted);
}

/* Botones (solo variantes, base en style.css) */
.page-template-page-landing .am-btn-primary{
  background: var(--am-primary);
  color:#fff;
}

.page-template-page-landing .am-btn-primary:hover{
  background: var(--am-primaryDark);
}

.page-template-page-landing .am-btn-ghost{
  background: transparent;
  border: 1px solid var(--am-border);
  color: var(--am-text);
}

.page-template-page-landing .am-btn-ghost:hover{
  border-color:#cbd5e1;
}

.page-template-page-landing .am-btn-block{
  width:100%;
  border-radius: 12px;
  padding: 14px 16px;
}

/* Alerts */
.page-template-page-landing .am-alert{
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 700;
  margin: 0 0 10px;
}

.page-template-page-landing .am-alert-ok{
  background:#ecfdf5;
  border:1px solid #a7f3d0;
  color:#065f46;
}

.page-template-page-landing .am-alert-err{
  background:#fef2f2;
  border:1px solid #fecaca;
  color:#7f1d1d;
}

/* =========================
   POR QUÃƒâ€° NOSOTROS (COLLAGE PRO)
   ========================= */

.page-template-page-landing .am-why{
  padding: 36px 0 18px;
  background:#fff;
  border-top: 1px solid var(--am-border);
}

.page-template-page-landing .am-why-grid{
  display:grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 28px;
  align-items: start;
}

.page-template-page-landing .am-why-photos{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-content: start;
}

.page-template-page-landing .am-photo{
  margin:0;
  border-radius: 16px;
  overflow:hidden;
  border: 1px solid var(--am-border);
  box-shadow: var(--am-shadow);
  background:#fff;
}

.page-template-page-landing .am-photo img{
  width:100%;
  height:100%;
  display:block;
  object-fit: cover;
  object-position: center;
}

.page-template-page-landing .am-photo-big{
  grid-column: 1 / -1;
  height: 260px;
}

.page-template-page-landing .am-photo-small{
  height: 170px;
}

.page-template-page-landing .am-why-copy h2{
  margin: 0 0 12px;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--am-text);
}

.page-template-page-landing .am-why-copy p{
  margin: 0 0 12px;
  color: var(--am-muted);
  font-weight: 600;
  line-height: 1.7;
}

.page-template-page-landing .am-why-cta{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin: 14px 0 12px;
}

.page-template-page-landing .am-why-points{
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--am-muted);
  display:grid;
  gap: 8px;
  font-weight: 600;
}

@media (max-width: 960px){
  .page-template-page-landing .am-why-grid{ grid-template-columns: 1fr; }
  .page-template-page-landing .am-photo-big{ height: 220px; }
  .page-template-page-landing .am-photo-small{ height: 150px; }
}

/* =========================
   PLANES
   ========================= */

.page-template-page-landing .am-plans{
  padding: 22px 0 40px;
  border-top: 1px solid var(--am-border);
  background:#fafafa;
}

.page-template-page-landing .am-section-head{
  text-align:center;
  margin: 18px 0 22px;
}

.page-template-page-landing .am-section-head h2{
  margin:0;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.page-template-page-landing .am-section-head p{
  margin: 6px 0 0;
  color: var(--am-muted);
}

.page-template-page-landing .am-plan-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.page-template-page-landing .am-plan-card{
  background:#fff;
  border: 1px solid var(--am-border);
  border-radius: var(--am-radius);
  padding: 22px;
  box-shadow: var(--am-shadow);
  display:flex;
  flex-direction:column;
  gap: 12px;
}

.page-template-page-landing .am-plan-card h3{
  margin:0;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--am-text);
}

.page-template-page-landing .am-plan-price{
  margin:0;
  color: var(--am-muted);
}

.page-template-page-landing .am-plan-desc{
  margin:0;
  font-weight: 800;
  color:#111827;
}

.page-template-page-landing .am-plan-list{
  margin:0;
  padding-left: 18px;
  color: var(--am-muted);
  display:grid;
  gap: 8px;
  font-weight: 600;
}

@media (max-width: 960px){
  .page-template-page-landing .am-plan-grid{ grid-template-columns: 1fr; }
}

/* =========================
   SERVICIOS
   ========================= */

.page-template-page-landing .am-services{
  padding: 34px 0;
  background:#fff;
  border-top: 1px solid var(--am-border);
}

.page-template-page-landing .am-services-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.page-template-page-landing .am-service{
  background:#fff;
  border:1px solid var(--am-border);
  border-radius: var(--am-radius);
  padding: 18px;
  box-shadow: var(--am-shadow);
  display:flex;
  flex-direction:column;
  gap: 10px;
}

.page-template-page-landing .am-service h3{
  margin:0;
  font-size:16px;
  letter-spacing:-.01em;
  color: var(--am-text);
}

.page-template-page-landing .am-service p{
  margin:0;
  color: var(--am-muted);
  font-weight:600;
  line-height:1.65;
}

.page-template-page-landing .am-link{
  margin-top:auto;
  font-weight:900;
  color: var(--am-accent);
  text-decoration:none;
}
.page-template-page-landing .am-link:hover{ opacity:.85; }

.page-template-page-landing .am-center-cta{
  display:flex;
  gap:12px;
  justify-content:center;
  flex-wrap:wrap;
  margin-top: 18px;
}

/* =========================
   CÃƒâ€œMO TRABAJAMOS
   ========================= */

.page-template-page-landing .am-process{
  padding: 34px 0;
  background:#fafafa;
  border-top: 1px solid var(--am-border);
}

.page-template-page-landing .am-steps{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.page-template-page-landing .am-step{
  background:#fff;
  border:1px solid var(--am-border);
  border-radius: var(--am-radius);
  padding: 18px;
  box-shadow: var(--am-shadow);
}

.page-template-page-landing .am-step-num{
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 900;
  color:#fff;
  background: var(--am-accent);
  margin-bottom: 10px;
}

.page-template-page-landing .am-step h3{
  margin:0 0 6px;
  font-size:16px;
  color: var(--am-text);
}

.page-template-page-landing .am-step p{
  margin:0;
  color: var(--am-muted);
  font-weight:600;
  line-height:1.65;
}

/* Responsive */
@media (max-width: 960px){
  .page-template-page-landing .am-services-grid{ grid-template-columns: 1fr; }
  .page-template-page-landing .am-steps{ grid-template-columns: 1fr; }
}

/* =========================
   (OPCIONAL) Footer propio .am-footer
   OJO: si quieres que se vea como Home,
   lo mejor es NO usar .am-footer y dejar el footer de Astra.
   ========================= */

.page-template-page-landing .am-footer{
  border-top: 1px solid var(--am-border);
  background:#fff;
  padding: 18px 0;
}

.page-template-page-landing .am-footer-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}

.page-template-page-landing .am-footer-links{
  display:flex;
  gap:14px;
}

.page-template-page-landing .am-footer-links a{
  color: var(--am-muted);
  font-weight:700;
  text-decoration:none;
}

.page-template-page-landing .am-footer-links a:hover{
  color: var(--am-accent);
}

/* =========================
   GRACIAS (page-gracias.php)
   (sin tocar header/footer Astra)
   ========================= */

.page-template-page-gracias .am-thanks-hero{
  padding: 70px 0 60px;
  background: #fff;
}

.page-template-page-gracias .am-thanks-wrap{
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.page-template-page-gracias .am-thanks-title{
  margin: 0 0 12px;
  font-size: clamp(26px, 2.2vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--am-text);
}

.page-template-page-gracias .am-thanks-sub{
  margin: 0 auto 18px;
  max-width: 58ch;
  font-size: 16px;
  line-height: 1.7;
  color: var(--am-muted);
  font-weight: 600;
}

.page-template-page-gracias .am-thanks-cta{
  justify-content: center;
}

.page-template-page-gracias .am-thanks-meta{
  margin-top: 18px;
}

/* THANK YOU PAGE (extra) */
.page-template-page-gracias .am-thanks,
.page-template-gracias .am-thanks,
.am-thanks-page .am-thanks{
  padding: 56px 0 72px;
  background: #fff;
}

.am-thanks-inner{
  max-width: 760px;
  text-align: center;
}

.am-thanks-title{
  margin: 0 0 10px;
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.am-thanks-text{
  margin: 0 auto 18px;
  font-size: 16px;
  line-height: 1.7;
  max-width: 58ch;
}

.am-thanks-cta{
  justify-content: center;
  margin-top: 14px;
}

.am-thanks-meta{
  margin-top: 18px;
  font-size: 14px;
}
/* =========================
   COMPATIBILIDAD: RENTA 2026
   ========================= */
.page-template-page-landing-renta-2026 .am-price{ color:var(--am-accent); font-weight:800; }
.page-template-page-landing-renta-2026 .am-req{ color:#ef4444; font-weight:700; margin-left:4px; }
.page-template-page-landing-renta-2026 .am-accent{ color:var(--am-accent); }
.page-template-page-landing-renta-2026 html{ scroll-behavior:smooth; }

.page-template-page-landing-renta-2026 #servicios,
.page-template-page-landing-renta-2026 #planes,
.page-template-page-landing-renta-2026 #por-que,
.page-template-page-landing-renta-2026 #contacto,
.page-template-page-landing-renta-2026 #info{
  scroll-margin-top: 100px;
}

.page-template-page-landing-renta-2026 .site-content{ padding: 0 !important; }
.page-template-page-landing-renta-2026 .site-content .ast-container,
.page-template-page-landing-renta-2026 .site-content .ast-container-fluid{
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.page-template-page-landing-renta-2026 .site-content .ast-container{ margin:0 !important; }

/* HERO */
.page-template-page-landing-renta-2026 .am-hero{ padding:54px 0 18px; background:#fff; }
@media (max-width: 960px){ .page-template-page-landing-renta-2026 .am-hero{ padding-top:40px; } }
.page-template-page-landing-renta-2026 .am-hero-grid{
  display:grid; grid-template-columns:1.15fr .85fr; gap:28px; align-items:start;
}
@media (max-width: 960px){ .page-template-page-landing-renta-2026 .am-hero-grid{ grid-template-columns:1fr; } }
.page-template-page-landing-renta-2026 .am-hero-copy h1{
  font-size: clamp(34px, 4vw, 54px);
  letter-spacing:-0.03em; line-height:1.03; margin:0 0 14px; color:var(--am-text);
}
.page-template-page-landing-renta-2026 .am-hero-sub{ margin:0 0 18px; font-size:16px; color:var(--am-text); }

.page-template-page-landing-renta-2026 .am-bullets{
  margin:18px 0 20px; padding:0; list-style:none; display:grid; gap:10px;
}
.page-template-page-landing-renta-2026 .am-bullets li{
  position:relative; padding-left:18px; color:var(--am-muted); font-weight:600;
}

/* âœ… ARREGLADO: antes era "Ã¢â‚¬Â¢" */
.page-template-page-landing-renta-2026 .am-bullets li::before{
  content:"\2022"; /* â€¢ */
  position:absolute; left:2px; top:0; color:var(--am-accent); font-weight:900;
}

.page-template-page-landing-renta-2026 .am-cta{ display:flex; gap:12px; flex-wrap:wrap; margin-top:8px; }
.page-template-page-landing-renta-2026 .am-divider{
  margin-top:22px; height:2px; width:140px;
  background: linear-gradient(90deg, var(--am-primary), transparent);
  border-radius:999px;
}

/* Card + Form */
.page-template-page-landing-renta-2026 .am-card{
  background:#fff; border:1px solid var(--am-border); border-radius:var(--am-radius);
  padding:18px; box-shadow:var(--am-shadow);
}
.page-template-page-landing-renta-2026 .am-card h2{
  margin:4px 0 14px; font-size:20px; color:var(--am-accent); letter-spacing:-0.01em;
}
.page-template-page-landing-renta-2026 .am-form{ display:grid; gap:12px; }
.page-template-page-landing-renta-2026 .am-form label{
  display:grid; gap:6px; font-weight:700; font-size:13px; color:var(--am-text);
}
.page-template-page-landing-renta-2026 .am-form input,
.page-template-page-landing-renta-2026 .am-form textarea{
  width:100%; padding:12px; border-radius:12px; border:1px solid var(--am-border);
  outline:none; font-size:14px; background:#fff;
}
.page-template-page-landing-renta-2026 .am-form input:focus,
.page-template-page-landing-renta-2026 .am-form textarea:focus{
  border-color:#93c5fd; box-shadow:0 0 0 3px rgba(147,197,253,.35);
}
.page-template-page-landing-renta-2026 .am-check{
  display:grid; grid-template-columns:18px 1fr; align-items:start; gap:10px;
  font-weight:600; color:var(--am-muted);
}
.page-template-page-landing-renta-2026 .am-check input{
  width:18px; height:18px; margin-top:2px; accent-color:var(--am-accent);
}
.page-template-page-landing-renta-2026 .am-check a{ color:var(--am-accent); font-weight:800; }
.page-template-page-landing-renta-2026 .am-hp{
  position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.page-template-page-landing-renta-2026 .am-fineprint{ margin:2px 0 0; font-size:12px; color:var(--am-muted); }

/* Botones */
.page-template-page-landing-renta-2026 .am-btn-primary{ background:var(--am-primary); color:#fff; }
.page-template-page-landing-renta-2026 .am-btn-primary:hover{ background:var(--am-primaryDark); }
.page-template-page-landing-renta-2026 .am-btn-ghost{ background:transparent; border:1px solid var(--am-border); color:var(--am-text); }
.page-template-page-landing-renta-2026 .am-btn-ghost:hover{ border-color:#cbd5e1; }
.page-template-page-landing-renta-2026 .am-btn-block{ width:100%; border-radius:12px; padding:14px 16px; }

/* POR QUÃƒâ€° */
.page-template-page-landing-renta-2026 .am-why{ padding:36px 0 18px; background:#fff; border-top:1px solid var(--am-border); }
.page-template-page-landing-renta-2026 .am-why-grid{
  display:grid; grid-template-columns:.95fr 1.05fr; gap:28px; align-items:start;
}
.page-template-page-landing-renta-2026 .am-why-photos{
  display:grid; grid-template-columns:1fr 1fr; gap:12px; align-content:start;
}
.page-template-page-landing-renta-2026 .am-photo{
  margin:0; border-radius:16px; overflow:hidden; border:1px solid var(--am-border);
  box-shadow:var(--am-shadow); background:#fff;
}
.page-template-page-landing-renta-2026 .am-photo img{
  width:100%; height:100%; display:block; object-fit:cover; object-position:center;
}
.page-template-page-landing-renta-2026 .am-photo-big{ grid-column:1 / -1; height:260px; }
.page-template-page-landing-renta-2026 .am-photo-small{ height:170px; }
.page-template-page-landing-renta-2026 .am-why-copy h2{
  margin:0 0 12px; font-size:24px; letter-spacing:-0.02em; color:var(--am-text);
}
.page-template-page-landing-renta-2026 .am-why-copy p{
  margin:0 0 12px; color:var(--am-muted); font-weight:600; line-height:1.7;
}
.page-template-page-landing-renta-2026 .am-why-cta{ display:flex; gap:12px; flex-wrap:wrap; margin:14px 0 12px; }
.page-template-page-landing-renta-2026 .am-why-points{
  margin:10px 0 0; padding-left:18px; color:var(--am-muted); display:grid; gap:8px; font-weight:600;
}
@media (max-width: 960px){
  .page-template-page-landing-renta-2026 .am-why-grid{ grid-template-columns:1fr; }
  .page-template-page-landing-renta-2026 .am-photo-big{ height:220px; }
  .page-template-page-landing-renta-2026 .am-photo-small{ height:150px; }
}

/* SERVICIOS */
.page-template-page-landing-renta-2026 .am-services{ padding:34px 0; background:#fff; border-top:1px solid var(--am-border); }
.page-template-page-landing-renta-2026 .am-section-head{ text-align:center; margin:18px 0 22px; }
.page-template-page-landing-renta-2026 .am-section-head h2{ margin:0; font-size:22px; letter-spacing:-0.02em; }
.page-template-page-landing-renta-2026 .am-section-head p{ margin:6px 0 0; color:var(--am-muted); }

.page-template-page-landing-renta-2026 .am-services-grid{
  display:grid; grid-template-columns:repeat(3, 1fr); gap:14px; margin-top:18px;
}
.page-template-page-landing-renta-2026 .am-service{
  background:#fff; border:1px solid var(--am-border); border-radius:var(--am-radius);
  padding:18px; box-shadow:var(--am-shadow); display:flex; flex-direction:column; gap:10px;
}
.page-template-page-landing-renta-2026 .am-service h3{ margin:0; font-size:16px; letter-spacing:-.01em; color:var(--am-text); }
.page-template-page-landing-renta-2026 .am-service p{ margin:0; color:var(--am-muted); font-weight:600; line-height:1.65; }
.page-template-page-landing-renta-2026 .am-link{ margin-top:auto; font-weight:900; color:var(--am-accent); text-decoration:none; }
.page-template-page-landing-renta-2026 .am-link:hover{ opacity:.85; }
.page-template-page-landing-renta-2026 .am-center-cta{ display:flex; gap:12px; justify-content:center; flex-wrap:wrap; margin-top:18px; }

/* CÃƒâ€œMO TRABAJAMOS */
.page-template-page-landing-renta-2026 .am-process{ padding:34px 0; background:#fafafa; border-top:1px solid var(--am-border); }
.page-template-page-landing-renta-2026 .am-steps{ display:grid; grid-template-columns:repeat(4, 1fr); gap:14px; margin-top:18px; }
.page-template-page-landing-renta-2026 .am-step{
  background:#fff; border:1px solid var(--am-border); border-radius:var(--am-radius);
  padding:18px; box-shadow:var(--am-shadow);
}
.page-template-page-landing-renta-2026 .am-step-num{
  width:36px; height:36px; border-radius:12px; display:flex; align-items:center; justify-content:center;
  font-weight:900; color:#fff; background:var(--am-accent); margin-bottom:10px;
}
.page-template-page-landing-renta-2026 .am-step h3{ margin:0 0 6px; font-size:16px; color:var(--am-text); }
.page-template-page-landing-renta-2026 .am-step p{ margin:0; color:var(--am-muted); font-weight:600; line-height:1.65; }

@media (max-width: 960px){
  .page-template-page-landing-renta-2026 .am-services-grid{ grid-template-columns:1fr; }
  .page-template-page-landing-renta-2026 .am-steps{ grid-template-columns:1fr; }
}
/* ===== HEADER LANDING ===== */
.am-site-header{
  position: sticky;
  top: 0;
  z-index: 999;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.am-header-row{
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 10px 0;
}

.am-brand{ display:flex; align-items:center; text-decoration:none; }
.am-logo{
  height: clamp(42px, 6vw, 64px);
  width: auto;
  display:block;
}

/* Nav desktop */
.am-nav{
  display:flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.am-nav a{
  text-decoration:none;
  padding: 10px 10px;
  border-radius: 10px;
  white-space: nowrap;
}

/* Acciones */
.am-header-actions{
  display:flex;
  gap: 12px;
  align-items:center;
  justify-content:flex-end;
  flex-wrap: wrap;
}
.am-phone{ display:flex; flex-direction:column; line-height:1.1; }
.am-phone-link{ text-decoration:none; font-weight:700; }

/* Toggle oculto en desktop */
.am-nav-toggle{
  display:none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(0,0,0,.12);
  background:#fff;
  border-radius: 12px;
  padding: 10px;
  cursor:pointer;
}
.am-nav-toggle span{
  display:block;
  height:2px;
  width:100%;
  background:#111;
  margin: 5px 0;
  border-radius: 999px;
}
/* ===== FIX SECCIÃ“N INFO (Renta 2026): logos sin â€œvacaâ€ ===== */
.am-renta-info .am-photo img{
  object-fit: contain;      /* antes: cover */
  padding: 28px;            /* aire alrededor del logo */
  background: #fff;
}

.am-renta-info .am-photo-big{
  height: 220px;            /* antes: 260px */
}

.am-renta-info .am-photo-small{
  height: 140px;            /* antes: 170px */
}

/* En mÃ³vil, un poco mÃ¡s compacto */
@media (max-width: 960px){
  .am-renta-info .am-photo-big{ height: 200px; }
  .am-renta-info .am-photo-small{ height: 130px; }
}
/* ===== Mini calculadora IRPF (compacta) ===== */
.am-irpf-mini{
  margin-top: 16px;
  border: 1px solid var(--am-border);
  border-radius: var(--am-radius);
  background: #fff;
  box-shadow: var(--am-shadow);
  padding: 16px;
}

.am-irpf-mini h3{
  margin: 0 0 6px;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--am-text);
}

.am-irpf-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 10px;
}

.am-irpf-grid label{
  display: grid;
  gap: 6px;
  font-weight: 700;
  font-size: 13px;
  color: var(--am-text);
}

.am-irpf-grid input,
.am-irpf-grid select{
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--am-border);
  outline: none;
  font-size: 14px;
  background: #fff;
}

.am-irpf-grid button{
  grid-column: 1 / -1;
}

.am-irpf-result{
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--am-border);
}

.am-irpf-kpis{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 8px;
}

.am-irpf-kpis > div{
  border: 1px solid var(--am-border);
  border-radius: 12px;
  padding: 10px 12px;
  background: #fafafa;
}

.am-irpf-kpis span{
  display: block;
  font-size: 12px;
  color: var(--am-muted);
  font-weight: 700;
}

.am-irpf-kpis b{
  display: block;
  margin-top: 2px;
  font-size: 16px;
  color: var(--am-text);
}

.am-irpf-legal{
  margin: 10px 0 0;
  font-size: 12px;
}

@media (max-width
/* ===== HEADER SERVICIOS SUBMENU ===== */
.am-nav-item{
  position: relative;
}

.am-nav-btn{
  background: #0b63ce;
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
}

.am-submenu{
  display: none;
  position: absolute;
  top: 48px;
  left: 0;
  background: #fff;
  border-radius: 12px;
  padding: 8px;
  min-width: 180px;
  box-shadow: 0 15px 35px rgba(0,0,0,.15);
  z-index: 999;
}

.am-submenu a{
  display: block;
  padding: 10px 14px;
  text-decoration: none;
  border-radius: 8px;
  color: #111;
  font-weight: 600;
}

.am-submenu a:hover{
  background: #f1f5f9;
}

/* ABIERTO */
.am-nav-item.is-open .am-submenu{
  display: block;
}

/* MÃ“VIL */
@media (max-width: 900px){
  .am-submenu{
    position: static;
    box-shadow: none;
    padding-left: 10px;
  }
}



/* =========================================================
   FIX DEFINITIVO: BOTON "SERVICIOS" + SUBMENU (OVERRIDES)
   Usa !important para evitar que otras reglas lo pisen.
   ========================================================= */

/* El botÃ³n Servicios (class="am-nav-link") */
.am-nav .am-nav-link{
  color: #0f172a !important;
  background: transparent !important;
  border: 0 !important;
  padding: 10px 10px !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  line-height: 1 !important;
  cursor: pointer !important;
  appearance: none !important;
}

/* Hover */
.am-nav .am-nav-link:hover{
  background: rgba(37,99,235,.08) !important;
  color: #2563eb !important;
}

/* Abierto */
.am-nav-item.is-open > .am-nav-link{
  background: #2563eb !important;
  color: #ffffff !important;
}

/* Submenu oculto por defecto */
.am-nav-item .am-submenu{
  display: none !important;
}

/* Submenu visible SOLO cuando estÃ¡ abierto */
.am-nav-item.is-open .am-submenu{
  display: block !important;
}

/* Estilo submenu */
.am-submenu{
  background: #fff !important;
  border: 1px solid rgba(0,0,0,.08) !important;
  border-radius: 12px !important;
  padding: 8px !important;
  min-width: 190px !important;
  box-shadow: 0 12px 30px rgba(0,0,0,.15) !important;
  z-index: 9999 !important;
}

/* Links submenu */
.am-submenu a{
  display: block !important;
  padding: 10px 14px !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  white-space: nowrap !important;
}

.am-submenu a:hover{
  background: #f1f5f9 !important;
  color: #2563eb !important;
}

/* En mÃ³vil, submenu dentro del menÃº */
@media (max-width: 900px){
  .am-submenu{
    position: static !important;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
    padding: 6px 0 0 12px !important;
    min-width: 0 !important;
  }
}
/* =========================================
   FIX ULTRA: QUE "SERVICIOS" SIEMPRE SE VEA
   (da igual si es am-nav-link, am-nav-btn o button)
   ========================================= */

.am-nav-item.has-submenu > button,
.am-nav-item.has-submenu > .am-nav-link,
.am-nav-item.has-submenu > .am-nav-btn{
  color: #0f172a !important;
  background: transparent !important;
  border: 0 !important;
  padding: 10px 10px !important;
  border-radius: 10px !important;
  font-weight: 800 !important;
  font-size: 16px !important;
  line-height: 1 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

/* Hover */
.am-nav-item.has-submenu > button:hover,
.am-nav-item.has-submenu > .am-nav-link:hover,
.am-nav-item.has-submenu > .am-nav-btn:hover{
  background: rgba(37,99,235,.08) !important;
  color: #2563eb !important;
}

/* Estado abierto */
.am-nav-item.has-submenu.is-open > button,
.am-nav-item.has-submenu.is-open > .am-nav-link,
.am-nav-item.has-submenu.is-open > .am-nav-btn{
  background: #2563eb !important;
  color: #fff !important;
}

/* Submenu: oculto por defecto */
.am-nav-item.has-submenu .am-submenu{
  display: none !important;
}

/* Submenu: visible al abrir */
.am-nav-item.has-submenu.is-open .am-submenu{
  display: block !important;
}
.am-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #111;
  color: #fff;
  z-index: 9999;
  padding: 14px 18px;
  display: none;
}

.am-cookie-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.am-cookie-content p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
}

.am-cookie-content a {
  color: #4da3ff;
  text-decoration: underline;
}

.am-cookie-btn {
  background: #4da3ff;
  border: none;
  color: #fff;
  padding: 8px 14px;
  font-size: 14px;
  cursor: pointer;
  border-radius: 4px;
}

.am-cookie-btn:hover {
  background: #2f8be6;
}
/* =========================
   Por qué nosotros
========================= */
.am-whyus{
  padding: 54px 0;
}

.am-whyus-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.am-whyus-card{
  border-radius: 16px;
  padding: 16px 16px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
}

.am-whyus-card h3{
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
}

.am-whyus-card p{
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  opacity: .88;
}

@media (max-width: 900px){
  .am-whyus-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px){
  .am-whyus-grid{
    grid-template-columns: 1fr;
  }
}
