/* ===== Miranda Proyectos — Landings locales (estilos compartidos) ===== */
:root {
  --black: #141414; --gray: #737373; --gray-light: #f5f5f5;
  --blue: hsl(197, 95%, 77%); --white: #ffffff; --max: 1200px; --header-h: 72px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, sans-serif; font-weight: 400; color: var(--black); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* HEADER */
header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid #e5e5e5; height: var(--header-h); }
.header-inner { max-width: var(--max); margin: 0 auto; padding: 0 24px; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; }
.logo img { height: 38px; width: auto; }
nav { display: flex; align-items: center; gap: 28px; }
nav a { font-size: 14px; font-weight: 400; color: var(--black); transition: opacity .2s; }
nav a:hover { opacity: .6; }
.btn-nav { background: var(--blue); color: var(--black) !important; font-weight: 500; font-size: 14px; padding: 8px 20px; border-radius: 999px; transition: opacity .2s; }
.btn-nav:hover { opacity: .85 !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--black); border-radius: 2px; }

/* HERO */
.hero { position: relative; min-height: 540px; display: flex; align-items: center; background: #111; }
.hero-bg { position: absolute; inset: 0; background: #111 url('/assets/hero-toldo.jpg') center / cover no-repeat; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.45) 100%); z-index: 1; }
.hero-content { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; padding: 80px 24px; color: var(--white); }
.badge { display: inline-block; font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 20px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 300; line-height: 1.12; letter-spacing: -.03em; margin-bottom: 20px; max-width: 760px; }
.hero h1 strong { font-weight: 700; }
.hero p { font-size: 1.0625rem; font-weight: 300; color: rgba(255,255,255,.75); max-width: 600px; line-height: 1.75; margin-bottom: 36px; }
.btn-cta { display: inline-flex; align-items: center; gap: 8px; background: var(--blue); color: var(--black); font-weight: 600; font-size: 15px; padding: 14px 32px; border-radius: 999px; transition: opacity .2s, transform .2s; }
.btn-cta:hover { opacity: .9; transform: translateY(-1px); }
.hero-sub { margin-top: 16px; font-size: 14px; color: rgba(255,255,255,.45); }
.hero-sub a { color: var(--blue); }

/* SECCIONES */
.section { padding: 88px 24px; }
.section-gray { background: var(--gray-light); }
.container { max-width: var(--max); margin: 0 auto; }
.label { font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--gray); margin-bottom: 14px; }
.title { font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 300; letter-spacing: -.025em; line-height: 1.2; margin-bottom: 16px; }
.title strong { font-weight: 700; }
.body-text { font-size: 1rem; color: var(--gray); line-height: 1.8; max-width: 680px; }
.prose { max-width: 760px; margin-top: 24px; }
.prose p { font-size: 1rem; color: var(--gray); line-height: 1.85; margin-bottom: 16px; }
.prose p strong { color: var(--black); font-weight: 600; }

/* PRODUCTO (2 columnas) */
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; margin-top: 56px; }
.product-text h2 { font-size: clamp(1.375rem, 2.5vw, 2rem); font-weight: 300; letter-spacing: -.025em; margin-bottom: 16px; line-height: 1.25; }
.product-text h2 strong { font-weight: 700; }
.product-text p { font-size: 1rem; color: var(--gray); line-height: 1.8; margin-bottom: 12px; }
.features { margin-top: 24px; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.features li { display: flex; align-items: flex-start; gap: 10px; font-size: .9375rem; color: var(--gray); }
.features li::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); margin-top: 7px; flex-shrink: 0; }
.product-img { background: #e0e0e0; border-radius: 16px; aspect-ratio: 4/3; overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: cover; }

/* WHY */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; }
.why-card { padding: 32px; border: 1px solid #e5e5e5; border-radius: 14px; }
.why-card .num { font-size: 2.25rem; font-weight: 700; color: var(--blue); line-height: 1; margin-bottom: 14px; }
.why-card h3 { font-size: .9375rem; font-weight: 600; margin-bottom: 8px; }
.why-card p { font-size: .9375rem; color: var(--gray); line-height: 1.7; }

/* TIPOS */
.type-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.type-card { padding: 28px; border: 1px solid #e5e5e5; border-radius: 14px; transition: border-color .2s, box-shadow .2s; }
.type-card:hover { border-color: var(--blue); box-shadow: 0 4px 20px rgba(0,0,0,.05); }
.type-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 10px; }
.type-card p { font-size: .9375rem; color: var(--gray); line-height: 1.7; }

/* PASOS */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 56px; }
.step { position: relative; padding-top: 16px; border-top: 2px solid var(--blue); }
.step .step-num { font-size: 12px; font-weight: 600; letter-spacing: .1em; color: var(--blue); }
.step h3 { font-size: .9375rem; font-weight: 600; margin: 8px 0 8px; }
.step p { font-size: .875rem; color: var(--gray); line-height: 1.65; }

