/* Floristería Aurora — demo OnaWeb */

/* Tokens
   Para adaptar la demo a otro negocio se cambian estos valores y las fotos. */
:root {
  --bark: #1E2A22;
  --moss: #3F7A4F;
  --bloom: #C8437E;
  --linen: #F2F4EE;
  --paper: #FFFFFF;
  --stone: #6B7A6F;
  --line: rgba(30, 42, 34, .14);

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Karla", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 56px);
  --section: clamp(60px, 8.5vw, 116px);
  --radius: 10px;
  --soft: "SOFT" 60, "WONK" 1;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--linen);
  color: var(--bark);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; font-family: var(--display); line-height: 1.02; font-variation-settings: var(--soft), "opsz" 96; }
p { margin: 0; }

.wrap { width: min(1160px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--flush { padding-top: 0; }
[id] { scroll-margin-top: 80px; }

.skip {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--bark); color: #fff; padding: 12px 18px; border-radius: 999px; text-decoration: none;
}
.skip:focus { left: 16px; }

:where(a, button, input, summary):focus-visible {
  outline: 3px solid var(--moss); outline-offset: 3px; border-radius: 6px;
}

.label {
  font-size: .72rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--moss); margin-bottom: 16px;
}
.h2 { font-size: clamp(2.05rem, 4.4vw, 3.3rem); font-weight: 600; letter-spacing: -.012em; max-width: 20ch; }
.lede { max-width: 50ch; color: var(--stone); font-size: clamp(1.02rem, 1.4vw, 1.14rem); margin-top: 18px; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--body); font-weight: 700; font-size: .98rem;
  text-decoration: none; cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--bloom); color: #fff; }
.btn--primary:hover { background: #ab3269; }
.btn--ghost { border-color: var(--line); color: var(--bark); background: transparent; }
.btn--ghost:hover { border-color: var(--bark); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Cabecera */
.header { position: fixed; inset: 0 0 auto; z-index: 60; transition: background-color .3s ease, box-shadow .3s ease; }
.header.is-stuck { background: rgba(242, 244, 238, .94); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.header__bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 15px; }

.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--bark); }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__name {
  font-family: var(--display); font-variation-settings: var(--soft), "opsz" 20;
  font-weight: 600; font-size: 1.16rem; line-height: 1.1; letter-spacing: -.01em;
}
.brand__name span {
  display: block; font-family: var(--body); font-size: .62rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--moss); margin-top: 2px;
}

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--bark); text-decoration: none; font-size: .95rem; font-weight: 500; opacity: .85; }
.nav a:hover { opacity: 1; color: var(--bloom); }
.header__cta { padding: 12px 22px; font-size: .92rem; }

.burger {
  display: none; width: 44px; height: 44px; padding: 0; cursor: pointer;
  border: 1px solid var(--line); border-radius: 10px; background: transparent; place-items: center;
}
.burger span { display: block; width: 18px; height: 1.6px; background: var(--bark); position: relative; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.6px; background: var(--bark);
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }

.mobile-menu { display: none; background: rgba(242, 244, 238, .98); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
.mobile-menu.is-open { display: block; }
.mobile-menu a {
  display: block; padding: 15px 0; color: var(--bark); text-decoration: none;
  font-family: var(--display); font-variation-settings: var(--soft), "opsz" 40;
  font-weight: 600; font-size: 1.4rem; border-bottom: 1px solid var(--line);
}
.mobile-menu a:last-child { border-bottom: 0; }

/* Portada */
.hero { padding-top: clamp(104px, 15vw, 150px); padding-bottom: clamp(40px, 6vw, 70px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); gap: clamp(28px, 5vw, 68px); align-items: center; }
.hero h1 { font-size: clamp(2.7rem, 6.6vw, 5rem); font-weight: 600; letter-spacing: -.022em; max-width: 13ch; }
.hero h1 em { font-style: italic; color: var(--bloom); font-variation-settings: var(--soft), "opsz" 96; }
.hero__sub { margin-top: 24px; max-width: 42ch; font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--stone); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 30px; }
.hero__figure { position: relative; }
.hero__photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: #E3E8DE; }

