/* ============================================================
   Antongrace Boutique — hoja de estilos
   Paleta: negro carbón, marfil cálido, piedra y un acento arena.
   ============================================================ */
:root {
  --ink: #0e0e0e;
  --ink-2: #1c1b1a;
  --ivory: #f7f4ef;
  --paper: #fffdf9;
  --stone: #e9e3da;
  --muted: #6f6a63;
  --line: rgba(14, 14, 14, .12);
  --line-light: rgba(255, 255, 255, .18);
  --accent: #b89a72;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --header-h: 76px;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 300; line-height: 1.1; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); margin-bottom: 1.5rem; }
h3 { font-size: 1.7rem; font-weight: 400; }
em { font-style: italic; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(80px, 12vw, 150px) 0; }

.eyebrow {
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 400;
  letter-spacing: .32em;
  text-transform: uppercase;
  margin: 0 0 1.4rem;
  color: rgba(255,255,255,.75);
  display: flex; align-items: center; gap: 14px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow.dark { color: var(--muted); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 30px;
  font-family: var(--sans); font-size: .78rem; font-weight: 400;
  letter-spacing: .22em; text-transform: uppercase; text-decoration: none;
  border: 1px solid transparent;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: transparent; color: var(--paper); border-color: var(--paper); }
.btn-ghost { color: var(--paper); border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: var(--paper); color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: transparent; color: var(--ink); border-color: var(--ink); }

/* ---------- Logotipo (imagen) ---------- */
.brand { display: inline-flex; align-items: center; position: relative; line-height: 0; flex-shrink: 0; }
.brand img { height: 32px; width: auto; display: block; transition: opacity .4s var(--ease); }
.brand .logo-dark { position: absolute; left: 0; top: 0; opacity: 0; }
.site-header.scrolled .brand .logo-light,
.site-header.menu-open .brand .logo-light { opacity: 0; }
.site-header.scrolled .brand .logo-dark,
.site-header.menu-open .brand .logo-dark { opacity: 1; }
.footer-brand img { height: 44px; }

/* ---------- Cabecera ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  transition: background .4s var(--ease), box-shadow .4s var(--ease);
}
.header-inner {
  height: 100%; max-width: 1400px; margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 32px;
}
.main-nav { display: flex; gap: 34px; margin-left: auto; }
.main-nav a {
  color: rgba(255,255,255,.88); text-decoration: none;
  font-size: .76rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 400;
  position: relative; padding: 6px 0;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 400;
  color: rgba(255,255,255,.88);
  padding: 7px 14px; border: 1px solid var(--line-light); border-radius: 999px;
  white-space: nowrap;
}
.status-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #9a9a9a; }
.status-pill.open::before { background: #5fb27a; box-shadow: 0 0 0 4px rgba(95,178,122,.18); }

.site-header.scrolled { background: rgba(255,253,249,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.site-header.scrolled .main-nav a,
.site-header.scrolled .status-pill { color: var(--ink); }
.site-header.scrolled .status-pill { border-color: var(--line); }

.menu-toggle {
  display: none; margin-left: auto;
  width: 44px; height: 44px; border: 0; background: none; cursor: pointer;
  position: relative;
}
.menu-toggle span {
  position: absolute; left: 11px; right: 11px; height: 1px; background: var(--paper);
  transition: transform .35s var(--ease), top .35s var(--ease), background .3s;
}
.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 25px; }
.site-header.scrolled .menu-toggle span,
.site-header.menu-open .menu-toggle span { background: var(--ink); }
.site-header.menu-open .menu-toggle span:first-child { top: 22px; transform: rotate(45deg); }
.site-header.menu-open .menu-toggle span:last-child { top: 22px; transform: rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed; inset: var(--header-h) 0 0 0;
  background: var(--paper);
  flex-direction: column; padding: 40px var(--gutter);
}
.mobile-nav a {
  font-family: var(--serif); font-size: 2.2rem; font-weight: 300;
  text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--line);
}
.site-header.menu-open { background: var(--paper); }
.site-header.menu-open .mobile-nav { display: flex; }
.site-header.menu-open .status-pill { color: var(--ink); border-color: var(--line); }

/* ---------- Portada ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  color: var(--paper); overflow: hidden; background: var(--ink);
}
.hero-media { position: absolute; inset: 0; }
.hero-media picture { display: block; width: 100%; height: 100%; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 45%;
  transform: scale(1.06); animation: heroZoom 14s var(--ease) forwards;
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14,14,14,.55) 0%, rgba(14,14,14,.05) 30%, rgba(14,14,14,.25) 55%, rgba(14,14,14,.85) 100%);
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-content {
  position: relative; width: 100%; max-width: 1400px; margin: 0 auto;
  padding: 0 var(--gutter) clamp(90px, 14vh, 150px);
}
.hero h1 {
  font-size: clamp(2.8rem, 7.4vw, 6.6rem);
  max-width: 14ch; margin-bottom: 2.6rem;
  animation: rise 1.2s var(--ease) both .2s;
}
.hero h1 em { font-weight: 300; color: #efe6d8; }
.hero .eyebrow { animation: rise 1.2s var(--ease) both; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; animation: rise 1.2s var(--ease) both .4s; }
/* Escritorio: fachada a pantalla completa con velo semitransparente a la izquierda */
@media (min-width: 961px) {
  .hero { align-items: center; }
  .hero-media img { object-position: 70% 50%; }
  .hero-media::after {
    background:
      linear-gradient(180deg, rgba(14,14,14,.55) 0%, rgba(14,14,14,0) 20%, rgba(14,14,14,0) 80%, rgba(14,14,14,.35) 100%),
      linear-gradient(90deg, rgba(14,14,14,.78) 0%, rgba(14,14,14,.6) 30%, rgba(14,14,14,.25) 58%, rgba(14,14,14,.05) 80%, rgba(14,14,14,.1) 100%);
  }
  .hero-content { text-shadow: 0 1px 24px rgba(0,0,0,.35); }
  .hero-content { padding-top: var(--header-h); padding-bottom: 0; }
  .hero h1 { font-size: clamp(3.4rem, 5.6vw, 6rem); max-width: 11ch; }
}
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.scroll-cue {
  position: absolute; right: var(--gutter); bottom: 44px;
  width: 1px; height: 70px; background: rgba(255,255,255,.25); overflow: hidden;
}
.scroll-cue span { position: absolute; left: 0; top: -30px; width: 1px; height: 30px; background: var(--paper); animation: cue 2.2s ease-in-out infinite; }
@keyframes cue { to { top: 100%; } }

/* ---------- La tienda ---------- */
.tienda { background: var(--paper); }
.tienda-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(48px, 7vw, 110px); align-items: center; }
.lead { font-family: var(--serif); font-size: 1.5rem; line-height: 1.45; font-weight: 400; margin: 0 0 1.3rem; }
.tienda-text p { color: #3d3a36; max-width: 52ch; }
.features { list-style: none; padding: 0; margin: 2.6rem 0 0; border-top: 1px solid var(--line); }
.features li {
  display: flex; align-items: baseline; gap: 22px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
  font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 400;
}
.features span { font-family: var(--serif); font-size: 1rem; letter-spacing: 0; color: var(--accent); font-style: italic; }

.tienda-gallery {
  display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(8, minmax(36px, 6vw));
  gap: 14px;
}
.g { margin: 0; overflow: hidden; background: var(--stone); }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.g:hover img { transform: scale(1.04); }
.g1 { grid-column: 1 / 7; grid-row: 1 / 5; }
.g2 { grid-column: 1 / 4; grid-row: 5 / 9; }
.g3 { grid-column: 4 / 7; grid-row: 5 / 9; }
.g3 img { object-position: center 70%; }

/* ---------- Horario ---------- */
.horario { background: var(--ink); color: var(--paper); }
.horario-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(48px, 7vw, 110px); align-items: start; }
.status-big { font-family: var(--serif); font-size: 1.5rem; font-style: italic; color: #d9cfbf; margin: 0; }
.status-big strong { font-style: normal; font-weight: 400; color: var(--paper); }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: 20px 0; border-bottom: 1px solid var(--line-light); text-align: left; font-weight: 300; }
.hours tr:first-child th, .hours tr:first-child td { border-top: 1px solid var(--line-light); }
.hours th { font-family: var(--serif); font-size: 1.4rem; font-weight: 400; width: 40%; }
.hours td { text-align: right; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.hours td span { margin: 0 12px; color: var(--accent); }
.hours td.muted { color: rgba(255,255,255,.45); }
.hours tr.today th, .hours tr.today td { color: var(--accent); }
.hours tr.today th::after {
  content: "hoy"; margin-left: 12px; vertical-align: middle;
  font-family: var(--sans); font-size: .62rem; letter-spacing: .24em; text-transform: uppercase;
  border: 1px solid currentColor; padding: 3px 8px; border-radius: 999px;
}
.note { color: rgba(255,255,255,.55); font-size: .9rem; margin: 1.6rem 0 0; }

/* ---------- Noticias ---------- */
.noticias { background: var(--ivory); }
.section-head { margin-bottom: clamp(40px, 6vw, 70px); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.news-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.news-head h2 { margin-bottom: 0; }
.ig-link {
  display: inline-flex; gap: 12px; align-items: center;
  font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 400;
  text-decoration: none; padding-bottom: 6px; border-bottom: 1px solid var(--ink);
}
.ig-link span { transition: transform .35s var(--ease); }
.ig-link:hover span { transform: translateX(5px); }
.news-card { background: var(--paper); display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.news-img { aspect-ratio: 1 / 1; overflow: hidden; background: var(--stone); }
.news-body h3 { font-size: 1.5rem; line-height: 1.25; }
.news-more {
  margin: 18px 0 0 !important; font-size: .72rem !important; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink) !important; font-weight: 400;
}
.news-more::after { content: " →"; transition: margin .35s var(--ease); }
.news-card:hover .news-more::after { margin-left: 6px; }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.news-card:hover .news-img img { transform: scale(1.04); }
.news-body { padding: 28px 28px 34px; }
.news-meta {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
  margin: 0 0 14px; font-weight: 400;
}
.news-meta span { color: var(--accent); }
.news-body h3 { margin-bottom: 12px; }
.news-body p:last-child { margin: 0; color: #4a4641; font-size: .98rem; }

/* ---------- Visítanos ---------- */
.visitanos { background: var(--paper); }
.visit-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(40px, 6vw, 90px); align-items: stretch; }
address { font-style: normal; font-family: var(--serif); font-size: 1.45rem; line-height: 1.5; margin-bottom: 2rem; }
.contact-list { margin: 0 0 2.4rem; border-top: 1px solid var(--line); }
.contact-list div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list dt { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); font-weight: 400; padding-top: 3px; }
.contact-list dd { margin: 0; overflow-wrap: anywhere; }
.contact-list a { text-decoration: none; border-bottom: 1px solid var(--line); transition: border-color .3s; }
.contact-list a:hover { border-color: var(--ink); }
.sep { margin: 0 8px; color: var(--muted); }
.map { min-height: 460px; background: var(--stone); }
.map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; filter: grayscale(1) contrast(1.05); }

/* ---------- Pie ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 64px 0 48px; }
.footer-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.footer-inner p { margin: 0; font-size: .92rem; }
.footer-inner a { text-decoration: none; }
.footer-inner .brand { margin-bottom: 14px; }
.small { font-size: .78rem !important; opacity: .55; letter-spacing: .08em; }

/* ---------- Animación al hacer scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .main-nav { display: none; }
  .menu-toggle { display: block; margin-left: 0; }
  .status-pill { margin-left: auto; }
  .tienda-grid, .horario-grid, .visit-grid { grid-template-columns: 1fr; }
  .tienda-gallery { grid-template-rows: repeat(8, minmax(30px, 11vw)); }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-grid .news-card:last-child { grid-column: 1 / -1; flex-direction: row; }
  .news-grid .news-card:last-child .news-img { flex: 0 0 45%; aspect-ratio: auto; }
}
@media (max-width: 640px) {
  :root { --header-h: 66px; }
  body { font-size: 16px; }
  .brand img { height: 24px; }
  .footer-brand img { height: 34px; }
  .status-pill { padding: 6px 10px; font-size: .62rem; letter-spacing: .1em; }
  .status-pill .pill-detail { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero .eyebrow { letter-spacing: .2em; font-size: .68rem; }
  .hero .eyebrow::before { width: 22px; }
  .hero-media::after {
    background: linear-gradient(180deg, rgba(14,14,14,.5) 0%, rgba(14,14,14,0) 16%, rgba(14,14,14,.25) 34%, rgba(14,14,14,.68) 50%, rgba(14,14,14,.8) 100%);
  }
  .hero-media img { object-position: 30% 0%; }
  .hero-content { text-shadow: 0 1px 18px rgba(0,0,0,.45); }
  .news-grid { grid-template-columns: 1fr; }
  .news-grid .news-card:last-child { flex-direction: column; }
  .news-grid .news-card:last-child .news-img { aspect-ratio: 1 / 1; }
  .hours th { font-size: 1.15rem; width: auto; }
  .hours td { font-size: .9rem; letter-spacing: .02em; }
  .hours td span { display: block; height: 0; overflow: hidden; }
  .hours tr.today th::after { display: none; }
  .contact-list div { grid-template-columns: 1fr; gap: 2px; }
  .map, .map iframe { min-height: 340px; }
  .scroll-cue { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
