/* =========================================================
   Brecia Merch · estilos
   Paleta tomada de PALETA BRECIA.jpg
   ========================================================= */

/* Tipografías alojadas en el propio sitio (licencia OFL, ver /fonts) */
@font-face { font-family: "Marcellus"; src: url("../fonts/marcellus-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken-grotesk-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken-grotesk-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken-grotesk-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  /* Colores de marca: se editan desde el panel "Colores" de la vista previa */
  --crema: #EEE9E3;        /* fondo general */
  --fondo-claro: #F7F4F0;  /* fondo de Quiénes somos y Productos */
  --arena: #CCC5B8;        /* fondo arena: inicio, estándar, cotizá */
  --arena-suave: #E0DAD0;  /* fondo detrás de las fotos */
  --piedra: #B9B2A6;       /* bordes del formulario y textos tenues */
  --carbon: #302D28;       /* oscuro: textos, botones, pie */
  --texto-2: #5C564D;      /* texto secundario */
  --texto-claro: #D9D2C7;  /* texto sobre fondo oscuro */
  --mostaza: #CCC5B8;      /* acento: botón principal, números */
  --campo: #FBF9F6;        /* fondo de los campos del formulario */
  --rosa: #C8A6A0;

  /* botones (por defecto toman los colores de arriba) */
  --boton-cotiza: #302D28;         /* "Pedí tu cotización" del inicio */
  --boton-cotiza-texto: #EEE9E3;
  --encabezado: #302D28;             /* barra de arriba (logo y menú) */
  --encabezado-texto: #EEE9E3;
  --boton-menu: #EEE9E3;            /* "Cotizá" del menú de arriba */
  --boton-menu-texto: #302D28;
  --boton-enviar: var(--carbon);          /* "Enviar pedido de cotización" del formulario */
  --boton-enviar-texto: var(--crema);

  /* derivados (se calculan solos) */
  --texto: var(--carbon);
  --mostaza-hover: color-mix(in srgb, var(--mostaza) 88%, #000);
  --carbon-hover: color-mix(in srgb, var(--carbon) 85%, #fff);
  --linea: color-mix(in srgb, var(--carbon) 16%, transparent);

  --serif: "Marcellus", "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 128px);
  --radius: 6px;

  /* líneas de capa, como las de una pieza impresa en 3D */
  --capas: repeating-linear-gradient(0deg, color-mix(in srgb, var(--carbon) 7%, transparent) 0 1px, transparent 1px 7px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--crema);
  color: var(--texto);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--carbon); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--carbon); color: var(--crema); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Botones y links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5em; padding: .95em 1.6em;
  border-radius: 999px; border: 1px solid transparent;
  font: 600 .98rem/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn--sm { padding: .7em 1.2em; font-size: .92rem; }
.btn--accent { background: var(--boton-cotiza); color: var(--boton-cotiza-texto); }
.btn--accent:hover { background: color-mix(in srgb, var(--boton-cotiza) 88%, #000); }
.btn--dark { background: var(--boton-enviar); color: var(--boton-enviar-texto); }
.btn--dark:hover { background: color-mix(in srgb, var(--boton-enviar) 85%, #fff); }
.nav .btn--dark { background: var(--boton-menu); color: var(--boton-menu-texto); }
.nav .btn--dark:hover { background: color-mix(in srgb, var(--boton-menu) 85%, #fff); }
.btn--ghost { border-color: var(--carbon); color: var(--carbon); background: transparent; }
.btn--ghost:hover { background: var(--carbon); color: var(--crema); }
.btn[disabled] { opacity: .6; cursor: progress; }

.link {
  font-weight: 600; text-decoration: underline; text-underline-offset: .25em;
  text-decoration-thickness: 1px;
}
.link:hover { text-decoration-thickness: 2px; }
.link--light { color: var(--crema); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 20;
  background: var(--encabezado);
  color: var(--encabezado-texto);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid color-mix(in srgb, var(--encabezado-texto) 16%, transparent);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
/* Wordmark tomado del logo: BRECIA espaciado y MERCH debajo */
.brand { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; line-height: 1; }
.brand__name { font-family: var(--serif); font-size: 1.3rem; letter-spacing: .42em; margin-right: -.42em; }
.brand__sub { font-family: var(--serif); font-size: .72rem; letter-spacing: .14em; margin-top: 5px; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); }
.nav a:not(.btn) { text-decoration: none; font-weight: 500; font-size: .98rem; }
.nav a:not(.btn):hover { text-decoration: underline; text-underline-offset: .3em; }

.nav-toggle { display: none; }

@media (max-width: 820px) {
  .nav-toggle {
    display: grid; place-items: center; width: 44px; height: 44px;
    background: none; border: 0; cursor: pointer; color: var(--encabezado-texto);
  }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
    content: ""; display: block; width: 22px; height: 1.5px; background: currentColor;
    position: relative; transition: transform .2s;
  }
  .nav-toggle__bars::before { position: absolute; top: -7px; }
  .nav-toggle__bars::after { position: absolute; top: 7px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

  .nav {
    position: absolute; left: 0; right: 0; top: 76px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--encabezado); border-bottom: 1px solid color-mix(in srgb, var(--encabezado-texto) 16%, transparent);
    padding: 8px var(--gutter) 20px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid color-mix(in srgb, var(--encabezado-texto) 16%, transparent); font-size: 1.05rem; }
  .nav .btn { margin-top: 16px; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 88px) 0 var(--section); }
.hero__inner {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center;
}
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); letter-spacing: -.01em; max-width: 13ch; }
.hero__lead { margin-top: 28px; font-size: 1.15rem; color: var(--texto-2); max-width: 46ch; }
.hero__actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__note { margin-top: 28px; font-size: .95rem; color: var(--texto-2); padding-left: 14px; border-left: 2px solid var(--mostaza); }

.hero__visual {
  position: relative; aspect-ratio: 1 / 1.02;
  background-color: var(--arena);
  border-radius: var(--radius);
  overflow: hidden;
}
.hero__ring {
  position: absolute; inset: 9%;
  border: 1.5px solid rgba(255, 255, 255, .85); border-radius: 50%;
}
.hero__visual img { position: absolute; filter: drop-shadow(0 18px 22px color-mix(in srgb, var(--carbon) 22%, transparent)); }
.hero__lamp { width: 46%; left: 27%; top: 3%; }
.hero__stand { width: 29%; left: 7%; bottom: 6%; }
.hero__org { width: 35%; right: 6%; bottom: 5%; }

/* Las piezas aparecen de abajo hacia arriba, como en la impresora */
@media (prefers-reduced-motion: no-preference) {
  .print { animation: imprimir 1.8s steps(28, end) both; }
  .print--1 { animation-delay: .15s; }
  .print--2 { animation-delay: .7s; }
  .print--3 { animation-delay: 1.25s; }
  @keyframes imprimir {
    /* el margen negativo deja lugar a la sombra, así no se corta en línea recta */
    from { clip-path: inset(100% -30% -30% -30%); }
    to { clip-path: inset(-30% -30% -30% -30%); }
  }
}

@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 520px; width: 100%; }
}

/* ---------- Secciones ---------- */
.section { padding: var(--section) 0; }
.section h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
.section__head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.section__head p { margin-top: 14px; color: var(--texto-2); font-size: 1.1rem; }

/* ---------- Quiénes somos ---------- */
.about { background: var(--fondo-claro); border-top: 1px solid var(--linea); }
.about__grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 80px);
  grid-template-areas: "intro photo" "facts photo";
}
/* sin foto: una sola columna, los puntos ocupan todo el ancho */
.about__grid:not(:has(.about__photo:not([hidden]))) { grid-template-columns: 1fr; grid-template-areas: "intro" "facts"; row-gap: clamp(36px, 5vw, 56px); }
.about__photo[hidden], .about__facts[hidden] { display: none; }
.about__grid > .steps { grid-column: 1 / -1; margin-top: 0; }
.about__grid:not(:has(.about__photo:not([hidden]))) .about__statement { max-width: none; }
.about__grid:not(:has(.about__photo:not([hidden]))) .about__intro > p:last-child { max-width: none; font-size: clamp(1.15rem, 1.6vw, 1.3rem); }
.about__intro { grid-area: intro; }
.about__intro > p:last-child { margin-top: 20px; color: var(--texto-2); max-width: 56ch; }
.about__statement {
  margin-top: 28px; font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.3;
  max-width: 26ch;
}
.about__photo { grid-area: photo; margin: 0; align-self: start; }
.about__photo img { border-radius: var(--radius); width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.about__facts {
  grid-area: facts; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  border-top: 1px solid var(--linea); padding-top: 28px; align-self: end;
}
.about__facts h3 { font-size: 1.2rem; }
.about__facts p { margin-top: 8px; font-size: .96rem; color: var(--texto-2); }

@media (max-width: 860px) {
  .about__grid { grid-template-columns: 1fr; grid-template-areas: "intro" "photo" "facts"; }
  .about__photo img { aspect-ratio: 4/3; }
  .about__facts { grid-template-columns: 1fr; gap: 20px; }
}

/* ---------- Servicios ---------- */
.services__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.service { padding: clamp(28px, 4vw, 48px); border-radius: var(--radius); display: flex; flex-direction: column; }
.service h3 { font-size: clamp(1.6rem, 2.4vw, 2rem); }
.service > p { margin-top: 14px; max-width: 46ch; }
.service--std { background-color: var(--arena); background-image: var(--capas); }
.service--custom { background: var(--carbon); color: var(--crema); }
.service--custom > p { color: var(--texto-claro); }
.service__list { margin: 28px 0 32px; }
.service__list li { padding: 11px 0; border-top: 1px solid color-mix(in srgb, var(--carbon) 20%, transparent); }
.service--custom .service__list li { border-color: color-mix(in srgb, var(--crema) 20%, transparent); }
.service .link { margin-top: auto; align-self: flex-start; }

.steps { margin-top: clamp(56px, 8vw, 96px); }
.steps__title { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 32px; }
.steps__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; counter-reset: paso; }
.steps__list li { counter-increment: paso; border-top: 1px solid var(--carbon); padding-top: 18px; }
.steps__list li::before {
  content: counter(paso); display: block; font-family: var(--serif); font-size: 3rem; line-height: 1;
  color: var(--mostaza); margin-bottom: 14px;
}
.steps__list h4 { font-size: clamp(1.3rem, 1.8vw, 1.55rem); }
.steps__list p { margin-top: 10px; font-size: 1.1rem; line-height: 1.55; color: var(--texto-2); }

@media (max-width: 900px) {
  .services__grid { grid-template-columns: 1fr; }
  .steps__list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .steps__list { grid-template-columns: 1fr; }
}

/* ---------- Productos ---------- */
.products { background: var(--fondo-claro); border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); }
.products__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.4vw, 32px) clamp(16px, 2vw, 24px); }
.product__img {
  aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--arena-suave);
  margin-bottom: 16px;
}
.product__img img { width: 100%; height: 100%; object-fit: cover; }
.product__img.is-cutout { background-color: var(--arena-suave); }
.product__img.is-cutout img { object-fit: contain; padding: 10%; filter: drop-shadow(0 10px 14px color-mix(in srgb, var(--carbon) 18%, transparent)); }
.product__line { font-size: .88rem; color: var(--texto-2); }
.product h3 { font-size: 1.35rem; margin-top: 4px; }
.product > p:not(.product__line):not(.product__size) { margin-top: 8px; font-size: .96rem; }
.product__size { margin-top: 10px; font-size: .88rem; color: var(--texto-2); }

