/*
Theme Name: Muebles Gami Premium
Theme URI: https://mueblesdecocinagami.com/
Author: Rooftop360
Author URI: https://rooftop360.es/
Description: Edición Cocinas con alma. Diseño premium y cálido para Gami, con imágenes incluidas, textos editables y cocinas pensadas para crear hogar.
Version: 2.0.0
Requires at least: 6.2
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: muebles-gami-premium
Tags: custom-logo, custom-menu, featured-images, full-width-template, block-styles, wide-blocks, custom-colors
*/

:root {
  --ink: #191a17;
  --ink-soft: #272823;
  --paper: #f4f1e9;
  --paper-2: #ebe5d9;
  --white: #fffdf8;
  --olive: #a8ad78;
  --olive-deep: #68704b;
  --clay: #b86f4a;
  --line: rgba(25, 26, 23, 0.16);
  --line-light: rgba(255, 253, 248, 0.2);
  --shadow: 0 30px 90px rgba(19, 20, 17, 0.16);
  --radius: 1.4rem;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

img {
  display: block;
  width: 100%;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(1180px, calc(100% - 3rem));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  color: var(--white);
  border-bottom: 1px solid transparent;
  transition: background 220ms ease, border-color 220ms ease, color 220ms ease;
}

.site-header.scrolled {
  color: var(--ink);
  background: rgba(244, 241, 233, 0.94);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  flex: 0 0 auto;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.4rem;
  line-height: 1;
}

.brand-copy {
  display: grid;
  line-height: 1;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: 0.18em;
}

.brand-descriptor {
  margin-top: 0.35rem;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.72;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.9rem;
}

.main-nav > a:not(.nav-cta) {
  position: relative;
  padding-block: 0.5rem;
}

.main-nav > a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.main-nav > a:not(.nav-cta):hover::after,
.main-nav > a:not(.nav-cta):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta,
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.8rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 650;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.nav-cta {
  color: var(--ink);
  background: var(--white);
}

.scrolled .nav-cta,
.button-dark {
  color: var(--white);
  background: var(--ink);
}

.button-light {
  color: var(--ink);
  background: var(--white);
}

.button-outline-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.button-outline-dark {
  color: var(--ink);
  border-color: var(--line);
  background: transparent;
}

.button:hover,
.button:focus-visible,
.nav-cta:hover,
.nav-cta:focus-visible {
  transform: translateY(-2px);
}

.button svg,
.nav-cta svg {
  width: 17px;
  height: 17px;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  color: inherit;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
}

.hero {
  position: relative;
  display: grid;
  min-height: 760px;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: #22251f;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: slowZoom 16s ease-out both;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 14, 12, 0.8) 0%, rgba(13, 14, 12, 0.4) 48%, rgba(13, 14, 12, 0.14) 75%),
    linear-gradient(0deg, rgba(13, 14, 12, 0.66) 0%, transparent 48%);
  content: "";
}

@keyframes slowZoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.08); }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 4rem;
  align-items: end;
  padding-top: 10rem;
  padding-bottom: 4.5rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 1.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 36px;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0.65;
}

.hero h1,
.display-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.96;
}

.hero h1 {
  max-width: 800px;
  font-size: clamp(3.7rem, 7.3vw, 7.3rem);
}

.hero-copy {
  max-width: 650px;
  margin: 1.6rem 0 2rem;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.55;
  color: rgba(255, 253, 248, 0.84);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.heritage-card {
  padding: 1.6rem;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: rgba(24, 25, 22, 0.32);
  backdrop-filter: blur(16px);
}

.heritage-number {
  display: block;
  font-family: var(--serif);
  font-size: 4.4rem;
  line-height: 0.9;
}

.heritage-card p {
  margin: 0.9rem 0 0;
  color: rgba(255, 253, 248, 0.78);
}

.trust-strip {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 1.25rem 0;
  list-style: none;
}

.trust-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 34px;
  padding-inline: 1rem;
  border-right: 1px solid var(--line);
  font-size: 0.84rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

.trust-list li:last-child {
  border-right: 0;
}

.trust-list svg {
  width: 18px;
  height: 18px;
  color: var(--olive-deep);
}

.section {
  padding: clamp(5rem, 9vw, 9rem) 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(3rem, 8vw, 9rem);
  align-items: start;
}

.section-index {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-index span {
  color: var(--clay);
}

.display-title {
  max-width: 880px;
  font-size: clamp(3rem, 5.8vw, 6rem);
}

.intro-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.intro-text p {
  margin: 0;
  color: rgba(25, 26, 23, 0.72);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.4rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid currentColor;
  font-weight: 700;
}

.text-link svg {
  width: 18px;
  height: 18px;
}

.styles-section {
  color: var(--white);
  background: var(--ink);
}

.styles-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}

.styles-header .display-title {
  max-width: 700px;
}

.styles-header p {
  max-width: 330px;
  margin: 0;
  color: rgba(255, 253, 248, 0.65);
}

.style-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 1rem;
}

