/* =====================================================================
   CIUDAD DEL MUEBLE - LANDING PAGE
   ---------------------------------------------------------------------
   Origen: otros/Ciudad-del-Mueble-HTML5-CSS-JS/styles.css
   Vista:  resources/views/landing.blade.php
   Layout: resources/views/layout/landing.blade.php  (layout independiente)

   ENCAPSULADO:
   Todos los selectores estan prefijados con `.landing-page` (clase que
   lleva el <body> del layout de la landing). Ademas este archivo SOLO se
   carga desde el layout de la landing, nunca desde `layout/app.blade.php`
   (la tienda). Doble aislamiento: aunque alguien lo incluyera por error en
   otra vista, ninguna regla puede afectar a la tienda.

   Las variables de :root usan nombres propios (--navy, --coral, --cream,
   --sage, --ink) que no colisionan con los --theme-* / --e404-* / --color-*
   que genera `layout/app.blade.php` desde el panel de configuracion.
   ===================================================================== */

:root {
  --navy: #14263d;
  --dark: #0b1727;
  --coral: #ed694b;
  --cream: #f4f0e8;
  --sage: #9eb59d;
  --ink: #171a1d;
}

html { scroll-behavior: smooth; }

.landing-page, .landing-page * { box-sizing: border-box; }

