/* =========================================================================
   ARREGLOS JULITA — ESTILOS
   Paleta artesanal floral · Mobile-first
   ========================================================================= */

:root {
  /* Paleta — alineada al logo oficial: serif casi negra sobre blush + crema.
     Terracota, salvia y mostaza son acentos cálidos tomados de sus arreglos. */
  --tinta:        #241F1D;   /* tinta del logo (serif casi negra) */
  --tinta-suave:  #6A5E5A;   /* texto secundario */
  --rosa:         #E7B3B0;   /* blush — color de marca */
  --rosa-claro:   #F6E2DD;
  --rosa-raya:    #F3D9D3;   /* tono de las rayas del logo */
  --borgona:      #8E3B4E;   /* vino-rosa: acento profundo (precios, taller) */
  --terracota:    #C1674E;   /* cálido (CTA, tinajas de greda) */
  --terracota-osc:#A6543D;
  --salvia:       #8D9C7E;   /* verde salvia / eucalipto */
  --salvia-claro: #C7D0BE;
  --mostaza:      #D3A044;   /* acento boho (ocre) */
  --crema:        #FCF6F0;   /* fondo */
  --crema-osc:    #F1E7DC;
  --blanco:       #FFFFFF;
  --whatsapp:     #25D366;
  --whatsapp-osc: #128C7E;

  /* Tipografía */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Medidas */
  --ancho-max: 1120px;
  --radio: 14px;
  --radio-sm: 9px;
  --sombra: 0 8px 30px rgba(59, 48, 43, 0.10);
  --sombra-sm: 0 3px 12px rgba(59, 48, 43, 0.08);
  --header-h: 64px;
}