.style-card {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink-soft);
}

.style-card.secondary {
  min-height: 620px;
}

.style-card img {
  height: 100%;
  object-fit: cover;
  transition: transform 650ms cubic-bezier(.2,.75,.2,1);
}

.style-card:hover img {
  transform: scale(1.035);
}

.style-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(16, 17, 14, 0.78), transparent 48%);
  content: "";
}

.style-card-content {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem;
}

.style-label {
  margin: 0 0 0.45rem;
  font-size: 0.74rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.7;
}

.style-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1;
}

.round-arrow {
  display: grid;
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 50%;
}

.round-arrow svg {
  width: 19px;
  height: 19px;
}

.process-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.process-intro {
  position: sticky;
  top: 130px;
}

.process-intro p {
  max-width: 430px;
  margin: 1.5rem 0 0;
  color: rgba(25, 26, 23, 0.68);
}

.steps {
  border-top: 1px solid var(--line);
}

.step {
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 1.3rem;
  padding: 2.2rem 0;
  border-bottom: 1px solid var(--line);
}

.step-number {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--clay);
  font-size: 0.8rem;
  font-weight: 700;
}

.step h3 {
  margin: 0 0 0.55rem;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.1;
}

.step p {
  max-width: 570px;
  margin: 0;
  color: rgba(25, 26, 23, 0.66);
}

.craft-section {
  padding: 0;
  color: var(--white);
  background: var(--olive-deep);
}

.craft-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 700px;
}

.craft-image {
  min-height: 560px;
  overflow: hidden;
}

.craft-image img {
  height: 100%;
  object-fit: cover;
}

.craft-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 7vw, 7.5rem);
}

.craft-copy .display-title {
  font-size: clamp(3rem, 5vw, 5.5rem);
}

.craft-copy > p {
  max-width: 520px;
  margin: 1.6rem 0 0;
  color: rgba(255, 253, 248, 0.75);
}

.craft-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem;
  margin-top: 2.4rem;
}

.craft-point {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 0.9rem;
}

.lead-section {
  background: var(--paper-2);
}

.lead-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.lead-copy {
  position: sticky;
  top: 125px;
}

.lead-copy p {
  max-width: 480px;
  margin: 1.5rem 0 0;
  color: rgba(25, 26, 23, 0.68);
}

