:root {
  --forest: #0b2d28;
  --forest-soft: #123d35;
  --green: #00a651;
  --lime: #b9db37;
  --orange: #f47b20;
  --cream: #f3f0e8;
  --paper: #fbfaf7;
  --ink: #17201e;
  --muted: #68716f;
  --line: #dcded7;
  --white: #fff;
  --shadow: 0 18px 60px rgba(14, 38, 33, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--paper); color: var(--ink); font-family: "DM Sans", Arial, sans-serif; }
body.drawer-open { overflow: hidden; }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 10px 16px; background: #fff; transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.development-bar { background: var(--forest); color: #dce9e5; font-size: 12px; }
.development-bar__content { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.development-bar p { display: flex; align-items: center; gap: 9px; margin: 0; color: white; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px rgba(185,219,55,.12); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(185,219,55,0); } }

.site-header { position: sticky; z-index: 30; top: 0; border-bottom: 1px solid rgba(11,45,40,.1); background: rgba(251,250,247,.94); backdrop-filter: blur(14px); }
.header-content { height: 84px; display: grid; grid-template-columns: 160px 1fr auto; align-items: center; gap: 40px; }
.brand img { display: block; width: 118px; height: 68px; object-fit: contain; }
.main-nav { display: flex; justify-content: center; gap: 38px; }
.main-nav a { position: relative; padding: 12px 0; color: #38423f; font-size: 14px; font-weight: 600; }
.main-nav a::after { content: ""; position: absolute; right: 0; bottom: 4px; left: 0; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
.main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.cart-button { display: flex; align-items: center; gap: 9px; padding: 11px 14px; border: 1px solid #cfd5d0; border-radius: 999px; background: transparent; color: var(--forest); cursor: pointer; }
.cart-button svg { width: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.cart-button span { font-size: 13px; font-weight: 700; }
.cart-button strong { min-width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; background: var(--forest); color: white; font-size: 11px; }
.menu-button { display: none; }

.hero { position: relative; min-height: 690px; display: flex; align-items: center; overflow: hidden; background: #d9dfd8; }
.hero-image, .hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center; }
.hero-overlay { background: linear-gradient(90deg, rgba(6,31,27,.94) 0%, rgba(6,31,27,.78) 38%, rgba(6,31,27,.08) 72%); }
.hero-content { position: relative; z-index: 2; padding: 95px 0 65px; color: white; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: #d8e7df; font-size: 11px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 30px; height: 1px; background: var(--lime); }
.eyebrow--dark { color: var(--green); }
.hero h1 { max-width: 700px; margin: 22px 0 24px; font-family: Manrope, Arial, sans-serif; font-size: clamp(60px, 7.4vw, 103px); line-height: .92; letter-spacing: -.065em; }
.hero h1 em { color: var(--lime); font-style: normal; }
.hero-content > p { max-width: 570px; margin: 0; color: rgba(255,255,255,.72); font-size: 18px; line-height: 1.65; }
.hero-actions { display: flex; gap: 12px; margin-top: 34px; }
.button { min-height: 51px; display: inline-flex; align-items: center; justify-content: center; padding: 0 23px; border: 1px solid transparent; border-radius: 4px; font-size: 13px; font-weight: 700; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button--primary { background: var(--orange); color: white; }
.button--primary:hover { background: #dc6410; }
.button--ghost { border-color: rgba(255,255,255,.36); color: white; }
.button--ghost:hover { background: rgba(255,255,255,.1); }
.hero-meta { display: flex; gap: 32px; margin-top: 66px; color: rgba(255,255,255,.62); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.hero-meta span { display: flex; align-items: center; gap: 8px; }
.hero-meta b { color: var(--lime); font-size: 10px; }

.benefits { border-bottom: 1px solid var(--line); background: white; }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.benefits article { min-height: 142px; display: flex; align-items: center; gap: 20px; padding: 25px 38px; border-right: 1px solid var(--line); }
.benefits article:first-child { border-left: 1px solid var(--line); }
.benefit-number { color: var(--green); font-family: Manrope, sans-serif; font-size: 12px; font-weight: 800; }
.benefits h2 { margin: 0 0 6px; font-size: 16px; }
.benefits p { margin: 0; color: var(--muted); font-size: 13px; }

.catalog-section { padding: 110px 0 120px; }
.section-heading { display: grid; grid-template-columns: 1fr 420px; align-items: end; gap: 60px; }
.section-heading h2, .contact-section h2 { margin: 15px 0 0; font-family: Manrope, sans-serif; font-size: clamp(42px, 5vw, 68px); line-height: 1; letter-spacing: -.055em; }
.section-heading > p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.catalog-tools { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-top: 52px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.search-field { width: 300px; height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 14px; border: 1px solid #cfd3cd; border-radius: 3px; background: white; }
.search-field svg { width: 18px; fill: none; stroke: #64706d; stroke-width: 1.7; }
.search-field input { min-width: 0; width: 100%; border: 0; outline: 0; color: var(--ink); }
.category-filters { min-width: 0; max-width: 100%; display: flex; gap: 6px; overflow-x: auto; }
.category-filters button, .text-button { padding: 10px 14px; border: 0; background: transparent; color: var(--muted); font-size: 12px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.category-filters button.active { background: var(--forest); color: white; }
.results-copy { min-height: 18px; margin: 24px 0 12px; color: var(--muted); font-size: 12px; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product-card { position: relative; min-width: 0; overflow: hidden; border: 1px solid var(--line); background: white; transition: transform .25s ease, box-shadow .25s ease; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-visual { position: relative; min-height: 245px; display: grid; place-items: center; overflow: hidden; background: var(--cream); }
.product-visual::before { content: ""; position: absolute; width: 155px; height: 155px; border: 1px solid currentColor; border-radius: 50%; opacity: .09; }
.product-icon { position: relative; z-index: 1; width: 100px; height: 100px; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 15px 12px rgba(0,0,0,.09)); }
.product-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 18px; background: white; }
.tone-green { color: #087b4b; background: #e7f2ea; }
.tone-orange { color: #cf6016; background: #f8eadd; }
.tone-blue { color: #225d8c; background: #e7eef2; }
.tone-yellow { color: #947313; background: #f5f0d9; }
.product-badge { position: absolute; z-index: 2; top: 14px; left: 14px; padding: 6px 8px; background: var(--orange); color: white; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.product-info { padding: 20px; }
.product-category { color: var(--green); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.product-info h3 { min-height: 44px; margin: 8px 0 20px; font-size: 15px; line-height: 1.45; }
.price-line { display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.product-price { display: block; font-family: Manrope, sans-serif; font-size: 18px; }
.product-old-price { display: block; min-height: 16px; margin-bottom: 2px; color: #9ca29f; font-size: 10px; text-decoration: line-through; }
.add-button { width: 41px; height: 41px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--forest); color: white; font-size: 20px; cursor: pointer; transition: background .2s; }
.add-button:hover { background: var(--green); }
.empty-state { padding: 70px 20px; border: 1px solid var(--line); text-align: center; }
.empty-state span { color: var(--green); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.empty-state h3 { margin: 12px 0 6px; font-size: 27px; }
.empty-state p { color: var(--muted); }
.empty-state .text-button { color: var(--green); text-decoration: underline; }

.launch-section { padding: 0 0 110px; }
.launch-card { min-height: 360px; display: grid; grid-template-columns: 1.2fr .8fr auto; align-items: center; gap: 65px; padding: 65px; background: var(--forest); color: white; }
.launch-card h2 { max-width: 600px; margin: 16px 0 0; font-family: Manrope, sans-serif; font-size: clamp(37px, 4vw, 58px); line-height: 1.04; letter-spacing: -.045em; }
.launch-card > p { color: rgba(255,255,255,.67); line-height: 1.75; }
.circle-link { width: 68px; height: 68px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; color: var(--lime); font-size: 28px; transition: background .2s; }
.circle-link:hover { background: rgba(255,255,255,.09); }

.locations-section { padding: 110px 0; background: var(--cream); }
.locations-heading { margin-bottom: 50px; }
.locations-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; }
.location-card { overflow: hidden; border: 1px solid #d7d8d1; background: var(--paper); }
.location-card--active { display: grid; grid-template-columns: .92fr 1.08fr; }
.location-visual { min-height: 500px; display: flex; flex-direction: column; justify-content: space-between; padding: 25px; background-image: linear-gradient(155deg, rgba(11,45,40,.03), rgba(11,45,40,.76)), url("../img/sucursal-paso-yobai.jpg"), url("../img/casa-toledo-hero.png"); background-position: center; background-size: cover; color: white; }
.location-visual div { display: flex; flex-direction: column; }
.location-visual small { margin-bottom: 7px; font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.location-visual strong { font: 800 37px/1 Manrope, sans-serif; letter-spacing: -.04em; }
.location-status { width: fit-content; display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; background: rgba(7,29,26,.88); color: white; font-size: 9px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.location-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(185,219,55,.14); }
.location-content { padding: 40px; }
.location-index { display: block; margin-bottom: 18px; color: var(--green); font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.location-content h3 { margin: 0 0 28px; font: 800 35px/1 Manrope, sans-serif; letter-spacing: -.04em; }
.location-description { max-width: 390px; margin: -12px 0 26px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.location-details { margin: 0; }
.location-details div { display: grid; grid-template-columns: 92px 1fr; gap: 15px; padding: 14px 0; border-top: 1px solid var(--line); }
.location-details div:last-child { border-bottom: 1px solid var(--line); }
.location-details dt { color: var(--muted); font-size: 11px; }
.location-details dd { margin: 0; font-size: 13px; font-weight: 700; }
.location-details a:hover, .company-contact a:hover, .footer-contact-links a:hover { color: var(--green); }
.location-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.button--outline { border-color: #ccd3ce; color: var(--forest); }
.button--outline:hover { background: white; }
.button--outline-dark { border-color: rgba(255,255,255,.28); color: white; }
.button--outline-dark:hover { background: rgba(255,255,255,.08); }
.location-card--building { position: relative; min-height: 500px; display: flex; flex-direction: column; justify-content: space-between; background: var(--forest); color: white; }
.location-card--building .location-content { position: relative; z-index: 2; }
.location-card--building .location-details div { border-color: rgba(255,255,255,.14); }
.location-card--building .location-details dt, .location-card--building .location-description { color: rgba(255,255,255,.6); }
.location-status--building { margin-bottom: 28px; background: var(--orange); }
.building-mark { display: flex; align-items: end; justify-content: space-between; padding: 25px 40px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.18); }
.building-mark span { align-self: center; color: var(--lime); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.building-mark strong { font: 800 46px/.83 Manrope, sans-serif; letter-spacing: -.07em; text-transform: uppercase; }
.building-mark i { font: normal 700 15px Manrope, sans-serif; }
.company-contact { min-height: 130px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 45px; margin-top: 20px; padding: 25px 35px; border: 1px solid #d7d8d1; background: white; }
.company-contact div > span { color: var(--green); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.company-contact h3 { margin: 7px 0 0; font: 800 23px Manrope, sans-serif; }
.company-ruc { margin: 8px 0 0; color: var(--muted); font-size: 11px; font-weight: 700; }
.company-contact > a { font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.social-link { padding: 10px 14px; background: #1877f2; color: white; font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.social-link:hover { background: #0d65d9; color: white !important; }

.site-footer { padding: 42px 0; background: #071d1a; color: rgba(255,255,255,.58); }
.footer-content { display: grid; grid-template-columns: 130px 1fr auto auto; align-items: center; gap: 35px; font-size: 12px; }
.footer-content img { width: 105px; height: 68px; padding: 5px; border-radius: 3px; background: white; object-fit: contain; }
.footer-contact-links { display: flex; flex-direction: column; gap: 6px; color: rgba(255,255,255,.75); }

.drawer-backdrop { position: fixed; z-index: 60; inset: 0; background: rgba(6,25,22,.55); backdrop-filter: blur(3px); }
.cart-drawer { position: fixed; z-index: 70; top: 0; right: 0; bottom: 0; width: min(430px, 100%); display: flex; flex-direction: column; padding: 30px; background: var(--paper); box-shadow: -20px 0 60px rgba(0,0,0,.15); transform: translateX(105%); transition: transform .3s ease; }
.cart-drawer.open { transform: none; }
.cart-drawer > header { display: flex; align-items: center; justify-content: space-between; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.cart-drawer header span { color: var(--green); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.cart-drawer h2 { margin: 5px 0 0; font: 800 28px Manrope, sans-serif; }
.cart-drawer header button { border: 0; background: transparent; font-size: 34px; cursor: pointer; }
.cart-items { flex: 1; overflow-y: auto; }
.cart-item { display: grid; grid-template-columns: 58px 1fr auto; align-items: center; gap: 13px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-item__icon { width: 58px; height: 58px; display: grid; place-items: center; background: var(--cream); color: var(--forest); }
.cart-item__icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.cart-item h3 { margin: 0 0 5px; font-size: 13px; }
.cart-item small { color: var(--muted); }
.remove-item { border: 0; background: none; color: #9b4a3b; cursor: pointer; }
.cart-empty { flex: 1; display: grid; align-content: center; padding: 20px; text-align: center; }
.cart-empty p { margin-bottom: 8px; font-weight: 700; }
.cart-empty small { color: var(--muted); line-height: 1.5; }
.cart-drawer > footer { padding-top: 20px; border-top: 1px solid var(--line); }
.cart-drawer footer div { display: flex; justify-content: space-between; margin-bottom: 18px; }
.cart-drawer footer button { width: 100%; min-height: 50px; border: 0; background: #d8dcd7; color: #7d8581; font-weight: 700; }
.cart-drawer footer .whatsapp-checkout { border-radius: 4px; background: #168c55; color: white; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.cart-drawer footer .whatsapp-checkout:hover:not(:disabled) { background: #107344; transform: translateY(-1px); }
.cart-drawer footer .whatsapp-checkout:disabled { background: #d8dcd7; color: #7d8581; cursor: not-allowed; }
.toast { position: fixed; z-index: 90; right: 24px; bottom: 24px; max-width: 350px; padding: 14px 18px; background: var(--forest); color: white; box-shadow: var(--shadow); font-size: 13px; opacity: 0; transform: translateY(15px); pointer-events: none; transition: .25s ease; }
.toast.show { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .section-heading { grid-template-columns: 1fr 330px; }
  .launch-card { grid-template-columns: 1fr; gap: 25px; }
  .circle-link { position: absolute; right: 45px; bottom: 45px; }
  .launch-card { position: relative; padding-right: 130px; }
  .locations-grid { grid-template-columns: 1fr; }
  .company-contact { grid-template-columns: 1fr 1fr; }
  .social-link { grid-column: 2; width: fit-content; }
  .footer-content { grid-template-columns: 120px 1fr auto; }
  .footer-content > span:last-child { grid-column: 3; grid-row: 1; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, 620px); }
  .development-bar__content > span { display: none; }
  .development-bar__content { justify-content: center; }
  .header-content { height: 72px; grid-template-columns: 1fr auto auto; gap: 12px; }
  .brand img { width: 88px; height: 58px; }
  .menu-button { width: 40px; height: 40px; display: grid; place-content: center; gap: 4px; border: 0; background: transparent; }
  .menu-button span { width: 20px; height: 2px; background: var(--forest); }
  .main-nav { position: absolute; top: 72px; right: 0; left: 0; display: none; flex-direction: column; gap: 0; padding: 12px 24px 20px; border-bottom: 1px solid var(--line); background: var(--paper); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 0; }
  .cart-button span { display: none; }
  .hero { min-height: 700px; align-items: flex-start; }
  .hero-image { object-position: 65% center; }
  .hero-overlay { background: linear-gradient(180deg, rgba(6,31,27,.95) 0%, rgba(6,31,27,.83) 50%, rgba(6,31,27,.2) 100%); }
  .hero-content { padding-top: 75px; }
  .hero h1 { font-size: clamp(48px, 13vw, 62px); }
  .hero h1 em { display: block; }
  .hero-content > p { font-size: 16px; }
  .hero-meta { align-items: flex-start; flex-direction: column; gap: 10px; margin-top: 42px; }
  .benefits-grid { grid-template-columns: 1fr; padding: 10px 0; }
  .benefits article, .benefits article:first-child { min-height: 102px; padding: 20px; border: 0; border-bottom: 1px solid var(--line); }
  .section-heading { grid-template-columns: 1fr; gap: 23px; }
  .catalog-section { padding: 75px 0; }
  .catalog-tools { align-items: stretch; flex-direction: column; }
  .search-field { width: 100%; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product-visual { min-height: 180px; }
  .product-icon { width: 76px; height: 76px; }
  .product-info { padding: 15px; }
  .product-info h3 { font-size: 13px; }
  .product-price { font-size: 14px; }
  .section-heading h2 { overflow-wrap: anywhere; font-size: clamp(36px, 11vw, 50px); }
  .launch-section { padding-bottom: 75px; }
  .launch-card { min-height: 450px; padding: 42px 30px 120px; }
  .locations-section { padding: 75px 0; }
  .location-card--active { grid-template-columns: 1fr; }
  .location-visual { min-height: 360px; }
  .location-content { padding: 30px 24px; }
  .company-contact { grid-template-columns: 1fr; gap: 16px; padding: 25px; }
  .social-link { grid-column: auto; }
  .footer-content { grid-template-columns: 1fr; gap: 12px; }
  .footer-content > span:last-child { grid-column: auto; grid-row: auto; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 48px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .product-grid { grid-template-columns: 1fr; }
  .product-visual { min-height: 235px; }
  .cart-drawer { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
