:root {
  --bg: #080a09;
  --bg-card: rgba(255, 255, 255, 0.02);
  --panel: #0d100e;
  --text: #f4f1ea;
  --text-secondary: #c5c6c0;
  --muted: #9c9e98;
  --gold: #c9a65c;
  --gold2: #dfbd73;
  --gold-hover: #edd18f;
  --line: rgba(255, 255, 255, 0.12);
  --soft: rgba(255, 255, 255, 0.06);
  --focus-ring: rgba(223, 189, 115, 0.45);
  --max: 1200px;
  --sans: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  background: radial-gradient(circle at 50% 20%, #111612 0, #080a09 45%, #050706 100%);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease, opacity 0.2s ease;
}

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

button {
  cursor: pointer;
  border: 0;
  background: none;
}

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

.container {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.serif {
  font-family: var(--serif);
  font-weight: 500;
}

.eyebrow {
  color: var(--gold);
  font-size: 0.75rem; /* 12px */
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section {
  padding: 80px 0;
  border-top: 1px solid var(--soft);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 3.25rem); /* 32px - 52px */
  line-height: 1.08;
  margin: 8px 0 0;
  color: var(--text);
}

.section-title em {
  color: var(--gold2);
  font-style: normal;
  font-weight: 500;
}

.text-link {
  color: var(--gold);
  font-size: 0.8125rem; /* 13px */
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  white-space: nowrap;
  border-bottom: 1px solid rgba(201, 166, 92, 0.4);
  padding-bottom: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.text-link:hover {
  color: var(--gold-hover);
  border-bottom-color: var(--gold-hover);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 26px;
  border: 1px solid var(--gold2);
  background: var(--gold2);
  color: #15120a;
  font-size: 0.8125rem; /* 13px */
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: transform 0.2s ease, filter 0.2s ease, background 0.2s ease;
}

.btn:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 96px;
  z-index: 100;
  background: transparent;
}

.header-inner {
  height: 100%;
  width: min(calc(100% - 48px), 1260px);
  margin: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 25px;
}

.brand img {
  width: 155px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  justify-content: center;
  font-size: 0.8125rem; /* 13px */
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: #e2dfd7;
}

.main-nav a {
  padding: 6px 0;
}

.main-nav a:hover {
  color: var(--gold2);
}

.btn--header {
  justify-self: end;
  min-height: 42px;
  padding-inline: 20px;
  font-size: 0.75rem; /* 12px */
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 740px;
  min-height: 85vh;
  overflow: hidden;
  display: grid;
  place-items: center;
  text-align: center;
}

.hero-slides {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
}

.hero-image.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(90deg, rgba(8, 10, 9, 0.6) 0%, rgba(8, 10, 9, 0.25) 50%, rgba(8, 10, 9, 0.55) 100%),
    linear-gradient(0deg, rgba(5, 7, 6, 0.65) 0%, rgba(5, 7, 6, 0.15) 55%, rgba(5, 7, 6, 0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(980px, calc(100% - 48px));
  padding: 130px 0 60px;
}

.hero h1 {
  font-size: clamp(2.75rem, 7.5vw, 6.25rem); /* ~44px - 100px (+50% en desktop) */
  line-height: 1.02;
  margin: 0 0 72px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.hero h1 em {
  display: block;
  color: var(--gold2);
  font-style: normal;
  font-weight: 500;
}

.hero p {
  max-width: 580px;
  margin: 0 auto 28px;
  color: #ede9e0;
  font-size: 1.0625rem; /* 17px */
  line-height: 1.6;
}

.btn--hero {
  min-height: 40px;
  padding: 0 20px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  gap: 8px;
}

.hero-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: none;
  color: #f4efe5;
  font-size: 46px;
  font-weight: 200;
  opacity: 0.85;
  padding: 12px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
}

.hero-arrow--left { left: 20px; }
.hero-arrow--right { right: 20px; }

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 56px;
}

.hero-dots span,
.hero-dot {
  width: 20px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.35);
  transition: all 0.3s ease;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.hero-dots span.active,
.hero-dot.active {
  background: var(--gold2);
  width: 32px;
}

/* ==========================================================================
   KPIs / Stats
   ========================================================================== */
.stats {
  min-height: 110px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 30px 0;
}

.stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 10px 16px;
}

.stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  height: 55%;
  width: 1px;
  background: var(--line);
}

