/* CLOVER Barcelona — hoja de estilos principal */
:root {
  --background: #F6F1E7;
  --foreground: #3A2C22;
  --card: #FCFAF5;
  --primary: #C97B4A;
  --primary-fg: #FBF6EE;
  --secondary: #E4C9AE;
  --muted: #EDE0CD;
  --muted-fg: #6E5A4A;
  --accent: #DFBE9F;
  --border: #CDB79C;
  --footer: #6B5240;
  --hero-overlay: rgba(42, 30, 22, 0.38);
  --font-sans: "Lato", system-ui, sans-serif;
  --font-display: "Montserrat", system-ui, sans-serif;
  --max: 80rem;
}
@supports (color: oklch(0 0 0)) {
  :root {
    --background: oklch(0.96 0.018 84);
    --foreground: oklch(0.29 0.035 55);
    --card: oklch(0.985 0.01 84);
    --primary: oklch(0.62 0.12 48);
    --primary-fg: oklch(0.98 0.01 84);
    --secondary: oklch(0.86 0.045 65);
    --muted: oklch(0.92 0.025 76);
    --muted-fg: oklch(0.48 0.035 55);
    --accent: oklch(0.83 0.055 57);
    --border: oklch(0.78 0.04 68);
    --footer: oklch(0.45 0.05 55);
    --hero-overlay: oklch(0.18 0.03 50 / 38%);
  }
}

*, *::before, *::after { box-sizing: border-box; border-color: var(--border); }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--background); color: var(--foreground);
  font-family: var(--font-sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--primary); color: var(--primary-fg); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: 1.25rem; padding-right: 1.25rem; }
@media (min-width: 1024px) { .container { padding-left: 2rem; padding-right: 2rem; } }

.eyebrow { font-size: 0.625rem; letter-spacing: 0.42em; text-transform: uppercase; color: var(--muted-fg); margin: 0 0 1rem; }
.display { font-family: var(--font-display); font-weight: 300; }
.upper { text-transform: uppercase; }
.muted { color: var(--muted-fg); }
.text-primary { color: var(--primary); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--background) 95%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
}
.site-header .bar { height: 5rem; display: flex; align-items: center; justify-content: space-between; }
.brand img { height: 1.75rem; width: auto; }
@media (min-width: 768px) { .brand img { height: 2rem; } }
.nav-desktop { display: none; align-items: center; gap: 1.4rem; margin-left: 2rem; white-space: nowrap; }
@media (min-width: 1180px) { .nav-desktop { display: flex; } }
.nav-desktop > a, .nav-desktop .dd > a {
  font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; transition: color .2s;
  display: inline-flex; align-items: center; gap: .25rem; padding: 1.75rem 0;
}
.nav-desktop > a:hover, .nav-desktop .dd > a:hover, .nav-desktop a[aria-current="page"] { color: var(--primary); }
.dd { position: relative; }
.dd-menu {
  position: absolute; left: 0; top: 100%; min-width: 14rem; padding: .75rem; z-index: 40;
  background: var(--background); border: 1px solid var(--border); box-shadow: 0 12px 30px rgba(0,0,0,.08);
  opacity: 0; visibility: hidden; transform: translateY(.5rem); transition: all .2s;
}
.dd:hover .dd-menu, .dd:focus-within .dd-menu { opacity: 1; visibility: visible; transform: none; }
.dd-menu a { display: block; padding: .5rem .75rem; font-size: .875rem; }
.dd-menu a:hover { background: var(--secondary); }
.chev { width: .75rem; height: .75rem; }
.menu-btn { display: inline-flex; padding: .5rem; border-radius: .25rem; }
.menu-btn:hover { background: var(--muted); }
@media (min-width: 1180px) { .menu-btn { display: none; } }
.menu-btn svg { width: 1.5rem; height: 1.5rem; }