body.landing-page {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

.landing-page a { color: inherit; text-decoration: none; }
.landing-page em { color: var(--coral); font-style: normal; }

/* ── TOPBAR ─────────────────────────────────────────────────────── */
.landing-page .topbar { height: 34px; background: var(--coral); color: #fff; display: flex; justify-content: center; align-items: center; gap: 5vw; font-size: 10px; font-weight: 800; letter-spacing: .15em; }

/* ── NAV ────────────────────────────────────────────────────────── */
.landing-page .nav { height: 84px; display: flex; align-items: center; padding: 0 5vw; position: relative; z-index: 10; }
.landing-page .brand { display: flex; align-items: center; gap: 11px; font-size: 10px; line-height: 1; font-weight: 700; }
.landing-page .brand b { font-size: 17px; }
.landing-page .brand-mark { width: 43px; height: 43px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 900; }
.landing-page .brand-mark-foto { background: #fff var(--brand-logo) center/82% no-repeat; overflow: hidden; flex: none; border: 1px solid #00000014; }
.landing-page .nav-links { display: flex; gap: 3vw; margin: auto; font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.landing-page .nav-links a:hover { color: var(--coral); }
.landing-page .nav-cta { border: 1px solid; padding: 15px 18px; font-size: 10px; font-weight: 900; }
.landing-page .menu-button { display: none; }

/* Acciones del nav: VER TIENDA (ruta Laravel) + WhatsApp */
.landing-page .nav-actions { display: flex; align-items: center; gap: 10px; }
.landing-page .nav-cta.shop { background: var(--navy); border-color: var(--navy); color: #fff; transition: .3s; }
.landing-page .nav-cta.shop:hover { background: var(--coral); border-color: var(--coral); }
/* Version del boton VER TIENDA que aparece dentro del menu responsive */
.landing-page .nav-links-shop { display: none; }

/* ── HERO ───────────────────────────────────────────────────────── */
.landing-page .hero { height: calc(100vh - 118px); min-height: 650px; position: relative; color: #fff; overflow: hidden; background: var(--dark); }
/* IMAGEN A REEMPLAZAR: foto original del local / showroom de Ciudad del Mueble */
.landing-page .hero-photo { position: absolute; inset: -8% 0; background: var(--img-hero) center/cover; }
.landing-page .hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,14,25,.94), rgba(8,18,31,.6) 55%, rgba(8,18,31,.15)); }
.landing-page .hero-content { position: absolute; left: 7.5vw; top: 50%; transform: translateY(-48%); }
.landing-page .hero-kicker, .landing-page .section-label { font-size: 10px; font-weight: 900; letter-spacing: .19em; margin: 0 0 30px; display: flex; align-items: center; gap: 10px; }
.landing-page .hero-kicker i { width: 30px; height: 3px; background: var(--coral); }
.landing-page h1 { font-size: clamp(60px, 8.2vw, 126px); line-height: .78; letter-spacing: -.065em; margin: 0; }
.landing-page .hero-line { display: block; overflow: hidden; padding: 0 .08em .1em 0; }
.landing-page .hero-line span { display: block; }
.landing-page .accent { color: var(--coral); }
.landing-page .hero-copy { max-width: 590px; color: #ffffffc7; font-size: 17px; line-height: 1.6; margin: 24px 0; }
.landing-page .hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.landing-page .btn { display: inline-flex; padding: 18px 22px; font-size: 10px; font-weight: 900; letter-spacing: .09em; border: 1px solid transparent; transition: .3s; }
.landing-page .coral { background: var(--coral); }
.landing-page .ghost { border-color: #ffffff80; }
.landing-page .btn:hover { background: #fff; color: var(--navy); }
.landing-page .hero-stamp { position: absolute; right: 8vw; bottom: 70px; width: 140px; height: 140px; border: 1px solid #ffffff70; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; transform: rotate(7deg); font-size: 9px; letter-spacing: .13em; }
.landing-page .hero-stamp b { font-size: 22px; color: var(--coral); }

/* ── BENEFICIOS ─────────────────────────────────────────────────── */
.landing-page .benefits { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--navy); color: #fff; padding: 28px 7.5vw; }
.landing-page .benefits article { display: flex; align-items: center; gap: 22px; border-right: 1px solid #ffffff26; padding: 0 3vw; }
.landing-page .benefits article:last-child { border: 0; }
.landing-page .benefits strong { font-size: 11px; color: var(--coral); }
.landing-page .benefits article div { display: flex; flex-direction: column; gap: 5px; }
.landing-page .benefits b { font-size: 13px; }
.landing-page .benefits span { font-size: 11px; color: #ffffff8c; }

/* ── INTRO / CATEGORIAS ─────────────────────────────────────────── */
.landing-page .section-pad { padding: 120px 7.5vw; }
.landing-page .section-label { color: var(--navy); margin-bottom: 55px; }
.landing-page .section-label span { color: var(--coral); }
.landing-page .light { color: #fff; }
.landing-page .intro-grid { display: grid; grid-template-columns: 1.5fr .6fr; gap: 10vw; align-items: end; }
.landing-page h2 { font-size: clamp(50px, 6.1vw, 92px); line-height: .86; letter-spacing: -.055em; margin: 0; }
.landing-page .intro-grid p { font-size: 17px; line-height: 1.65; color: #5c6268; border-left: 3px solid var(--coral); padding-left: 24px; }
.landing-page .category-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 330px; gap: 12px; margin-top: 75px; }
.landing-page .category-card { background-image: linear-gradient(transparent, #0a1422dd), var(--category-image); background-position: center; background-size: cover; color: #fff; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; }
.landing-page .category-card > span { font-size: 9px; font-weight: 800; letter-spacing: .13em; }
.landing-page .category-card > div { display: flex; align-items: end; justify-content: space-between; }
.landing-page .category-card h3 { font-size: 27px; line-height: 1; margin: 0; max-width: 220px; }
.landing-page .category-card i { width: 38px; height: 38px; border-radius: 50%; border: 1px solid #ffffff80; display: grid; place-items: center; font-style: normal; transition: .3s; }
.landing-page .category-card:hover i { background: var(--coral); border-color: var(--coral); transform: rotate(45deg); }
.landing-page .cat-large { grid-row: span 2; }
.landing-page .cat-wide { grid-column: span 2; }
/* ── MARQUEE + FINANCIACION ─────────────────────────────────────── */
.landing-page .marquee { overflow: hidden; background: var(--coral); padding: 18px 0; color: #fff; }
.landing-page .marquee-track { font-size: 18px; font-weight: 900; letter-spacing: .08em; white-space: nowrap; width: max-content; }
.landing-page .marquee i { color: var(--navy); font-style: normal; margin: 0 30px; }
.landing-page .finance { display: grid; grid-template-columns: 1.18fr .82fr; background: var(--navy); color: #fff; }
.landing-page .finance-main h2 { font-size: clamp(65px, 7.7vw, 115px); line-height: .79; }
.landing-page .finance-main p { max-width: 470px; color: #ffffffa6; font-size: 17px; line-height: 1.65; margin: 35px 0; }
.landing-page .cream { background: var(--cream); color: var(--navy); }
.landing-page .finance-options { background: var(--coral); padding: 120px 6vw; display: flex; flex-direction: column; justify-content: center; }
.landing-page .finance-options article { border-top: 1px solid #ffffff59; padding: 28px 0; display: grid; grid-template-columns: 50px 1fr; }
.landing-page .finance-options article > b { font-size: 10px; }
.landing-page .finance-options h3 { font-size: 24px; margin: 0 0 8px; }
.landing-page .finance-options p { margin: 0; color: #ffffffb8; font-size: 13px; }

/* ── PASOS DE LA FINANCIACION ────────────────────────── */
.landing-page .steps { background: var(--sage); }
.landing-page .steps-kicker { display: block; font-size: 10px; font-weight: 900; letter-spacing: .19em; color: var(--navy); margin-bottom: 22px; }
/* Unico lugar donde <em> no va coral: sobre sage el contraste es muy bajo */
.landing-page .steps h2 em { color: var(--navy); }
.landing-page .steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 70px 0 55px; }
.landing-page .steps-grid article { border-top: 1px solid #14263d40; padding-top: 26px; }
.landing-page .steps-grid b { font-size: 11px; font-weight: 900; letter-spacing: .1em; color: var(--navy); }
.landing-page .steps-grid h3 { font-size: 22px; line-height: 1.1; margin: 16px 0 10px; }
.landing-page .steps-grid p { font-size: 14px; line-height: 1.65; color: #22333f; margin: 0; }
.landing-page .steps-note { font-size: 14px; line-height: 1.6; color: #22333f; max-width: 620px; margin: 0 0 30px; }
.landing-page .steps-note b { color: var(--navy); }
.landing-page .navy { background: var(--navy); color: #fff; }

/* ── AGENCIAS DE CREDITO ────────────────────────────── */
.landing-page .agencies { background: var(--navy); color: #fff; padding: 95px 7.5vw; text-align: center; }
.landing-page .agencies-copy { max-width: 660px; margin: 0 auto; }
.landing-page .agencies-kicker { display: block; font-size: 10px; font-weight: 900; letter-spacing: .19em; color: var(--coral); margin-bottom: 20px; }
.landing-page .agencies h3 { font-size: clamp(26px, 3vw, 36px); line-height: 1.1; letter-spacing: -.025em; margin: 0; }
.landing-page .agencies p { font-size: 15px; line-height: 1.7; color: #ffffffa6; margin: 20px auto 0; max-width: 540px; }
.landing-page .agencies-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 4vw; margin-top: 60px; }
/* El circulo lo define la <figure>, no la <img>: los atributos width/height
   del <img> son presentational hints de CSS y, si no se pisa `height`,
   el alto del atributo gana, se ignora `aspect-ratio` y sale un ovalo. */
.landing-page .agencies-grid figure { margin: 0; flex: none; width: clamp(155px, 19vw, 245px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; transition: .4s; }
/* Mismo gesto que el circulo de contacto */
.landing-page .agencies-grid figure:hover { transform: scale(1.05); }
/* Los tres logos son cuadrados: `cover` los deja parejos sin deformarlos */
.landing-page .agencies-grid img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ── PRODUCTOS DESTACADOS ───────────────────────────────────────── */
.landing-page .section-head { display: flex; justify-content: space-between; }
.landing-page .section-head > a { font-size: 10px; font-weight: 900; border-bottom: 1px solid; height: 20px; }
.landing-page .picks h2 { margin-bottom: 65px; }
.landing-page .product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.landing-page .product-img { height: 480px; position: relative; background-image: var(--product-image); background-size: cover; background-position: center; transition: .5s; }
.landing-page .product-img:hover { filter: saturate(1.3); }
.landing-page .product-img span { position: absolute; background: var(--coral); color: #fff; width: 42px; height: 42px; display: grid; place-items: center; font-size: 10px; }
.landing-page .product-card small { display: block; margin-top: 20px; color: var(--coral); font-weight: 900; letter-spacing: .15em; }
.landing-page .product-card h3 { font-size: 22px; line-height: 1.1; margin: 8px 0; }
.landing-page .product-card { display: block; }
.landing-page .product-price { margin-top: 14px; }
.landing-page .product-price b { display: block; font-size: 26px; letter-spacing: -.03em; color: var(--navy); }
.landing-page .product-price span { display: block; margin-top: 5px; font-size: 13px; color: #5c6268; }
.landing-page .product-card > i { display: inline-block; margin-top: 16px; font-style: normal; font-size: 10px; font-weight: 900; letter-spacing: .12em; border-bottom: 1px solid var(--coral); padding-bottom: 4px; }
.landing-page .product-card:hover > i { color: var(--coral); }

/* ── MARCAS ──────────────────────────────────────── */
.landing-page .brands { border-top: 1px solid #171a1d1f; border-bottom: 1px solid #171a1d1f; padding: 45px 7.5vw; text-align: center; }
.landing-page .brands > span { font-size: 9px; font-weight: 900; letter-spacing: .19em; color: #7b8189; }
.landing-page .brands-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 5vw; margin-top: 30px; }
.landing-page .brands-row b { font-size: 19px; letter-spacing: .04em; color: var(--navy); opacity: .45; transition: .3s; }
.landing-page .brands-row b:hover { opacity: 1; }

/* ── NUMEROS / TRAYECTORIA ──────────────────────────── */
.landing-page .stats { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--coral); color: #fff; padding: 55px 7.5vw; }
.landing-page .stats article { border-right: 1px solid #ffffff40; padding: 0 3vw; }
.landing-page .stats article:last-child { border: 0; }
.landing-page .stats b { display: block; font-size: clamp(42px, 4.6vw, 64px); line-height: .9; letter-spacing: -.05em; }
.landing-page .stats span { display: block; margin-top: 12px; font-size: 9px; font-weight: 900; letter-spacing: .15em; color: #ffffffc4; }

/* ── STATEMENT + LOCAL ──────────────────────────────────────────── */
.landing-page .statement { height: 780px; position: relative; color: #fff; display: grid; place-items: center; text-align: center; }
/* IMAGEN A REEMPLAZAR: foto ambiente / familia, material propio del cliente */
.landing-page .statement-photo { position: absolute; inset: 0; background: var(--img-statement) center/cover; }
.landing-page .statement-overlay { position: absolute; inset: 0; background: #08111db3; }
.landing-page .statement-content { position: relative; }
.landing-page .statement-content > span { font-size: 10px; font-weight: 900; letter-spacing: .2em; }
.landing-page .statement h2 { font-size: clamp(46px, 6.5vw, 96px); margin-top: 35px; }
.landing-page .local { display: grid; grid-template-columns: 1fr .65fr; gap: 9vw; align-items: center; }
.landing-page .local-copy p { font-size: 17px; line-height: 1.7; color: #596067; margin: 36px 0; }
.landing-page .local-card { background: var(--sage); min-height: 420px; padding: 45px; display: flex; flex-direction: column; justify-content: end; }
.landing-page .local-card span { font-size: 9px; letter-spacing: .14em; font-weight: bold; margin-bottom: auto; }
.landing-page .local-card b { font-size: 42px; line-height: .95; }
.landing-page .local-card p { font-size: 14px; line-height: 1.6; }

/* ── TESTIMONIOS ─────────────────────────────────── */
.landing-page .testimonials h2 { margin-bottom: 65px; }
.landing-page .testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.landing-page .testimonial-card { background: var(--navy); color: #fff; min-height: 390px; padding: 45px 38px; display: flex; flex-direction: column; transition: .4s; }
.landing-page .testimonial-card:hover { transform: translateY(-6px); }
.landing-page .testimonial-card > i { font-style: normal; font-weight: 900; font-size: 64px; line-height: .55; color: var(--coral); }
.landing-page .testimonial-card p { font-size: 16px; line-height: 1.7; color: #ffffffc4; margin: 30px 0 auto; }
.landing-page .testimonial-card > div { border-top: 1px solid #ffffff40; margin-top: 38px; padding-top: 22px; }
.landing-page .testimonial-card b { font-size: 17px; }
.landing-page .testimonial-card small { display: block; margin-top: 7px; font-size: 9px; font-weight: bold; letter-spacing: .14em; color: var(--coral); }

/* ── CONTACTO + FOOTER ──────────────────────────────────────────── */
.landing-page .contact { background: var(--dark); color: #fff; }
.landing-page .contact-top { display: flex; align-items: center; justify-content: space-between; }
.landing-page .contact h2 { font-size: clamp(65px, 8vw, 120px); }
.landing-page .contact-circle { width: 210px; height: 210px; border-radius: 50%; background: var(--coral); display: flex; flex-direction: column; align-items: center; justify-content: center; transition: .4s; }
.landing-page .contact-circle:hover { transform: rotate(7deg) scale(1.05); }
.landing-page .contact-circle span, .landing-page .contact-circle small { font-size: 9px; letter-spacing: .13em; font-weight: bold; }
.landing-page .contact-circle b { font-size: 42px; margin: 6px; }
.landing-page .visit { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; padding: 0 7.5vw 110px; }
.landing-page .visit-photo { grid-column: 1 / -1; height: 330px; background: var(--img-local-frente) center/cover; margin-bottom: 10px; }
.landing-page .visit-map { min-height: 340px; border: 1px solid #ffffff26; }
.landing-page .visit-map iframe { display: block; width: 100%; height: 100%; min-height: 340px; border: 0; filter: grayscale(.35); }
.landing-page .visit-info { display: flex; flex-direction: column; justify-content: center; gap: 34px; }
.landing-page .visit-info article { border-top: 1px solid #ffffff26; padding-top: 22px; }
.landing-page .visit-info small { font-size: 8px; color: var(--coral); letter-spacing: .16em; font-weight: bold; }
.landing-page .visit-info p { font-size: 15px; line-height: 1.65; color: #ffffffc4; margin: 12px 0 0; }
.landing-page .visit-link { display: inline-block; margin-top: 16px; font-size: 10px; font-weight: 900; letter-spacing: .12em; border-bottom: 1px solid var(--coral); padding-bottom: 4px; }
.landing-page footer { border-top: 1px solid #ffffff26; padding: 50px 7.5vw; display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 30px; }
.landing-page footer small { font-size: 8px; color: var(--coral); letter-spacing: .16em; font-weight: bold; }
.landing-page footer p { font-size: 12px; line-height: 1.7; color: #ffffffad; }
.landing-page .footer-shop { display: inline-block; margin-top: 18px; font-size: 10px; font-weight: 900; letter-spacing: .12em; border-bottom: 1px solid var(--coral); padding-bottom: 4px; }
.landing-page .floating-wa { position: fixed; z-index: 30; right: 22px; bottom: 22px; width: 54px; height: 54px; background: #25d366; color: #fff; border-radius: 50%; display: grid; place-items: center; font-weight: 900; box-shadow: 0 12px 30px #0004; }

/* ── RESPONSIVE ─────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .landing-page .nav { height: 72px; padding: 0 22px; }
  .landing-page .nav-actions { display: none; }
  .landing-page .menu-button { display: flex; margin-left: auto; border: 0; background: none; flex-direction: column; gap: 6px; }
  .landing-page .menu-button span { width: 25px; height: 2px; background: var(--navy); }
  .landing-page .nav-links { position: absolute; top: 72px; left: 0; right: 0; background: var(--cream); padding: 25px; flex-direction: column; gap: 25px; transform: translateY(-150%); transition: .4s; z-index: -1; }
  .landing-page .nav-links.open { transform: translateY(0); }
  .landing-page .nav-links-shop { display: block; color: var(--coral); }
  .landing-page .hero { height: 760px; min-height: 0; }
  .landing-page .hero-content { left: 22px; right: 22px; }
  .landing-page .hero h1 { font-size: clamp(55px, 16vw, 82px); }
  .landing-page .hero-stamp { display: none; }
  .landing-page .benefits { grid-template-columns: 1fr; padding: 14px 22px; }
  .landing-page .benefits article { border-right: 0; border-bottom: 1px solid #ffffff26; padding: 16px 0; }
  .landing-page .section-pad { padding: 85px 22px; }
  .landing-page .intro-grid, .landing-page .finance, .landing-page .local { grid-template-columns: 1fr; }
  .landing-page .category-grid { grid-template-columns: 1fr; grid-auto-rows: 310px; }
  .landing-page .cat-large, .landing-page .cat-wide { grid-row: auto; grid-column: auto; }
  .landing-page .finance-options { padding: 65px 22px; }
  .landing-page .product-grid { grid-template-columns: 1fr; }
  .landing-page .steps-grid { grid-template-columns: 1fr 1fr; gap: 26px 18px; margin: 45px 0 40px; }
  .landing-page .agencies { padding: 65px 22px; }
  .landing-page .agencies-grid { gap: 5vw; margin-top: 45px; }
  .landing-page .brands { padding: 35px 22px; }
  .landing-page .brands-row { gap: 14px 30px; }
  .landing-page .stats { grid-template-columns: 1fr 1fr; gap: 32px 0; padding: 45px 22px; }
  .landing-page .stats article { padding: 0 18px 0 0; }
  .landing-page .stats article:nth-child(2n) { border-right: 0; }
  .landing-page .visit { grid-template-columns: 1fr; gap: 38px; padding: 0 22px 75px; }
  .landing-page .visit-photo { height: 210px; margin-bottom: 0; }
  .landing-page .testimonial-grid { grid-template-columns: 1fr; }
  .landing-page .testimonial-card { min-height: 0; padding: 38px 28px; }
  .landing-page .product-img { height: 430px; }
  .landing-page .statement { height: 600px; padding: 20px; }
  .landing-page .local-card { min-height: 360px; }
  .landing-page .contact-top { align-items: flex-start; gap: 40px; flex-direction: column; }
  .landing-page .contact-circle { width: 170px; height: 170px; }
  .landing-page footer { grid-template-columns: 1fr 1fr; }
  .landing-page .topbar span:nth-child(2) { display: none; }
}

@media (max-width: 520px) {
  .landing-page .topbar { font-size: 8px; }
  .landing-page .hero { height: 700px; }
  .landing-page .hero-actions { flex-direction: column; width: max-content; }
  .landing-page .hero h1 { font-size: 14.3vw; }
  .landing-page .category-card { padding: 22px; }
  .landing-page .product-img { height: 390px; }
  .landing-page .steps-grid { grid-template-columns: 1fr; }
  .landing-page .agencies h3 { font-size: 25px; }
  .landing-page .agencies-grid { gap: 14px; }
  .landing-page .agencies-grid figure { width: 27vw; }
  .landing-page .stats { grid-template-columns: 1fr; }
  .landing-page .stats article { border-right: 0; padding: 0; }
  .landing-page .brands-row b { font-size: 16px; }
  .landing-page .statement h2 { font-size: 12vw; }
  .landing-page footer { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  .landing-page, .landing-page * { animation: none !important; transition: none !important; }
}