.stat strong {
  font-size: 1.875rem; /* 30px */
  line-height: 1.1;
  margin-bottom: 6px;
  font-weight: 700;
  color: var(--text);
}

.stat span {
  font-size: 0.75rem; /* 12px */
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--text-secondary);
}

/* ==========================================================================
   Transformation / Before-After Slider
   ========================================================================== */
.transformation {
  padding-top: 70px;
}

.transformation-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.35fr;
  gap: 56px;
  align-items: center;
}

.transformation-copy p {
  max-width: 450px;
  color: var(--text-secondary);
  font-size: 1rem; /* 16px */
  line-height: 1.65;
  margin-top: 14px;
}

.compare {
  height: 380px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #151714;
  user-select: none;
  touch-action: none;
  cursor: ew-resize;
}

.compare-before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.compare-after-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  clip-path: inset(0 0 0 var(--compare-pos, 50%));
  pointer-events: none;
}

.compare-after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.compare-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--compare-pos, 50%);
  width: 2px;
  background: #fff;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 10;
}

.compare-handle {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid white;
  background: #f4f1e8;
  color: #1e201d;
  font-size: 18px;
  font-weight: 700;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}

.compare-label {
  position: absolute;
  bottom: 14px;
  padding: 6px 12px;
  background: rgba(8, 10, 9, 0.78);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.6875rem; /* 11px */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  pointer-events: none;
  z-index: 5;
}

.compare-label--before { left: 14px; }
.compare-label--after { right: 14px; }

.compare-caption {
  text-align: right;
  color: var(--muted);
  font-size: 0.8125rem; /* 13px */
  margin-top: 14px;
}

/* ==========================================================================
   Projects Grid
   ========================================================================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.project-card {
  position: relative;
  aspect-ratio: 0.73;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #151714;
}

.project-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover > img {
  transform: scale(1.04);
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 7, 6, 0.92) 0%, rgba(5, 7, 6, 0.3) 50%, transparent 100%);
  pointer-events: none;
}

.project-info {
  position: absolute;
  z-index: 2;
  left: 18px;
  right: 18px;
  bottom: 16px;
}

.project-info h3 {
  font-family: var(--serif);
  font-size: 1.3125rem; /* 21px */
  font-weight: 500;
  margin: 0 0 4px;
  color: var(--text);
  line-height: 1.2;
}

.project-info p {
  font-size: 0.75rem; /* 12px */
  color: var(--text-secondary);
  margin: 0;
  letter-spacing: 0.02em;
}

.project-info span {
  position: absolute;
  right: 0;
  bottom: 0;
  color: var(--gold2);
  font-size: 1rem;
}

/* ==========================================================================
   Materials Section
   ========================================================================== */