/* Sheet móvil */
.sheet-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 50; opacity: 0; pointer-events: none; transition: opacity .25s; }
.sheet { position: fixed; top: 0; right: 0; bottom: 0; width: 100%; max-width: 24rem; background: var(--background); z-index: 51;
  border-left: 1px solid var(--border); padding: 1.5rem; overflow-y: auto; transform: translateX(100%); transition: transform .3s ease; }
body.menu-open .sheet-backdrop { opacity: 1; pointer-events: auto; }
body.menu-open .sheet { transform: none; }
body.menu-open { overflow: hidden; }
.sheet .close { position: absolute; top: 1rem; right: 1rem; padding: .25rem; opacity: .7; }
.sheet .close svg { width: 1.25rem; height: 1.25rem; }
.sheet nav { margin-top: 3rem; display: flex; flex-direction: column; }
.sheet nav a { border-bottom: 1px solid var(--border); padding: 1rem 0; font-family: var(--font-display); font-size: 1rem; }
.sheet nav .sub { padding-left: 1rem; font-size: .875rem; font-family: var(--font-sans); color: var(--muted-fg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 82svh; overflow: hidden; }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-video { display: none; }
.hero-video.is-visible { display: block; }
@media (min-width: 768px) { .hero-video.is-visible { display: none; } }
.hero::after { content: ""; position: absolute; inset: 0; background: var(--hero-overlay); }
.hero .inner { position: relative; z-index: 1; min-height: 82svh; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 4rem; color: var(--background); }
@media (min-width: 1024px) { .hero .inner { padding-bottom: 5rem; } }
.hero .eyebrow { color: inherit; opacity: .9; margin-bottom: 1.25rem; }
.hero h1 { font-family: var(--font-display); font-weight: 300; font-size: 1.5rem; letter-spacing: .14em; line-height: 1.25; margin: 0; max-width: 42rem; }
@media (min-width: 768px) { .hero h1 { font-size: 1.875rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 2.25rem; } }
.btn-round {
  margin-top: 2.5rem; width: 4rem; height: 4rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; gap: .15rem;
  background: color-mix(in srgb, var(--primary) 90%, transparent); color: var(--primary-fg);
  font-size: .65rem; letter-spacing: .18em; text-transform: uppercase; transition: background .2s;
}
.btn-round:hover { background: var(--primary); }
.btn-round svg { width: .75rem; height: .75rem; }

@media (min-width: 1024px) {
  .hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 0; }
  .hero-media { position: relative; height: 85svh; object-position: center; }
  .hero::after { display: none; }
  .hero .inner { min-height: 85svh; color: var(--foreground); padding: 4rem 3rem 4rem 4rem; justify-content: center; max-width: none; }
  .hero .eyebrow { color: var(--muted-fg); opacity: 1; }
  .hero h1 { font-size: 2.5rem; }
}
@media (min-width: 1280px) { .hero .inner { padding-left: 5rem; } .hero h1 { font-size: 2.75rem; } }

/* Claim */
.claim { padding: 6rem 1.25rem; text-align: center; }
@media (min-width: 1024px) { .claim { padding: 8rem 1.25rem; } }
.claim p { max-width: 42rem; margin: 0 auto; font-family: var(--font-display); font-weight: 300; font-size: 1.125rem; letter-spacing: .18em; line-height: 1.7; }
@media (min-width: 768px) { .claim p { font-size: 1.25rem; } }
@media (min-width: 1024px) { .claim p { font-size: 1.5rem; } }

