:root {
  --bg: #070706;
  --bg-soft: #11100e;
  --panel: #171512;
  --panel-2: #211c16;
  --text: #f4f0e9;
  --muted: #c7beb1;
  --muted-2: #827a70;
  --fire: #f28a16;
  --fire-2: #c94d00;
  --gold: #d99a2b;
  --green: #0f3a25;
  --line: rgba(242, 138, 22, .35);
  --shadow: 0 24px 80px rgba(0, 0, 0, .48);
  --radius: 18px;
  --container: min(1180px, calc(100% - 40px));
  --font-display: "Anton", Impact, sans-serif;
  --font-body: "Montserrat", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 19% 16%, rgba(242, 138, 22, .08), transparent 24rem),
    radial-gradient(circle at 84% 8%, rgba(242, 138, 22, .04), transparent 28rem),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .018) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(45deg, rgba(0, 0, 0, .22) 0 2px, transparent 2px 6px),
    linear-gradient(180deg, #0a0908 0%, #11100e 45%, #080706 100%);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(45deg, rgba(0, 0, 0, .32) 0 2px, transparent 2px 7px);
  background-size: 9px 9px, 11px 11px;
  opacity: .42;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
  z-index: -1;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(242, 138, 22, .22);
  background: rgba(7, 7, 6, .62);
  backdrop-filter: blur(18px);
  transition: background .25s ease, box-shadow .25s ease;
}

.site-header.is-scrolled {
  background: rgba(7, 7, 6, .94);
  box-shadow: 0 18px 46px rgba(0, 0, 0, .35);
}

.nav {
  width: var(--container);
  min-height: 92px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 190px 1fr auto;
  gap: 24px;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
}

.brand__logo {
  display: block;
  width: auto;
  height: 72px;
  object-fit: contain;
}

.brand--footer .brand__logo {
  height: 62px;
}

.nav__links {
  display: flex;
  justify-content: center;
  gap: 28px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.nav__links a {
  color: var(--text);
  transition: color .2s ease;
}

.nav__links a:hover,
.nav__links a.is-active {
  color: var(--fire);
}

.nav__actions,
.actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.social {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--fire);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.social:hover {
  transform: translateY(-2px);
  border-color: rgba(242, 138, 22, .58);
  box-shadow: 0 12px 28px rgba(242, 138, 22, .18);
}

.social svg,
.whatsapp-float svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.9;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

.social .icon-fill,
.whatsapp-float .icon-fill {
  fill: currentColor;
  stroke: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn__whatsapp-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
}

.btn__whatsapp-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.9;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn__whatsapp-icon .icon-fill {
  fill: currentColor;
  stroke: none;
}

.btn__icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  margin-right: 9px;
}

.btn__icon svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(242, 138, 22, .22);
}

.btn-primary {
  background: linear-gradient(135deg, #ff9f24, var(--fire));
  border-color: transparent;
  color: #100c08;
}

.btn-outline {
  color: var(--text);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
}

.hero {
  min-height: 760px;
  padding: 180px max(20px, calc((100vw - 1180px) / 2)) 110px;
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero-home {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .84), rgba(0, 0, 0, .38) 52%, rgba(0, 0, 0, .72)),
    url("../hero-home-desktop.jpg") center/cover no-repeat;
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(transparent, var(--bg));
  z-index: -1;
}

.hero__content {
  width: min(680px, 100%);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--fire);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .46em;
  text-transform: uppercase;
}

.eyebrow span::after {
  content: "•";
  margin: 0 12px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  line-height: .98;
  letter-spacing: .01em;
}

.hero h1 {
  margin: 0 0 26px;
  text-transform: uppercase;
}

.hero h1 span,
.page-hero h1 {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(4rem, 11vw, 9.4rem);
  color: #f4f0e9;
  text-shadow: 0 9px 0 rgba(0, 0, 0, .2);
}

.hero h1 strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(4.3rem, 11vw, 9.8rem);
  color: var(--fire-2);
  font-style: italic;
  letter-spacing: .02em;
}

.hero p:not(.eyebrow),
.page-hero p {
  max-width: 620px;
  color: var(--muted);
}

.section {
  width: var(--container);
  margin: 0 auto;
  padding: 86px 0;
}

.split-intro {
  display: grid;
  grid-template-columns: .85fr 1.5fr;
  gap: 54px;
  align-items: center;
}

.section h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
}

.line-cards,
.process-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.line-card,
.product-card,
.contact-card,
.portfolio-card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, 0)),
    var(--panel);
  border: 1px solid rgba(242, 138, 22, .24);
  box-shadow: var(--shadow);
}

.line-card {
  min-height: 230px;
  padding: 34px;
  position: relative;
  overflow: hidden;
}

.line-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(242, 138, 22, .18), transparent 42%);
  opacity: 0;
  transition: opacity .2s ease;
}

.line-card:hover::after {
  opacity: 1;
}

.icon-line {
  color: var(--fire);
  font-size: 42px;
}

.line-card h3,
.product-card h2 {
  margin: 18px 0 8px;
  font-size: 1.5rem;
  text-transform: uppercase;
}

.line-card p,
.product-card p,
.process-step p,
.portfolio-card p,
.contact-card span {
  color: var(--muted);
}

.line-card a {
  color: var(--fire);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.center {
  text-align: center;
}

.process {
  border-block: 1px solid rgba(255, 255, 255, .07);
}

.process-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 58px;
}

.process-step {
  position: relative;
  padding-right: 34px;
}

.process-step strong {
  color: rgba(255, 255, 255, .12);
  font-size: 54px;
  font-weight: 900;
}

.process-step span {
  display: block;
  margin: -18px 0 12px;
  color: var(--fire);
  font-size: 38px;
}

.process-step h3 {
  margin-bottom: 7px;
  text-transform: uppercase;
}

.featured-grid,
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 34px 0;
}

.work-tile {
  min-height: 230px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(242, 138, 22, .28);
  background: #111;
}

.work-tile img,
.portfolio-card img,
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-tile img,
.portfolio-card img {
  transition: transform .35s ease, filter .35s ease;
}

.work-tile:hover img,
.portfolio-card:hover img {
  transform: scale(1.06);
  filter: brightness(.74) contrast(1.12);
}

.work-tile span {
  position: absolute;
  inset: auto 16px 14px;
  font-size: 12px;
  font-weight: 900;
  color: var(--fire);
  text-transform: uppercase;
  z-index: 1;
}

.work-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 45%, rgba(0, 0, 0, .82));
}

.cta-band {
  width: var(--container);
  margin: 20px auto 90px;
  padding: 42px;
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 28px;
  align-items: center;
  border-top: 1px solid rgba(242, 138, 22, .35);
  border-bottom: 1px solid rgba(242, 138, 22, .18);
}

.cta-band h2 {
  margin: 0;
  font-family: var(--font-display);
  text-transform: uppercase;
}

.cta-band span {
  color: var(--fire);
}

.page-hero {
  min-height: 440px;
  padding: 170px max(20px, calc((100vw - 1180px) / 2)) 70px;
  position: relative;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .88), rgba(0, 0, 0, .48)),
    url("../hero-trabajos-desktop.jpg") center/cover no-repeat;
  overflow: hidden;
}

.product-card,
.contact-card {
  padding: 32px;
  border-radius: var(--radius);
}

.page-hero--products {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .86), rgba(0, 0, 0, .42)),
    url("../hero-productos-desktop.jpg") center 58%/cover no-repeat;
}

.products-section {
  padding-top: 76px;
}

.products-intro {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, .55fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 34px;
}

.products-intro h2 {
  max-width: 760px;
}

.products-intro > p {
  color: var(--muted);
  margin-bottom: 10px;
}

.product-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 0;
  overflow: hidden;
  border-radius: 8px;
}

.product-card--featured {
  grid-column: span 2;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr);
  grid-template-rows: auto;
  min-height: 520px;
}

.product-card__media {
  min-height: 330px;
  position: relative;
  overflow: hidden;
  background: #0f0f0f;
  cursor: zoom-in;
}

.product-card--featured .product-card__media {
  min-height: 520px;
}

.product-card__media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease, filter .35s ease;
}

.product-card:hover .product-card__media > img {
  transform: scale(1.04);
  filter: contrast(1.08);
}

.product-card__media--gallery > img {
  height: calc(100% - 104px);
}

.product-thumbs {
  height: 104px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 1px;
  background: rgba(242, 138, 22, .2);
}

.product-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-thumbs img:only-child {
  grid-column: 1 / -1;
}

.product-card__open {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 8px 12px;
  border: 1px solid rgba(242, 138, 22, .45);
  border-radius: 999px;
  background: rgba(0, 0, 0, .68);
  color: var(--fire);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease;
}

.product-card__media:hover .product-card__open,
.product-card__media:focus .product-card__open {
  opacity: 1;
  transform: translateY(0);
}

.product-card__media:focus {
  outline: 2px solid var(--fire);
  outline-offset: -2px;
}

