:root {
  --navy: #1f3a5f;
  --terra: #c8553d;
  --gold: #e0a526;
  --cream: #fbf5ec;
  --teal: #2a7f7a;
  --ink: #1d2a3a;
  --muted: #5a6676;
  --white: #fff;
  --radius: 16px;
  --shadow: 0 12px 34px rgba(31, 58, 95, 0.1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family:
    "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--teal);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

h1,
h2,
h3 {
  color: var(--navy);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

h1 {
  margin: 0 0 20px;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 800;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  font-weight: 750;
}

p {
  margin-top: 0;
}

section {
  padding: 56px 0;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(31, 58, 95, 0.08);
  box-shadow: 0 4px 18px rgba(31, 58, 95, 0.06);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 1 auto;
  text-decoration: none;
}

.brand img {
  width: auto;
  height: 44px;
  max-width: min(48vw, 300px);
  object-fit: contain;
}

.header-cta,
.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 999px;
  padding: 12px 23px;
  color: #fff;
  background: var(--terra);
  box-shadow: 0 7px 20px rgba(200, 85, 61, 0.25);
  font: inherit;
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

.header-cta:hover,
.btn:hover {
  color: #fff;
  background: #b84934;
  box-shadow: 0 9px 22px rgba(200, 85, 61, 0.31);
  transform: translateY(-1px);
}

.btn-ghost {
  color: var(--navy);
  background: transparent;
  border: 1.5px solid rgba(31, 58, 95, 0.45);
  box-shadow: none;
}

.btn-ghost:hover {
  color: #fff;
  background: var(--navy);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 88px;
  background:
    radial-gradient(ellipse at 92% 20%, rgba(224, 165, 38, 0.13), transparent 34%),
    radial-gradient(ellipse at 4% 98%, rgba(42, 127, 122, 0.09), transparent 30%),
    var(--cream);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  align-items: center;
  gap: clamp(36px, 6vw, 76px);
}

.hero-copy {
  max-width: 660px;
  text-align: left;
}

.hero-copy .lead {
  max-width: 650px;
  margin: 0 0 28px;
}

.hero h1 .hl {
  color: var(--terra);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1.4;
  text-transform: uppercase;
}

.lead {
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.4vw, 1.16rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px 20px;
  margin: 26px 0 0;
  padding: 0;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 650;
  list-style: none;
}

.trust li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust li::before {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.hero-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 32px;
  color: #fff;
  background: var(--navy);
  box-shadow: 0 20px 48px rgba(31, 58, 95, 0.18);
}

.hero-card::after {
  position: absolute;
  top: -28px;
  right: -26px;
  width: 92px;
  height: 92px;
  border: 10px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  background: var(--gold);
  content: "";
  opacity: 0.95;
}

.hero-card h2 {
  position: relative;
  z-index: 1;
  margin-bottom: 18px;
  color: #fff;
  font-size: 1.35rem;
}

.hero-card ul {
  margin: 0;
  padding-left: 20px;
}

.hero-card li {
  margin: 9px 0;
  color: #e6ecf4;
}

#ayuda {
  background: #fff;
}

.center {
  text-align: center;
}

.center .lead {
  margin-right: auto;
  margin-left: auto;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}

.card {
  min-height: 100%;
  border: 1px solid rgba(31, 58, 95, 0.08);
  border-top: 4px solid var(--terra);
  border-radius: var(--radius);
  padding: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}

.card.teal {
  border-top-color: var(--teal);
}

.icon {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 16px;
  background: rgba(224, 165, 38, 0.18);
}

.card.teal .icon {
  background: rgba(42, 127, 122, 0.13);
}

.icon svg {
  width: 30px;
  height: 30px;
}

.card p,
.card ul {
  color: var(--muted);
}

.card ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.card li {
  margin: 5px 0;
}

.how {
  background: var(--cream);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 34px;
  counter-reset: step;
}

.step {
  position: relative;
  min-height: 100%;
  border: 1px solid rgba(31, 58, 95, 0.08);
  border-radius: var(--radius);
  padding: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}

.step::before {
  position: static;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 20px;
  border: 4px solid rgba(224, 165, 38, 0.22);
  border-radius: 50%;
  color: var(--navy);
  background: var(--gold);
  box-shadow: none;
  content: counter(step);
  counter-increment: step;
  font-size: 1.1rem;
  font-weight: 850;
}

.step:nth-child(2)::before {
  border-color: rgba(42, 127, 122, 0.16);
  color: #fff;
  background: var(--teal);
}

.step:nth-child(3)::before {
  border-color: rgba(224, 165, 38, 0.22);
}

.step h3 {
  margin: 0 0 9px;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.form-section {
  color: #fff;
  background:
    radial-gradient(ellipse at 5% 0%, rgba(42, 127, 122, 0.16), transparent 38%),
    linear-gradient(145deg, var(--navy), #17304f);
}

.form-section h2 {
  color: #fff;
}

.form-section .lead {
  color: #d6dfeb;
}

.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: 44px;
}

.side-points {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.side-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 16px 0;
  color: #e6ecf4;
}

.side-points b {
  color: #fff;
}

.dot {
  display: grid;
  width: 30px;
  height: 30px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  color: var(--navy);
  background: var(--gold);
  font-size: 0.9rem;
  font-weight: 850;
}

.form-card {
  border: 1px solid rgba(31, 58, 95, 0.08);
  border-radius: var(--radius);
  padding: 32px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.23);
}

.field {
  margin-bottom: 17px;
}

label {
  display: block;
  margin-bottom: 7px;
  color: var(--navy);
  font-size: 0.94rem;
  font-weight: 750;
}

.opt {
  color: var(--muted);
  font-weight: 450;
}

input[type="text"],
input[type="tel"],
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1.5px solid #d8dfe6;
  border-radius: 10px;
  padding: 11px 14px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 16px;
  transition:
    border-color 150ms ease,
    box-shadow 150ms ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(42, 127, 122, 0.22);
  outline-offset: 1px;
  box-shadow: 0 0 0 1px var(--teal);
}

textarea {
  min-height: 112px;
  resize: vertical;
}

.row2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 16px;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 8px 0 20px;
  color: var(--muted);
  font-size: 0.88rem;
}