.product--cta {
  background: var(--carbon); color: var(--crema); border-radius: var(--radius);
  padding: clamp(24px, 3vw, 32px); display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 100%;
  position: relative; overflow: hidden;
}
.product--cta::before {
  content: ""; position: absolute; width: 85%; aspect-ratio: 1; top: -18%; right: -22%;
  border: 1.5px solid color-mix(in srgb, var(--crema) 30%, transparent); border-radius: 50%;
}
.product--cta h3 { font-size: 1.6rem; margin: 0; }
.product--cta > p { margin-top: 10px; color: var(--texto-claro); font-size: .96rem; }
.product--cta .btn { margin-top: 24px; align-self: flex-start; }
/* el botón del catálogo va sobre fondo oscuro: usa el acento */
.product--cta .btn--accent { background: var(--mostaza); color: var(--carbon); }
.product--cta .btn--accent:hover { background: var(--mostaza-hover); }
.product--cta .product__size { color: var(--piedra); }

@media (max-width: 1000px) { .products__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .products__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) {
  .product h3 { font-size: 1.15rem; }
  .product > p:not(.product__line):not(.product__size) { font-size: .9rem; }
  .product--cta { grid-column: 1 / -1; min-height: 240px; }
}
@media (max-width: 340px) { .products__grid { grid-template-columns: 1fr; } }

