:root {
  --color-primary: #f05a28;
  --color-primary-dark: #d9481b;
  --color-text: #1f2937;
  --color-muted: #6b7280;
  --color-surface: #ffffff;
  --color-background: #f8fafc;
  --shadow-soft: 0 20px 45px rgba(15, 23, 42, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--color-text);
  background:
    radial-gradient(circle at top left, rgba(240, 90, 40, 0.12), transparent 30%),
    linear-gradient(180deg, #fff 0%, var(--color-background) 100%);
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.header-content {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.brand-right img {
  height: 68px;
}

.hero {
  padding: 0;
}

.hero .container {
  width: 100%;
  max-width: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 0;
  align-items: stretch;
}

.hero-copy,
.hero-visual {
  border-radius: 0;
  overflow: hidden;
  min-height: 520px;
}

.hero-copy {
  background: #e3582f;
  color: #fff;
  font-family: "Sora", sans-serif;
  padding: 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.hero-eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  padding: 0;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.hero-copy h1 span {
  display: block;
}

.hero-highlight {
  color: #ffea9b;
}

.hero-subtitle {
  font-weight: 600;
}

.hero-copy h1 strong {
  display: block;
  margin: 8px 0;
  font-size: 1.15em;
}

.hero-copy p {
  max-width: 520px;
  margin: 20px 0 0;
  font-size: 0.78rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.hero-project-logo {
  width: min(100%, 250px);
  height: auto;
  margin-top: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: #fff;
  color: var(--color-primary);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.14);
}

.btn-secondary {
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
}

.hero-visual {
  position: relative;
  padding: 48px 52px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  text-align: right;
  font-family: "Sora", sans-serif;
  background:
    linear-gradient(180deg, rgba(22, 44, 78, 0.08), rgba(14, 23, 40, 0.45)),
    url("../images/fachada.jpg") center/cover no-repeat;
  box-shadow: var(--shadow-soft);
}

.hero-badge {
  position: static;
  margin-bottom: 8px;
  font-family: "Sora", sans-serif;
  font-size: clamp(2.8rem, 4.5vw, 5rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.hero-visual h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3.2vw, 3.2rem);
  font-weight: 700;
  line-height: 1.05;
  color: #fff;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.hero-visual > p {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

/* ── Referir pronto page hero ───────── */

.referir-pronto-page .hero-grid--equal {
  grid-template-columns: 1fr 1fr;
}

.referir-pronto-page .hero-copy--coffee {
  background: #eac868;
  color: #000;
  font-family: "Inter", sans-serif;
  align-items: flex-start;
  text-align: left;
  padding: 46px 52px;
}

.referir-pronto-page .hero-copy--coffee {
  --coffee-arrow-width: 90px;
  --coffee-head-gap: 16px;
  --coffee-content-left: calc(var(--coffee-arrow-width) + var(--coffee-head-gap));
}

.coffee-hero-head {
  display: flex;
  align-items: flex-start;
  gap: var(--coffee-head-gap);
  width: 100%;
}

.coffee-arrow {
  width: var(--coffee-arrow-width);
  height: auto;
  object-fit: contain;
  margin-top: -2px;
}

.coffee-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 24px;
  background: #e1562d;
  color: #fff;
  font-family: "Sora", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.coffee-logo {
  width: min(100%, 365px);
  height: auto;
  margin: 12px 0 16px var(--coffee-content-left);
  object-fit: contain;
}

.coffee-divider {
  width: calc(100% - 180px);
  height: 6px;
  margin-left: var(--coffee-content-left);
  background: #fff;
}

.referir-pronto-page .hero-copy--coffee .coffee-copy {
  margin: 14px 0 0 var(--coffee-content-left);
  max-width: 355px;
  font-family: "Sora", sans-serif;
  font-size: clamp(0.82rem, 1.3vw, 1.28rem);
  font-weight: 400;
  line-height: 1.2;
  color: #000;
}

.referir-pronto-page .hero-copy--coffee .coffee-amount {
  margin: 12px 0 0 var(--coffee-content-left);
  font-family: "Sora", sans-serif;
  font-size: clamp(4.1rem, 7.2vw, 6.6rem);
  font-weight: 600;
  line-height: 0.95;
  color: #000;
}

.coffee-footer-row {
  margin: 10px 0 0 var(--coffee-content-left);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
}

.coffee-footer-row span {
  font-family: "Sora", sans-serif;
  font-size: clamp(0.82rem, 1.3vw, 1.28rem);
  font-weight: 400;
  color: #000;
  line-height: 1.2;
  white-space: nowrap;
}

.coffee-sunny {
  width: min(100%, 148px);
  height: auto;
  object-fit: contain;
  transform: translateY(1px);
}

.referir-pronto-page .hero-visual {
  position: relative;
  padding: 42px;
  background:
    linear-gradient(180deg, rgba(22, 44, 78, 0.08), rgba(14, 23, 40, 0.45)),
    url("../images/oficinistas.jpeg") center/cover no-repeat;
}

.referir-pronto-page .hero-cafe-corner {
  position: absolute;
  left: 20px;
  bottom: 20px;
  width: min(100%, 92px);
  height: auto;
  object-fit: contain;
}

.referir-pronto-page .hero-right-copy {
  position: absolute;
  right: 28px;
  bottom: 28px;
  text-align: right;
  font-family: "Sora", sans-serif;
  color: #fff;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.referir-pronto-page .hero-right-copy h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4.2vw, 3.6rem);
  font-weight: 700;
  line-height: 1.05;
}

.referir-pronto-page .hero-right-copy p {
  margin: 8px 0 0;
  font-size: clamp(1.65rem, 3vw, 2.6rem);
  font-weight: 600;
  line-height: 1.1;
}

.referir-pronto-page .steps-reminder {
  background: #ececec;
  padding: 56px 0 52px;
}

.referir-pronto-page .steps-reminder-title {
  margin: 0;
  text-align: center;
  font-family: "Sora", sans-serif;
  font-size: clamp(2rem, 3.1vw, 3.1rem);
  font-weight: 400;
  color: #111;
}

.referir-pronto-page .steps-reminder-title strong {
  font-weight: 800;
}

.referir-pronto-page .steps-reminder-text {
  margin: 22px auto 0;
  max-width: 980px;
  text-align: center;
  font-family: "Sora", sans-serif;
  font-size: clamp(1rem, 1.75vw, 2rem);
  font-weight: 400;
  line-height: 1.35;
  color: #111;
}

.referir-pronto-page .steps-reminder-text strong {
  font-weight: 800;
}

.referir-pronto-page .cta-ready {
  padding: 56px 0 46px;
}

.referir-pronto-page .cta-ready-content {
  max-width: 920px;
}

.referir-pronto-page .cta-form-title {
  margin: 0 0 28px;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: #fff;
}

.referir-pronto-page .cta-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 28px;
}

.referir-pronto-page .cta-form-grid input {
  height: 52px;
  border: 0;
  outline: none;
  padding: 0 16px;
  background: #ececec;
  color: #111;
  font-family: "Sora", sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.referir-pronto-page .cta-form-select-wrap {
  position: relative;
  height: 52px;
}

.referir-pronto-page .cta-form-select {
  width: 100%;
  height: 100%;
  border: 0;
  outline: none;
  padding: 0 44px 0 16px;
  background: #ececec;
  color: #111;
  font-family: "Sora", sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.referir-pronto-page .cta-form-select-wrap::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 3px solid #111;
  border-bottom: 3px solid #111;
  transform: translateY(-62%) rotate(45deg);
  pointer-events: none;
}

.referir-pronto-page .cta-form-select option {
  background: #f1f1f1;
  color: #1f2937;
  text-transform: none;
  font-weight: 500;
}

.referir-pronto-page .cta-form-grid input::placeholder {
  color: #111;
  opacity: 1;
}

.referir-pronto-page .cta-form-check {
  margin: 28px auto 0;
  display: flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: clamp(0.84rem, 1.25vw, 1.15rem);
  line-height: 1.35;
}

.referir-pronto-page .cta-form-check input {
  width: 29px;
  height: 29px;
  margin: 0;
  accent-color: #e1562d;
}

.referir-pronto-page .cta-form-submit {
  margin: 0 auto 0;
  display: block;
  min-height: 74px;
  min-width: 248px;
  padding: 0 34px;
  border: 0;
  border-radius: 999px;
  background: #e1562d;
  color: #fff;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.9rem, 3.2vw, 2.4rem);
  font-weight: 700;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.22);
  cursor: pointer;
}

/* ── Form double column (tengo-referido) ─── */

.referir-pronto-page .cta-form-double {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  column-gap: 56px;
}

.referir-pronto-page .cta-form-column {
  display: flex;
  flex-direction: column;
}

.referir-pronto-page .cta-form-column .cta-form-title {
  margin: 0 0 28px;
}

.referir-pronto-page .cta-form-double .cta-form-check {
  grid-column: 1 / -1;
  margin: 28px auto 0;
}

.referir-pronto-page .cta-form-double .cta-form-submit {
  grid-column: 1 / -1;
}

/* ── Steps section ──────────────────── */

.steps {
  padding: 72px 0 80px;
}

.steps-title {
  margin: 0 0 56px;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.2rem, 2.4vw, 1.75rem);
  font-weight: 400;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--color-text);
}

.steps-title strong {
  font-weight: 800;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}

.step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.step-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: -36px;
  position: relative;
  z-index: 1;
  box-shadow: 0 6px 18px rgba(240, 90, 40, 0.35);
}

.step-icon img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.step-body {
  width: 100%;
  flex: 1;
  border: 2px solid var(--color-primary);
  border-radius: 20px;
  padding: 48px 20px 24px;
  text-align: center;
  background: #fff;
}

.step-label {
  margin: 0 0 12px;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  font-weight: 800;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.step-desc {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--color-text);
}

/* ── Ready CTA section ───────────────── */

.cta-ready {
  padding: 52px 0 64px;
  background: url("../images/fondoverde.jpg") center/cover no-repeat;
}

.cta-ready-content {
  max-width: 980px;
}

.cta-ready-title {
  margin: 0 0 38px;
  font-family: "Sora", sans-serif;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 400;
  text-align: center;
  text-transform: uppercase;
  color: #fff;
}

.cta-ready-title strong {
  font-weight: 800;
}

.cta-ready-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 44px;
}