/* MATERIALES */
.materials-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.material { padding: 20px 24px; background: var(--white); border-radius: 12px; }
.material h3 { font-size: .9375rem; font-weight: 600; margin-bottom: 6px; }
.material p { font-size: .9375rem; color: var(--gray); line-height: 1.7; }

/* ZONAS */
.zonas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.zona { font-size: .875rem; color: var(--gray); background: var(--white); border: 1px solid #e5e5e5; padding: 8px 16px; border-radius: 999px; }

/* TABLA COMPARATIVA */
.cmp { width: 100%; border-collapse: collapse; margin-top: 40px; font-size: .9375rem; }
.cmp th, .cmp td { border: 1px solid #e5e5e5; padding: 14px 16px; text-align: left; vertical-align: top; }
.cmp th { background: var(--gray-light); font-weight: 600; }

/* FAQ */
.faq-list { margin-top: 48px; max-width: 780px; display: flex; flex-direction: column; gap: 2px; }
details { background: var(--white); border-radius: 10px; overflow: hidden; }
summary { padding: 20px 24px; cursor: pointer; font-size: .9375rem; font-weight: 500; display: flex; justify-content: space-between; align-items: center; gap: 16px; user-select: none; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 1.375rem; font-weight: 300; color: var(--gray); flex-shrink: 0; }
details[open] summary::after { content: '−'; }
.faq-body { padding: 0 24px 20px; font-size: .9375rem; color: var(--gray); line-height: 1.8; }

/* RELACIONADOS */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.related-card { border: 1px solid #e5e5e5; border-radius: 12px; padding: 24px; transition: border-color .2s, box-shadow .2s; display: block; }
.related-card:hover { border-color: var(--blue); box-shadow: 0 4px 20px rgba(0,0,0,.06); }
.related-card .tag { font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--gray); margin-bottom: 8px; }
.related-card h3 { font-size: .9375rem; font-weight: 500; color: var(--black); margin-bottom: 10px; }
.related-card .arrow { font-size: .875rem; color: var(--blue); font-weight: 500; }

/* CTA FINAL */
.cta-final { background: var(--black); color: var(--white); text-align: center; }
.cta-final h2 { font-size: clamp(1.5rem, 3vw, 2.75rem); font-weight: 300; letter-spacing: -.025em; margin-bottom: 12px; }
.cta-final h2 strong { font-weight: 700; }
.cta-final p { color: rgba(255,255,255,.55); font-size: 1rem; margin-bottom: 36px; }
.cta-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-secondary { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.2); color: var(--white); font-size: 15px; font-weight: 500; padding: 14px 32px; border-radius: 999px; transition: border-color .2s; }
.btn-secondary:hover { border-color: rgba(255,255,255,.5); }

/* FOOTER */
footer { background: var(--gray-light); padding: 64px 24px 0; }
.footer-inner { max-width: var(--max); margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-logo img { height: 38px; width: auto; margin-bottom: 16px; }
.footer-slogan { font-size: .875rem; color: var(--gray); line-height: 1.7; max-width: 220px; }
.footer-col h4 { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--black); margin-bottom: 20px; }
.footer-links, .footer-contact { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a, .footer-contact a { font-size: .9375rem; color: var(--blue); transition: opacity .2s; }
.footer-links a:hover, .footer-contact a:hover { opacity: .7; }
.footer-contact .addr { font-size: .9375rem; color: var(--gray); }
.footer-bottom { border-top: 1px solid #e0e0e0; padding: 20px 0; text-align: center; font-size: .8125rem; color: var(--gray); }
.footer-bottom a { color: var(--blue); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .product-grid, .why-grid, .related-grid, .type-grid, .materials-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  nav { display: none; }
  nav.open { display: flex; flex-direction: column; position: fixed; top: var(--header-h); left: 0; right: 0; background: var(--white); padding: 24px; border-bottom: 1px solid #e5e5e5; gap: 20px; z-index: 99; }
  .nav-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 20px; }
}