/* ---------- Clientes ---------- */
.clients__grid { columns: 4 220px; column-gap: 16px; }
.clients__grid figure { margin: 0 0 16px; break-inside: avoid; }
.clients__grid img { border-radius: var(--radius); width: 100%; background: var(--arena-suave); }
.clients__grid figcaption { margin-top: 8px; font-size: .9rem; color: var(--texto-2); }
.clients__cta { margin-top: 40px; font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
.clients__cta .link { font-family: var(--sans); font-size: 1rem; margin-left: .4em; white-space: nowrap; }

@media (max-width: 520px) { .clients__grid { columns: 2; column-gap: 12px; } .clients__grid figure { margin-bottom: 12px; } }

/* ---------- Cinta de logos de clientes ---------- */
.clients__grid[hidden] { display: none; }
.logos {
  position: relative; overflow: hidden;
  padding: clamp(28px, 4vw, 44px) 0;
  border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.logos__track { display: flex; width: max-content; animation: logos-pasan 38s linear infinite; }
.logos:hover .logos__track { animation-play-state: paused; }
.logos__set { display: flex; align-items: center; gap: clamp(56px, 7vw, 104px); padding-right: clamp(56px, 7vw, 104px); }
.logos__set li { flex: none; }
.logos__set img { height: var(--h); width: auto; max-width: none; opacity: .82; transition: opacity .2s; }
.logos__set img:hover { opacity: 1; }
@keyframes logos-pasan { to { transform: translateX(-50%); } }
@media (max-width: 720px) {
  .logos__set img { height: calc(var(--h) * .72); }
  .logos__track { animation-duration: 28s; }
}
@media (prefers-reduced-motion: reduce) {
  .logos { -webkit-mask-image: none; mask-image: none; }
  .logos__track { animation: none; width: auto; }
  .logos__set { flex-wrap: wrap; justify-content: center; row-gap: 32px; padding-right: 0; }
  .logos__set[aria-hidden="true"] { display: none; }
}

/* ---------- Cotizá ---------- */
.quote { background-color: var(--arena); background-image: var(--capas); }
.quote__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.quote__info > p { margin-top: 16px; max-width: 40ch; font-size: 1.1rem; }
.contact { margin-top: 36px; }
.contact li { display: flex; flex-direction: column; padding: 14px 0; border-top: 1px solid color-mix(in srgb, var(--carbon) 22%, transparent); }
.contact__label { font-size: .85rem; color: var(--texto-2); }
.contact a { font-size: 1.15rem; font-weight: 500; text-decoration: none; }
.contact a:hover { text-decoration: underline; text-underline-offset: .25em; }

.form {
  background: var(--crema); border-radius: var(--radius); padding: clamp(22px, 4vw, 44px);
  display: grid; gap: 20px;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field label, .field legend { font-size: .93rem; font-weight: 500; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"],
.field input[type="number"], .field input[type="date"], .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--texto);
  background: var(--campo); border: 1px solid var(--piedra); border-radius: 4px;
  padding: 12px 14px; width: 100%; min-height: 48px;
}
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23302D28' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--carbon); outline-offset: 0; border-color: var(--carbon); }
.field input[type="file"] { font: inherit; font-size: .95rem; padding: 6px 0; color: var(--texto-2); }
.field input[type="file"]::file-selector-button {
  font: 500 .92rem var(--sans); color: var(--carbon); background: transparent;
  border: 1px solid var(--carbon); border-radius: 999px; padding: .6em 1.1em; margin-right: 12px; cursor: pointer;
}
.field input[type="file"]::file-selector-button:hover { background: var(--carbon); color: var(--crema); }
.field small { font-size: .85rem; color: var(--texto-2); }
/* Adjunto: botón propio en castellano (el nativo depende del idioma del navegador) */
.file { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; position: relative; }
.file__input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.file__btn {
  display: inline-flex; align-items: center; font: 500 .92rem/1 var(--sans) !important; color: var(--carbon);
  border: 1px solid var(--carbon); border-radius: 999px; padding: .7em 1.2em; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.file__btn:hover { background: var(--carbon); color: var(--crema); }
.file__input:focus-visible + .file__btn { outline: 2px solid var(--carbon); outline-offset: 3px; }
.file__name { font-size: .95rem; color: var(--texto-2); min-width: 0; overflow-wrap: anywhere; }
.field.is-invalid .file__btn { border-color: #A2453A; }
.field--radios { border: 0; padding: 0; margin: 0; flex-direction: row; flex-wrap: wrap; gap: 8px 18px; align-content: start; }
.field--radios legend { width: 100%; margin-bottom: 10px; padding: 0; }
.field--radios label { display: inline-flex; align-items: center; gap: 8px; font-weight: 400; min-height: 32px; cursor: pointer; }
.field--radios input { accent-color: var(--carbon); width: 18px; height: 18px; margin: 0; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #A2453A; }
.field__error { color: #8F3A30; font-size: .85rem; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__footer { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: 4px; }
.form__status { font-size: .96rem; max-width: 44ch; }
.form__status.is-ok { color: #2F5B3A; font-weight: 500; }
.form__status.is-error { color: #8F3A30; font-weight: 500; }

@media (max-width: 900px) { .quote__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--carbon); color: var(--crema); padding: 64px 0 28px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; align-items: start; }
.footer__brand img { width: 120px; height: 120px; }
.footer__brand p { margin-top: 16px; color: var(--texto-claro); max-width: 28ch; }
.footer__nav, .footer__contact { display: flex; flex-direction: column; gap: 10px; }
.footer a { text-decoration: none; color: var(--crema); }
.footer a:hover { text-decoration: underline; text-underline-offset: .25em; }
.footer__legal { margin-top: 48px; padding-top: 20px; border-top: 1px solid color-mix(in srgb, var(--crema) 16%, transparent); font-size: .88rem; color: var(--piedra); }

@media (max-width: 720px) { .footer__inner { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* ---------- Botones flotantes: WhatsApp e Instagram, uno al lado del otro ---------- */
.wa-float, .ig-float {
  position: fixed; bottom: 20px; z-index: 30;
  width: 50px; height: 50px; border-radius: 50%;
  box-shadow: 0 6px 18px rgba(48, 45, 40, .26);
  transition: transform .2s;
}
.wa-float { right: 20px; display: grid; place-items: center; background: #25D366; color: #fff; }
.wa-float svg { width: 25px; height: 25px; }
.ig-float { right: 80px; display: block; overflow: hidden; }
.ig-float img { width: 100%; height: 100%; display: block; }
.wa-float:hover, .ig-float:hover { transform: scale(1.08); }
@media (max-width: 520px) {
  .wa-float, .ig-float { bottom: 14px; width: 46px; height: 46px; }
  .wa-float { right: 14px; }
  .ig-float { right: 70px; }
  .footer__legal { padding-right: 0; padding-bottom: 56px; }
}