.lead-card {
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-progress {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.2rem;
  color: rgba(25, 26, 23, 0.55);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form-progress::after {
  height: 1px;
  flex: 1;
  background: var(--line);
  content: "";
}

.field-group {
  margin-bottom: 2rem;
}

.field-label,
.field-group legend {
  display: block;
  margin: 0 0 0.9rem;
  padding: 0;
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.25;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

.choice {
  position: relative;
}

.choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice label {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease;
}

.choice label::after {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  border: 1px solid rgba(25, 26, 23, 0.4);
  border-radius: 50%;
  content: "";
}

.choice input:checked + label {
  border-color: var(--olive-deep);
  background: rgba(168, 173, 120, 0.14);
}

.choice input:checked + label::after {
  border: 4px solid var(--olive-deep);
}

.choice input:focus-visible + label {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.input-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.input-wrap label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.input-wrap input,
.input-wrap textarea {
  width: 100%;
  min-height: 54px;
  padding: 0.8rem 0.95rem;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  outline: none;
  background: #fff;
}

.input-wrap textarea {
  min-height: 100px;
  resize: vertical;
}

.input-wrap input:focus,
.input-wrap textarea:focus {
  border-color: var(--olive-deep);
  box-shadow: 0 0 0 3px rgba(104, 112, 75, 0.14);
}

.full-width {
  grid-column: 1 / -1;
}

.submit-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.4rem;
}

.submit-row .button {
  flex: 0 0 auto;
}

.privacy-note {
  margin: 0;
  color: rgba(25, 26, 23, 0.55);
  font-size: 0.78rem;
  line-height: 1.45;
}

.contact-section {
  padding: 0;
  color: var(--white);
  background: var(--ink);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 620px;
}

.contact-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 8vw, 8rem) max(1.5rem, calc((100vw - 1180px) / 2));
  padding-right: clamp(3rem, 8vw, 8rem);
}

.contact-copy .display-title {
  font-size: clamp(3rem, 5vw, 5.6rem);
}

.contact-details {
  display: grid;
  gap: 1.25rem;
  margin: 2.4rem 0;
  padding: 2rem 0;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.contact-item {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 0.85rem;
  color: rgba(255, 253, 248, 0.75);
}

.contact-item svg {
  width: 19px;
  height: 19px;
  margin-top: 0.18rem;
  color: var(--olive);
}

.contact-item strong {
  display: block;
  color: var(--white);
}

.map-card {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    #24251f;
  background-size: 42px 42px;
}

.map-card::before,
.map-card::after {
  position: absolute;
  width: 150%;
  height: 26px;
  border: 1px solid rgba(168, 173, 120, 0.32);
  border-radius: 50%;
  content: "";
  transform: rotate(-32deg);
}

.map-card::before {
  top: 27%;
  left: -29%;
}

.map-card::after {
  right: -31%;
  bottom: 22%;
  transform: rotate(29deg);
}

.map-pin {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50% 50% 50% 0;
  background: var(--clay);
  box-shadow: 0 24px 60px rgba(0,0,0,.3);
  transform: translate(-50%, -58%) rotate(-45deg);
}

.map-pin span {
  font-family: var(--serif);
  font-size: 2rem;
  transform: rotate(45deg);
}

.map-label {
  position: absolute;
  z-index: 3;
  top: calc(50% + 54px);
  left: 50%;
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  background: rgba(25,26,23,.8);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  transform: translateX(-50%);
  backdrop-filter: blur(10px);
}

.site-footer {
  color: rgba(255, 253, 248, 0.68);
  background: #11120f;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
  padding: 3rem 0;
}

.footer-grid .brand {
  color: var(--white);
}

.footer-note {
  margin: 1.3rem 0 0;
  font-size: 0.8rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.82rem;
}

.whatsapp-fab {
  position: fixed;
  z-index: 40;
  right: 1.2rem;
  bottom: 1.2rem;
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  color: #fff;
  border-radius: 999px;
  background: #217a4b;
  box-shadow: 0 12px 35px rgba(0,0,0,.23);
  font-size: 0.86rem;
  font-weight: 700;
  transition: transform 180ms ease;
}

.whatsapp-fab:hover,
.whatsapp-fab:focus-visible {
  transform: translateY(-3px);
}

.whatsapp-fab svg {
  width: 20px;
  height: 20px;
}

.reveal.will-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.7,.2,1);
}

.reveal.will-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .container {
    width: min(100% - 2rem, 760px);
  }

  .site-header {
    background: rgba(20, 21, 18, 0.25);
    backdrop-filter: blur(10px);
  }

  .site-header.scrolled {
    background: rgba(244, 241, 233, 0.96);
  }

  .nav-shell {
    min-height: 72px;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .main-nav {
    position: fixed;
    inset: 72px 0 auto;
    display: none;
    padding: 1.5rem 1rem 2rem;
    color: var(--ink);
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 60px rgba(0,0,0,.12);
  }

  .main-nav.open {
    display: grid;
    gap: 0.4rem;
  }

  .main-nav > a:not(.nav-cta) {
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid var(--line);
  }

  .main-nav .nav-cta {
    margin-top: 0.75rem;
    color: var(--white);
    background: var(--ink);
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
  }

  .hero h1 {
    font-size: clamp(3.3rem, 13vw, 5.6rem);
  }

  .heritage-card {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.2rem;
  }

  .heritage-number {
    font-size: 3.3rem;
  }

  .heritage-card p {
    margin: 0;
  }

  .trust-list {
    grid-template-columns: 1fr 1fr;
  }

  .trust-list li:nth-child(2) {
    border-right: 0;
  }

  .trust-list li:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .intro-grid,
  .process-grid,
  .lead-grid {
    grid-template-columns: 1fr;
  }

  .process-intro,
  .lead-copy {
    position: static;
  }

  .style-grid {
    grid-template-columns: 1fr;
  }

  .style-card,
  .style-card.secondary {
    min-height: 510px;
  }

  .craft-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .craft-copy {
    order: -1;
  }

  .contact-copy {
    padding: 5rem max(1rem, calc((100vw - 760px) / 2));
  }

  .map-card {
    min-height: 440px;
  }
}