.materials {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

.material {
  text-align: center;
}

.material figure {
  margin: 0 auto 14px;
  width: min(100%, 140px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.material img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.material:hover img {
  transform: scale(1.06);
}

.material span {
  font-size: 0.8125rem; /* 13px */
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
}

/* ==========================================================================
   Founder & Process Cards
   ========================================================================== */
.founder-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.35fr;
  gap: 55px;
  align-items: center;
  max-width: 1060px;
}

.founder-photo {
  aspect-ratio: 1.2;
  overflow: hidden;
  border: 1px solid var(--line);
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-copy p {
  font-size: 1rem; /* 16px */
  line-height: 1.68;
  color: var(--text-secondary);
}

.founder-copy blockquote {
  color: var(--gold2);
  font-size: 1.4375rem; /* 23px */
  line-height: 1.35;
  font-style: italic;
  border-left: 2px solid var(--gold);
  margin: 24px 0 8px;
  padding: 4px 0 4px 18px;
  max-width: 600px;
}

.founder-copy cite {
  font-style: normal;
  font-size: 0.8125rem; /* 13px */
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--muted);
  margin-left: 18px;
  display: block;
}

.process-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 55px;
  max-width: 960px;
}

.process-cards article {
  position: relative;
  border: 1px solid var(--line);
  padding: 22px 18px 0;
  min-height: 240px;
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.process-cards article:not(:last-child)::after {
  content: "›";
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 20px;
  z-index: 2;
}

.step {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.5rem; /* 24px */
  font-weight: 600;
  line-height: 1;
}

.process-cards h3 {
  font-size: 1rem; /* 16px */
  font-weight: 600;
  margin: 8px 0 6px;
  color: var(--text);
}

.process-cards p {
  font-size: 0.8125rem; /* 13px */
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0 0 16px;
  flex-grow: 1;
}

.process-cards img {
  height: 95px;
  min-height: 95px;
  width: calc(100% + 36px);
  min-width: calc(100% + 36px);
  max-width: calc(100% + 36px);
  margin-left: -18px;
  margin-right: -18px;
  margin-bottom: 0;
  object-fit: cover;
  object-position: center;
  display: block;
  flex-shrink: 0;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials-wrap {
  position: relative;
  padding: 0 44px;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial {
  border: 1px solid var(--line);
  padding: 26px 22px;
  min-height: 230px;
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-rating {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.testimonial-rating img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.stars {
  color: #fbbc05;
  letter-spacing: 0.1em;
  font-size: 0.9375rem; /* 15px */
}

.testimonial > p {
  font-size: 0.9375rem; /* 15px */
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 20px;
  flex: 1;
}

.author {
  display: flex;
  gap: 12px;
  align-items: center;
}

.author > img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
}

.author strong {
  display: block;
  font-size: 0.875rem; /* 14px */
  font-weight: 600;
  color: var(--text);
}

.author span {
  font-size: 0.75rem; /* 12px */
  color: var(--muted);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border: 1px solid rgba(201, 166, 92, 0.55);
  border-radius: 50%;
  background: rgba(8, 10, 9, 0.8);
  color: var(--gold);
  font-size: 24px;
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
}

.slider-arrow:hover {
  background: var(--gold2);
  color: #15120a;
  border-color: var(--gold2);
}

.slider-arrow.prev { left: 0; }
.slider-arrow.next { right: 0; }

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 20px;
}

.slider-dots span {
  width: 16px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.2);
}

.slider-dots .active {
  width: 28px;
  background: var(--gold);
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq--two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
}

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

.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-button {
  width: 100%;
  border: 0;
  background: none;
  color: var(--text);
  padding: 16px 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  gap: 16px;
  font-size: 0.9375rem; /* 15px */
  font-weight: 500;
  transition: color 0.2s ease;
}

.faq-button:hover {
  color: var(--gold2);
}

.faq-plus {
  color: var(--gold);
  font-size: 1.25rem; /* 20px */
  font-weight: 300;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-answer {
  display: none;
  padding: 0 24px 18px 4px;
  color: var(--text-secondary);
  font-size: 0.875rem; /* 14px */
  line-height: 1.65;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-item.open .faq-plus {
  transform: rotate(45deg);
}

/* ==========================================================================
   Contact Section & Form
   ========================================================================== */
.contact-section {
  display: grid;
  grid-template-columns: 38% 62%;
  min-height: 480px;
  border-top: 1px solid var(--line);
}

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

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 56px 48px;
  align-content: center;
  background: #090b0a;
}

.contact-intro h2 {
  font-size: clamp(1.875rem, 3.2vw, 2.75rem); /* 30px - 44px */
  line-height: 1.05;
  margin: 10px 0 14px;
}

.contact-intro > p {
  font-size: 0.9375rem; /* 15px */
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 470px;
  margin-bottom: 24px;
}

.contact-option {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px;
  align-items: start;
  margin: 20px 0;
}

.contact-option > span {
  width: 32px;
  height: 32px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 13px;
}

.contact-option strong {
  display: block;
  font-size: 0.875rem; /* 14px */
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
}

.contact-option p {
  font-size: 0.8125rem; /* 13px */
  line-height: 1.45;
  color: var(--muted);
  margin: 0;
}

.contact-form-wrap {
  border-left: 1px solid var(--line);
  padding-left: 36px;
}

.contact-option--top {
  margin-top: 0;
  margin-bottom: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field {
  width: 100%;
  min-height: 44px;
  background: #0d100e;
  border: 1px solid var(--line);
  border-radius: 0;
  color: #e7e6e0;
  padding: 0 14px;
  font-size: 0.875rem; /* 14px */
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field:focus {
  border-color: var(--gold2);
  box-shadow: 0 0 0 2px var(--focus-ring);
}

.form-grid select.field {
  grid-column: 1 / -1;
  appearance: auto;
}

.form-grid textarea.field {
  grid-column: 1 / -1;
  min-height: 90px;
  padding-top: 12px;
  resize: vertical;
}

.form-submit {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 48px;
  border: 0;
  background: var(--gold2);
  color: #17130d;
  font-size: 0.8125rem; /* 13px */
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 800;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.form-submit:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 980px) {
  .main-nav {
    gap: 20px;
    font-size: 0.75rem; /* 12px */
  }
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .materials {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .transformation-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .compare {
    height: 380px;
  }
  .founder-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .founder-photo {
    max-width: 480px;
  }
  .process-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-cards article:nth-child(2)::after {
    display: none;
  }
  .testimonials {
    grid-template-columns: 1fr;
  }
  .contact-section {
    grid-template-columns: 1fr;
  }
  .contact-image {
    height: 340px;
  }
}

@media (max-width: 760px) {
  .site-header {
    height: 84px;
  }
  .header-inner {
    grid-template-columns: 1fr auto;
  }
  .main-nav {
    display: none;
  }
  .btn--header {
    font-size: 0.75rem;
    padding-inline: 14px;
  }
  .brand img {
    width: 135px;
  }
  .hero {
    min-height: 100vh;
    min-height: 100dvh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
  }
  .hero-content {
    width: min(calc(100% - 48px), var(--max));
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 100px 0 28px;
    box-sizing: border-box;
  }
  .hero h1 {
    font-size: 3.25rem;
    margin: auto 0;
  }
  .btn--hero {
    margin-top: 0;
    margin-bottom: 22px;
  }
  .hero-dots {
    margin-top: 0;
    margin-bottom: 6px;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 0;
  }
  .stat:nth-child(2)::after {
    display: none;
  }
  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
  .faq--two-columns {
    grid-template-columns: 1fr;
  }
  .contact-content {
    grid-template-columns: 1fr;
    padding: 40px 24px;
  }
  .contact-form-wrap {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 32px;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(calc(100% - 32px), var(--max));
  }
  .header-inner {
    width: calc(100% - 24px);
  }
  .btn--header {
    display: none;
  }
  .hero {
    min-height: 100vh;
    min-height: 100dvh;
    height: 100dvh;
  }
  .hero-content {
    width: calc(100% - 32px);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 92px 0 calc(20px + env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
  }
  .hero h1 {
    font-size: 2.75rem; /* ~44px (+30% en móvil) */
    margin: auto 0;
  }
  .btn--hero {
    margin-top: 0;
    margin-bottom: 20px;
  }
  .hero-dots {
    margin-top: 0;
    margin-bottom: 4px;
  }
  .hero p {
    font-size: 0.9375rem; /* 15px */
  }
  .hero-arrow {
    display: none;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .materials {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  .process-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .process-cards article::after {
    display: none;
  }
  .compare {
    height: 300px;
  }
  .section {
    padding: 56px 0;
  }
  .section-title {
    font-size: 2rem;
  }
  .contact-intro h2 {
    font-size: 2rem;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-grid select,
  .form-grid textarea,
  .form-submit {
    grid-column: auto;
  }
  .testimonials-wrap {
    padding: 0;
  }
  .slider-arrow {
    display: none;
  }
  .field {
    font-size: 1rem; /* 16px to prevent iOS zoom */
  }
}