.product-card__content {
  padding: clamp(24px, 3vw, 42px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.product-card__tag {
  color: var(--fire);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.product-card h2 {
  margin: 12px 0 14px;
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1.02;
}

.product-card:not(.product-card--featured) h2 {
  font-size: clamp(1.45rem, 2.2vw, 2.25rem);
}

.product-card p {
  margin-bottom: 22px;
}

.product-specs {
  width: 100%;
  margin: auto 0 26px;
  display: grid;
  gap: 10px;
}

.product-specs div {
  padding: 13px 0;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.product-specs dt {
  color: var(--fire);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.product-specs dd {
  margin: 0;
  color: var(--muted);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}

.about-image {
  height: 520px;
  border: 1px solid var(--line);
  overflow: hidden;
}

.data-list {
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.data-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-btn {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(242, 138, 22, .32);
  background: rgba(255, 255, 255, .03);
  color: var(--text);
  cursor: pointer;
  font: 800 12px var(--font-body);
  text-transform: uppercase;
}

.filter-btn.is-active {
  background: var(--fire);
  color: #15100a;
}

.portfolio-grid {
  grid-template-columns: repeat(3, 1fr);
}

.portfolio-card {
  overflow: hidden;
  border-radius: var(--radius);
}

.portfolio-card__image {
  height: 270px;
  overflow: hidden;
}

.portfolio-card__body {
  padding: 24px;
}

.portfolio-card small {
  color: var(--fire);
  font-weight: 900;
  text-transform: uppercase;
}

.portfolio-card__link {
  display: inline-block;
  margin-top: 12px;
  color: var(--fire);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

/* Portfolio editorial */
.page-hero--portfolio {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.page-hero--portfolio h1 {
  max-width: 900px;
  font-size: clamp(4rem, 9vw, 8rem);
}

.portfolio-section {
  width: min(1440px, calc(100% - 64px));
}

.portfolio-intro {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 80px;
  align-items: end;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.portfolio-intro h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 5.4rem);
  line-height: .98;
  text-transform: uppercase;
}

.portfolio-intro h2 span {
  color: var(--fire);
}

.portfolio-intro > p {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.filters-wrap {
  margin: 38px 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.filters {
  justify-content: flex-start;
}

.filter-btn {
  border-color: rgba(255, 255, 255, .13);
  border-radius: 999px;
  color: var(--muted);
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.filter-btn:hover {
  color: var(--text);
  border-color: var(--fire);
}

.filter-btn.is-active {
  border-color: var(--fire);
  background: var(--fire);
}

.portfolio-count {
  flex: 0 0 auto;
  margin: 0;
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.portfolio-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin-top: 0;
}

.portfolio-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  background: #11100e;
  box-shadow: none;
  cursor: pointer;
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.portfolio-card:hover,
.portfolio-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(242, 138, 22, .65);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .38);
  outline: none;
}

.portfolio-card__image {
  position: relative;
  display: block;
  height: auto;
  aspect-ratio: 1 / 1.02;
  background:
    radial-gradient(circle at center, rgba(242, 138, 22, .055), transparent 48%),
    #090909;
}

.portfolio-card__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .82));
  pointer-events: none;
}

.portfolio-card__image img {
  display: block;
  padding: 8px;
  object-fit: contain;
  object-position: center;
}

.portfolio-card:hover .portfolio-card__image img {
  transform: scale(1.025);
  filter: brightness(.82) contrast(1.06);
}

.portfolio-card__count,
.portfolio-card__open {
  position: absolute;
  z-index: 1;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.portfolio-card__count {
  top: 14px;
  right: 14px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(0, 0, 0, .58);
  backdrop-filter: blur(8px);
}

.portfolio-card__open {
  left: 18px;
  bottom: 15px;
  color: #fff;
  transform: translateY(5px);
  opacity: 0;
  transition: transform .25s ease, opacity .25s ease;
}

.portfolio-card__open b {
  margin-left: 6px;
  color: var(--fire);
}

.portfolio-card:hover .portfolio-card__open,
.portfolio-card:focus-visible .portfolio-card__open {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-card__body {
  display: grid;
  gap: 9px;
  min-height: 190px;
  padding: 22px 22px 26px;
}

.portfolio-card small {
  display: block;
  margin-bottom: 9px;
  font-size: 10px;
  letter-spacing: .12em;
}

.portfolio-card small span {
  margin-right: 7px;
  color: #fff1dc;
  font-size: 13px;
}

.portfolio-card__body h2,
.portfolio-section .portfolio-card h2 {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 12px;
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 1.6vw, 1.55rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.035em;
  text-transform: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.portfolio-card__body p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #a9a198;
  font-size: .86rem;
  line-height: 1.62;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.dialog-open {
  overflow: hidden;
}

.project-dialog {
  width: min(1500px, calc(100vw - 40px));
  max-width: none;
  max-height: calc(100vh - 40px);
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(242, 138, 22, .32);
  border-radius: 18px;
  background: #0d0c0a;
  color: var(--text);
  box-shadow: 0 30px 120px rgba(0, 0, 0, .9);
}

.project-dialog::backdrop {
  background: rgba(0, 0, 0, .88);
  backdrop-filter: blur(12px);
}

.project-viewer {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(350px, .7fr);
  min-height: min(860px, calc(100vh - 42px));
  position: relative;
}

.project-dialog__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 5;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  background: rgba(0, 0, 0, .68);
  color: #fff;
  cursor: pointer;
  font-size: 28px;
}

.project-gallery {
  min-width: 0;
  padding: 18px;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 12px;
  background: #060606;
}

.project-gallery__stage {
  min-height: 0;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 10px;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, .055), transparent 55%),
    #080808;
}

.project-gallery__stage img {
  width: 100%;
  height: 100%;
  max-height: calc(100vh - 155px);
  object-fit: contain;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  background: rgba(0, 0, 0, .62);
  color: #fff;
  cursor: pointer;
  font-size: 32px;
  transform: translateY(-50%);
}

.gallery-arrow--prev { left: 18px; }
.gallery-arrow--next { right: 18px; }

.gallery-counter {
  position: absolute;
  right: 16px;
  bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .65);
  font-size: 11px;
  font-weight: 800;
}

.project-thumbnails {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--fire) #161616;
}

.project-thumbnails button {
  flex: 0 0 70px;
  height: 70px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 7px;
  background: #111;
  cursor: pointer;
  opacity: .5;
}

.project-thumbnails button.is-active {
  border-color: var(--fire);
  opacity: 1;
}

.project-thumbnails img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-story {
  max-height: calc(100vh - 42px);
  padding: 72px 44px 40px;
  overflow-y: auto;
  border-left: 1px solid rgba(255, 255, 255, .08);
  background:
    radial-gradient(circle at top right, rgba(242, 138, 22, .12), transparent 35%),
    #11100e;
}

.project-story__category {
  margin-bottom: 15px;
  color: var(--fire);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.project-story h2 {
  margin-bottom: 24px;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 4.6rem);
  line-height: .98;
  text-transform: uppercase;
}

.project-story__lead {
  color: #d2cbc2;
  font-size: 1rem;
  line-height: 1.75;
}

.project-story__details {
  margin: 34px 0;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.project-story__details h3 {
  margin-bottom: 18px;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.project-story__details ul {
  display: grid;
  gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-story__details li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  color: #aaa198;
  font-size: .86rem;
  line-height: 1.55;
}

.project-story__details li span {
  color: var(--fire);
  font-weight: 900;
}

.project-story__meta {
  margin-bottom: 25px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.contact-grid {
  grid-template-columns: repeat(3, 1fr);
}

.contact-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1.45rem;
}

.site-footer {
  border-top: 1px solid rgba(242, 138, 22, .18);
  background: #050504;
}

.footer-inner {
  width: var(--container);
  margin: 0 auto;
  padding: 42px 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  color: var(--muted);
}

.footer-inner a {
  display: block;
  min-height: 36px;
  margin-bottom: 4px;
  padding: 5px 0;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 22;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #19a85a;
  color: #fff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .4);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

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

@media (max-width: 980px) {
  .nav {
    grid-template-columns: 1fr auto;
  }

  .menu-toggle {
    display: block;
  }

  .nav__links,
  .nav__actions {
    grid-column: 1 / -1;
    display: none;
    justify-content: flex-start;
  }

  .nav.is-open .nav__links,
  .nav.is-open .nav__actions {
    display: flex;
  }

  .nav__links {
    flex-direction: column;
  }

  .split-intro,
  .about-layout,
  .products-intro,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .line-cards,
  .process-grid,
  .featured-grid,
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-showcase {
    grid-template-columns: 1fr;
  }

  .product-card--featured {
    grid-column: auto;
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .product-card--featured .product-card__media {
    min-height: 430px;
  }

  .portfolio-section {
    width: min(100% - 32px, 1440px);
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-intro {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .project-viewer {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }

  .project-gallery {
    min-height: 62vh;
  }

  .project-story {
    max-height: none;
    border-top: 1px solid rgba(255, 255, 255, .08);
    border-left: 0;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100% - 28px, 1180px);
  }

  .hero {
    min-height: 680px;
    padding-top: 145px;
  }

  .line-cards,
  .process-grid,
  .featured-grid,
  .contact-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .products-section {
    padding-top: 56px;
  }

  .product-showcase {
    gap: 18px;
  }

  .product-card__media,
  .product-card--featured .product-card__media {
    min-height: 320px;
  }

  .product-card__media--gallery > img {
    height: calc(100% - 86px);
  }

  .product-thumbs {
    height: 86px;
  }

  .product-specs div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .portfolio-section {
    width: min(100% - 20px, 1440px);
    padding-top: 55px;
  }

  .filters-wrap {
    align-items: flex-start;
    flex-direction: column;
    position: relative;
  }

  .filters {
    width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 0 28px 8px 0;
    scroll-snap-type: x proximity;
  }

  .filter-btn {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .filters-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 42px;
    height: 46px;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(7, 7, 6, 0), var(--bg));
  }

  .portfolio-card__image {
    aspect-ratio: 4 / 3;
  }

  .portfolio-card__body {
    min-height: 0;
  }

  .project-dialog {
    width: 100vw;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    border: 0;
    border-radius: 0;
    overflow: hidden;
  }

  .project-viewer {
    min-height: 100dvh;
    max-height: 100dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .project-gallery {
    min-height: 42dvh;
    padding: 8px;
    gap: 8px;
  }

  .project-gallery__stage img {
    max-height: 34dvh;
  }

  .gallery-arrow {
    width: 44px;
    height: 44px;
    font-size: 28px;
  }

  .gallery-arrow--prev { left: 12px; }
  .gallery-arrow--next { right: 12px; }

  .project-thumbnails button {
    flex-basis: 58px;
    height: 58px;
  }

  .project-story {
    padding: 24px 20px 34px;
  }

  .project-story h2 {
    padding-right: 42px;
    font-size: 2.1rem;
    line-height: 1.03;
  }

  .project-story__details {
    margin: 24px 0;
    padding-top: 22px;
  }

  .project-dialog__close {
    top: 12px;
    right: 12px;
    width: 48px;
    height: 48px;
  }

  .brand__logo {
    height: 58px;
  }

  .nav {
    min-height: 78px;
  }

  .footer-inner a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
  }

  .cta-band {
    padding: 28px 0;
  }
}

/* Storefront and administration upgrade */
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 10px 14px; background: #fff; color: #111; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
button, input, textarea, select { font: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid #ffd08a; outline-offset: 3px; }
.btn[disabled] { cursor: wait; opacity: .65; transform: none; }
.hero-trust { display: flex; gap: 12px 22px; flex-wrap: wrap; margin: 30px 0 0; padding: 0; color: #e7ded4; list-style: none; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .055em; }
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust li::before { content: "✓"; color: var(--fire); font-size: 1rem; }
.proof-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; padding: 0; overflow: hidden; border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; background: rgba(255,255,255,.1); }
.proof-strip div { display: flex; align-items: center; gap: 15px; padding: 24px 26px; background: #0d0c0a; }
.proof-strip b { color: var(--fire); font-family: var(--font-display); font-size: 1.7rem; font-weight: 400; }
.proof-strip span { color: #d9d0c5; font-size: .84rem; font-weight: 700; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.section-heading h2 { max-width: 720px; }
.section h2 span, .page-hero h1 span, .consultation-card h2 span, .about-copy h2 span { color: var(--fire); }
.text-link { color: #ffe6c3; font-size: .78rem; font-weight: 900; letter-spacing: .035em; text-transform: uppercase; white-space: nowrap; font-family: inherit; }
.text-link:is(button) { padding: 0; border: 0; background: transparent; cursor: pointer; }
.text-link b { color: var(--fire); margin-left: 4px; font-size: 1.1rem; }
.text-link:hover { color: var(--fire); }
.catalog-preview { padding-top: 108px; }
.shop-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.shop-grid--catalog { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.shop-card { overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: linear-gradient(165deg, #1a1713, #10100e); box-shadow: 0 14px 34px rgba(0,0,0,.2); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.shop-card:hover { transform: translateY(-5px); border-color: rgba(242,138,22,.6); box-shadow: 0 24px 48px rgba(0,0,0,.34); }
.shop-card__visual { position: relative; width: 100%; height: 270px; display: grid; place-items: center; overflow: hidden; padding: 0; border: 0; background: #0a0a09; cursor: zoom-in; }
.shop-card__visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.shop-card:hover .shop-card__visual img { transform: scale(1.045); }
.product-image-fallback { color: var(--fire); font-family: var(--font-display); font-size: 4rem; }
.product-badge { position: absolute; top: 14px; left: 14px; padding: 6px 10px; border-radius: 999px; background: var(--fire); color: #1b1007; font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.shop-card__body { display: flex; flex-direction: column; min-height: 230px; padding: 20px; }
.shop-card__category { margin-bottom: 8px; color: var(--fire); font-size: 10px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.shop-card__body h2 { margin-bottom: 10px; font-family: var(--font-body); font-size: 1.18rem; line-height: 1.15; text-transform: none; }
.shop-card__description { display: -webkit-box; overflow: hidden; margin-bottom: 20px; color: #b7aea4; font-size: .82rem; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.shop-card__footer { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-top: auto; }
.shop-card__price { display: grid; gap: 2px; color: #f7f0e7; font-size: .85rem; }
.shop-card__price strong { color: #fff; font-size: 1rem; }
.shop-card__price s { color: #867c70; font-size: .72rem; }
.catalog-section { padding-top: 70px; }
.catalog-stars {
  margin-bottom: 72px;
  padding: 34px;
  border: 1px solid rgba(242, 138, 22, .2);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(31, 24, 18, .86), rgba(11, 10, 8, .96));
  box-shadow: 0 24px 70px rgba(0, 0, 0, .26), inset 0 1px 0 rgba(255, 255, 255, .04);
}

.catalog-stars__intro {
  max-width: 380px;
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.7;
}

.catalog-star-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.catalog-star-card { min-width: 0; }
.catalog-star-card .shop-card__visual { height: 330px; }
.catalog-star-card .shop-card__body { min-height: 175px; padding: 18px; }
.catalog-star-card .shop-card__description { margin-bottom: 12px; }
.catalog-star-card .shop-card__footer { align-items: center; }
.shop-card__featured-note { color: var(--muted-2); font-size: .68rem; font-weight: 700; }
.catalog-star-card__details { padding: 0; border: 0; background: transparent; cursor: pointer; }
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.search-field { position: relative; display: block; width: min(100%, 440px); }
.search-field input { width: 100%; min-height: 50px; padding: 0 45px 0 16px; border: 1px solid rgba(255,255,255,.16); border-radius: 6px; background: #12110f; color: #fff; }
.search-field input::placeholder { color: #887f75; }
.search-field b { position: absolute; top: 11px; right: 15px; color: var(--fire); font-size: 1.45rem; }
.catalog-count { color: var(--muted-2); font-size: .75rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.filters--catalog { margin-bottom: 28px; }
.empty-state { padding: 34px; border: 1px dashed rgba(242,138,22,.4); color: var(--muted); text-align: center; }
.empty-state a { color: var(--fire); text-decoration: underline; }
.product-modal, .work-modal, .admin-dialog { width: min(1280px, calc(100vw - 36px)); max-width: none; padding: 0; overflow: hidden; border: 1px solid rgba(242,138,22,.38); border-radius: 16px; background: #0d0c0a; color: var(--text); box-shadow: 0 30px 120px rgba(0,0,0,.88); }
.product-modal::backdrop, .work-modal::backdrop, .admin-dialog::backdrop { background: rgba(0,0,0,.85); backdrop-filter: blur(10px); }
.modal-shell { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(330px, .65fr); min-height: min(710px, calc(100dvh - 40px)); position: relative; }
.modal-close { position: absolute; z-index: 5; top: 15px; right: 15px; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: rgba(0,0,0,.65); color: #fff; cursor: pointer; font-size: 28px; }
.modal-gallery { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 11px; min-height: 0; padding: 15px; background: #050505; }
.modal-image-wrap { position: relative; display: grid; min-height: 0; place-items: center; overflow: hidden; border-radius: 9px; background: radial-gradient(circle, #21201d, #070707 68%); }
.modal-image-wrap > img { width: 100%; height: min(620px, calc(100dvh - 130px)); object-fit: contain; }
.modal-thumbnails { display: flex; gap: 8px; overflow-x: auto; }
.modal-thumbnails button { flex: 0 0 62px; height: 62px; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 7px; background: #151515; cursor: pointer; opacity: .55; }
.modal-thumbnails button.is-active { border-color: var(--fire); opacity: 1; }
.modal-thumbnails img { width: 100%; height: 100%; object-fit: cover; }
.modal-copy { max-height: calc(100dvh - 40px); padding: 74px 40px 36px; overflow-y: auto; border-left: 1px solid rgba(255,255,255,.1); background: radial-gradient(circle at top right, rgba(242,138,22,.12), transparent 38%), #14120f; }
.modal-copy h2 { margin-bottom: 20px; font-size: clamp(2.4rem, 4vw, 4.5rem); line-height: .98; }
.modal-copy > p:not(.eyebrow):not(.modal-note) { color: #d3cbc1; line-height: 1.75; }
.modal-price { margin: 28px 0; color: #fff; }
.modal-price strong { display: block; color: var(--fire); font-size: 1.45rem; }
.modal-price s { display: block; color: #82796e; font-size: .85rem; }
.modal-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; margin: 0 0 28px; padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, .1); border-bottom: 1px solid rgba(255, 255, 255, .1); list-style: none; }
.modal-specs li { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .76rem; }
.modal-specs li strong { color: #fff1dd; font-weight: 800; }
.modal-actions { display: grid; gap: 16px; align-items: center; }
.modal-note { margin: 20px 0 0; color: #948b80; font-size: .75rem; }
.product-detail { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .8fr); gap: clamp(30px, 6vw, 86px); padding-top: 160px; padding-bottom: 90px; }
.product-detail__gallery { position: relative; min-height: 500px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: #0a0a09; }
.product-detail__gallery > img { width: 100%; height: 100%; min-height: 500px; object-fit: contain; }
.gallery-expand { position: absolute; bottom: 18px; left: 18px; padding: 10px 14px; border: 1px solid rgba(255,255,255,.25); border-radius: 4px; background: rgba(0,0,0,.75); color: #fff; cursor: pointer; font-size: .75rem; font-weight: 800; }
.product-detail__copy { align-self: center; }
.product-detail__copy h1 { margin-bottom: 24px; font-size: clamp(3.3rem, 6vw, 6.2rem); line-height: .95; }
.product-detail__description { color: #d3cbc1; font-size: 1.02rem; line-height: 1.78; }
.product-detail__price { margin: 26px 0 10px; color: var(--fire); }
.product-detail__price strong { display: block; font-size: 1.55rem; }
.product-detail__price s { color: #837a70; font-size: .85rem; }
.product-stock { margin-bottom: 25px; color: #a8c8ac; font-size: .85rem; }
.product-page-loading, .admin-loading { display: grid; min-height: 350px; place-items: center; color: var(--muted); }
.product-page-loading span, .admin-loading span { width: 28px; height: 28px; margin-right: 9px; border: 3px solid rgba(242,138,22,.2); border-top-color: var(--fire); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(1turn); } }
.consultation-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px; margin-bottom: 90px; padding: clamp(30px, 5vw, 58px); border: 1px solid rgba(242,138,22,.35); border-radius: 14px; background: radial-gradient(circle at 85% 0%, rgba(242,138,22,.22), transparent 33%), #16120d; }
.consultation-card h2 { max-width: 720px; margin-bottom: 12px; font-size: clamp(2.3rem, 4.5vw, 4.8rem); line-height: .98; }
.consultation-card p:last-child { max-width: 580px; margin-bottom: 0; color: var(--muted); }
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 8vw, 110px); padding-top: 80px; padding-bottom: 95px; }
.contact-aside h2 { font-size: clamp(2.5rem, 4vw, 4rem); line-height: 1; }
.contact-details { display: grid; gap: 20px; padding: 10px 0; list-style: none; }
.contact-details li { display: grid; gap: 2px; color: #c8bfb3; }
.contact-details b { color: var(--fire); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.contact-details a:hover { color: var(--fire); }
.lead-form { padding: clamp(24px, 4vw, 46px); border: 1px solid rgba(255,255,255,.11); border-radius: 14px; background: #151310; }
.lead-form h2 { margin-bottom: 8px; font-family: var(--font-body); font-size: 1.65rem; text-transform: none; }
.form-intro > p:last-child { color: var(--muted); font-size: .88rem; }
.form-grid, .admin-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; margin: 28px 0; }
.form-grid label, .admin-form-grid label, .admin-auth label, .admin-category-form label { display: grid; gap: 7px; color: #e8dfd3; font-size: .78rem; font-weight: 800; }
.form-grid small { color: #978c80; font-weight: 500; }
.form-grid input, .form-grid textarea, .form-grid select, .admin-form-grid input, .admin-form-grid textarea, .admin-form-grid select, .admin-auth input, .admin-category-form input { width: 100%; min-height: 47px; padding: 10px 12px; border: 1px solid rgba(255,255,255,.16); border-radius: 4px; background: #0b0b0a; color: #fff; }
.form-grid select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--fire) 50%), linear-gradient(135deg, var(--fire) 50%, transparent 50%); background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.form-grid textarea, .admin-form-grid textarea { min-height: 125px; resize: vertical; }
.form-help { display: block; color: #978c80; font-size: .72rem; font-weight: 500; line-height: 1.5; }
.form-dynamic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin: -3px 0 1px; padding: 18px; border: 1px solid rgba(242,138,22,.25); border-radius: 8px; background: rgba(242,138,22,.045); }
.form-dynamic__title { grid-column: 1 / -1; margin: 0 0 2px; color: var(--fire); font-size: .72rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.form-dynamic__field { min-width: 0; }
.form-full, .admin-field-full { grid-column: 1 / -1; }
.honeypot { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none; }
.form-status { display: grid; gap: 8px; min-height: 24px; margin: 16px 0 0; color: #b8dcbc; font-size: .86rem; }
.form-status__title { color: #d9f1d6; font-size: .95rem; }
.form-status__whatsapp { width: fit-content; margin-top: 4px; }
.form-status a { color: var(--fire); text-decoration: underline; }
.form-status a.form-status__whatsapp { color: #100c08; text-decoration: none; }
.form-status.is-error { color: #ffac9b; }

@media (max-width: 640px) {
  .form-dynamic { grid-template-columns: 1fr; padding: 14px; }
  .form-status__whatsapp { width: 100%; }
}

/* The header uses the horizontal logo as a single visual mark. */
.site-header .brand::after { display: none; }
.site-header .brand__logo-wrap { position: relative; display: block; flex: 0 0 auto; width: 190px; height: 74px; overflow: hidden; }
.site-header .brand__logo { position: absolute; top: 50%; left: 50%; width: 230px; max-width: none; height: 115px; object-fit: contain; object-position: center; transform: translate(-50%, -50%); mix-blend-mode: screen; }

@media (max-width: 980px) {
  .site-header .brand__logo-wrap { width: 174px; height: 62px; }
  .site-header .brand__logo { width: 214px; height: 107px; }
}

@media (max-width: 640px) {
  .site-header .brand__logo-wrap { width: 164px; height: 56px; }
  .site-header .brand__logo { width: 202px; height: 101px; }
}

/* Final footer-social treatment: clean icon-only links with a quiet hover ring. */
.footer-social__link {
  width: 40px;
  height: 40px;
  border-color: transparent;
  background: transparent;
  color: #f5e9db;
  box-shadow: none;
}

.footer-social__link svg { width: 19px; height: 19px; }

.footer-social__link:hover {
  border-color: rgba(242, 138, 22, .55);
  background: rgba(242, 138, 22, .1);
  box-shadow: 0 8px 22px rgba(242, 138, 22, .14);
}

/* Subtle header branding: keep the mark present without making it the hero. */
@media (min-width: 981px) {
  .site-header .brand { min-width: 168px; padding: 5px 9px; }
  .site-header .brand__logo-wrap { width: 150px; height: 58px; }
  .site-header .brand__logo { width: 184px; height: 92px; }
}

@media (max-width: 980px) {
  .site-header .brand__logo-wrap { width: 150px; height: 54px; }
  .site-header .brand__logo { width: 184px; height: 92px; }
}

@media (max-width: 640px) {
  .site-header .brand__logo-wrap { width: 140px; height: 50px; }
  .site-header .brand__logo { width: 172px; height: 86px; }
}

.site-header .brand__logo { opacity: .88; }

/* Final footer-social treatment: clean icon-only links with a quiet hover ring. */
.footer-social__link {
  width: 40px;
  height: 40px;
  border-color: transparent;
  background: transparent;
  color: #f5e9db;
  box-shadow: none;
}

.footer-social__link svg { width: 19px; height: 19px; }

.footer-social__link:hover {
  border-color: rgba(242, 138, 22, .55);
  background: rgba(242, 138, 22, .1);
  box-shadow: 0 8px 22px rgba(242, 138, 22, .14);
}

/* Footer social links: let the marks breathe instead of showing heavy rings. */
.footer-social__link {
  width: 40px;
  height: 40px;
  border-color: transparent;
  background: transparent;
  color: #f5e9db;
  box-shadow: none;
}

.footer-social__link svg {
  width: 19px;
  height: 19px;
}

.footer-social__link:hover {
  border-color: rgba(242, 138, 22, .55);
  background: rgba(242, 138, 22, .1);
  box-shadow: 0 8px 22px rgba(242, 138, 22, .14);
}
.portfolio-card { width: 100%; padding: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: #11100e; color: var(--text); text-align: left; cursor: pointer; }
.portfolio-card__body { display: grid; gap: 9px; padding: 20px; }
.portfolio-card__body small { color: var(--fire); font-size: .68rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.portfolio-card__body strong { font-size: 1.07rem; line-height: 1.2; }
.portfolio-card__body > span { display: -webkit-box; overflow: hidden; color: #b9b0a6; font-size: .82rem; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }

/* Admin */
.admin-body { min-height: 100vh; background: #0b0b0a; }
.admin-app { min-height: 100vh; }
.admin-auth { display: grid; min-height: 100vh; place-items: center; padding: 24px; background: radial-gradient(circle at 16% 12%, rgba(242,138,22,.17), transparent 27rem), #0c0b09; }
.admin-auth__card { width: min(100%, 460px); display: grid; gap: 16px; padding: 40px; border: 1px solid rgba(242,138,22,.32); border-radius: 14px; background: #181510; box-shadow: 0 28px 75px rgba(0,0,0,.45); }
.admin-auth__card h1 { margin-bottom: 0; font-size: 3rem; }
.admin-auth__card > p:not(.eyebrow) { color: var(--muted); font-size: .88rem; }
.admin-sidebar { position: fixed; z-index: 5; top: 0; bottom: 0; left: 0; width: 255px; display: flex; flex-direction: column; padding: 30px 18px; border-right: 1px solid rgba(255,255,255,.1); background: #11100e; }
.admin-brand { margin: 0 10px 44px; color: #fff; font-family: var(--font-display); font-size: 2.4rem; line-height: .75; letter-spacing: .02em; }
.admin-brand span { color: var(--fire); }
.admin-brand small { display: block; margin-top: 13px; color: #b9aa9a; font-family: var(--font-body); font-size: .55rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.admin-sidebar nav { display: grid; gap: 5px; }
.admin-sidebar nav button, .admin-logout { padding: 12px; border: 0; border-radius: 5px; background: transparent; color: #c2b8ad; cursor: pointer; text-align: left; font-size: .8rem; font-weight: 800; }
.admin-sidebar nav button:hover, .admin-sidebar nav button.is-active { background: rgba(242,138,22,.14); color: #ffb35a; }
.admin-logout { margin-top: auto; color: #e59e92; }
.admin-main { min-height: 100vh; margin-left: 255px; padding: 44px clamp(24px, 5vw, 75px); }
.admin-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.admin-top h1 { margin-bottom: 0; font-size: clamp(2.6rem, 5vw, 4.5rem); }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.metric-card { padding: 24px; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; background: #161411; }
.metric-card span { display: block; margin-bottom: 10px; color: #a5998d; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.metric-card strong { color: #ffb052; font-size: 2rem; }
.admin-data-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 22px; }
.admin-data-card, .admin-product-row, .lead-card, .category-row, .admin-category-form { border: 1px solid rgba(255,255,255,.1); border-radius: 10px; background: #161411; }
.admin-data-card { padding: 25px; }
.admin-data-card h2 { margin-bottom: 20px; font-family: var(--font-body); font-size: 1rem; text-transform: none; }
.simple-list { display: grid; gap: 13px; }
.simple-list div { display: grid; gap: 2px; padding-bottom: 13px; border-bottom: 1px solid rgba(255,255,255,.08); }
.simple-list div:last-child { padding: 0; border: 0; }
.simple-list strong { font-size: .9rem; }.simple-list span, .muted { color: #a1968b; font-size: .8rem; }
.admin-toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.admin-toolbar input, .admin-toolbar select, .lead-card select { min-height: 43px; padding: 0 11px; border: 1px solid rgba(255,255,255,.14); border-radius: 4px; background: #0d0d0b; color: #fff; }
.admin-toolbar input { min-width: 250px; margin-right: auto; }
.admin-product-list, .category-list, .lead-list { display: grid; gap: 12px; }
.admin-product-row { display: grid; grid-template-columns: 86px 1fr auto; gap: 17px; align-items: center; padding: 12px; }
.admin-product-thumb { width: 86px; height: 76px; display: grid; place-items: center; overflow: hidden; border-radius: 6px; background: #0a0a09; color: #7e7468; font-size: .65rem; text-align: center; }.admin-product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.admin-product-info h3 { margin: 4px 0; font-family: var(--font-body); font-size: 1rem; text-transform: none; }.admin-product-info p { margin: 0; color: #a3988c; font-size: .76rem; }
.admin-status { font-size: .62rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }.status-active { color: #a3d6a4; }.status-inactive { color: #ecd28e; }.status-archived { color: #a59a90; }
.admin-row-actions { display: flex; gap: 8px; }.admin-row-actions .btn { min-height: 37px; padding: 0 14px; }.admin-danger { padding: 9px 11px; border: 1px solid rgba(232,120,103,.4); border-radius: 4px; background: transparent; color: #efaa9f; cursor: pointer; font-size: .72rem; font-weight: 800; }.admin-danger:disabled { opacity: .45; cursor: default; }
.admin-category-form { display: grid; grid-template-columns: 1.2fr 1fr 120px auto auto; align-items: end; gap: 12px; padding: 20px; margin-bottom: 17px; }.admin-category-form h2 { margin: 0; font-family: var(--font-body); font-size: 1rem; text-transform: none; }.admin-category-form .eyebrow { margin-bottom: 4px; font-size: .58rem; }.check-label { display: flex !important; align-items: center; gap: 8px !important; white-space: nowrap; }.check-label input { width: auto !important; min-height: auto !important; }
.category-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 17px 20px; }.category-row div { display: grid; gap: 4px; }.category-row span { color: #9e9286; font-size: .77rem; }
.lead-card { display: flex; align-items: start; justify-content: space-between; gap: 24px; padding: 22px; }.lead-card h3 { margin-bottom: 2px; font-family: var(--font-body); font-size: 1rem; text-transform: none; }.lead-card p { margin-bottom: 8px; color: #d2c8bd; font-size: .85rem; }.lead-card .lead-meta, .lead-card .lead-product { color: #a79a8c; font-size: .74rem; }.lead-card select { flex: 0 0 130px; }
.admin-dialog { width: min(950px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; }.admin-editor { display: grid; gap: 4px; padding: 44px; }.admin-editor h2 { margin-bottom: 0; font-size: 2.8rem; }.editor-images { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 3px 0 16px; }.editor-image { position: relative; min-height: 100px; overflow: hidden; border-radius: 7px; background: #080808; }.editor-image img { width: 100%; height: 130px; object-fit: cover; }.editor-image > div { display: grid; gap: 4px; padding: 7px; }.editor-image button { padding: 5px; border: 1px solid rgba(255,255,255,.2); border-radius: 3px; background: #181510; color: #e8ddd0; cursor: pointer; font-size: .62rem; }.editor-image button.is-primary { color: #ffb052; }.upload-drop { display: grid; gap: 7px; padding: 18px; border: 1px dashed rgba(242,138,22,.5); border-radius: 7px; color: #f7dcb9; cursor: pointer; font-size: .82rem; font-weight: 800; }.upload-drop span { color: #a89b8e; font-size: .72rem; font-weight: 500; }.upload-drop input { max-width: 100%; color: #d9cab9; }.admin-editor-actions { display: flex; justify-content: end; gap: 10px; margin-top: 12px; }

@media (max-width: 980px) { .shop-grid, .shop-grid--catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }.proof-strip { grid-template-columns: 1fr; }.modal-shell, .product-detail, .contact-layout { grid-template-columns: 1fr; }.modal-copy { max-height: none; border-top: 1px solid rgba(255,255,255,.1); border-left: 0; }.product-detail { padding-top: 135px; }.contact-layout { gap: 40px; }.metric-grid { grid-template-columns: repeat(2, 1fr); }.admin-sidebar { position: static; width: auto; min-height: 0; flex-direction: row; align-items: center; gap: 15px; padding: 14px 20px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }.admin-brand { margin: 0 auto 0 0; font-size: 1.6rem; }.admin-brand small { display: none; }.admin-sidebar nav { display: flex; overflow-x: auto; }.admin-sidebar nav button { white-space: nowrap; }.admin-logout { margin: 0; white-space: nowrap; }.admin-main { margin-left: 0; padding: 30px 24px; }.admin-category-form { grid-template-columns: 1fr 1fr; }.admin-category-form > div, .admin-category-form button { grid-column: 1 / -1; }.admin-data-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .hero-trust { display: grid; gap: 8px; }.section-heading, .consultation-card, .catalog-toolbar, .admin-top { align-items: start; flex-direction: column; }.shop-grid, .shop-grid--catalog, .form-grid { grid-template-columns: 1fr; }.shop-card__visual { height: 260px; }.product-detail__gallery, .product-detail__gallery > img { min-height: 340px; }.modal-shell { display: block; overflow-y: auto; }.modal-gallery { min-height: 45dvh; }.modal-image-wrap > img { height: 38dvh; }.modal-copy { padding: 31px 22px; }.modal-copy h2 { padding-right: 32px; }.consultation-card { margin-bottom: 45px; }.admin-sidebar { flex-wrap: wrap; }.admin-sidebar nav { order: 3; width: 100%; }.admin-main { padding: 25px 16px; }.metric-grid { grid-template-columns: 1fr 1fr; gap: 9px; }.metric-card { padding: 16px; }.metric-card strong { font-size: 1.5rem; }.admin-toolbar { align-items: stretch; flex-wrap: wrap; }.admin-toolbar input { width: 100%; min-width: 0; }.admin-toolbar .btn { margin-left: auto; }.admin-product-row { grid-template-columns: 65px 1fr; }.admin-product-thumb { width: 65px; height: 65px; }.admin-row-actions { grid-column: 1 / -1; }.lead-card { display: grid; }.lead-card select { width: 100%; }.admin-category-form { grid-template-columns: 1fr; }.editor-images { grid-template-columns: repeat(2, 1fr); }.admin-editor { padding: 36px 20px 20px; }.admin-form-grid { grid-template-columns: 1fr; }.admin-field-full { grid-column: auto; } }

/* Editorial storefront refresh: solid floating navigation, 21:9 hero and deeper visual hierarchy. */
:root {
  --ink: #0a0908;
  --surface: #12100d;
  --surface-raised: #1a1611;
  --surface-line: rgba(255, 255, 255, .12);
  --accent-soft: #ffb24d;
  --container: min(1240px, calc(100% - 48px));
}

body {
  background:
    radial-gradient(circle at 6% 8%, rgba(242, 138, 22, .11), transparent 27rem),
    radial-gradient(circle at 92% 18%, rgba(15, 58, 37, .28), transparent 34rem),
    linear-gradient(180deg, var(--ink) 0%, #0b0a08 42%, #100d0a 100%);
}

.site-header {
  top: 18px;
  left: 50%;
  right: auto;
  width: min(calc(100% - 44px), 1380px);
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, .14);
  border-top-color: rgba(242, 138, 22, .82);
  border-radius: 20px;
  background: #11100e;
  box-shadow: 0 22px 68px rgba(0, 0, 0, .48), 0 2px 0 rgba(255, 255, 255, .04) inset;
  backdrop-filter: none;
  overflow: hidden;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--fire), transparent 72%);
  opacity: .8;
}

.site-header.is-scrolled {
  background: #11100e;
  box-shadow: 0 24px 72px rgba(0, 0, 0, .62), 0 2px 0 rgba(255, 255, 255, .04) inset;
}

.nav {
  width: 100%;
  min-height: 86px;
  padding: 10px 16px 10px 22px;
  grid-template-columns: 184px 1fr auto;
  gap: 24px;
}

.brand { position: relative; z-index: 1; }
.brand__logo { width: 162px; height: 62px; object-fit: contain; object-position: left center; }

.nav__links {
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 0;
  padding: 4px;
}

.nav__links a {
  position: relative;
  padding: 12px 13px 11px;
  border-radius: 9px;
  color: #c7beb3;
  font-size: 10px;
  letter-spacing: .1em;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.nav__links a::after {
  content: "";
  position: absolute;
  right: 13px;
  bottom: 5px;
  left: 13px;
  height: 2px;
  border-radius: 2px;
  background: var(--fire);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}

.nav__links a:hover,
.nav__links a.is-active {
  background: #1b1712;
  color: #fff4e7;
  transform: translateY(-1px);
}

.nav__links a:hover::after,
.nav__links a.is-active::after { transform: scaleX(1); }

.nav__actions { gap: 8px; }
.nav__actions .social {
  width: 38px;
  height: 38px;
  border-color: rgba(255, 255, 255, .13);
  background: #181511;
}
.nav__actions .social:hover { background: #241b12; border-color: rgba(242, 138, 22, .7); }
.nav__quote { min-height: 43px; padding: 0 18px; border-radius: 9px; font-size: 10px; letter-spacing: .1em; }
.menu-toggle { border-radius: 10px; border-color: rgba(255, 255, 255, .16); background: #181511; }

.hero-home {
  height: clamp(680px, 56.25vw, 900px);
  min-height: 680px;
  aspect-ratio: 16 / 9;
  padding: clamp(156px, 14vw, 210px) max(28px, calc((100vw - 1360px) / 2)) 100px;
  background-position: center center;
}

.hero-home::before {
  content: "";
  position: absolute;
  inset: 118px 24px 24px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  pointer-events: none;
  z-index: 0;
}

.hero-home::after {
  height: 35%;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 7, 6, .18) 35%, var(--bg) 100%);
}

.hero-sparks {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: .78;
  mix-blend-mode: screen;
}

.page-hero .hero-sparks { opacity: .58; }
.hero__content,
.page-hero > :not(.hero-sparks) { position: relative; z-index: 1; }

@keyframes hero-breathe-desktop {
  0%, 100% {
    background-size: auto, 101% 101%;
    background-position: 50% 50%, 50% 50%;
  }
  50% {
    background-size: auto, 104% 104%;
    background-position: 50% 50%, 49% 51%;
  }
}

@keyframes hero-breathe-mobile {
  0%, 100% {
    /* Page heroes are landscape on mobile: scale by width so the 4:5
       source keeps its proportions while still covering the frame. */
    background-size: auto, 106% auto;
    background-position: 50% 50%, 50% 50%;
  }
  50% {
    background-size: auto, 110% auto;
    background-position: 50% 50%, 49% 51%;
  }
}

@keyframes hero-breathe-home-mobile {
  0%, 100% {
    /* Home uses a taller portrait frame: scale by height to preserve the
       4:5 artwork and keep Agustín in the safe focal area. */
    background-size: auto, auto 106%;
    background-position: 50% 50%, 58% 50%;
  }
  50% {
    background-size: auto, auto 110%;
    background-position: 50% 50%, 56% 51%;
  }
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding-left: 28px;
  border-left: 2px solid rgba(242, 138, 22, .88);
}

.hero h1 { margin-bottom: 22px; letter-spacing: -.045em; }
.hero h1 span, .hero h1 strong { text-shadow: 0 12px 24px rgba(0, 0, 0, .38); }
.hero h1 strong { color: var(--fire); }
.hero p:not(.eyebrow) { max-width: 570px; color: #e0d7cc; font-size: clamp(1rem, 1.35vw, 1.2rem); line-height: 1.75; }
.hero .actions { margin-top: 30px; }
.hero .btn { min-height: 54px; border-radius: 9px; padding-inline: 25px; }
.hero .btn-outline { border-color: rgba(255, 255, 255, .3); background: rgba(13, 12, 10, .52); }
.hero .btn-outline:hover { border-color: var(--fire); background: #18130e; }
.hero-trust { margin-top: 34px; gap: 12px 26px; }
.hero-trust li { padding-left: 12px; border-left: 1px solid rgba(242, 138, 22, .45); font-size: 10px; letter-spacing: .12em; }

.section { padding-top: clamp(82px, 9vw, 132px); padding-bottom: clamp(82px, 9vw, 132px); }
.section-heading { margin-bottom: 38px; }
.section-heading h2, .section h2 { letter-spacing: -.04em; }
.section-heading h2 span, .section h2 span { color: var(--accent-soft); }
.line-card, .shop-card, .portfolio-card, .contact-card { border-color: rgba(255, 255, 255, .12); background: linear-gradient(145deg, #191511 0%, #0f0e0c 100%); box-shadow: 0 18px 44px rgba(0, 0, 0, .25); }
.line-card, .shop-card, .portfolio-card { border-radius: 16px; }
.line-card:hover, .shop-card:hover, .portfolio-card:hover { border-color: rgba(242, 138, 22, .7); box-shadow: 0 26px 62px rgba(0, 0, 0, .42); }
.proof-strip { border-color: rgba(255,255,255,.12); border-radius: 16px; box-shadow: 0 18px 48px rgba(0,0,0,.22); }
.proof-strip div { padding: 27px 30px; background: #11100e; }
.proof-strip b { color: var(--accent-soft); }

.shop-card__visual { height: 290px; }
.shop-card__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 56%, rgba(0,0,0,.38)); pointer-events: none; }
.shop-card__body { min-height: 238px; padding: 23px; }
.shop-card__body h2 { letter-spacing: -.025em; }
.shop-card__footer { padding-top: 15px; border-top: 1px solid rgba(255,255,255,.08); }
.product-badge { top: 16px; left: 16px; box-shadow: 0 8px 20px rgba(0,0,0,.28); }

.page-hero { min-height: 470px; padding-top: 205px; background-position: center 44%; }
.page-hero--portfolio { min-height: 560px; }
.page-hero h1 { letter-spacing: -.045em; }
.catalog-toolbar { padding: 18px; border: 1px solid rgba(255,255,255,.11); border-radius: 15px; background: #11100e; }
.search-field input { min-height: 52px; border-radius: 10px; background: #0b0a08; }
.filter-btn { min-height: 43px; border-radius: 9px; background: #16130f; }
.filter-btn.is-active { box-shadow: 0 10px 28px rgba(242,138,22,.25); }

.site-footer { border-top-color: rgba(242,138,22,.38); background: #080706; }
.footer-inner { padding-top: 66px; padding-bottom: 60px; }
.footer-inner a:hover { color: var(--fire); }
.whatsapp-float { width: 60px; height: 60px; right: 26px; bottom: 26px; box-shadow: 0 16px 38px rgba(0,0,0,.48), 0 0 0 6px rgba(25,168,90,.12); transition: transform .2s ease, box-shadow .2s ease; }
.whatsapp-float:hover { transform: translateY(-4px) scale(1.04); box-shadow: 0 20px 48px rgba(0,0,0,.56), 0 0 0 9px rgba(25,168,90,.12); }

@media (max-width: 980px) {
  .site-header { top: 12px; width: calc(100% - 28px); border-radius: 16px; }
  .nav { min-height: 76px; padding: 8px 12px 8px 18px; grid-template-columns: 1fr auto; gap: 10px; }
  .site-header .brand__logo { width: 150px; height: 54px; }
  .menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; font-size: 0; }
  .menu-toggle::before, .menu-toggle::after { content: ""; position: absolute; width: 18px; height: 2px; border-radius: 2px; background: #f8eee2; transition: transform .2s ease; }
  .menu-toggle::before { transform: translateY(-4px); }
  .menu-toggle::after { transform: translateY(4px); }
  .nav.is-open .menu-toggle::before { transform: rotate(45deg); }
  .nav.is-open .menu-toggle::after { transform: rotate(-45deg); }
  .nav__links, .nav__actions { grid-column: 1 / -1; display: none; margin: 2px 0 0; padding: 10px; border: 1px solid rgba(255,255,255,.1); border-radius: 13px; background: #171410; box-shadow: 0 14px 34px rgba(0,0,0,.3); }
  .nav.is-open .nav__links { display: flex; }
  .nav.is-open .nav__actions { display: flex; }
  .nav__links { gap: 3px; }
  .nav__links a { width: 100%; padding: 13px 14px; }
  .nav__actions { align-items: stretch; }
  .nav__actions .nav__quote { flex: 1; }
  .hero-home { height: auto; min-height: 720px; aspect-ratio: auto; padding-top: 166px; }
  .hero-home::before { inset: 102px 16px 16px; }
  .hero__content { max-width: 650px; }
}

@media (max-width: 640px) {
  :root { --container: min(100% - 28px, 1180px); }
  .site-header { top: 9px; width: calc(100% - 18px); }
  .nav { min-height: 68px; padding-left: 13px; }
  .site-header .brand__logo { width: 135px; height: 48px; }
  .nav__actions { grid-template-columns: auto auto 1fr; }
  .nav.is-open .nav__actions { display: grid; }
  .nav__actions .social { width: 39px; height: 39px; }
  .hero-home { min-height: 690px; padding: 137px 24px 76px; background-position: 58% center; }
  .hero-home::before { inset: 88px 12px 12px; border-radius: 12px; }
  .hero__content { padding-left: 18px; }
  .hero h1 span, .hero h1 strong { font-size: clamp(3.45rem, 18vw, 5.7rem); }
  .hero .actions { align-items: stretch; flex-direction: column; }
  .hero .btn { width: 100%; }
  .hero-trust { display: grid; gap: 9px; }
  .hero-trust li { width: fit-content; }
  .page-hero { min-height: 410px; padding-top: 160px; }
  .catalog-toolbar { padding: 12px; }
  .shop-card__visual { height: 264px; }
  .whatsapp-float { right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  :root[data-motion="reduced"] *,
  :root[data-motion="reduced"] *::before,
  :root[data-motion="reduced"] *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  :root[data-motion="reduced"] .hero-sparks { display: none; }
}

/* Desktop direction: independent solid navigation islands instead of one continuous bar. */
@media (min-width: 981px) {
  .site-header {
    top: 24px;
    width: min(calc(100% - 64px), 1380px);
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
  }

  .site-header::before { display: none; }
  .site-header.is-scrolled { background: transparent; box-shadow: none; }

  .nav {
    min-height: 76px;
    padding: 0;
    grid-template-columns: auto 1fr auto;
    gap: clamp(18px, 3.2vw, 58px);
  }

  .site-header .brand {
    position: relative;
    min-width: 182px;
    padding: 8px 18px 8px 12px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-top-color: rgba(242, 138, 22, .8);
    border-radius: 16px;
    background: linear-gradient(135deg, #251b10 0%, #11100e 76%);
    box-shadow: 0 18px 48px rgba(0, 0, 0, .42), 0 2px 0 rgba(255,255,255,.04) inset;
  }

  .site-header .brand::after {
    display: none;
  }

  .site-header .brand__logo { width: 145px; height: 58px; mix-blend-mode: screen; }

  .nav__links {
    justify-self: center;
    width: max-content;
    max-width: 100%;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 16px;
    background: #11100e;
    box-shadow: 0 18px 48px rgba(0, 0, 0, .42), 0 2px 0 rgba(255,255,255,.04) inset;
  }

  .nav__links a { padding: 12px 14px 11px; }

  .nav__actions {
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 16px;
    background: #11100e;
    box-shadow: 0 18px 48px rgba(0, 0, 0, .42), 0 2px 0 rgba(255,255,255,.04) inset;
  }

  .nav__actions .nav__quote { min-width: 166px; }

  .hero-home {
    height: max(700px, 56.25vw);
    min-height: 700px;
    padding-top: clamp(164px, 13.5vw, 210px);
    padding-bottom: clamp(82px, 7vw, 112px);
  }

  .hero-home::before {
    inset: 130px 30px 30px;
    border-color: rgba(255,255,255,.14);
  }

  .hero__content { max-width: 760px; }
}

/*
 * Editable hero set. All files live directly in /images/ so replacing a
 * desktop or mobile image never requires editing markup. Desktop uses a 21:9
 * frame; mobile uses a portrait 4:5 crop with a safe text area on the left.
 */
.hero-home {
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, .84), rgba(0, 0, 0, .38) 52%, rgba(0, 0, 0, .72)),
    url("../hero-home-desktop.jpg");
}

.page-hero {
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, .88), rgba(0, 0, 0, .48)),
    url("../hero-trabajos-desktop.jpg");
}

.page-hero--products {
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, .86), rgba(0, 0, 0, .42)),
    url("../hero-productos-desktop.jpg");
}

.page-hero--about,
.page-hero:not(.page-hero--products):not(.page-hero--portfolio):not(.contact-hero) {
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, .88), rgba(0, 0, 0, .48)),
    url("../hero-quienes-desktop.jpg");
}

.contact-hero {
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, .88), rgba(0, 0, 0, .48)),
    url("../hero-contacto-desktop.jpg");
}

@media (max-width: 980px) {
  .hero-home {
    background-image:
      linear-gradient(90deg, rgba(0, 0, 0, .86), rgba(0, 0, 0, .42) 56%, rgba(0, 0, 0, .7)),
      url("../hero-home-mobile.jpg");
  }

  .page-hero {
    background-image:
      linear-gradient(90deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .48)),
      url("../hero-trabajos-mobile.jpg");
  }

  .page-hero--products {
    background-image:
      linear-gradient(90deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .46)),
      url("../hero-productos-mobile.jpg");
  }

  .page-hero--about,
  .page-hero:not(.page-hero--products):not(.page-hero--portfolio):not(.contact-hero) {
    background-image:
      linear-gradient(90deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .48)),
      url("../hero-quienes-mobile.jpg");
  }

  .contact-hero {
    background-image:
      linear-gradient(90deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .48)),
      url("../hero-contacto-mobile.jpg");
  }
}

/* Panoramic browser header: 21:9 keeps the hero present without consuming
 * the whole first viewport. Mobile keeps its independent portrait treatment. */
@media (min-width: 981px) {
  .hero-home {
    height: auto;
    min-height: 0;
    aspect-ratio: 21 / 9;
  }

  .page-hero,
  .page-hero--portfolio {
    height: auto;
    min-height: 0;
    aspect-ratio: 21 / 9;
  }
}

@media (max-width: 980px) {
  .hero-home,
  .page-hero,
  .page-hero--portfolio {
    aspect-ratio: auto;
  }
}

@media (min-width: 981px) {
  :root:not([data-motion="reduced"]) .hero-home,
  :root:not([data-motion="reduced"]) .page-hero {
    animation: hero-breathe-desktop 30s ease-in-out infinite;
    background-repeat: no-repeat;
    will-change: background-size, background-position;
  }
}

@media (max-width: 980px) {
  :root:not([data-motion="reduced"]) .hero-home {
    animation: hero-breathe-home-mobile 34s ease-in-out infinite;
    background-repeat: no-repeat;
    will-change: background-size, background-position;
  }

  :root:not([data-motion="reduced"]) .page-hero {
    animation: hero-breathe-mobile 34s ease-in-out infinite;
    background-repeat: no-repeat;
    will-change: background-size, background-position;
  }
}

:root[data-motion="reduced"] .hero-home,
:root[data-motion="reduced"] .page-hero { animation: none; }

/* Product stars: four visual tiles built from the ready-made principal models. */
.stars-section {
  position: relative;
  overflow: hidden;
}

.stars-section::before {
  content: "";
  position: absolute;
  top: 4%;
  right: -12%;
  width: 48%;
  height: 42%;
  border-radius: 50%;
  background: rgba(242, 109, 14, .09);
  filter: blur(90px);
  pointer-events: none;
}

.stars-section .section-heading,
.star-products,
.stars-section__actions { position: relative; z-index: 1; }

.stars-section__intro {
  max-width: 380px;
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.7;
}

.star-products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.star-product {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 18px;
  background: #0d0b09;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .3);
  isolation: isolate;
  transition: transform .45s cubic-bezier(.2, .75, .2, 1), border-color .45s ease, box-shadow .45s ease;
}

.star-product:hover {
  transform: translateY(-8px);
  border-color: rgba(242, 138, 22, .76);
  box-shadow: 0 30px 62px rgba(0, 0, 0, .46), 0 0 0 1px rgba(242, 138, 22, .16);
}

.star-product__visual {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #090807;
}

.star-product__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(5, 4, 3, .9) 100%);
  pointer-events: none;
}

.star-product__visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .9s cubic-bezier(.2, .7, .2, 1), filter .9s ease;
}

.star-product:hover .star-product__visual img {
  transform: scale(1.035);
  filter: saturate(1.08) contrast(1.04);
}

.star-product__index {
  position: absolute;
  top: 14px;
  left: 15px;
  z-index: 1;
  color: rgba(255, 255, 255, .72);
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1;
  text-shadow: 0 3px 14px rgba(0, 0, 0, .7);
}

.star-product__body {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  padding: 42px 18px 18px;
}

.star-product__eyebrow {
  margin-bottom: 7px;
  color: var(--fire);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.star-product__body h3 {
  margin-bottom: 7px;
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.35vw, 1.35rem);
  line-height: 1.05;
  text-transform: none;
}

.star-product__description {
  min-height: 2.5em;
  margin-bottom: 14px;
  color: #d1c7bb;
  font-size: .76rem;
  line-height: 1.4;
}

.star-product__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff3e5;
  cursor: pointer;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
  text-align: left;
  text-transform: uppercase;
}

.star-product__cta b { color: var(--fire); font-size: 1.15rem; transition: transform .3s ease; }
.star-product__cta:hover b { transform: translateX(4px); }

.stars-section__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 30px;
}

@media (max-width: 980px) {
  .star-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .star-product__description { font-size: .72rem; }
}

@media (max-width: 640px) {
  .star-products { gap: 12px; }
  .star-product { border-radius: 14px; }
  .star-product__body { padding: 34px 13px 14px; }
  .star-product__body h3 { font-size: 1rem; }
  .star-product__description { min-height: 3.2em; font-size: .68rem; }
  .star-product__cta { font-size: 8px; letter-spacing: .06em; }
  .stars-section__actions { align-items: flex-start; flex-direction: column; gap: 16px; }
}

@media (max-width: 980px) {
  .catalog-stars { padding: 24px; }
  .catalog-star-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .catalog-stars { margin-bottom: 48px; padding: 18px 14px; border-radius: 15px; }
  .catalog-star-grid { gap: 12px; }
  .catalog-star-card .shop-card__visual { height: 240px; }
  .catalog-star-card .shop-card__body { min-height: 165px; padding: 14px; }
  .catalog-star-card .shop-card__body h2 { font-size: 1rem; }
  .shop-card__featured-note { font-size: .6rem; }
  .modal-specs { gap: 7px 12px; }
}

/* Footer direction: a clear multi-column close with visible social channels
 * and a small, right-aligned studio credit. */
.site-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(242, 138, 22, .34);
  background:
    radial-gradient(circle at 84% 8%, rgba(242, 138, 22, .1), transparent 26rem),
    linear-gradient(180deg, #0e0c0a 0%, #070605 100%);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .34;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 6px);
}

.footer-inner {
  position: relative;
  z-index: 1;
  width: var(--container);
  padding: 70px 0 24px;
  display: block;
  color: var(--muted);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(220px, 1.35fr) repeat(3, minmax(0, 1fr));
  gap: clamp(26px, 4vw, 68px);
  padding-bottom: 54px;
}

.footer-intro .brand--footer {
  margin-bottom: 14px;
}

.footer-intro .brand__logo {
  height: 66px;
}

.footer-intro > p {
  max-width: 280px;
  margin: 0 0 22px;
  color: #aaa095;
  font-size: .82rem;
  line-height: 1.7;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  color: #fff2df;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color .2s ease, transform .2s ease;
}

.footer-cta:hover {
  color: var(--fire);
  transform: translateX(3px);
}

.footer-kicker {
  margin: 6px 0 18px;
  color: #f4e9dc;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 3px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  margin: 0;
  padding: 2px 0;
  color: #a69b8f;
  font-size: .76rem;
  line-height: 1.4;
  transition: color .2s ease, transform .2s ease;
}

.footer-links a:hover {
  color: var(--fire);
  transform: translateX(3px);
}

.footer-contact-link {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  color: #f9eee1;
  font-size: .95rem;
  font-weight: 800;
  transition: color .2s ease;
}

.footer-contact-link:hover { color: var(--fire); }

.footer-address {
  margin: 3px 0 24px;
  color: #9b9187;
  font-size: .75rem;
  line-height: 1.5;
}

.footer-kicker--social {
  margin-bottom: 12px;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-social__link {
  width: 42px;
  height: 42px;
  border-color: rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .045);
  color: #f5e9db;
}

.footer-social__link:hover {
  border-color: rgba(242, 138, 22, .72);
  background: rgba(242, 138, 22, .13);
  box-shadow: 0 12px 28px rgba(242, 138, 22, .16);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.footer-meta,
.footer-credit {
  margin: 0;
  color: #776e65;
  font-size: .65rem;
  letter-spacing: .04em;
}

.footer-credit {
  margin-right: 76px;
  text-align: right;
}

.footer-credit a {
  display: inline;
  min-height: 0;
  margin: 0;
  padding: 0;
  color: #f0e4d8;
  font-weight: 800;
  transition: color .2s ease;
}

.footer-credit a:hover { color: var(--fire); }

@media (max-width: 980px) {
  .footer-inner { padding-top: 56px; }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 38px 28px; }
}

@media (max-width: 640px) {
  .footer-inner { padding-top: 48px; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; padding-bottom: 38px; }
  .footer-intro > p { max-width: 300px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 9px; }
  .footer-credit { margin-right: 0; text-align: left; }
}

/* Hero titles: retain the strong Anton editorial voice, with a calmer scale
 * so the copy stays inside the photographic frame and remains legible. */
.hero h1 span,
.hero h1 strong,
.page-hero h1,
.page-hero--portfolio h1 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -.035em;
  text-shadow: 0 7px 22px rgba(0, 0, 0, .48);
}

.hero h1 span,
.page-hero h1 {
  font-size: clamp(3.5rem, 9.5vw, 8.2rem);
}

.hero h1 strong {
  font-style: italic;
  font-size: clamp(3.8rem, 9.5vw, 8.6rem);
  letter-spacing: -.02em;
}

.page-hero--portfolio h1 {
  font-size: clamp(3.5rem, 8vw, 7.2rem);
}

@media (max-width: 980px) {
  .hero h1 span,
  .hero h1 strong,
  .page-hero h1,
  .page-hero--portfolio h1 {
    letter-spacing: -.025em;
  }
}

@media (max-width: 640px) {
  .hero h1 span,
  .hero h1 strong {
    font-size: clamp(3.1rem, 16vw, 5.1rem);
  }

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

/* Product/work dialogs: give long names enough breathing room beside the gallery. */
.modal-copy h2 {
  max-width: 100%;
  margin-bottom: 18px;
  font-size: clamp(2.15rem, 3.35vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -.045em;
  text-wrap: balance;
}

@media (max-width: 980px) {
  .modal-copy h2 {
    font-size: clamp(2rem, 6vw, 3.4rem);
  }
}

/* Final header-logo overrides: the editable horizontal mark is shown alone. */
.site-header .brand::after { display: none !important; }
.site-header .brand__logo-wrap { position: relative; display: block; flex: 0 0 auto; width: 150px; height: 58px; overflow: hidden; }
.site-header .brand__logo { position: absolute; top: 50%; left: 50%; width: 184px; max-width: none; height: 92px; object-fit: contain; object-position: center; transform: translate(-50%, -50%); mix-blend-mode: screen; opacity: .88; }

@media (max-width: 980px) {
  .site-header .brand__logo-wrap { width: 150px; height: 54px; }
  .site-header .brand__logo { width: 184px; height: 92px; }
}

@media (max-width: 640px) {
  .site-header .brand__logo-wrap { width: 140px; height: 50px; }
  .site-header .brand__logo { width: 172px; height: 86px; }
}

/* Definitive footer-social treatment: clean icon-only links with a subtle color hover. */
.footer-social__link {
  width: 40px;
  height: 40px;
  border-color: transparent;
  background: transparent;
  color: #f5e9db;
  box-shadow: none;
}

.footer-social__link svg { width: 19px; height: 19px; }

.footer-social__link:hover {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  color: var(--fire);
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   Mobile polish
   The legacy mobile rules above are intentionally kept for compatibility;
   this final block is the single source of truth for phone-sized layouts.
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  :root { --container: min(100% - 28px, 1180px); }

  html,
  body { overflow-x: hidden; }

  .section {
    width: var(--container);
    padding-block: 64px;
  }

  .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .nav {
    min-height: 66px;
    padding: 7px 10px 7px 12px;
  }

  .site-header .brand__logo-wrap { width: 140px; height: 50px; }
  .site-header .brand__logo { width: 172px; height: 86px; }
  .menu-toggle { width: 42px; height: 42px; }

  /* Consultation CTA: stack the copy and action instead of leaving the
     button stranded in the desktop grid's second column. */
  .consultation-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
    margin-bottom: 45px;
    padding: 28px 22px 30px;
  }

  .consultation-card > div { width: 100%; }

  .consultation-card h2 {
    max-width: none;
    margin-bottom: 12px;
    font-size: clamp(2.35rem, 11vw, 3.5rem);
    line-height: .98;
  }

  .consultation-card p:last-child {
    max-width: none;
    font-size: .93rem;
    line-height: 1.65;
  }

  .consultation-card .btn {
    width: 100%;
    min-height: 52px;
    align-self: stretch;
    justify-content: center;
  }

  /* Hero: use the full phone column and keep the actions readable. */
  .hero-home {
    min-height: 700px;
    padding: 150px 24px 72px;
  }

  .hero__content {
    width: 100%;
    max-width: none;
    padding-left: 16px;
  }

  .hero h1 span,
  .hero h1 strong { font-size: clamp(3.2rem, 16vw, 5.2rem); }

  .hero p:not(.eyebrow) {
    max-width: 34ch;
    font-size: .98rem;
    line-height: 1.6;
  }

  .hero .actions {
    width: 100%;
    gap: 10px;
  }

  .hero .btn {
    width: 100%;
    min-height: 52px;
  }

  .hero-trust {
    gap: 8px;
    margin-top: 26px;
    font-size: 9px;
    letter-spacing: .1em;
  }

  .hero-trust li {
    width: 100%;
    max-width: 100%;
  }

  /* Section headings and grids should never force horizontal scrolling. */
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 25px;
  }

  .section-heading h2,
  .section h2 { font-size: clamp(2rem, 9.5vw, 3.3rem); }
  .section-heading > .text-link { align-self: flex-start; }

  .shop-grid,
  .shop-grid--catalog,
  .featured-grid,
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  /* Two-column mobile previews need a consistent frame. Containment keeps
     portrait product photos fully visible instead of cropping their subject. */
  .shop-card__visual,
  .catalog-star-card .shop-card__visual {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .shop-card__visual img {
    object-fit: contain;
    padding: 7px;
  }

  .shop-card__body {
    min-height: 0;
    padding: 14px 12px 15px;
  }

  .shop-card__category {
    margin-bottom: 6px;
    font-size: 8px;
    letter-spacing: .1em;
  }

  .shop-card__body h2 {
    display: -webkit-box;
    overflow: hidden;
    margin-bottom: 8px;
    font-size: 1rem;
    line-height: 1.1;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .shop-card__description {
    margin-bottom: 12px;
    font-size: .7rem;
    line-height: 1.45;
    -webkit-line-clamp: 3;
  }

  .shop-card__footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .shop-card__price { font-size: .75rem; }
  .shop-card__footer .text-link { font-size: .65rem; }

  /* The home work strip and the full portfolio use the same compact rhythm. */
  .featured-grid { margin: 24px 0; }

  .work-tile {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .work-tile img {
    object-fit: contain;
    padding: 6px;
    background: #0f0d0b;
  }

  .work-tile span {
    inset: auto 10px 10px;
    font-size: 9px;
  }

  .portfolio-card__image {
    aspect-ratio: 4 / 3;
  }

  .portfolio-card__image img {
    object-fit: contain;
    padding: 6px;
  }

  .portfolio-card__body {
    min-height: 0;
    gap: 6px;
    padding: 14px 12px 16px;
  }

  .portfolio-card__body h2,
  .portfolio-section .portfolio-card h2 {
    margin-bottom: 6px;
    font-size: 1rem;
    line-height: 1.12;
  }

  .portfolio-card__body p {
    font-size: .7rem;
    line-height: 1.45;
  }

  .catalog-stars {
    margin-bottom: 48px;
    padding: 20px 14px;
    border-radius: 16px;
  }

  .catalog-star-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .catalog-star-card .shop-card__visual { height: 280px; }

  /* Dialogs: gallery first, then a naturally scrolling copy column. */
  .product-modal,
  .work-modal {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
    border-radius: 14px;
  }

  .modal-shell {
    display: block;
    max-height: calc(100dvh - 20px);
    overflow-y: auto;
  }

  .modal-gallery {
    min-height: 0;
    padding: 10px;
  }

  .modal-image-wrap { min-height: 280px; }

  .modal-image-wrap > img {
    width: 100%;
    height: min(42dvh, 380px);
  }

  .modal-copy {
    max-height: none;
    padding: 28px 20px 26px;
  }

  .modal-copy h2 {
    padding-right: 0;
    font-size: clamp(2rem, 10.5vw, 3.2rem);
    line-height: 1.02;
  }

  .modal-actions .btn { width: 100%; }
  .modal-specs { grid-template-columns: 1fr; }

  .modal-close {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    font-size: 24px;
  }

  /* Contact form: one comfortable field per row, with no cramped columns. */
  .contact-layout {
    gap: 34px;
    padding-top: 52px;
    padding-bottom: 70px;
  }

  .contact-aside h2 { font-size: clamp(2.4rem, 11vw, 3.4rem); }
  .lead-form { padding: 22px 18px; }
  .form-grid { gap: 14px; margin: 22px 0; }
  .form-dynamic { margin-top: 0; }

  /* Keep the footer readable above the floating WhatsApp action. */
  .site-footer { padding-bottom: 70px; }
  .footer-inner {
    width: var(--container);
    padding-top: 48px;
  }

  .whatsapp-float {
    width: 54px;
    height: 54px;
    right: 14px;
    bottom: 14px;
  }
}

@media (max-width: 480px) {
  .page-hero {
    min-height: 400px;
    padding: 145px 24px 62px;
  }

  .page-hero h1 { font-size: clamp(2.8rem, 14vw, 4.6rem); }
  .eyebrow { font-size: 10px; letter-spacing: .34em; }
  .hero-trust li { font-size: 8.5px; }
  .consultation-card { padding: 24px 18px 26px; }
}