@media (max-width: 620px) {
  .container {
    width: calc(100% - 1.4rem);
  }

  .brand-descriptor {
    display: none;
  }

  .brand-name {
    font-size: 1.15rem;
  }

  .hero {
    min-height: 720px;
  }

  .hero-content {
    padding-top: 8.5rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions .button {
    width: 100%;
  }

  .trust-list {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .trust-list li {
    justify-content: flex-start;
    padding: 0.9rem 0.6rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-list li:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 4.5rem 0;
  }

  .display-title {
    font-size: clamp(2.7rem, 13vw, 4.2rem);
  }

  .intro-text {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .styles-header {
    display: block;
  }

  .styles-header p {
    margin-top: 1.3rem;
  }

  .style-card,
  .style-card.secondary {
    min-height: 430px;
  }

  .style-card-content {
    padding: 1.3rem;
  }

  .craft-image {
    min-height: 430px;
  }

  .craft-copy {
    padding: 4.5rem 1rem;
  }

  .craft-points,
  .choice-grid,
  .input-grid {
    grid-template-columns: 1fr;
  }

  .full-width {
    grid-column: auto;
  }

  .lead-card {
    padding: 1.2rem;
    border-radius: 1rem;
  }

  .submit-row {
    display: grid;
  }

  .submit-row .button {
    width: 100%;
  }

  .contact-copy {
    padding: 4.5rem 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .whatsapp-fab span {
    display: none;
  }

  .whatsapp-fab {
    display: grid;
    width: 56px;
    height: 56px;
    place-items: center;
    padding: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* WordPress integration --------------------------------------------------- */

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  z-index: 100000;
  top: 0.75rem;
  left: 0.75rem;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0.75rem 1rem;
  overflow: visible;
  clip: auto;
  color: var(--white);
  background: var(--ink);
  white-space: normal;
}

body.admin-bar .site-header {
  top: 32px;
}

.site-header.is-inner {
  color: var(--ink);
  background: rgba(244, 241, 233, 0.96);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

.site-branding,
.custom-logo-link,
.footer-logo {
  display: flex;
  align-items: center;
}

.custom-logo {
  display: block;
  width: auto;
  max-width: min(240px, 46vw);
  height: auto;
  max-height: 58px;
  object-fit: contain;
  object-position: left center;
}

.footer-logo .custom-logo {
  max-height: 64px;
}

.menu-list {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav .menu-list > li > a {
  position: relative;
  display: block;
  padding-block: 0.5rem;
}

.main-nav .menu-list > li > a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.main-nav .menu-list > li > a:hover::after,
.main-nav .menu-list > li > a:focus-visible::after,
.main-nav .menu-list > .current-menu-item > a::after {
  transform: scaleX(1);
  transform-origin: left;
}

.footer-links,
.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.82rem;
}

.social-links {
  margin-top: 1rem;
}

.content-shell {
  min-height: 70vh;
  padding: clamp(9rem, 14vw, 13rem) 0 clamp(5rem, 9vw, 8rem);
}

.reading-width {
  max-width: 850px;
}

.archive-header,
.entry-header {
  margin-bottom: 3rem;
}

.entry-title {
  max-width: 950px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 6.5rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.entry-featured {
  margin: 0 0 3rem;
  overflow: hidden;
  border-radius: var(--radius);
}

.entry-featured img {
  height: auto;
}

.entry-content {
  font-size: 1.06rem;
}

.entry-content > * {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.entry-content > .alignwide {
  width: min(100vw - 3rem, 1180px);
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

.entry-content > .alignfull {
  width: 100vw;
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin-top: 2.4em;
  margin-bottom: 0.65em;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.1;
}

.entry-content h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.entry-content a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.entry-content img,
.wp-caption {
  max-width: 100%;
  height: auto;
}

.wp-caption-text,
.gallery-caption {
  color: rgba(25, 26, 23, 0.62);
  font-size: 0.82rem;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.post-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.post-card-image {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.post-card-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.post-card:hover .post-card-image img {
  transform: scale(1.035);
}

.post-card-copy {
  padding: 1.6rem;
}

.post-card-copy h2 {
  margin: 0.35rem 0 0.8rem;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 400;
  line-height: 1.08;
}

.post-card-copy p {
  color: rgba(25, 26, 23, 0.68);
}

.post-meta {
  margin: 0;
  color: var(--clay);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.navigation.pagination,
.post-navigation {
  margin-top: 3rem;
}

.nav-links,
.post-navigation {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}

.page-numbers,
.post-navigation a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.page-numbers.current {
  color: var(--white);
  background: var(--ink);
}

.empty-state {
  padding: clamp(2rem, 6vw, 5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.empty-state h2 {
  margin-top: 0;
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 400;
}

.not-found {
  text-align: center;
}

.not-found .entry-title {
  margin-inline: auto;
}

.not-found .button {
  margin-top: 1.5rem;
}

.bypostauthor {
  display: block;
}

.sticky {
  box-shadow: inset 0 0 0 2px var(--olive-deep);
}

@media (max-width: 920px) {
  .main-nav .menu-list {
    display: grid;
    gap: 0;
  }

  .main-nav .menu-list > li > a {
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid var(--line);
  }

  .main-nav .menu-list > li > a::after {
    display: none;
  }

  .footer-links,
  .social-links {
    justify-content: flex-start;
  }
}

/* Cocinas con alma — edition 2.0 ----------------------------------------- */

html { scroll-padding-top: 100px; }
.hero h1, .display-title { text-wrap: balance; }
.hero h1 { max-width: 820px; }
.hero-copy { max-width: 630px; color: rgba(255, 253, 248, .94); }
.heritage-card p { color: rgba(255, 253, 248, .9); }
.style-card { display: block; }
.style-card img, .craft-image img { position: absolute; inset: 0; width: 100%; height: 100%; }
.craft-image { position: relative; }
.style-card:focus-visible { outline: 3px solid var(--olive); outline-offset: 5px; }
.style-card h3 { font-size: clamp(2rem, 3.2vw, 3rem); text-wrap: balance; }
.styles-header .eyebrow { margin-bottom: 1.35rem; }
.styles-header p { color: rgba(255, 253, 248, .82); }
.craft-copy > p { color: rgba(255, 253, 248, .95); }
.craft-copy .eyebrow { margin-top: 0; margin-bottom: 1.5rem; }
.craft-copy .display-title { font-size: clamp(3rem, 4.6vw, 5rem); }
.function-section { background: var(--white); }
.function-heading { max-width: 850px; }
.function-heading > p:last-child { max-width: 580px; margin: 1.8rem 0 0; color: #56574e; }
.function-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; margin-top: 3.5rem; }
.function-card { border-top: 1px solid var(--line); padding-top: 1.5rem; }
.function-number { color: var(--olive-deep); font-size: .8rem; letter-spacing: .12em; }
.function-card h3 { font: 400 2rem/1.1 var(--serif); margin: 1.3rem 0 .8rem; }
.function-card p { margin: 0; color: #56574e; }
.choice-wide { grid-column: 1 / -1; }
.privacy-note { max-width: 280px; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.choice input:focus-visible + label { outline: 2px solid var(--olive-deep); outline-offset: 3px; }

@media (max-width: 920px) {
  .function-grid { gap: 1.5rem; }
  .function-card h3 { font-size: 1.7rem; }
  .gami-js .main-nav { max-height: calc(100dvh - 120px); overflow-y: auto; }
  html:not(.gami-js) .site-header { position: relative; color: var(--ink); background: var(--paper); }
  html:not(.gami-js) .nav-shell { flex-wrap: wrap; padding-block: 1rem; gap: 1rem; }
  html:not(.gami-js) .menu-toggle { display: none; }
  html:not(.gami-js) .main-nav { position: static; display: grid; width: 100%; box-shadow: none; padding: 0; }
  html:not(.gami-js) .hero-content { padding-top: 4rem; }
}
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
@media (max-width: 620px) {
  .function-grid { grid-template-columns: 1fr; gap: 2rem; margin-top: 2.5rem; }
  .function-card h3 { font-size: 2rem; }
  .hero h1 { font-size: clamp(2.9rem, 13vw, 4.2rem); }
  .hero-content { padding-top: 8rem; }
  .hero-media img { object-position: 57% center; }
  .craft-copy .display-title { font-size: clamp(2.7rem, 12vw, 4rem); }
  .craft-image { min-height: 360px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal.will-reveal { opacity: 1; transform: none; }
}

@media (max-width: 620px) {
  .post-grid {
    grid-template-columns: 1fr;
  }

  .entry-content > .alignwide {
    width: calc(100vw - 1.4rem);
  }
}