/* Handbags split */
.handbags { background: var(--secondary); }
.handbags .copy { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 1024px) { .handbags .copy { padding-top: 6rem; padding-bottom: 6rem; display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: start; } }
.handbags h2 { font-family: var(--font-display); font-weight: 300; font-size: 1rem; letter-spacing: .18em; text-transform: uppercase; line-height: 1.7; margin: 0; max-width: 28rem; }
@media (min-width: 1024px) { .handbags h2 { font-size: 1.25rem; } }
.handbags p { margin: 1rem 0 0; font-size: .875rem; line-height: 2rem; color: var(--muted-fg); max-width: 30rem; }
@media (min-width: 1024px) { .handbags h2 { font-size: 1.25rem; max-width: 22rem; } .handbags .right { padding-top: .35rem; } }
.handbags .pills { margin-top: 1.75rem; }
.pills { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: .625rem; }
.pills a { border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 30%, transparent); border-radius: 999px; padding: .5rem 1rem; font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; transition: background .2s; }
.pills a:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.btn-outline { display: inline-block; margin-top: 2rem; padding: .7rem 1.5rem; border: 1px solid; font-size: .65rem; letter-spacing: .2em; text-transform: uppercase; transition: all .2s; }
.handbags .btn-outline { border-color: color-mix(in srgb, var(--foreground) 30%, transparent); font-size: .68rem; }
.handbags .btn-outline:hover { background: var(--foreground); color: var(--background); }

/* Social */
.social { padding: 5rem 1.25rem; text-align: center; }
@media (min-width: 1024px) { .social { padding: 6rem 1.25rem; } }
.social .tag { font-family: var(--font-display); font-weight: 300; font-size: 1.125rem; letter-spacing: .3em; margin: 0; }
.social p.sub { max-width: 28rem; margin: 1rem auto 0; font-size: .875rem; line-height: 1.75rem; color: var(--muted-fg); }

/* ---------- Page intro ---------- */
.page-intro { padding-top: 5rem; padding-bottom: 2.5rem; }
.page-intro h1 { font-family: var(--font-display); font-weight: 300; font-size: 1.25rem; letter-spacing: .2em; text-transform: uppercase; line-height: 1.6; margin: 0; max-width: 42rem; }
@media (min-width: 768px) { .page-intro h1 { font-size: 1.5rem; } }
.page-intro .body { margin-top: 1.75rem; max-width: 36rem; white-space: pre-line; font-size: .875rem; line-height: 2rem; color: var(--muted-fg); }
.page-intro .body.wide { max-width: none; text-align: justify; }
.page-intro .body p { margin: 0 0 1.25rem; }
.page-intro .body p:last-child { margin-bottom: 0; }
.back { display: inline-flex; align-items: center; gap: .5rem; margin-top: 2.5rem; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-fg); }
.back:hover { color: var(--primary); }
.back svg { width: .875rem; height: .875rem; }