.cta-ready-btn {
  min-height: 124px;
  border-radius: 22px;
  background: #efe09a;
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.16);
  color: #000;
  text-decoration: none;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.9rem, 3vw, 2.15rem);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px 24px;
}

.terms-note {
  background: #fff;
  padding: 48px 0;
}

.terms-note-text {
  margin: 0;
  text-align: center;
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #1505f3;
}

.terms-note-text a {
  color: #1505f3;
  text-decoration: none;
}

/* ── Footer ─────────────────────────── */

.site-footer {
  background: #000;
  color: #fff;
  padding: 48px 0 54px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.2fr 1.2fr 1.35fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.footer-brand img {
  width: min(100%, 148px);
  height: auto;
  object-fit: contain;
}

.footer-column h3,
.footer-column h4 {
  margin: 0 0 18px;
  font-family: "Sora", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}

.footer-column a,
.footer-column p {
  display: block;
  margin: 0 0 6px;
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  line-height: 1.45;
  color: #fff;
  text-decoration: none;
}

.footer-column p {
  margin-bottom: 0;
}

.footer-social .social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.footer-social .social-row a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  margin: 0;
  background: #fff;
  color: var(--color-primary);
  font-family: "Sora", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-social .social-icon {
  width: 18px;
  height: 18px;
  display: block;
}

.footer-member-logo {
  width: min(100%, 150px);
  height: auto;
  object-fit: contain;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .referir-pronto-page .hero-grid--equal {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-visual {
    min-height: 420px;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-ready-actions {
    gap: 24px;
  }

  .cta-ready-btn {
    min-height: 108px;
    font-size: clamp(1.4rem, 2.8vw, 1.8rem);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 30px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .header-content {
    min-height: 78px;
  }

  .brand img {
    height: 40px;
  }

  .brand-right img {
    height: 52px;
  }

  .hero {
    padding: 0;
  }

  .hero-copy,
  .hero-visual {
    min-height: auto;
    padding: 32px 24px;
  }

  .referir-pronto-page .hero-copy--coffee {
    padding: 30px 20px;
    align-items: center;
    text-align: center;
    --coffee-arrow-width: 60px;
    --coffee-head-gap: 10px;
    --coffee-content-left: 0px;
  }

  .coffee-hero-head {
    gap: 10px;
    justify-content: center;
  }

  .coffee-arrow {
    width: 66px;
  }

  .coffee-tag {
    min-height: 34px;
    padding: 0 14px;
    font-size: 0.76rem;
  }

  .coffee-logo,
  .coffee-copy,
  .coffee-amount,
  .coffee-footer-row {
    margin-left: 0;
  }

  .coffee-logo {
    margin-top: 8px;
    margin-bottom: 10px;
    width: min(100%, 230px);
  }

  .coffee-divider {
    width: min(100%, 320px);
    margin-left: auto;
    margin-right: auto;
    height: 3px;
  }

  .referir-pronto-page .hero-copy--coffee .coffee-copy {
    margin-top: 10px;
    font-size: clamp(0.78rem, 3.8vw, 1.02rem);
    max-width: none;
  }

  .referir-pronto-page .hero-copy--coffee .coffee-amount {
    margin-top: 6px;
    font-size: clamp(3rem, 18vw, 4.8rem);
  }

  .coffee-footer-row {
    margin-top: 8px;
    gap: 8px;
    justify-content: center;
  }

  .coffee-footer-row span {
    font-size: clamp(0.78rem, 3.8vw, 1.02rem);
  }

  .coffee-sunny {
    width: min(100%, 104px);
  }

  .referir-pronto-page .hero-cafe-corner {
    position: static;
    width: min(100%, 58px);
    margin: 0 auto 10px;
    opacity: 0;
  }

  .referir-pronto-page .hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 32px 0;
  }

  .referir-pronto-page .hero-right-copy {
    position: static;
    right: auto;
    bottom: auto;
    text-align: center;
    transform: none;
  }

  .referir-pronto-page .hero-right-copy h2 {
    font-size: clamp(1.2rem, 6.3vw, 1.6rem);
  }

  .referir-pronto-page .hero-right-copy p {
    margin-top: 5px;
    font-size: clamp(0.92rem, 4.6vw, 1.2rem);
  }

  .referir-pronto-page .steps-reminder {
    padding: 34px 0 32px;
  }

  .referir-pronto-page .steps-reminder-title {
    font-size: clamp(1.45rem, 8vw, 2rem);
  }

  .referir-pronto-page .steps-reminder-text {
    margin-top: 14px;
    font-size: clamp(0.92rem, 4.4vw, 1.15rem);
    line-height: 1.4;
  }

  .referir-pronto-page .cta-ready {
    padding: 34px 0 34px;
    background:
      linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
      url("../images/fondoverde.jpg") center/cover no-repeat;
  }

  .referir-pronto-page .cta-form-title {
    margin-bottom: 16px;
    font-size: clamp(1.2rem, 6vw, 1.6rem);
  }

  .referir-pronto-page .cta-form-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .referir-pronto-page .cta-form-grid input {
    height: 56px;
    padding: 0 14px;
    font-size: clamp(0.9rem, 4.2vw, 1.05rem);
  }

  .referir-pronto-page .cta-form-select-wrap {
    height: 56px;
  }

  .referir-pronto-page .cta-form-select {
    padding: 0 40px 0 14px;
    font-size: clamp(0.9rem, 4.2vw, 1.05rem);
  }

  .referir-pronto-page .cta-form-select-wrap::after {
    right: 14px;
    width: 9px;
    height: 9px;
    border-right-width: 2.5px;
    border-bottom-width: 2.5px;
  }

  .referir-pronto-page .cta-form-check {
    margin-top: 16px;
    gap: 10px;
    align-items: flex-start;
    font-size: clamp(0.82rem, 3.8vw, 0.98rem);
  }

  .referir-pronto-page .cta-form-check input {
    width: 22px;
    height: 22px;
    margin-top: 2px;
  }

  .referir-pronto-page .cta-form-submit {
    margin-top: 20px;
    min-height: 56px;
    min-width: 208px;
    font-size: clamp(1.1rem, 5.2vw, 1.5rem);
  }

  .referir-pronto-page .cta-form-double {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .referir-pronto-page .cta-form-column .cta-form-title {
    margin-bottom: 16px;
    font-size: clamp(1.2rem, 6vw, 1.6rem);
  }

  .hero-copy h1 {
    line-height: 1;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .cta-ready {
    padding: 40px 0 48px;
    background:
      linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
      url("../images/fondoverde.jpg") center/cover no-repeat;
  }

  .cta-ready-title {
    margin-bottom: 24px;
    font-size: clamp(1.4rem, 7vw, 2rem);
  }

  .cta-ready-actions {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cta-ready-btn {
    min-height: 86px;
    border-radius: 18px;
    font-size: 1.45rem;
  }

  .terms-note {
    padding: 28px 0;
  }

  .terms-note-text {
    font-size: 18px;
    line-height: 1.45;
  }

  .site-footer {
    padding: 36px 0 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-column h3,
  .footer-column h4 {
    margin-bottom: 12px;
    font-size: 0.85rem;
  }

  .footer-column a,
  .footer-column p {
    font-size: 0.8rem;
  }

  .footer-social .social-row {
    margin-bottom: 18px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }


}

/* ── Gracias page ─────────────────────── */

.gracias-section {
  min-height: calc(100vh - 92px - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
  background: #fff;
}

.gracias-content {
  max-width: 720px;
  text-align: center;
}

.gracias-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

.gracias-icon img {
  width: 84px;
  height: 84px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.gracias-title {
  margin: 0 0 24px;
  font-family: "Sora", sans-serif;
  font-size: clamp(3.2rem, 8vw, 5.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #000;
}

.gracias-text {
  margin: 0 0 28px;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  font-weight: 400;
  line-height: 1.4;
  color: #111;
}

.gracias-text strong {
  font-weight: 800;
}

.gracias-message {
  max-width: 580px;
  margin: 0 auto;
  font-family: "Sora", sans-serif;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 400;
  line-height: 1.5;
  color: #111;
}

/* ── Gracias cards section ───────────── */

.gracias-cards {
  padding: 64px 0 72px;
  background: url("../images/fondogracias.png") center/cover no-repeat;
}

.gracias-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 920px;
}

.gracias-card {
  background: #fff;
  border-radius: 28px;
  padding: 42px 36px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.gracias-card-title {
  margin: 0 0 18px;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  color: #E1562D;
}

.gracias-card-text {
  margin: 0 0 28px;
  font-family: "Inter", sans-serif;
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  font-weight: 400;
  line-height: 1.5;
  color: #111;
}

.gracias-card-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.gracias-social-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #8B8B4B;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.gracias-social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.gracias-social-btn svg {
  width: 24px;
  height: 24px;
}

.gracias-web-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 42px;
  background: url("../images/fondoverde.jpg") center no-repeat;
  background-size: 150%;
  color: #fff;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gracias-web-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
}

@media (max-width: 640px) {
  .gracias-section {
    min-height: calc(100vh - 78px - 150px);
    padding: 48px 0;
  }

  .gracias-icon {
    margin-bottom: 24px;
  }

  .gracias-icon img {
    width: 68px;
    height: 68px;
  }

  .gracias-title {
    margin-bottom: 18px;
    font-size: clamp(2.4rem, 12vw, 3.8rem);
  }

  .gracias-text {
    margin-bottom: 20px;
    font-size: clamp(1.05rem, 5vw, 1.3rem);
  }

  .gracias-message {
    font-size: clamp(0.95rem, 4.5vw, 1.15rem);
  }

  .gracias-cards {
    padding: 42px 0 48px;
  }

  .gracias-cards-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .gracias-card {
    padding: 32px 24px;
  }

  .gracias-card-title {
    margin-bottom: 14px;
    font-size: clamp(1.35rem, 6vw, 1.75rem);
  }

  .gracias-card-text {
    margin-bottom: 22px;
    font-size: clamp(0.9rem, 4vw, 1.05rem);
  }

  .gracias-social-btn {
    width: 46px;
    height: 46px;
  }

  .gracias-social-btn svg {
    width: 22px;
    height: 22px;
  }

  .gracias-web-btn {
    min-height: 52px;
    padding: 0 34px;
    font-size: clamp(1.05rem, 4.8vw, 1.25rem);
  }
}
