:root {
  --navy: #14212b;
  --blue: #269bd2;
  --ink: #14212b;
  --muted: #5b6c76;
  --paper: #f3f7f9;
  --line: #d8e1e7;
  --accent: #f4b55c;
}

html { scroll-behavior: smooth; }
body { background: #fff; color: var(--ink); }
::selection { background: var(--accent); color: #14212b; }
h1, h2, h3, h4 { letter-spacing: -.055em; }
.container { width: min(100% - 64px, 1240px); }
.section { padding: 100px 0; }
.eyebrow { color: #167eaf; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; }
.eyebrow::before { content: ''; display: inline-block; width: 24px; height: 2px; margin: 0 10px 3px 0; background: currentColor; }
.section-heading { margin-bottom: 38px; }
.section-heading h2 { font-size: clamp(35px, 4vw, 54px); line-height: 1.08; margin: 13px 0 14px; }
.section-heading p { font-size: 16px; line-height: 1.65; }
.btn { border-radius: 2px; padding: 14px 21px; font-size: 13px; font-weight: 800; letter-spacing: .01em; transition: transform .2s, background .2s, color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary, .quote-header { background: #228fc7; color: #fff; }
.btn-primary:hover, .quote-header:hover { background: #096fa5; color: #fff; }
.text-link { color: #087aaf; font-weight: 800; }

/* A slim editorial header makes room for the immersive opening. */
.topline { background: #14212b; color: #dbe7ed; }
.topline-inner { font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.site-header { background: #fff; box-shadow: none; border-bottom: 1px solid #dde6eb; }
.header-inner { min-height: 84px; }
.brand-name strong { color: #167eaf; }
.nav a { color: #263b48; font-size: 12px; letter-spacing: .015em; }
.nav a:hover { color: #087aaf; }
.quote-header { border-radius: 2px; padding: 12px 16px; }
.quote-header b { color: #087aaf; }

/* The three supplied gift images stay untouched and continue rotating. */
.hero-gifts { background: #14212b; color: #fff; overflow: hidden; }
.hero-gifts .hero-grid { min-height: 628px; grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr); gap: 0; align-items: stretch; }
.hero-gifts .hero-copy { position: relative; z-index: 1; padding: 66px 36px 50px 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.hero-gifts .hero-copy::after { content: 'LCDOS  /  01'; display: block; margin-top: 30px; color: #9ab2bd; font-size: 10px; letter-spacing: .19em; font-weight: 800; }
.hero-gifts .eyebrow { color: var(--accent); }
.hero-gifts h1 { font-size: clamp(47px, 4.3vw, 62px); line-height: 1.03; max-width: 670px; margin: 20px 0 20px; font-weight: 800; }
.hero-gifts p { color: #c4d3da; font-size: 15px; line-height: 1.62; max-width: 540px; margin-bottom: 27px; }
.hero-gifts .button-row { gap: 12px; }
.hero-gifts .btn-primary { background: var(--accent); color: #14212b; }
.hero-gifts .btn-primary:hover { background: #ffd087; }
.hero-gifts .btn-outline { border-color: #7795a3; color: #fff; background: transparent; }
.hero-gifts .btn-outline:hover { background: #fff; color: #14212b; }
.gift-hero-photo { position: relative; height: auto; min-height: 628px; margin: 0; border-radius: 0; box-shadow: none; background: #243540; border-left: 6px solid var(--blue); }
.gift-hero-photo::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, #14212b30, transparent 25%); }
.gift-hero-photo img { height: 100%; width: 100%; object-fit: cover; }
.gift-hero-photo figcaption { z-index: 1; right: 22px; bottom: 20px; border-radius: 2px; background: #14212be8; color: #fff; font-size: 10px; letter-spacing: .02em; padding: 7px 10px; }

/* Category mosaic puts gifts first without reducing the other lines to tiny tiles. */
.home-categories { background: #fff; padding: 102px 0 82px; }
.home-categories .section-heading { display: grid; grid-template-columns: 1fr auto; align-items: end; }
.home-categories .section-heading::after { content: '01 / LÍNEAS'; color: #8fa1ac; font-size: 11px; font-weight: 800; letter-spacing: .14em; margin-bottom: 8px; }
.home-categories .section-heading h2 { max-width: 760px; }
.category-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: repeat(2, 220px); gap: 12px; }
.category-card { height: auto; min-height: 0; border-radius: 2px; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.category-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px #13242f25; }
.category-card:nth-child(1) { grid-column: span 6; grid-row: span 2; }
.category-card:nth-child(2), .category-card:nth-child(3) { grid-column: span 3; }
.category-card:nth-child(4) { grid-column: span 6; }
.category-card:nth-child(1) .category-copy { left: 34px; bottom: 32px; }
.category-card:nth-child(1) .category-copy h3 { font-size: clamp(29px, 3vw, 43px); }
.category-card:nth-child(2) { background: #d7eaf4 !important; }
.category-card:nth-child(3) { background: #dbe9ed !important; }
.category-card:nth-child(4) { background: #dbe9ed !important; }
.category-card::after { background: linear-gradient(0deg, #101e28d9, transparent 65%); }
.category-product::after { background: linear-gradient(0deg, #10232fd9, transparent 72%); }
.category-card img { transition: transform .4s; }
.category-lifestyle img { object-position: center; }
.category-product img { transform: scale(1.4); }
.category-product:hover img { transform: scale(1.46); }
.category-copy { left: 20px; right: 20px; bottom: 18px; }
.category-copy h3 { font-size: 23px; line-height: 1.1; }
.category-copy span { color: #d3e4ed; }
.category-copy em { color: #fff; }
.signs-illustration b { color: #087fb4; }
.category-note { font-size: 11px; color: #6e818c; margin-top: 18px; }

/* Saturated blue with a large uncropped photograph. */
.gift-feature { background: #087bb5; color: #fff; }
.gift-feature-grid { grid-template-columns: 1.04fr .96fr; gap: clamp(38px, 6vw, 92px); }
.gift-feature-image { height: 462px; border-radius: 2px; overflow: visible; position: relative; }
.gift-feature-image::before { content: ''; position: absolute; inset: -18px 18px 18px -18px; border: 2px solid #ffffffa3; }
.gift-feature-image img { position: relative; object-fit: cover; }
.gift-feature-copy .eyebrow { color: #ffe0af; }
.gift-feature-copy h2 { font-size: clamp(39px, 3.8vw, 56px); line-height: 1.05; max-width: 560px; }
.gift-feature-copy p { color: #e1f1f9; font-size: 16px; max-width: 540px; }
.gift-occasions span { background: transparent; border-color: #84c2e0; color: #fff; border-radius: 2px; }
.gift-feature .btn-primary { background: #fff; color: #0b6696; }
.gift-feature .btn-primary:hover { background: var(--accent); color: #14212b; }

/* Product area is quieter so the photographs and names remain easy to scan. */
.catalog-teaser { background: #f1f5f7; padding: 100px 0 110px; }
.catalog-teaser .section-heading { border-top: 5px solid #14212b; padding-top: 26px; }
.products-grid { gap: 16px; }
.product-card { border: 1px solid #dce6eb; border-radius: 2px; box-shadow: none; }
.product-card:hover { box-shadow: 0 16px 32px #14212b1c; }
.product-image { background: #fff; }
.product-actions button { border-radius: 2px; background: #e5f3f9; color: #086c9d; border-color: #bcdce9; }
.product-actions button:hover { background: #d1eaf5; }
.product-brand { color: #087fb4; }

.brand-section { background: #14212b; color: #fff; padding: 76px 0; }
.brand-simple .eyebrow { color: var(--accent); }
.brand-simple h2 { font-size: clamp(38px, 4.3vw, 60px); }
.brand-simple p { color: #c1d0d8; }
.brand-section .btn-primary { background: #fff; color: #14212b; white-space: nowrap; }
.brand-section .btn-primary:hover { background: var(--accent); }

#nosotros { background: #fff; }
.about-grid { gap: 84px; align-items: center; }
.about-grid h2 { font-size: clamp(38px, 4vw, 56px); line-height: 1.08; }
.about-grid p { color: #526671; line-height: 1.72; }
.about-note { border-radius: 2px; background: #eaf3f8; padding: 46px; border-left: 7px solid #228fc7; }
.about-note .large-number { color: #087fb4; letter-spacing: -.08em; }
.about-note p { color: #526671; }
.cta-band { background: var(--accent); color: #14212b; }
.cta-band h2 { color: #14212b; }
.cta-band p { color: #344958; }
.cta-band .btn-light { background: #14212b; color: #fff; border-radius: 2px; }
.cta-band .btn-light:hover { background: #244358; }
.footer { background: #101a22; color: #c9d8e0; }
.footer-brand strong, .footer a:hover { color: #63c4f3; }
.footer h3 small { color: #a1c7d9; }
.footer-bottom { border-top-color: #3b4a54; color: #a9bbc5; }

/* Interior pages share the new contrast without changing catalog behavior. */
.page-intro, .gift-page-hero { background: #14212b; color: #fff; }
.page-intro .eyebrow, .gift-page-hero .eyebrow { color: var(--accent); }
.page-intro h1, .gift-page-grid h1 { color: #fff; }
.page-intro p, .gift-page-grid p { color: #c8d8e0; }
.gift-page-hero { padding: 55px 0; }
.gift-page-grid h1 { font-size: clamp(43px, 4.9vw, 68px); line-height: 1.04; }
.gift-page-grid figure { border-radius: 2px; border-left: 5px solid #228fc7; }
.gift-page-grid figcaption { border-radius: 2px; background: #14212be8; color: #fff; }
.gift-ideas-grid article { border-radius: 2px; border-color: #dce6eb; }
.gift-ideas-grid article div { border-top: 4px solid #228fc7; }
.gift-ideas-grid h3 { color: #14212b; }
.gift-ideas-grid p { color: #5a6a74; }
.filter-link.active, .breadcrumb a { color: #087fb4; }
.search-row button, .pagination a.active { background: #14212b; }
.pagination { flex-wrap: wrap; }
.catalog-content, .filters, .search-row input { min-width: 0; }
.detail-cta .btn-outline { color: #087fb4; border-color: #9dcedf; }
.admin-bar { background: #14212b; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

@media (max-width: 1100px) {
  .hero-gifts .hero-grid { grid-template-columns: .95fr 1.05fr; }
  .hero-gifts .hero-copy { padding-right: 30px; }
  .hero-gifts h1 { font-size: clamp(43px, 4.5vw, 58px); }
  .category-grid { grid-template-rows: repeat(2, 200px); }
}
@media (max-width: 980px) {
  .header-inner { min-height: 72px; }
  .nav { top: 72px; z-index: 30; }
  .products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .category-card:nth-child(2), .category-card:nth-child(3) { grid-column: span 3; }
}
@media (max-width: 720px) {
  .container { width: min(100% - 32px, 1240px); }
  .section { padding: 66px 0; }
  .topline-inner { font-size: 9px; }
  .hero-gifts .hero-grid { display: flex; flex-direction: column; }
  .hero-gifts .hero-copy { padding: 48px 0 32px; }
  .hero-gifts .hero-copy::after { margin-top: 34px; }
  .hero-gifts h1 { font-size: clamp(42px, 11vw, 59px); }
  .hero-gifts p { font-size: 15px; margin-bottom: 27px; }
  .gift-hero-photo { height: 320px; min-height: 0; width: calc(100% + 32px); margin: 0 -16px; border-left: 0; border-top: 5px solid var(--blue); }
  .gift-hero-photo figcaption { bottom: 10px; right: 10px; }
  .home-categories { padding: 67px 0; }
  .home-categories .section-heading { display: block; }
  .home-categories .section-heading::after { display: none; }
  .section-heading h2 { font-size: 38px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; gap: 10px; }
  .category-card:nth-child(n) { grid-column: auto; grid-row: auto; height: 220px; }
  .category-card:nth-child(1) { grid-column: span 2; height: 280px; }
  .category-card:nth-child(4) { grid-column: span 2; }
  .category-card:nth-child(1) .category-copy { left: 20px; bottom: 20px; }
  .category-card:nth-child(1) .category-copy h3 { font-size: 30px; }
  .category-copy { left: 12px; right: 10px; bottom: 12px; }
  .category-copy h3 { font-size: 17px; }
  .category-copy span { font-size: 8px; }
  .category-copy em { font-size: 10px; }
  .signs-illustration { right: -14px; top: -8px; }
  .gift-feature-grid { gap: 38px; }
  .gift-feature-image { height: 300px; margin: 10px 0 0 10px; }
  .gift-feature-image::before { inset: -10px 10px 10px -10px; }
  .gift-feature-copy h2 { font-size: 38px; }
  .catalog-teaser { padding: 68px 0; }
  .products-grid, .catalog-layout .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-layout { grid-template-columns: minmax(0, 1fr); }
  .brand-section { padding: 62px 0; }
  .brand-simple h2 { font-size: 42px; }
  .about-grid { gap: 32px; }
  .gift-page-grid h1 { font-size: 44px; }
}
@media (max-width: 380px) {
  .hero-gifts .button-row { flex-direction: column; align-items: stretch; width: 100%; }
  .hero-gifts .button-row .btn { text-align: center; }
  .category-card:nth-child(2), .category-card:nth-child(3) { height: 190px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .category-card, .category-card img { transition: none; }
}