/* ----- Reset ligero ----- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--tinta);
  background: var(--crema);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--terracota-osc); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; color: var(--tinta); margin: 0 0 .4em; }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.contenedor { width: 100%; max-width: var(--ancho-max); margin: 0 auto; padding: 0 20px; }
.seccion { padding: 56px 0; }
.centrado { text-align: center; }
.texto-sec { color: var(--tinta-suave); }
.eyebrow {
  font-family: var(--sans); font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; font-size: .74rem; color: var(--terracota);
  margin-bottom: .6em;
}

/* ===================== BOTONES ===================== */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--sans); font-weight: 600; font-size: 1rem;
  padding: 13px 24px; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none; line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-wa { background: var(--whatsapp); color: #fff; box-shadow: var(--sombra-sm); }
.btn-wa:hover { background: var(--whatsapp-osc); color:#fff; }
.btn-primario { background: var(--terracota); color: #fff; box-shadow: var(--sombra-sm); }
.btn-primario:hover { background: var(--terracota-osc); color:#fff; }
.btn-borde { background: transparent; color: var(--tinta); border: 1.5px solid var(--tinta); }
.btn-borde:hover { background: var(--tinta); color: var(--crema); }
.btn svg { width: 20px; height: 20px; flex: none; }

/* ===================== HEADER ===================== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 245, 238, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--crema-osc);
}
.header-in {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
}
.logo { display: flex; align-items: center; text-decoration: none; }
.logo:hover { text-decoration: none; }
.logo-img { height: 40px; width: auto; display: block; }
@media (max-width: 480px) { .logo-img { height: 34px; } }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--tinta); font-weight: 500; font-size: .95rem;
  padding: 8px 12px; border-radius: 8px; text-decoration: none;
}
.nav a:hover { background: var(--crema-osc); text-decoration: none; }
.nav a.activo { color: var(--terracota); font-weight: 600; }
.nav .btn-wa { margin-left: 8px; padding: 9px 16px; font-size:.9rem; }

.menu-btn {
  display: none; background: transparent; border: 0; cursor: pointer;
  padding: 8px; color: var(--tinta);
}
.menu-btn svg { width: 26px; height: 26px; }

/* Móvil */
@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--crema); border-bottom: 1px solid var(--crema-osc);
    padding: 8px 16px 18px; box-shadow: var(--sombra);
    transform: translateY(-120%); transition: transform .25s ease;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav.abierto { transform: translateY(0); }
  .nav a { padding: 13px 10px; border-bottom: 1px solid var(--crema-osc); border-radius: 0; }
  .nav .btn-wa { margin: 12px 0 0; justify-content: center; }
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  background:
    radial-gradient(120% 90% at 85% 0%, var(--rosa-claro) 0%, transparent 55%),
    radial-gradient(115% 85% at 0% 100%, var(--salvia-claro) 0%, transparent 55%),
    var(--crema);
  padding: 64px 0 72px;
  overflow: hidden;
}
.hero h1 { max-width: 15ch; }
.hero p.lead { font-size: 1.2rem; color: var(--tinta-suave); max-width: 48ch; margin-bottom: 1.6em; }
.hero-acciones { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero-media {
  aspect-ratio: 4/5; border-radius: 22px; overflow: hidden;
  box-shadow: var(--sombra); background: var(--rosa-claro);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
/* Panel de marca (rayas blush + logo) mientras no haya foto destacada */
.hero-media.hero-brand {
  background: repeating-linear-gradient(90deg, var(--rosa-claro) 0 30px, var(--rosa-raya) 30px 60px);
  display: flex; align-items: center; justify-content: center; padding: 14% 12%;
}
.hero-brand .hero-logo { width: 100%; height: auto; }
.hero-tag {
  display:inline-flex; align-items:center; gap:8px; background: var(--blanco);
  border:1px solid var(--crema-osc); padding:7px 14px; border-radius:999px;
  font-size:.85rem; font-weight:600; color: var(--tinta-suave); margin-bottom:20px;
  box-shadow: var(--sombra-sm);
}
.hero-tag .punto { width:8px; height:8px; border-radius:50%; background: var(--salvia); }
@media (max-width: 780px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-media { max-width: 420px; margin: 0 auto; }
  .hero-acciones .btn { flex: 1 1 auto; justify-content:center; }
}

/* ===================== PÁGINA: encabezado interno ===================== */
.page-head {
  background:
    radial-gradient(120% 120% at 100% 0%, var(--rosa-claro) 0%, transparent 55%),
    radial-gradient(120% 120% at 0% 0%, var(--salvia-claro) 0%, transparent 42%),
    var(--crema);
  padding: 48px 0 8px; text-align: center;
}
.page-head p { max-width: 60ch; margin: 0 auto 1em; color: var(--tinta-suave); }

/* ===================== GRILLA DE LÍNEAS (inicio) ===================== */
.lineas-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}
.linea-card {
  display: flex; flex-direction: column;
  background: var(--blanco); border-radius: var(--radio);
  overflow: hidden; box-shadow: var(--sombra-sm);
  transition: transform .18s ease, box-shadow .18s ease;
  border: 1px solid var(--crema-osc);
}
.linea-card:hover { transform: translateY(-4px); box-shadow: var(--sombra); text-decoration: none; }
.linea-card .thumb { aspect-ratio: 3/2; }
.linea-card .body { padding: 18px 20px 22px; }
.linea-card h3 { margin-bottom: .3em; color: var(--tinta); }
.linea-card p { color: var(--tinta-suave); font-size: .95rem; margin-bottom: 1em; }
.linea-card .mas { color: var(--terracota); font-weight: 600; font-size: .92rem; }

/* ===================== GRILLA DE PRODUCTOS ===================== */
.productos-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 22px;
}
.producto {
  display: flex; flex-direction: column;
  background: var(--blanco); border-radius: var(--radio);
  overflow: hidden; box-shadow: var(--sombra-sm);
  border: 1px solid var(--crema-osc);
}
.producto .thumb { aspect-ratio: 1/1; }
.producto .body { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.producto h3 { font-size: 1.1rem; margin-bottom: .25em; }
.producto .desc { color: var(--tinta-suave); font-size: .92rem; margin-bottom: 1em; flex: 1; }
.producto .precio { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; color: var(--borgona); margin-bottom: .9em; }
.producto .precio small { font-family: var(--sans); font-weight: 500; font-size: .78rem; color: var(--tinta-suave); display:block; }
.producto .btn-wa { align-self: flex-start; padding: 9px 16px; font-size: .88rem; }

/* Marcador de imagen (cuando la foto aún no existe) */
.thumb {
  position: relative; overflow: hidden; background: var(--rosa-claro);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.placeholder {
  display: flex; align-items: center; justify-content: center;
  background:
    linear-gradient(135deg, var(--rosa-claro) 0%, var(--salvia-claro) 100%);
}
.thumb.placeholder::before {
  content: "❀"; position: absolute; top: 12px; left: 14px;
  font-size: 1.4rem; color: rgba(122,46,58,.45); line-height: 1;
}
.thumb.placeholder::after {
  content: attr(data-label);
  font-family: var(--serif); font-style: italic; color: rgba(59,48,43,.6);
  font-size: .95rem; text-align: center; padding: 12px; line-height:1.3;
}
.thumb.placeholder .flor-ph { position:absolute; width:52px; height:52px; opacity:.5; top:14px; left:14px; }

/* ===================== TALLER (ficha) ===================== */
.taller {
  background: linear-gradient(135deg, var(--borgona) 0%, var(--terracota-osc) 100%);
  color: var(--crema); border-radius: var(--radio); overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; box-shadow: var(--sombra);
}
.taller .taller-media { min-height: 100%; }
.taller .taller-media .thumb { height: 100%; aspect-ratio: auto; }
.taller .taller-body { padding: 36px 34px; }
.taller h2, .taller h3 { color: var(--blanco); }
.taller .sub { color: var(--rosa-claro); font-weight: 500; margin-bottom: 1.2em; }
.taller ul { list-style: none; padding: 0; margin: 0 0 1.4em; }
.taller ul li { position: relative; padding-left: 28px; margin-bottom: .6em; color: #F6E7E0; }
.taller ul li::before { content: "❀"; position: absolute; left: 0; color: var(--rosa); }
.taller .fichas { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; margin-bottom: 1.6em; }
.taller .fichas dt { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--rosa); font-weight: 700; }
.taller .fichas dd { margin: 2px 0 0; font-size: .95rem; color: #F6E7E0; }
.taller .precio-taller { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; margin-bottom:.1em; }
.taller .precio-taller small { display:block; font-family: var(--sans); font-size:.8rem; font-weight:400; color: var(--rosa-claro); margin-top:4px; }
.taller .btn-wa { background: var(--blanco); color: var(--borgona); margin-top:16px; }
.taller .btn-wa:hover { background: var(--rosa-claro); color: var(--borgona); }
@media (max-width: 780px) {
  .taller { grid-template-columns: 1fr; }
  .taller .taller-media .thumb { aspect-ratio: 4/3; }
  .taller .taller-body { padding: 28px 24px; }
  .taller .fichas { grid-template-columns: 1fr; }
}

/* ===================== SOBRE NOSOTROS ===================== */
.nosotros-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: center; }
.nosotros-media { aspect-ratio: 4/5; border-radius: 20px; overflow: hidden; box-shadow: var(--sombra); }
.nosotros-media .thumb { height:100%; aspect-ratio:auto; }
@media (max-width: 780px) { .nosotros-grid { grid-template-columns: 1fr; gap: 26px; } .nosotros-media { max-width: 380px; margin: 0 auto; } }

.valores { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 22px; margin-top: 12px; }
.valor { background: var(--blanco); border:1px solid var(--crema-osc); border-radius: var(--radio); padding: 24px; box-shadow: var(--sombra-sm); }
.valor .ico { width:40px; height:40px; color: var(--terracota); margin-bottom: 12px; }
.valor h3 { font-size: 1.1rem; }
.valor p { color: var(--tinta-suave); font-size: .95rem; margin: 0; }

/* ===================== CONTACTO / FORMULARIO ===================== */
.contacto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
@media (max-width: 780px) { .contacto-grid { grid-template-columns: 1fr; gap: 30px; } }

.form-card { background: var(--blanco); border:1px solid var(--crema-osc); border-radius: var(--radio); padding: 28px 26px; box-shadow: var(--sombra-sm); }
.campo { margin-bottom: 16px; }
.campo label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.campo input, .campo select, .campo textarea {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--tinta);
  padding: 12px 14px; border: 1.5px solid var(--crema-osc); border-radius: var(--radio-sm);
  background: var(--crema); transition: border-color .15s ease;
}
.campo input:focus, .campo select:focus, .campo textarea:focus {
  outline: none; border-color: var(--terracota); background: #fff;
}
.campo textarea { resize: vertical; min-height: 96px; }
.form-card .btn-wa { width: 100%; justify-content: center; margin-top: 6px; }
.form-nota { font-size: .82rem; color: var(--tinta-suave); margin-top: 12px; text-align:center; }

.contacto-info { display: flex; flex-direction: column; gap: 18px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; background: var(--blanco); border:1px solid var(--crema-osc); border-radius: var(--radio); padding: 18px 20px; box-shadow: var(--sombra-sm); }
.info-item .ico { width: 26px; height: 26px; color: var(--terracota); flex: none; margin-top: 2px; }
.info-item h3 { font-size: 1rem; margin-bottom: 2px; }
.info-item p { margin: 0; color: var(--tinta-suave); font-size: .95rem; }
.info-item a { font-weight: 600; }

/* ===================== GALERÍA ===================== */
.galeria-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 14px; }
.galeria-grid .thumb { border-radius: var(--radio-sm); aspect-ratio: 1/1; }
.galeria-grid .thumb:nth-child(3n+1) { aspect-ratio: 3/4; }

/* ===================== CTA franja ===================== */
.cta {
  background: linear-gradient(135deg, var(--salvia) 0%, var(--salvia-claro) 120%);
  border-radius: var(--radio); padding: 44px 32px; text-align: center; box-shadow: var(--sombra-sm);
}
.cta h2 { color: var(--tinta); }
.cta p { color: var(--tinta); opacity:.85; max-width: 52ch; margin: 0 auto 1.4em; }

/* ===================== FOOTER ===================== */
.footer { background: var(--tinta); color: #E9DED6; padding: 48px 0 28px; margin-top: 20px; }
.footer a { color: var(--rosa-claro); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer h4 { font-family: var(--serif); font-size: 1.05rem; color: #fff; margin: 0 0 14px; }
.footer-logo { width: 168px; max-width: 60%; height: auto; margin: 0 0 14px; filter: brightness(0) invert(1); opacity: .95; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 8px; }
.footer ul a { color: #D9CBC1; text-decoration: none; font-size: .95rem; }
.footer ul a:hover { color: #fff; text-decoration: underline; }
.footer .marca-p { color: #C6B6AB; font-size: .95rem; max-width: 34ch; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; font-size: .85rem; color: #B4A599; display:flex; flex-wrap:wrap; gap:8px 18px; justify-content: space-between; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; gap: 26px; } }

/* ===================== BOTÓN WHATSAPP FLOTANTE ===================== */
.wa-flotante {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--whatsapp); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 22px rgba(18,140,126,.45);
  transition: transform .18s ease;
}
.wa-flotante:hover { transform: scale(1.08); text-decoration: none; }
.wa-flotante svg { width: 32px; height: 32px; }

/* ===================== UTILIDADES ===================== */
.mt-2 { margin-top: 2rem; }
.pill { display:inline-block; background: var(--crema-osc); color: var(--tinta-suave); font-size:.8rem; font-weight:600; padding:4px 12px; border-radius:999px; }