/* ---------- Grids / cards ---------- */
.grid { display: grid; gap: 1.25rem; padding-bottom: 6rem; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.card { display: block; overflow: hidden; border: 1px solid var(--border); background: var(--card); text-align: left; width: 100%; }
.card .ph { aspect-ratio: 3 / 4; overflow: hidden; background: var(--background); }
.card .ph.square { aspect-ratio: 1 / 1; }
.card .ph.contain img { object-fit: contain; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .ph img { transform: scale(1.03); }
.card .meta { padding: 1.25rem; }
.card .row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.card h2, .card h3 { font-family: var(--font-display); font-weight: 300; font-size: .875rem; letter-spacing: .22em; text-transform: uppercase; margin: 0; }
.card .size { font-size: .875rem; color: var(--primary); white-space: nowrap; }
.card .tag { margin: .5rem 0 0; font-size: .875rem; color: var(--muted-fg); }

.others { border-top: 1px solid var(--border); padding-top: 3rem; padding-bottom: 3rem; }
.others p { margin: 0 0 1rem; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-fg); }
.others .links { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; }
.others .links a { font-size: .875rem; letter-spacing: .05em; text-transform: uppercase; }
.others .links a:hover { color: var(--primary); }

/* ---------- Modal / lightbox ---------- */
.modal { position: fixed; inset: 0; z-index: 60; display: none; align-items: center; justify-content: center; padding: 1rem; }
.modal.open { display: flex; }
.modal .backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.6); }
.modal .panel { position: relative; background: var(--background); max-width: 48rem; width: 100%; max-height: 95vh; overflow: auto; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.modal .panel.wide { max-width: 56rem; }
.modal .x { position: absolute; top: .5rem; right: .5rem; z-index: 2; padding: .4rem; border-radius: 50%; background: color-mix(in srgb, var(--background) 85%, transparent); }
.modal .x svg { width: 1.1rem; height: 1.1rem; }
.modal .navbtn { position: absolute; top: 50%; transform: translateY(-50%); padding: .5rem; border-radius: 50%; background: color-mix(in srgb, var(--background) 80%, transparent); box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.modal .navbtn:hover { background: var(--background); }
.modal .navbtn.prev { left: .5rem; } .modal .navbtn.next { right: .5rem; }
.modal .navbtn svg { width: 1.25rem; height: 1.25rem; }
.modal img.full { width: 100%; }
.modal .split { display: grid; }
@media (min-width: 768px) { .modal .split { grid-template-columns: 1fr 1fr; } }
.modal .split img { width: 100%; height: 100%; min-height: 20rem; object-fit: cover; }
.modal .split .info { display: flex; flex-direction: column; justify-content: center; padding: 2rem; }
@media (min-width: 768px) { .modal .split .info { padding: 3rem; } }
.modal .split .kicker { margin: 0 0 .75rem; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--primary); }
.modal .split h3 { margin: 0; font-family: var(--font-display); font-weight: 300; font-size: 1rem; letter-spacing: .2em; text-transform: uppercase; }
.modal .split .desc { margin: 1.25rem 0 0; line-height: 1.75rem; }
.btn-solid { display: inline-block; margin-top: 2rem; width: fit-content; padding: .7rem 1.5rem; background: var(--primary); color: var(--primary-fg); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; border-radius: .25rem; transition: filter .2s; }
.btn-solid:hover { filter: brightness(.95); }

/* ---------- Sobre nosotros ---------- */
.about { display: grid; gap: 3rem; padding-bottom: 8rem; }
@media (min-width: 1024px) { .about { grid-template-columns: minmax(0, 1fr) 22rem; align-items: start; } }
.about .quote { font-family: var(--font-display); font-weight: 300; font-size: 1.25rem; letter-spacing: .06em; line-height: 1.6; margin: 0 0 2rem; }
.about p { font-size: .9rem; line-height: 2rem; color: var(--muted-fg); margin: 0 0 1.25rem; max-width: 36rem; }
.about .video { position: relative; border: 1px solid var(--border); background: var(--card); overflow: hidden; aspect-ratio: 9 / 16; max-width: 24rem; margin: .5rem 0 2rem; }
.about .video video { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1024px) { .about .video { position: sticky; top: 6.5rem; margin: 0; } }

/* ---------- Mapa ---------- */
.map-wrap { display: grid; gap: 3rem; padding-bottom: 5rem; }
@media (min-width: 1024px) { .map-wrap { grid-template-columns: 1fr 18rem; align-items: center; } }
.map-box { position: relative; margin: 0 auto; width: 100%; max-width: 36rem; cursor: grab; touch-action: none; user-select: none; }
.map-box:active { cursor: grabbing; }
.map-box svg { width: 100%; height: auto; }
.map-tip { pointer-events: none; position: absolute; z-index: 10; transform: translate(-50%, -100%); white-space: nowrap; border: 1px solid var(--border); background: var(--background); padding: .4rem .75rem; text-align: center; border-radius: .125rem; box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.map-tip .c { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.map-tip .n { font-size: 10px; color: var(--muted-fg); }
.map-ctrl { position: absolute; right: .5rem; top: .5rem; display: flex; flex-direction: column; gap: .25rem; }
.map-ctrl button { width: 1.75rem; height: 1.75rem; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); background: color-mix(in srgb, var(--background) 90%, transparent); color: var(--muted-fg); border-radius: .125rem; font-size: .9rem; }
.map-ctrl button:hover { color: var(--foreground); }
.map-side p { font-size: .875rem; line-height: 1.75rem; color: var(--muted-fg); max-width: 24rem; }
.map-cta { border-top: 1px solid color-mix(in srgb, var(--border) 60%, transparent); padding-top: 2.5rem; padding-bottom: 2.5rem; }
.map-cta a { font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted-fg); }
.map-cta a:hover { color: var(--primary); }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; gap: 1.25rem; padding-bottom: 6rem; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.tile { display: flex; align-items: center; gap: 1rem; border: 1px solid var(--border); background: var(--card); padding: 2rem; font-size: 1.25rem; }
.tile.top { align-items: flex-start; font-size: 1rem; }
.tile svg { width: 1.5rem; height: 1.5rem; flex-shrink: 0; color: var(--primary); }
.tile .t { font-size: 1.125rem; margin: 0; }
.tile .s { margin: .25rem 0 0; font-size: .875rem; color: var(--muted-fg); }
.tile .h { margin: .75rem 0 0; display: flex; align-items: center; gap: .5rem; font-size: .75rem; color: var(--muted-fg); }
.tile .h svg { width: .875rem; height: .875rem; color: inherit; }
.tile .lnk { display: inline-block; margin-top: 1rem; font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; color: var(--primary); }
.tile:hover .lnk { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Legal ---------- */
.legal { max-width: 56rem; padding-bottom: 6rem; }
.legal section { border-top: 1px solid var(--border); padding-top: 2rem; margin-top: 2.5rem; }
.legal h2 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; margin: 0 0 1rem; }
.legal p { line-height: 2rem; color: var(--muted-fg); margin: 0 0 1rem; white-space: pre-line; }
.legal ul { padding-left: 1.25rem; color: var(--muted-fg); margin: 0; }
.legal li { line-height: 1.75rem; margin-bottom: .75rem; }

/* ---------- Footer ---------- */
.ig { border-top: 1px solid color-mix(in srgb, var(--border) 60%, transparent); padding: 4rem 1.25rem; }
.ig .head { text-align: center; }
.ig .head .eyebrow { letter-spacing: .4em; margin-bottom: .25rem; }
.ig .head a { font-family: var(--font-display); font-weight: 300; font-size: .875rem; letter-spacing: .22em; }
.ig .head a:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 8px; }
.ig .thumbs { max-width: 64rem; margin: 2.5rem auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: color-mix(in srgb, var(--border) 50%, transparent); }
@media (min-width: 640px) { .ig .thumbs { grid-template-columns: repeat(6, 1fr); } }
.ig .thumbs a { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--background); }
.ig .thumbs img { width: 100%; height: 100%; object-fit: cover; opacity: .95; transition: all .7s; }
.ig .thumbs a:hover img { transform: scale(1.03); opacity: 1; }
.ig .thumbs[hidden] { display: none; }
.ig .ig-feed { max-width: 64rem; margin: 2.5rem auto 0; min-width: 0; }
.site-footer { background: var(--footer); color: var(--background); }
.site-footer .cols { display: grid; gap: 2.5rem; padding-top: 3.5rem; padding-bottom: 3.5rem; }
@media (min-width: 768px) { .site-footer .cols { grid-template-columns: 1.2fr 1fr 1fr; } }
.site-footer .brand img { height: 1.5rem; }
.site-footer .copy { margin: 1.25rem 0 0; max-width: 24rem; font-size: .875rem; opacity: .75; }
.site-footer h2 { margin: 0 0 1rem; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); font-weight: 400; }
.site-footer .links { display: grid; gap: .5rem; font-size: .875rem; }
.site-footer .links a:hover { text-decoration: underline; text-underline-offset: 3px; }

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