.open-flag {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 16px; font-size: .86rem; font-weight: 600; margin-bottom: 22px;
}
.open-flag__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--stone); flex: none; }
.open-flag.is-open .open-flag__dot { background: var(--moss); box-shadow: 0 0 0 4px rgba(63, 122, 79, .16); }

/* Tira de datos */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.strip__item { padding: 24px 24px 24px 0; }
.strip__item + .strip__item { border-left: 1px solid var(--line); padding-left: 26px; }
.strip__k { font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--moss); margin-bottom: 6px; }
.strip__v { font-family: var(--display); font-variation-settings: var(--soft), "opsz" 24; font-weight: 600; font-size: 1.1rem; line-height: 1.3; }
.strip__v small { display: block; font-family: var(--body); font-weight: 400; font-size: .86rem; color: var(--stone); margin-top: 3px; }

/* Selector de ocasión */
.chooser { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin-top: clamp(30px, 4vw, 44px); }
.chooser__tabs { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.chooser__tab {
  flex: 1 1 auto; min-width: 118px; padding: 17px 14px;
  border: 0; background: transparent; cursor: pointer;
  font-family: var(--body); font-size: .94rem; font-weight: 600; color: var(--stone);
  border-bottom: 2.5px solid transparent;
  transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}
.chooser__tab:hover { background: #FAFBF8; color: var(--bark); }
.chooser__tab[aria-selected="true"] { color: var(--bloom); border-bottom-color: var(--bloom); }
.chooser__panel { padding: clamp(26px, 3.4vw, 40px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 26px; align-items: center; }
.chooser__panel h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem); font-weight: 600; margin-bottom: 10px;
  letter-spacing: -.01em; font-variation-settings: var(--soft), "opsz" 48;
}
.chooser__panel p { color: var(--stone); max-width: 56ch; }
.chooser__panel.is-quiet h3 { color: var(--moss); }

/* Servicios */
.grid-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(26px, 4vw, 60px); align-items: end; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(32px, 4vw, 48px); }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--moss); transform: translateY(-3px); }
.card__icon { color: var(--moss); margin-bottom: 14px; }
.card__icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 8px; font-variation-settings: var(--soft), "opsz" 24; }
.card p { color: var(--stone); font-size: .97rem; }
.note { margin-top: 26px; color: var(--stone); }
.note a { color: var(--bloom); text-underline-offset: 3px; }

/* Galería */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: clamp(30px, 4vw, 46px); }
.shot {
  position: relative; margin: 0; overflow: hidden; border-radius: var(--radius);
  background: #E3E8DE; grid-column: span 2; aspect-ratio: 1 / 1;
}
.shot:nth-child(1), .shot:nth-child(6) { grid-column: span 3; aspect-ratio: 3 / 2; }
.shot__ph {
  position: absolute; inset: 0; z-index: 1;
  display: grid; place-content: center; justify-items: center; gap: 9px; padding: 14px;
  color: var(--stone); font-size: .68rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; text-align: center;
}
.shot__ph svg { width: 26px; height: 26px; opacity: .5; }
.shot__img {
  position: absolute; inset: 0; z-index: 2;
  background-size: cover; background-position: center;
  transition: transform .7s cubic-bezier(.2, .7, .3, 1);
}
.shot:hover .shot__img { transform: scale(1.04); }

/* Fotos
   Sustituir por las fotos reales del negocio manteniendo los nombres,
   o cambiar aquí las rutas. Si un archivo falta, queda el marcador. */
.shot__img--hero { background-image: url("./img/escaparate.jpg"); }
.shot__img--1 { background-image: url("./img/ramo.jpg"); }
.shot__img--2 { background-image: url("./img/temporada.jpg"); }
.shot__img--3 { background-image: url("./img/plantas.jpg"); }
.shot__img--4 { background-image: url("./img/composicion.jpg"); }
.shot__img--5 { background-image: url("./img/detalle.jpg"); }
.shot__img--6 { background-image: url("./img/tienda.jpg"); }

