/* Fuentes servidas desde la propia web (sin Google): una sola por familia, variable, solo latín */
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 100 1000; font-display: swap; src: url(public/fonts/dm-sans-latin-wght-normal.woff2) format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400 900; font-display: swap; src: url(public/fonts/playfair-display-latin-wght-normal.woff2) format("woff2"); }
    :root {
      --paper: #f5efe5;
      --paper-deep: #eee4d5;
      --ink: #35251f;
      --muted: #76665c;
      --clay: #b95b3f;
      --clay-dark: #91432f;
      --line: rgba(53, 37, 31, .16);
      --white: #fffdf8;
      --serif: "Playfair Display", Georgia, serif;
      --sans: "DM Sans", Arial, sans-serif;
      --wrap: 1200px;
    }
    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.55; }
    a { color: inherit; text-decoration: none; }
    button, input, select, textarea { font: inherit; }
    button, a { -webkit-tap-highlight-color: transparent; }
    .announcement { padding: 8px 20px; background: var(--ink); color: #fff8ed; text-align: center; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
    .site-header { position: sticky; top: 0; z-index: 20; background: rgba(245,239,229,.95); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
    .nav { width: min(var(--wrap), calc(100% - 48px)); min-height: 78px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
    .brand { display: flex; flex-direction: column; line-height: .94; color: var(--clay-dark); }
    .brand strong { font: 600 25px/1 var(--serif); letter-spacing: -.04em; }
    .brand span { margin-top: 6px; font-size: 8px; letter-spacing: .34em; text-align: center; }
    .nav-links { display: flex; align-items: center; gap: clamp(16px, 3vw, 38px); font-size: 12px; color: #59473d; }
    .nav-links .mobile-only { display: none; }
    .nav-actions { display: flex; align-items: center; gap: 10px; }
    .nav-links a:not(.button):hover, .text-link:hover { color: var(--clay); }
    .button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 46px; padding: 0 22px; border: 1px solid var(--clay); border-radius: 999px; background: var(--clay); color: white; font-size: 12px; font-weight: 600; transition: .2s ease; }
    .button:hover { transform: translateY(-2px); background: var(--clay-dark); border-color: var(--clay-dark); }
    .button.secondary { background: transparent; color: var(--ink); border-color: var(--line); }
    .button.secondary:hover { background: var(--white); border-color: var(--ink); }
    .menu-toggle { display: none; border: 0; background: transparent; color: var(--ink); font-size: 24px; }
    .wrap { width: min(var(--wrap), calc(100% - 48px)); margin-inline: auto; }
    .hero { position: relative; display: block; min-height: 660px; margin: 0; padding: 0; overflow: hidden; }
    .hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; width: min(var(--wrap), calc(100% - 48px)); min-height: 660px; margin: 0 auto; padding: 35px 0; }
    .eyebrow { display: flex; align-items: center; gap: 11px; color: var(--clay-dark); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .2em; }
    .eyebrow::before { content: ""; width: 30px; height: 1px; background: currentColor; }
    h1, h2, h3, p { margin-top: 0; }
    h1 { max-width: 760px; margin: 25px 0 20px; font: 500 clamp(42px, 5.5vw, 76px)/1.02 var(--serif); letter-spacing: -.045em; }
    h1 em { color: var(--clay); font-weight: 500; }
    .hero-copy p { max-width: 390px; margin-bottom: 29px; color: var(--muted); font-size: 15px; }
    .button-row { display: flex; flex-wrap: wrap; gap: 11px; }
    .hero-note { margin-top: 32px; color: var(--muted); font: italic 13px var(--serif); }
    .hero::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(245,239,229,.91) 0%, rgba(245,239,229,.78) 35%, rgba(245,239,229,.08) 68%, rgba(245,239,229,0) 100%); pointer-events: none; }
    .hero-visual { position: absolute; z-index: 0; inset: 0; overflow: hidden; background: var(--paper-deep); }
    .hero-visual img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: center 52%; }
    .image-caption { position: absolute; right: 18px; bottom: 18px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.48); background: rgba(255,253,248,.83); color: var(--muted); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
    .section { padding: 94px 0; }
    .section-heading { display: block; margin-bottom: 32px; }
    .section-heading h2, .story h2, .custom-copy h2, .workshop-copy h2 { margin: 13px 0 0; font: 500 clamp(32px, 4vw, 50px)/1.08 var(--serif); letter-spacing: -.035em; }
    .section-heading p { max-width: 470px; margin: 16px 0 0; color: var(--muted); font-size: 13px; }
    .text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--clay-dark); font-size: 12px; font-weight: 700; white-space: nowrap; }
    .product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
    .product-card { min-width: 0; }
    .product-photo { position: relative; height: 350px; overflow: hidden; background: var(--paper-deep); }
    .product-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
    .product-card:hover .product-photo img { transform: scale(1.04); }
    .product-photo.crop-one img, .product-photo.crop-two img, .product-photo.crop-three img { object-position: center; }
    .product-tag { position: absolute; left: 13px; top: 13px; padding: 7px 10px; background: var(--white); color: var(--clay-dark); font-size: 9px; letter-spacing: .09em; text-transform: uppercase; }
    .product-info { display: flex; justify-content: space-between; align-items: start; padding: 14px 1px 0; gap: 12px; }
    .product-info h3 { margin: 0 0 4px; font: 500 19px var(--serif); }
    .product-info p { margin: 0; color: var(--muted); font-size: 11px; }
    .product-info span { color: var(--clay-dark); font-size: 11px; white-space: nowrap; }
    .note { margin: 18px 0 0; color: var(--muted); font-size: 10px; }
    .soft-band { background: var(--paper-deep); }
    .custom { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(38px, 8vw, 110px); align-items: center; }
    .custom-art { min-height: 450px; position: relative; overflow: hidden; background: var(--ink); }
    .custom-art img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; opacity: .83; }
    .custom-art::after { content: "UNA IDEA · UNA PIEZA"; position: absolute; left: 18px; bottom: 18px; color: white; font-size: 9px; letter-spacing: .2em; }
    .custom-copy p, .story p, .workshop-copy p { max-width: 460px; margin: 20px 0 26px; color: var(--muted); font-size: 14px; }
    .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 28px 0 30px; }
    .step { border-top: 1px solid var(--line); padding-top: 12px; }
    .step b { display: block; margin-bottom: 5px; color: var(--clay-dark); font: 500 18px var(--serif); }
    .step span { color: var(--muted); font-size: 10px; }
    .story { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(36px, 8vw, 110px); }
    .story-mark { width: 100%; min-height: 340px; display: grid; place-items: center; background: #e8ddd0; color: var(--clay-dark); text-align: center; }
    .story-mark span { max-width: 260px; font: italic 36px/1.13 var(--serif); }
    .story-mark small { display: block; margin-top: 18px; font: 10px var(--sans); letter-spacing: .18em; text-transform: uppercase; }
    .workshop { display: grid; grid-template-columns: 1fr 1fr; min-height: 410px; background: var(--ink); color: var(--paper); }
    .workshop-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 58px clamp(28px, 7vw, 95px); }
    .workshop-copy .eyebrow { color: #e5a283; }
    .workshop-copy p { color: #d6c8b9; }
    .workshop-photo { position: relative; min-height: 410px; overflow: hidden; }
    .workshop-photo img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: 54% 46%; filter: saturate(.78); }
    .request-section { padding: 100px 0; }
    .contact-strip { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding: 30px 0; border-top: 1px solid var(--line); }
    .contact-strip h2 { margin: 7px 0 0; font: 500 clamp(25px, 3vw, 36px)/1.1 var(--serif); }
    .contact-strip p { max-width: 390px; margin: 0; color: var(--muted); font-size: 12px; }
    .request-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(32px, 7vw, 90px); align-items: start; }
    .request-aside h2 { margin: 12px 0 16px; font: 500 clamp(32px,4vw,48px)/1.06 var(--serif); letter-spacing: -.03em; }
    .request-aside p { color: var(--muted); font-size: 13px; }
    .request-form { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
    .field { display: flex; flex-direction: column; gap: 7px; }
    .field.full { grid-column: 1 / -1; }
    .field label { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
    .field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 0; background: rgba(255,253,248,.7); color: var(--ink); outline: none; }
    .field textarea { min-height: 105px; resize: vertical; }
    .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--clay); }
    .form-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
    .form-foot small { max-width: 330px; color: var(--muted); font-size: 10px; }
    .form-result { grid-column: 1 / -1; display: none; padding: 14px 16px; background: #e3ebdf; color: #344b34; font-size: 12px; }
    .form-result.show { display: block; }
    .footer { padding: 42px 0 24px; background: #e9dfd2; }
    .footer-top { display: flex; justify-content: space-between; align-items: start; gap: 30px; padding-bottom: 32px; }
    .footer p { max-width: 280px; margin: 14px 0 0; color: var(--muted); font-size: 12px; }
    .footer-links { display: flex; flex-wrap: wrap; gap: 20px; color: var(--muted); font-size: 11px; }
    .footer-bottom { display: flex; justify-content: space-between; gap: 18px; padding-top: 15px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; }
    .floating-note { position: fixed; z-index: 30; right: 17px; bottom: 16px; padding: 10px 13px; background: var(--ink); color: #fff7eb; box-shadow: 0 5px 20px rgba(0,0,0,.12); font-size: 9px; letter-spacing: .03em; }
    .nav-links a[aria-current="page"] { color: var(--clay-dark); font-weight: 700; }
    .page-hero { padding: 76px 0 70px; background: var(--paper-deep); border-bottom: 1px solid var(--line); }
    .page-hero h1 { max-width: 820px; margin: 16px 0 18px; font-size: clamp(42px, 6vw, 72px); }
    .page-hero p { max-width: 650px; margin: 0; color: var(--muted); font-size: 15px; }
    .page-body { padding: 72px 0 100px; }
    .page-body h2 { margin: 0 0 14px; font: 500 clamp(28px, 3.5vw, 42px)/1.1 var(--serif); letter-spacing: -.03em; }
    .page-body p { color: var(--muted); font-size: 14px; }
    .page-lead { max-width: 720px; margin-bottom: 42px; }
    .catalog-grid { grid-template-columns: repeat(3, 1fr); }
    .catalog-grid .product-photo { height: 360px; }
    .available-grid .product-photo { display: grid; place-items: center; background: radial-gradient(ellipse at 50% 38%, #fffaf1 0%, #f3e9dd 67%, #e8ddce 100%); }
    .available-grid .product-photo img { object-fit: contain; padding: 15px; filter: drop-shadow(0 13px 12px rgba(53, 40, 26, .20)); }
    .catalog-grid .product-card:last-child { display: block; }
    .page-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 54px; padding: 28px 0; border-top: 1px solid var(--line); }
    .page-cta p { max-width: 520px; margin: 0; }
    .editorial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 7vw, 84px); align-items: center; }
    .editorial-image { min-height: 430px; position: relative; overflow: hidden; background: var(--paper-deep); }
    .editorial-image img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
    .info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 35px 0; }
    .info-card { min-height: 150px; padding: 22px; background: var(--white); border: 1px solid var(--line); }
    .info-card b { display: block; margin-bottom: 8px; color: var(--clay-dark); font: 500 21px var(--serif); }
    .info-card p { margin: 0; font-size: 12px; }
    .contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
    .contact-card { min-height: 210px; padding: 26px; background: var(--white); border: 1px solid var(--line); }
    .contact-card .eyebrow { margin-bottom: 15px; }
    .contact-card h2 { font-size: 26px; }
    .contact-card p { font-size: 12px; }
    .faq-list { border-top: 1px solid var(--line); }
    .faq-list details { padding: 18px 0; border-bottom: 1px solid var(--line); }
    .faq-list summary { cursor: pointer; font: 500 19px var(--serif); }
    .faq-list p { max-width: 720px; margin: 12px 0 0; }
    .page-hero--split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; padding: 0; min-height: 520px; background: var(--paper-deep); }
    .page-hero--split .page-hero-copy { width: min(600px, calc(100% - 48px)); margin: auto; padding: 64px 0; }
    .page-hero--split .page-hero-image { min-height: 520px; position: relative; overflow: hidden; }
    .page-hero--split .page-hero-image img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
    .catalog-nav { display: flex; gap: 10px; flex-wrap: wrap; margin: 24px 0 56px; }
    .catalog-nav a { padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 11px; }
    .catalog-nav a:hover { color: var(--clay-dark); background: var(--white); }
    .catalog-block { margin: 48px 0 70px; }
    .catalog-block-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 24px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
    .catalog-block-heading p { max-width: 430px; margin: 0; text-align: right; font-size: 12px; }
    .product-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
    .available-wall { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; max-width: 820px; }
    .custom-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 940px; }
    .product-wall .product-photo { height: 300px; }
    .product-wall .product-info { display: block; }
    .product-wall .product-info span { display: inline-block; margin-top: 8px; }
    .product-wall .product-card:nth-child(2) { margin-top: 38px; }
    .product-wall .product-card:nth-child(4) { margin-top: 38px; }
    .catalog-note { display: flex; justify-content: space-between; gap: 20px; padding: 17px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11px; }
    .story-cards { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; }
    .story-card { min-height: 260px; padding: 28px; background: var(--white); border: 1px solid var(--line); }
    .story-card:nth-child(3n+1) { background: var(--paper-deep); }
    .story-card .eyebrow { margin-bottom: 16px; }
    .story-card h3 { margin-bottom: 12px; font: 500 25px/1.12 var(--serif); }
    .story-card p { font-size: 12px; }
    .timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 40px 0; }
    .timeline-item { padding-top: 17px; border-top: 1px solid var(--clay); }
    .timeline-item b { display: block; margin-bottom: 10px; color: var(--clay-dark); font: 500 22px var(--serif); }
    .timeline-item p { margin: 0; font-size: 12px; }
    .dark-callout { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-top: 60px; padding: 36px; background: var(--ink); color: var(--paper); }
    .dark-callout h2 { max-width: 560px; margin: 0; font-size: clamp(26px, 3.2vw, 38px); }
    .dark-callout p { max-width: 460px; margin: 12px 0 0; color: #d6c8b9; font-size: 12px; }
    .workshop-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; }
    .workshop-facts h2 { margin-bottom: 18px; }
    .workshop-checklist { margin: 0; padding: 0; list-style: none; }
    .workshop-checklist li { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; }
    .workshop-checklist b { color: var(--ink); }
    .contact-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 26px; align-items: start; }
    .contact-primary { padding: 34px; background: var(--white); border: 1px solid var(--line); }
    .contact-primary h2 { margin: 12px 0; }
    .contact-secondary { display: grid; gap: 16px; }
    .contact-secondary .contact-card { min-height: auto; }
    .request-progress { display: flex; gap: 14px; margin: 26px 0 0; color: var(--muted); font-size: 10px; }
    .request-progress span { padding: 8px 10px; border: 1px solid var(--line); }
    .catalog-count { color: var(--muted); font-size: 11px; }
    .reference-tools { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; margin: 24px 0 18px; }
    .catalog-search { width: 100%; min-height: 48px; padding: 0 15px; border: 1px solid var(--line); background: var(--white); color: var(--ink); }
    .catalog-search:focus { outline: 1px solid var(--clay); border-color: var(--clay); }
    .reference-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; }
    .reference-filters button { padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; font-size: 10px; }
    .reference-filters button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--paper); }
    .reference-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
    .reference-card { min-width: 0; background: var(--white); }
    .reference-image { height: 260px; display: grid; place-items: center; overflow: hidden; padding: 15px; background: radial-gradient(ellipse at 50% 38%, #fffaf1 0%, #f3e9dd 67%, #e8ddce 100%); }
    .reference-image img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 13px 12px rgba(53, 40, 26, .20)); }
    .reference-card[data-source="studio"] .reference-image { padding: 0; background: #f7eddf; }
    .reference-card[data-source="studio"] .reference-image img { object-fit: cover; filter: none; }
    .reference-card[data-source="original"] .reference-image { padding: 0; background: #eee4d5; }
    .reference-card[data-source="original"] .reference-image img { object-fit: cover; mix-blend-mode: normal; }
    /* Give ritual cutouts one warm backdrop and soften cooler baked photos. */
    .reference-card[data-category="rituales"] .reference-image { background: radial-gradient(ellipse at 50% 38%, #fbe8d8 0%, #f4dfce 70%, #ecd3c0 100%); }
    .reference-card[data-category="rituales"][data-source="studio"] .reference-image img,
    .reference-card[data-category="rituales"][data-source="original"] .reference-image img { filter: sepia(.16) saturate(1.04); }
    .reference-card[data-category="casa"] .reference-image { background: radial-gradient(ellipse at 50% 38%, #fbe8d8 0%, #f4dfce 70%, #ecd3c0 100%); }
    .reference-card[data-category="casa"][data-source="studio"] .reference-image img,
    .reference-card[data-category="casa"][data-source="original"] .reference-image img { filter: sepia(.16) saturate(1.04); }
    .reference-card[data-id="cenicero-l"] .reference-image img { object-position: center 100%; }
    .reference-info { padding: 14px 15px 16px; }
    .reference-info small { display: block; margin-bottom: 7px; color: var(--clay-dark); font-size: 9px; letter-spacing: .09em; text-transform: uppercase; }
    .reference-info h3 { min-height: 42px; margin: 0 0 8px; font: 500 17px/1.2 var(--serif); }
    .reference-info p { margin: 0 0 10px; color: var(--muted); font-size: 10px; }
    .reference-info a { color: var(--clay-dark); font-size: 10px; font-weight: 700; }
    .catalog-load { display: flex; justify-content: center; padding: 34px 0 8px; }
    .catalog-empty { display: none; padding: 36px 0; color: var(--muted); font-size: 13px; }
    @media (max-width: 850px) {
      .nav { width: min(var(--wrap), calc(100% - 34px)); min-height: 68px; }
      .menu-toggle { display: block; order: 3; }
      .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 18px 24px 22px; background: var(--paper); border-bottom: 1px solid var(--line); }
      .nav-links.open { display: flex; }
      .nav-links a { padding: 7px 0; }
      .nav-links .mobile-only { display: block; }
      .nav-actions { margin-left: auto; }
      .nav-actions .contactar { display: none; }
      .nav-actions .button { min-height: 40px; padding: 0 16px; }
      .wrap { width: min(var(--wrap), calc(100% - 34px)); }
      .hero { min-height: 620px; }
      .hero-copy { width: min(var(--wrap), calc(100% - 34px)); min-height: 620px; padding: 30px 0; }
      .hero-visual { min-height: 0; }
      .product-grid { gap: 14px; }
      .product-photo { height: 290px; }
      .custom, .story, .request-layout { gap: 36px; }
      .workshop-copy { padding: 42px 32px; }
    }
    @media (max-width: 600px) {
      .announcement { font-size: 9px; }
      .brand strong { font-size: 22px; }
      h1 { max-width: 100%; font-size: clamp(34px, 9.5vw, 52px); }
      .hero { min-height: 680px; }
      .hero::before { background: linear-gradient(180deg, rgba(245,239,229,.95) 0%, rgba(245,239,229,.82) 40%, rgba(245,239,229,.08) 82%, rgba(245,239,229,0) 100%); }
      .hero-copy { min-height: 680px; justify-content: flex-start; padding-top: 58px; }
      .hero-visual img { object-position: 70% center; }
      .section { padding: 66px 0; }
      .product-grid { grid-template-columns: 1fr 1fr; }
      .product-card:last-child { display: none; }
      .catalog-grid .product-card:last-child { display: block; }
      .custom-catalog-grid .product-card:last-child { display: block; }
      .product-photo { height: 235px; }
      .catalog-grid .product-photo { height: 245px; }
      .product-info { display: block; }
      .product-info span { display: inline-block; margin-top: 7px; }
      .custom, .story, .workshop, .request-layout { grid-template-columns: 1fr; }
      .custom-art { min-height: 330px; }
      .steps { gap: 10px; }
      .step span { font-size: 9px; }
      .story-mark { min-height: 250px; }
      .workshop-photo { min-height: 300px; order: -1; }
      .request-section { padding: 68px 0; }
      .contact-strip { align-items: flex-start; flex-direction: column; }
      .request-form { grid-template-columns: 1fr; }
      .field.full, .form-foot, .form-result { grid-column: 1; }
      .form-foot { align-items: flex-start; flex-direction: column; }
      .footer-top, .footer-bottom { flex-direction: column; }
      .page-hero { padding: 56px 0 48px; }
      .page-body { padding: 54px 0 72px; }
      .catalog-grid, .contact-cards, .info-cards { grid-template-columns: 1fr 1fr; }
      .catalog-grid .product-photo { height: 220px; }
      .editorial-grid { grid-template-columns: 1fr; }
      .editorial-image { min-height: 320px; }
      .page-cta { align-items: flex-start; flex-direction: column; }
      .page-hero--split { grid-template-columns: 1fr; }
      .page-hero--split .page-hero-copy { padding: 54px 0; }
      .page-hero--split .page-hero-image { min-height: 340px; }
      .product-wall { grid-template-columns: 1fr 1fr; }
      .available-wall, .custom-catalog-grid { grid-template-columns: 1fr 1fr; }
      .product-wall .product-photo { height: 220px; }
      .product-wall .product-card:nth-child(2), .product-wall .product-card:nth-child(4) { margin-top: 0; }
      .story-cards, .timeline, .workshop-facts, .contact-layout { grid-template-columns: 1fr; }
      .story-cards { grid-template-columns: 1fr; }
      .story-card { min-height: 0; }
      .reference-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .reference-image { height: 205px; padding: 9px; }
      .reference-info { padding: 11px; }
      .reference-info h3 { font-size: 15px; }
      .reference-tools { grid-template-columns: 1fr; gap: 8px; }
      .dark-callout, .catalog-block-heading, .catalog-note { align-items: flex-start; flex-direction: column; }
      .catalog-block-heading p { text-align: left; }
      .floating-note { right: 8px; bottom: 8px; font-size: 8px; }
    }

/* Pantallas grandes (como Sam): la web se ensancha y ocupa la pantalla, con un margen proporcional */
@media (min-width: 1400px) {
  :root { --wrap: min(1760px, calc(100vw - clamp(96px, 8vw, 200px))); }
  body { font-size: 17px; }
  .product-photo { height: clamp(350px, 24vw, 480px); }
  .custom-art, .workshop-photo { min-height: 540px; }
  .workshop { min-height: 540px; }
  .reference-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .reference-image { height: 300px; }
}
/* Menú: logo a la izquierda; a la derecha los enlaces y los dos botones */
.nav { position: relative; min-height: 88px; }
.brand strong { font-size: 29px; }
.brand span { font-size: 9px; }
.nav-links { margin-left: auto; gap: clamp(22px, 2.4vw, 40px); font: 500 14px/1 var(--sans); color: var(--ink); letter-spacing: .02em; }
.nav-actions { margin-left: clamp(18px, 2vw, 32px); }
.nav-links a:not(.button) { position: relative; padding: 6px 0; }
.nav-links a:not(.button)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--clay); transform: scaleX(0); transition: transform .25s ease; }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--clay-dark); }
.nav-actions .button { min-height: 48px; padding: 0 24px; font-size: 13px; }
@media (min-width: 1400px) {
  .nav { min-height: 98px; }
  .brand strong { font-size: 34px; }
  .brand span { font-size: 10px; }
  .nav-links { font-size: 15px; }
  .nav-actions .button { min-height: 52px; padding: 0 28px; font-size: 14px; }
}
@media (max-width: 850px) {
  .nav { min-height: 68px; }
  .brand strong { font-size: 22px; }
  .brand span { font-size: 8px; }
  .nav-links { margin-left: 0; gap: 10px; font-size: 16px; }
  .nav-actions { margin-left: auto; }
  .nav-links a:not(.button)::after { display: none; }
  .nav-actions .button { min-height: 40px; padding: 0 16px; font-size: 12px; }
}
/* Animaciones suaves de la portada: solo CSS y unas líneas de site.js (~3 KB, sin fotos ni librerías).
   Si el móvil pide «reducir movimiento» todo se queda quieto; si el JS falla, nada se queda escondido. */
.subrayado { position: relative; display: inline-block; }
.trazo { position: absolute; left: 0; bottom: -.1em; width: 100%; height: .26em; overflow: visible; }
.trazo path { fill: none; stroke: var(--clay); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; opacity: .75; }
.franja { overflow: hidden; padding: 22px 0; border-block: 1px solid var(--line); }
.franja-texto { display: flex; width: max-content; }
.franja span { padding-right: .35em; color: var(--clay-dark); font: italic 400 clamp(26px, 3.6vw, 52px)/1.1 var(--serif); letter-spacing: -.02em; white-space: nowrap; }
.product-card a { display: block; transition: transform .4s ease; }
.product-card:hover a { transform: translateY(-6px); }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: arca-subir .9s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-copy > :nth-child(2) { animation-delay: .12s; }
  .hero-copy > :nth-child(3) { animation-delay: .26s; }
  .hero-copy > :nth-child(4) { animation-delay: .4s; }
  .hero-copy > :nth-child(5) { animation-delay: .55s; }
  .trazo path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: arca-dibujar 1.3s .9s ease-out forwards; }
  .hero-visual img { transform-origin: 72% 60%; animation: arca-respirar 14s ease-in-out infinite alternate; }
  .workshop-photo img { animation: arca-respirar 20s ease-in-out infinite alternate; }
  .franja-texto { animation: arca-pasar 45s linear infinite; }
  .animar .aparecer { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--retraso, 0s); }
  .animar .aparecer.visto { opacity: 1; transform: none; }
}
@keyframes arca-subir { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes arca-dibujar { to { stroke-dashoffset: 0; } }
@keyframes arca-respirar { from { transform: scale(1); } to { transform: scale(1.05) translateY(-6px); } }
@keyframes arca-pasar { to { transform: translateX(-50%); } }
/* Franja: entre palabra y palabra, un jarroncito color barro en lugar del asterisco */
.franja .sep, .nos-etapas .sep, .announcement .sep { display: inline-block; width: .48em; height: .66em; margin: 0 .34em; vertical-align: -.02em; background: var(--clay); opacity: .8;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 28'%3E%3Cpath d='M6 0h8v1.6h-1.2v1.6c0 1 1.3 1.9 2.8 3.4C18 9 19.4 11.8 19.4 15.2 19.4 22 15.2 27 10 27S.6 22 .6 15.2c0-3.4 1.4-6.2 3.8-8.6C5.9 5.1 7.2 4.2 7.2 3.2V1.6H6z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 28'%3E%3Cpath d='M6 0h8v1.6h-1.2v1.6c0 1 1.3 1.9 2.8 3.4C18 9 19.4 11.8 19.4 15.2 19.4 22 15.2 27 10 27S.6 22 .6 15.2c0-3.4 1.4-6.2 3.8-8.6C5.9 5.1 7.2 4.2 7.2 3.2V1.6H6z'/%3E%3C/svg%3E") center / contain no-repeat; }
/* Tarjetas de la portada: al pasar el ratón, otra pieza del mismo tipo (solo en ordenador, ver site.js) */
.product-photo .foto-2 { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease, transform .45s ease; }
.product-card:hover .product-photo .foto-2 { opacity: 1; transform: scale(1.04); }
.product-photo .product-tag { z-index: 2; }
/* Catálogo: cada foto en un cuadrado, entera y centrada (las fotos son cuadradas; los recortes vienen sin bordes vacíos) */
.reference-image, .reference-image img { height: auto; aspect-ratio: 1 / 1; }
.reference-image img { object-position: center; }
.reference-card[data-source="studio"] .reference-image img, .reference-card[data-source="original"] .reference-image img { object-fit: contain; }
@media (max-width: 850px) { .reference-image { padding: 9px; } .reference-card[data-source="studio"] .reference-image { padding: 0; } }

/* Nosotros: una sola columna centrada para leer de arriba abajo, sin cajas */
.nos-historia, .nos-cita, .nos-contacto { width: min(720px, calc(100% - 40px)); margin: 0 auto; text-align: center; }
.nos-historia .eyebrow, .nos-cita .eyebrow, .nos-contacto .eyebrow { justify-content: center; }
.nos-historia h2, .nos-cita h2, .nos-contacto h2 { margin: 14px 0 22px; font: 500 clamp(30px, 3.6vw, 46px)/1.1 var(--serif); }
.nos-historia p, .nos-cita p, .nos-contacto p { margin: 0 auto 16px; color: var(--muted); font-size: 17px; line-height: 1.75; }
.nos-historia { padding: clamp(64px, 8vw, 110px) 0 clamp(40px, 5vw, 64px); }
.nos-etapas { margin-top: 34px !important; color: var(--clay-dark) !important; font: italic 500 clamp(22px, 2.4vw, 30px)/1.3 var(--serif) !important; }
.nos-cita { width: 100%; max-width: none; padding: clamp(56px, 7vw, 96px) 20px; background: var(--paper-deep); }
.nos-cita > * { max-width: 720px; margin-left: auto; margin-right: auto; }
.nos-contacto { padding: clamp(64px, 8vw, 110px) 0; scroll-margin-top: 100px; }
.nos-contacto .button { margin-top: 10px; }
.nos-datos { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 48px; margin: 46px 0 0; padding: 26px 0 0; list-style: none; border-top: 1px solid var(--line); }
.nos-datos li { display: grid; gap: 6px; }
.nos-datos small { color: var(--clay-dark); font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.nos-datos span, .nos-datos a { color: var(--ink); font-size: 16px; text-decoration: none; }
.nos-datos a:hover { color: var(--clay-dark); }
@media (max-width: 850px) {
  .nos-historia p, .nos-cita p, .nos-contacto p { font-size: 16px; }
  .nos-datos { flex-direction: column; gap: 20px; }
}
/* Nosotros: el título de la franja, centrado como el resto */
.nos-cita h2 { margin-left: auto; margin-right: auto; }
/* Segunda foto al pasar el ratón también en la foto de encargos y en la de Nosotros (solo ordenador, ver site.js) */
.custom-art .foto-2, .page-hero-image .foto-2 { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease, transform .45s ease; }
.custom-art:hover .foto-2 { opacity: .83; transform: scale(1.03); }
/* Encargos: la foto es cuadrada, así que el marco también (entera, sin cortes) */
.custom-art { aspect-ratio: 1 / 1; min-height: 0 !important; width: min(100%, 640px); justify-self: center; }
/* Al pasar el ratón, la cafetera se esconde del todo para que no se vea a través del perrito */
.custom-art > img:first-child { transition: opacity .6s ease; }
.custom-art:hover:has(.foto-2) > img:first-child { opacity: 0; }
.page-hero-image:hover .foto-2 { opacity: 1; transform: scale(1.03); }
/* Efectos suaves en el resto de páginas (los mismos de la portada). Se apagan con «reducir movimiento». */
.chip span { transition: background-color .25s ease, border-color .25s ease, color .25s ease; }
.reference-card { transition: transform .4s ease, box-shadow .4s ease; }
.reference-image img { transition: transform .5s ease; }
@media (prefers-reduced-motion: no-preference) {
  /* Título de arriba: entra subiendo, una línea detrás de otra */
  .page-hero-copy > *, .page-hero > .wrap > * { animation: arca-subir .9s cubic-bezier(.2, .7, .2, 1) both; }
  .page-hero-copy > :nth-child(2), .page-hero > .wrap > :nth-child(2) { animation-delay: .12s; }
  .page-hero-copy > :nth-child(3), .page-hero > .wrap > :nth-child(3) { animation-delay: .24s; }
  .page-hero-copy > :nth-child(n+4), .page-hero > .wrap > :nth-child(n+4) { animation-delay: .36s; }
  /* Foto de arriba (Nosotros, Talleres): respira despacio */
  .page-hero-image > img:first-child { animation: arca-respirar 16s ease-in-out infinite alternate; }
  /* Piezas: tarjetas que se elevan y pieza que se acerca; las nuevas entran en cascada */
  .reference-card:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(53, 37, 31, .10); }
  .reference-card:hover .reference-image img { transform: scale(1.04); }
  .reference-card.nueva { animation: arca-subir .6s cubic-bezier(.2, .7, .2, 1) backwards; animation-delay: calc(var(--i, 0) * 45ms); }
  /* Calculadora: el precio da un saltito al cambiar */
  .presupuesto .cifra { transform-origin: left center; }
  .presupuesto .cifra.salto { animation: arca-salto .4s ease; }
}
@keyframes arca-salto { 40% { transform: scale(1.07); } }.nos-etapas > span { display: inline-block; }

/* ===== Móvil: todo centrado y más ordenado (la mayoría de la gente entra desde el móvil) ===== */
.announcement .sep { margin-left: .5em; background: #e5a283; }
@media (max-width: 600px) {
  /* Títulos pequeños («eyebrow») centrados, con una rayita a cada lado */
  :is(.hero-copy, .section-heading, .custom-copy, .workshop-copy, .story, .page-hero, .workshop-facts, .dark-callout, .nos-historia, .nos-cita, .nos-contacto) .eyebrow { justify-content: center; }
  :is(.hero-copy, .section-heading, .custom-copy, .workshop-copy, .story, .page-hero, .workshop-facts, .dark-callout, .nos-historia, .nos-cita, .nos-contacto) .eyebrow::after { content: ""; width: 30px; height: 1px; background: currentColor; }

  /* Portada: la foto de fondo y el texto centrado encima, sin hueco abajo */
  .hero, .hero-copy { min-height: 600px; }
  .hero-copy { justify-content: center; align-items: center; text-align: center; padding: 40px 0; }
  .hero::before { background: linear-gradient(180deg, rgba(245,239,229,.92) 0%, rgba(245,239,229,.8) 50%, rgba(245,239,229,.62) 100%); }
  .hero-visual img { object-position: 64% center; }
  .hero-copy p { margin-left: auto; margin-right: auto; }
  .hero-copy .button-row, .story .button-row, .dark-callout .button-row { justify-content: center; }
  .section-heading { text-align: center; }
  .section-heading p { margin-left: auto; margin-right: auto; }

  /* Portada: las tres piezas en un carrusel que se desliza con el dedo */
  .product-grid { display: flex; gap: 14px; margin: 0 -17px; padding: 0 17px 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .product-grid::-webkit-scrollbar { display: none; }
  .product-grid .product-card, .product-grid .product-card:last-child { display: block; flex: 0 0 80%; scroll-snap-align: center; }
  .product-photo { height: 320px; }
  .product-card a { display: flex; flex-direction: column; height: 100%; }
  .product-info { display: flex; flex: 1; flex-direction: column; align-items: center; text-align: center; }
  .product-info h3 { font-size: 21px; }
  .product-info p { font-size: 13px; }
  .product-info span { margin-top: auto; padding-top: 10px; font-size: 13px; }
  #piezas .note { margin-top: 26px; text-align: center; }
  #piezas .note a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-size: 14px; font-weight: 600; }

  /* Encargos (cafetera) */
  .custom-copy { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .custom-copy p { margin-left: auto; margin-right: auto; }
  .steps { grid-template-columns: 1fr; gap: 0; width: 100%; margin: 22px 0 28px; }
  .step { display: flex; justify-content: center; align-items: baseline; gap: 12px; padding: 12px 0; }
  .step b { margin: 0; font-size: 20px; }
  .step span { font-size: 14px; }

  /* Talleres (portada) y nuestra historia */
  .workshop-copy { align-items: center; text-align: center; }
  .workshop-copy p { margin-left: auto; margin-right: auto; }
  .story > div:last-child { text-align: center; }
  .story p { margin-left: auto; margin-right: auto; }

  /* Pie: logo junto y todo centrado */
  .footer-top, .footer-bottom { align-items: center; text-align: center; }
  .footer .brand { align-items: center; }
  .footer p { margin-left: auto; margin-right: auto; }
  .footer-links { justify-content: center; gap: 14px 20px; font-size: 13px; }

  /* Cabecera de Piezas y Encargar: centrada */
  .page-hero .wrap { text-align: center; }
  .page-hero p { margin-left: auto; margin-right: auto; }

  /* Talleres y Nosotros: la foto de fondo y el texto encima, centrado (como en la portada) */
  .page-hero--split { position: relative; display: block; min-height: 560px; overflow: hidden; }
  .page-hero--split .page-hero-image { position: absolute; inset: 0; min-height: 0; }
  .page-hero--split::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg, rgba(245,239,229,.9) 0%, rgba(245,239,229,.78) 55%, rgba(245,239,229,.6) 100%); pointer-events: none; }
  .page-hero--split .page-hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 560px; margin: 0 auto; padding: 48px 0; text-align: center; }

  /* Talleres: bloques centrados */
  .workshop-facts > div { text-align: center; }
  .workshop-checklist li { text-align: center; }
  .dark-callout { align-items: center; text-align: center; }
}@media (max-width: 600px) {
  .page-hero--split .page-hero-copy > p { margin-bottom: 20px; }
  .hero-visual img { object-position: 76% center; }
}

/* Piezas disponibles: etiqueta sobre la foto */
.reference-image { position: relative; }
.etiqueta-disponible { position: absolute; top: 10px; left: 10px; z-index: 2; padding: 5px 11px; border-radius: 999px; background: var(--clay-dark); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }

/* Portada: piezas disponibles, grandes como las de arriba, en carrusel */
.disponibles.section { padding-top: 0; }
.carrusel { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.carrusel::-webkit-scrollbar { display: none; }
.carrusel .product-card { flex: 0 0 calc((100% - 44px) / 3); scroll-snap-align: start; }
/* Flechas a los lados, un poco encima de la primera y la última foto, a media altura de la foto */
.carrusel-caja { position: relative; }
.carrusel-flechas button { position: absolute; top: var(--medio, 175px); z-index: 3; width: 46px; height: 46px; transform: translateY(-50%); border: 0; border-radius: 50%; background: var(--paper); color: var(--clay-dark); font-size: 18px; box-shadow: 0 4px 14px rgba(53, 40, 26, .18); cursor: pointer; transition: background .2s, color .2s; }
.carrusel-flechas button:first-child { left: -14px; }
.carrusel-flechas button:last-child { right: -14px; }
.carrusel-flechas button:hover { background: var(--clay-dark); color: #fff; }
@media (max-width: 600px) { .carrusel-flechas { display: none; } .carrusel { gap: 14px; } .carrusel .product-card { flex-basis: 80%; scroll-snap-align: center; } }