.check input {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 4px;
  accent-color: var(--teal);
}

.check label {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 450;
}

.error {
  display: none;
  margin-top: 4px;
  color: var(--terra);
  font-size: 0.85rem;
}

.field.invalid input,
.field.invalid select {
  border-color: var(--terra);
}

.field.invalid .error,
.check.invalid .error {
  display: block;
}

.form-card .btn {
  width: 100%;
  min-height: 52px;
  font-size: 1.03rem;
}

.small {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

.thanks {
  display: none;
  padding: 20px 6px;
  text-align: center;
}

.thanks .badge {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: rgba(42, 127, 122, 0.14);
}

.thanks h3 {
  font-size: 1.5rem;
}

.thanks p {
  color: var(--muted);
}

.disclaimer {
  padding: 56px 0;
  background: var(--cream);
}

.disc-box {
  border: 1px solid rgba(31, 58, 95, 0.08);
  border-left: 5px solid var(--gold);
  border-radius: 14px;
  padding: 26px 28px;
  background: #fff;
  box-shadow: var(--shadow);
}

.disc-box h2 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.disc-box p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.disc-box p:last-child {
  margin-bottom: 0;
}

footer {
  padding: 46px 0 30px;
  color: #cfd8e4;
  background: var(--navy);
  font-size: 0.92rem;
}

.foot-grid {
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
}

.foot-brand {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.foot-brand span {
  color: #f07a5e;
}

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

.social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 9px 15px;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  font-weight: 650;
  text-decoration: none;
  transition:
    background-color 150ms ease,
    border-color 150ms ease;
}

.social a:hover {
  border-color: var(--terra);
  background: var(--terra);
}

.social svg {
  width: 18px;
  height: 18px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
}

.footer-nav a {
  color: #fff;
  font-weight: 650;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 4px;
}

.footer-nav a:hover {
  color: #ffd785;
}

.foot-meta {
  margin: 0;
  color: #aebdd0;
  font-size: 0.82rem;
}

.page-hero {
  padding: 58px 0 50px;
  background:
    radial-gradient(ellipse at 92% 15%, rgba(224, 165, 38, 0.13), transparent 35%),
    var(--cream);
}

.page-hero .wrap {
  max-width: 960px;
}

.breadcrumbs {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumbs a {
  color: var(--teal);
  font-weight: 650;
  text-decoration: none;
}

.page-hero h1 {
  max-width: 850px;
  font-size: clamp(2.25rem, 4.8vw, 3.7rem);
}

.page-hero .lead {
  max-width: 760px;
  margin-bottom: 24px;
}

.page-hero .hero-actions {
  margin-top: 24px;
}

.guide-section {
  padding: 56px 0;
  background: #fff;
}

.guide-section.alt {
  background: var(--cream);
}

.guide-content {
  max-width: 900px;
}

.guide-card {
  border: 1px solid rgba(31, 58, 95, 0.08);
  border-radius: var(--radius);
  padding: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}

.guide-card + .guide-card {
  margin-top: 20px;
}

.guide-card h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

.guide-card p,
.guide-card li {
  color: var(--muted);
}

.guide-card p:last-child {
  margin-bottom: 0;
}

.guide-card ul {
  margin-bottom: 0;
  padding-left: 22px;
}

.guide-card li + li {
  margin-top: 8px;
}

.guide-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 24px;
  border-radius: var(--radius);
  padding: 28px;
  color: #fff;
  background: var(--navy);
  box-shadow: var(--shadow);
}

.guide-cta h2 {
  margin-bottom: 8px;
  color: #fff;
  font-size: 1.45rem;
}

.guide-cta p {
  margin: 0;
  color: #e3e9f0;
}

.guide-cta .btn {
  flex: none;
}

@media (min-width: 760px) {
  section,
  .guide-section {
    padding: 80px 0;
  }

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

@media (max-width: 759px) {
  .wrap {
    padding-right: 20px;
    padding-left: 20px;
  }

  .header-inner {
    min-height: 72px;
    gap: 12px;
  }

  .brand img {
    height: 40px;
    max-width: 43vw;
  }

  .header-cta {
    min-height: 42px;
    padding: 9px 14px;
    font-size: 0.83rem;
  }

  .hero {
    padding: 56px 0;
  }

  .hero-grid,
  .form-grid,
  .cards,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 32px;
  }

  .hero-copy {
    text-align: left;
  }

  .hero-actions,
  .trust {
    justify-content: flex-start;
  }

  .hero-card,
  .form-card,
  .guide-card,
  .guide-cta {
    padding: 24px;
  }

  .form-grid {
    gap: 30px;
  }

  .page-hero {
    padding: 48px 0 40px;
  }

  .guide-section {
    padding: 56px 0;
  }

  .guide-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .guide-cta .btn {
    width: 100%;
  }
}

@media (max-width: 390px) {
  .header-inner {
    gap: 8px;
  }

  .brand img {
    height: 40px;
  }

  .header-cta {
    padding: 8px 11px;
    font-size: 0.78rem;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}


/* ---- Photo gallery (casos / accidentes) ---- */
.photo-section {
  background: #fff;
  padding: 56px 0;
}

.photo-grid {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.photo-card {
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.photo-card figure {
  margin: 0;
}

.photo-card .photo-frame {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e8e0d4;
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-card figcaption {
  padding: 14px 16px 16px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.photo-card figcaption strong {
  display: block;
  color: var(--navy);
  font-size: 0.98rem;
  margin-bottom: 4px;
}

.guide-photos {
  display: grid;
  gap: 16px;
  margin: 8px 0 28px;
}

.guide-photos .photo-card {
  margin: 0;
}

@media (min-width: 760px) {
  .photo-section {
    padding: 80px 0;
  }

  .photo-grid {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }

  .guide-photos {
    grid-template-columns: 1fr 1fr;
  }
}