/* Reparto y reseñas */
.band { background: var(--bark); color: #E8EDE6; border-radius: 20px; padding: clamp(34px, 5vw, 64px); }
.band h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 600; max-width: 18ch; letter-spacing: -.012em; }
.band p { color: #B4C0B6; max-width: 48ch; margin-top: 18px; }
.band .label { color: #93B79C; }
.band__cta { margin-top: 28px; }

.reviews { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(26px, 4vw, 56px); align-items: start; }
.score { display: flex; align-items: baseline; gap: 16px; }
.score__n {
  font-family: var(--display); font-variation-settings: var(--soft), "opsz" 144;
  font-weight: 700; font-size: clamp(4rem, 11vw, 7rem); line-height: .85;
  color: var(--bloom); letter-spacing: -.03em;
}
.score__meta { display: flex; flex-direction: column; gap: 3px; }
.score__stars { color: var(--bloom); font-size: 1.2rem; letter-spacing: .08em; }
.score__count { font-size: .8rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--stone); }
.themes { display: grid; gap: 14px; }
.theme { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.theme h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 5px; font-variation-settings: var(--soft), "opsz" 20; }
.theme p { color: var(--stone); font-size: .95rem; }

/* Dónde estamos */
.place { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(26px, 4vw, 54px); align-items: start; margin-top: clamp(30px, 4vw, 46px); }
.map-block { display: grid; gap: 14px; justify-items: start; }
.map { width: 100%; aspect-ratio: 16 / 11; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--paper); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.info dl { margin: 0; }
.info dt { font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--moss); margin-bottom: 6px; }
.info dd { margin: 0 0 24px; font-size: 1.04rem; }
.info dd a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--line); }
.info dd a:hover { color: var(--bloom); border-color: var(--bloom); }
.hours { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .98rem; }
.hours li:last-child { border-bottom: 0; }
.hours li.is-today { color: var(--bloom); font-weight: 700; }
.hours em { font-style: normal; text-align: right; }

/* Pie */
.footer { border-top: 1px solid var(--line); padding-block: 40px; color: var(--stone); font-size: .92rem; }
.footer__grid { display: flex; flex-wrap: wrap; gap: 22px; justify-content: space-between; align-items: center; }
.footer a { color: var(--bark); text-decoration: none; }
.footer a:hover { color: var(--bloom); }
.footer__legal { font-size: .8rem; margin-top: 20px; }
.footer__legal a { font-weight: 700; }

/* Barra de acciones en móvil */
.actionbar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  background: rgba(242, 244, 238, .97); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  padding: 9px 10px calc(9px + env(safe-area-inset-bottom));
  grid-template-columns: 1fr 1fr; gap: 9px;
}
.actionbar a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 6px; border-radius: 999px; text-decoration: none;
  font-size: .92rem; font-weight: 700; color: var(--bark); border: 1.5px solid var(--line);
}
.actionbar a.is-primary { background: var(--bloom); color: #fff; border-color: var(--bloom); }
.actionbar svg { width: 17px; height: 17px; }

/* Entrada al hacer scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .3, 1); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__figure { order: -1; }
  .hero__photo { aspect-ratio: 16 / 10; }
  .hero h1 { max-width: none; }
  .grid-2 { grid-template-columns: 1fr; align-items: start; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: 1fr; }
  .place { grid-template-columns: 1fr; }
  .chooser__panel { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 840px) {
  .nav, .header__cta { display: none; }
  .burger { display: grid; }
  .actionbar { display: grid; }
  body { padding-bottom: 78px; }
  .strip__grid { grid-template-columns: 1fr; }
  .strip__item { padding: 18px 0; border-top: 1px solid var(--line); }
  .strip__item:first-child { border-top: 0; }
  .strip__item + .strip__item { border-left: 0; padding-left: 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .shot { grid-column: span 1; }
  .shot:nth-child(1), .shot:nth-child(6) { grid-column: span 2; aspect-ratio: 3 / 2; }
}

@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .hero__cta .btn { flex: 1 1 100%; }
  .chooser__tab { min-width: 50%; flex: 1 1 50%; }
}
