/* Atelier d’Arôme — estilos minimalistas cálidos */

:root {
  --bg: #fff8f0;          /* crema cálido */
  --paper: #fffdf9;       /* blanco roto */
  --text: #1f1f1f;        /* texto principal */
  --muted: #6f6a60;       /* texto secundario */
  --accent: #b79d74;      /* dorado suave */
  --accent-strong: #9f865f;
  --line: #ebdfd2;        /* borde sutil */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; height: auto; display: block; }

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--paper) 92%, white 8%);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding: .75rem 0;
}
.site-header[data-open='true'] { box-shadow: 0 6px 24px rgba(0,0,0,.06); }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: inherit; }
.brand__logo { width: 36px; height: 36px; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50%; }
.brand__name { font-weight: 600; letter-spacing: .2px; }

/* Mobile-first navigation */
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--text); cursor: pointer; }
.nav-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.nav { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 1px); background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 8px 30px rgba(0,0,0,.06); }
.site-header[data-open='true'] .nav { display: grid; }
.nav a { display: block; color: var(--text); text-decoration: none; padding: .9rem 1rem; border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.nav a:last-child { border-bottom: none; }
.nav a:hover { background: var(--paper); }
.nav__cta { border: none; color: var(--accent-strong); }

/* Desktop navigation */
@media (min-width: 760px) {
  .nav-toggle { display: none; }
  .nav { display: flex; position: static; background: transparent; border: 0; box-shadow: none; gap: 1rem; align-items: center; }
  .nav a { padding: .45rem .7rem; border: 0; border-radius: 999px; }
  .nav__cta { border: 1px solid var(--accent); }
}

/* Hero */
.hero { position: relative; isolation: isolate; }
.hero__content { display: grid; grid-template-columns: 1fr; gap: 2rem; padding: 6rem 0 4rem; align-items: center; }
.hero__brand { display: grid; place-items: center; }
.hero__logo { width: min(220px, 50vw); aspect-ratio: 1 / 1; border-radius: 50%; box-shadow: 0 8px 30px rgba(0,0,0,.08); }
.hero__text { text-align: center; }
.hero h1 { font-family: ui-serif, Georgia, Times, "Times New Roman", serif; font-weight: 600; font-size: clamp(2rem, 4.5vw, 3rem); margin: 0 0 .6rem; color: var(--accent-strong); }
.hero p { margin: 0 auto 1.25rem; max-width: 58ch; color: var(--muted); }
.hero__meta { margin: 0 auto 1.25rem; color: var(--accent-strong); font-weight: 600; font-size: .95rem; }
.hero__actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 60% at 50% 10%, #f5e7d6 0%, transparent 60%),
              linear-gradient(to bottom, transparent 40%, #fffaf4 100%);
}

/* Sections */
.section { padding: 4rem 0; }
.section--alt { background: var(--paper); }
.section--cta { background: linear-gradient(180deg, var(--paper), #fffaf4 50%, var(--paper)); }
.section__title { font-family: ui-serif, Georgia, Times, "Times New Roman", serif; font-weight: 600; font-size: clamp(1.4rem, 2.6vw, 2rem); margin: 0 0 .6rem; color: var(--text); }
.section__intro { margin: 0 0 2rem; color: var(--muted); max-width: 60ch; }

/* Buttons */
.btn { display: inline-block; text-decoration: none; border-radius: 999px; padding: .8rem 1.1rem; font-weight: 600; letter-spacing: .2px; }
.btn { min-height: 44px; touch-action: manipulation; -webkit-tap-highlight-color: rgba(0,0,0,0); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-strong); }
.btn--ghost { border: 1px solid var(--accent); color: var(--accent-strong); }
.btn--ghost:hover { background: color-mix(in srgb, var(--accent) 8%, transparent); }

/* Grid */
.grid { display: grid; gap: 1.2rem; }
@media (min-width: 760px) {
  .hero__content { grid-template-columns: 1fr 1.2fr; text-align: left; }
  .hero__actions { justify-content: flex-start; }
  .grid.cards { grid-template-columns: repeat(3, 1fr); }
}

/* Cards (Colecciones) */
.cards { margin-top: 1.2rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.04); transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(0,0,0,.07); }
.card__media { height: 160px; background: #eee; }
.card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card__media--invierno { background: linear-gradient(135deg, #ddd2c2, #c7b59b); }
.card__media--primavera { background: linear-gradient(135deg, #f4e1e6, #e6f0d8); }
.card__media--clasicos { background: linear-gradient(135deg, #f0eadf, #e5dbc9); }
.card__body { padding: 1rem; }
.card__title { margin: 0 0 .3rem; font-weight: 600; }
.card__text { margin: 0; color: var(--muted); }

/* Steps (Cómo usar) */
.steps { grid-template-columns: 1fr; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1rem; display: grid; gap: .4rem; }
.step__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; color: var(--accent-strong); background: color-mix(in srgb, var(--accent) 12%, white); }
.step__title { margin: .2rem 0; font-weight: 600; }
.step__text { margin: 0; color: var(--muted); }

/* About */
.about { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .about { grid-template-columns: 1.3fr 1fr; align-items: center; } }
.about__text p { margin: 0 0 .8rem; color: var(--muted); }
.about__media { min-height: 220px; border-radius: 14px; border: 1px solid var(--line); background: linear-gradient(135deg, #f6eee4, #efe5d8); box-shadow: inset 0 0 50px rgba(183,157,116,.15); }

/* CTA */
.cta { text-align: center; }
.cta__text { color: var(--muted); margin: .4rem 0 1rem; }
.cta__actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

/* Form */
.form { display: grid; gap: .9rem; max-width: 560px; margin: 1rem auto 1rem; text-align: left; }
.form__row { display: grid; gap: .35rem; }
.form__label { font-weight: 600; font-size: .95rem; }
.form__input { width: 100%; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: .8rem .9rem; font: inherit; color: inherit; }
.form__input:focus { outline: 2px solid color-mix(in srgb, var(--accent) 40%, transparent); outline-offset: 2px; }
.form__textarea { resize: vertical; min-height: 140px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--paper); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; font-size: .95rem; }
.backtop { text-decoration: none; color: var(--accent-strong); }
.backtop:hover { text-decoration: underline; }

/* Social */
.social { display: flex; gap: .6rem; align-items: center; }
.social__link { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; color: var(--accent-strong); background: #fff; border: 1px solid var(--line); }
.social__link:hover { background: color-mix(in srgb, var(--accent) 10%, white); }
.icon { display: block; }
.icon--instagram { color: var(--accent-strong); }

/* Small helpers */
.visually-hidden { position: absolute !important; height: 1px; width: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

/* Floating action buttons */
.fab { position: fixed; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.12); z-index: 20; text-decoration: none; }
.fab--whatsapp { color: #fff; background: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 60%, #000); }
.fab--whatsapp:hover { background: var(--accent-strong); }
.fab--top { right: 18px; bottom: 88px; background: #fff; color: var(--accent-strong); border: 1px solid var(--line); opacity: 0; pointer-events: none; transform: translateY(6px); transition: opacity .2s ease, transform .2s ease; }
.fab--top[data-show='true'] { opacity: 1; pointer-events: auto; transform: translateY(0); }
