:root {
  --navy: #0b1624;
  --navy-soft: #122338;
  --gold: #cba45f;
  --gold-light: #e6ca92;
  --paper: #fbfaf7;
  --soft: #f1ede5;
  --text: #182332;
  --muted: #667281;
  --white: #ffffff;
  --line: rgba(24, 35, 50, 0.13);
  --shadow: 0 18px 50px rgba(11, 22, 36, 0.10);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 22, 36, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
}

.brand-symbol {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(230, 202, 146, 0.58);
  border-radius: 50%;
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.05em;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text > span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.03rem;
}

.brand-text small {
  margin-top: 4px;
  color: #aeb9c6;
  font-size: 0.69rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.menu {
  display: flex;
  align-items: center;
  gap: 26px;
}

.menu a {
  color: #d6dee7;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 700;
  transition: color 0.2s ease;
}

.menu a:hover,
.menu a:focus-visible {
  color: var(--gold-light);
}

.menu .menu-contact {
  padding: 10px 16px;
  border: 1px solid rgba(230, 202, 146, 0.44);
  border-radius: 999px;
  color: var(--gold-light);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 9px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 6px 0;
  background: var(--white);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 110px 0 86px;
  color: var(--white);
  background: linear-gradient(145deg, #08111d 0%, #0b1624 55%, #10243b 100%);
}

.hero-decoration {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-decoration-one {
  width: 520px;
  height: 520px;
  right: -190px;
  top: -210px;
  border: 1px solid rgba(230, 202, 146, 0.12);
  box-shadow: 0 0 0 70px rgba(230, 202, 146, 0.025), 0 0 0 140px rgba(230, 202, 146, 0.015);
}

.hero-decoration-two {
  width: 240px;
  height: 240px;
  left: -130px;
  bottom: -90px;
  background: rgba(203, 164, 95, 0.08);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: 76px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold-light);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow-dark {
  color: #86672f;
}

.hero h1,
.section-heading h2,
.siniestros h2,
.contact-box h2,
.hero-panel h2,
.team-card h3,
.commitment-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.hero h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(3.2rem, 7.2vw, 6.5rem);
  line-height: 0.93;
  letter-spacing: -0.045em;
}

.credential {
  display: inline-block;
  margin: 22px 0 0;
  padding: 8px 13px;
  border: 1px solid rgba(230, 202, 146, 0.30);
  border-radius: 999px;
  color: var(--gold-light);
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero-description {
  max-width: 690px;
  margin: 26px 0 0;
  color: #c4ced9;
  font-size: 1.18rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button-gold {
  color: #0b1624;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 12px 28px rgba(203, 164, 95, 0.18);
}

.button-outline {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.03);
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 720px;
  margin-top: 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.highlight-item {
  padding: 20px 18px 0 0;
}

.highlight-item strong {
  display: block;
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  font-weight: 500;
}

.highlight-item span {
  display: block;
  margin-top: 4px;
  color: #9eabb9;
  font-size: 0.79rem;
}

.hero-panel {
  position: relative;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.18);
}

.panel-line {
  position: absolute;
  left: 34px;
  right: 34px;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
}

.panel-label {
  margin: 0 0 12px;
  color: var(--gold-light);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-panel h2 {
  margin: 0;
  font-size: 2.05rem;
  line-height: 1.12;
}

.hero-panel > p:not(.panel-label) {
  margin: 18px 0;
  color: #bdc8d4;
}

.email {
  display: inline-block;
  color: var(--gold-light);
  font-size: 0.88rem;
  overflow-wrap: anywhere;
}

.panel-badge {
  width: 88px;
  height: 88px;
  display: grid;
  place-content: center;
  margin: 28px 0 0 auto;
  border: 1px solid rgba(230, 202, 146, 0.35);
  border-radius: 50%;
  text-align: center;
  color: var(--gold-light);
}

.panel-badge strong,
.panel-badge span {
  display: block;
}

.panel-badge strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
}

.panel-badge span {
  color: #aab5c2;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.quick-info {
  background: #111f31;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.quick-info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.quick-info-grid > div {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  color: #cfd7e0;
  font-size: 0.82rem;
  text-align: center;
}

.quick-info-grid span {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--gold);
}

.section {
  padding: 96px 0;
}

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

.section-soft {
  background: var(--soft);
}

.two-columns {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 82px;
  align-items: start;
}

.section-heading h2 {
  margin: 0 0 20px;
  color: #152232;
  font-size: clamp(2.5rem, 5vw, 4.3rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

.section-heading > p:not(.eyebrow) {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading-center {
  max-width: 820px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-heading-center > p:not(.eyebrow) {
  margin-left: auto;
  margin-right: auto;
}

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

.fact {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 18px;
  padding: 27px 0;
  border-bottom: 1px solid var(--line);
}

.fact > span {
  padding-top: 3px;
  color: #8d6d36;
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.fact h3 {
  margin: 0 0 5px;
  font-size: 1rem;
}

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

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

.team-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  border: 1px solid rgba(24, 35, 50, 0.09);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 58px rgba(11, 22, 36, 0.14);
}

.team-card-main {
  color: var(--white);
  background: var(--navy);
}

.initials {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: auto;
  border: 1px solid rgba(203, 164, 95, 0.45);
  border-radius: 50%;
  color: #876832;
  background: rgba(203, 164, 95, 0.07);
  font-family: Georgia, "Times New Roman", serif;
}

.team-card-main .initials {
  color: var(--gold-light);
}

.team-role {
  margin: 0 0 6px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.team-card h3 {
  margin: 0;
  font-size: 1.42rem;
  line-height: 1.18;
}

.team-detail {
  margin: 10px 0 0;
  color: #a8b4c1;
  font-size: 0.86rem;
}

.siniestros {
  color: var(--white);
  background: linear-gradient(145deg, #0a1421, #10243b);
}

.siniestros-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 80px;
  align-items: center;
}

.siniestros h2 {
  margin: 0 0 22px;
  font-size: clamp(2.7rem, 5.5vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.siniestros-copy > p:not(.eyebrow) {
  max-width: 620px;
  margin: 0 0 28px;
  color: #bcc7d3;
  font-size: 1.05rem;
}

.siniestros-art {
  position: relative;
  min-height: 390px;
  display: grid;
  place-items: center;
}

.monogram {
  width: 225px;
  height: 225px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(230, 202, 146, 0.44);
  border-radius: 50%;
  color: var(--gold-light);
  background: rgba(255, 255, 255, 0.025);
  box-shadow: 0 0 0 22px rgba(230, 202, 146, 0.025), 0 0 0 44px rgba(230, 202, 146, 0.015);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4rem;
  letter-spacing: 0.05em;
}

.floating-note {
  position: absolute;
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: var(--white);
  background: #172a40;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
  font-size: 0.82rem;
  font-weight: 800;
}

.note-one { left: 0; top: 45px; }
.note-two { right: 0; top: 160px; }
.note-three { left: 36px; bottom: 34px; }

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

.commitment-card {
  min-height: 245px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.commitment-card-dark {
  color: var(--white);
  background: var(--navy);
}

.commitment-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(203, 164, 95, 0.45);
  border-radius: 50%;
  color: #876832;
  background: rgba(203, 164, 95, 0.07);
  font-size: 1.18rem;
}

.commitment-card-dark .commitment-mark {
  color: var(--gold-light);
}

.commitment-card h3 {
  margin: 38px 0 0;
  font-size: 1.8rem;
  line-height: 1.18;
}

.contact-section {
  padding: 78px 0 100px;
  background: linear-gradient(180deg, var(--paper), #eee7da);
}

.contact-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
  padding: 48px;
  border-radius: 30px;
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 30px 72px rgba(11, 22, 36, 0.16);
}

.contact-box h2 {
  margin: 0 0 12px;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
}

.contact-box p:not(.eyebrow) {
  margin: 0;
  color: #bdc8d3;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 13px;
}

.contact-email {
  color: #d7dfe7;
  font-size: 0.85rem;
  overflow-wrap: anywhere;
}

.footer {
  padding: 46px 0 24px;
  color: #cbd5df;
  background: #060d16;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  padding-bottom: 27px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer strong {
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 500;
}

.footer p {
  margin: 8px 0 0;
  color: #8f9baa;
  font-size: 0.85rem;
}

.footer-contact {
  text-align: right;
}

.footer-contact a {
  display: inline-block;
  margin-top: 8px;
  color: var(--gold-light);
  font-size: 0.86rem;
  overflow-wrap: anywhere;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 20px;
  color: #677486;
  font-size: 0.74rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.floating-email {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 900;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #0b1624;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 16px 36px rgba(11, 22, 36, 0.26);
  text-decoration: none;
  font-size: 1.25rem;
  transition: transform 0.2s ease;
}

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

/* El contenido nunca depende de JavaScript para ser visible. */
.hero-copy,
.hero-panel,
.section-heading,
.fact,
.team-card,
.siniestros-copy,
.siniestros-art,
.commitment-card,
.contact-box {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 960px) {
  .menu-button {
    display: block;
  }

  .menu {
    position: absolute;
    top: 72px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 18px;
    background: #0d1b2d;
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.30);
  }

  .menu.is-open {
    display: flex;
  }

  .menu a {
    padding: 12px 13px;
    border-radius: 10px;
  }

  .menu .menu-contact {
    border: 0;
  }

  .menu-button.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-button.is-open span:nth-child(2) {
    opacity: 0;
  }

  .menu-button.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero-grid,
  .two-columns,
  .siniestros-grid,
  .contact-box {
    grid-template-columns: 1fr;
  }

  .hero-grid,
  .siniestros-grid {
    gap: 50px;
  }

  .two-columns {
    gap: 48px;
  }

  .hero-panel {
    max-width: 680px;
  }

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

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

  .contact-actions {
    align-items: flex-start;
  }

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

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

  .footer-contact {
    text-align: left;
  }
}

@media (max-width: 650px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .header-inner {
    min-height: 70px;
  }

  .brand-text > span {
    font-size: 0.86rem;
  }

  .brand-text small {
    font-size: 0.62rem;
  }

  .brand-symbol {
    width: 42px;
    height: 42px;
  }

  .menu {
    top: 64px;
    left: 14px;
    right: 14px;
  }

  .hero {
    padding: 82px 0 62px;
  }

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

  .hero-description {
    font-size: 1.03rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-highlights {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .highlight-item {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .highlight-item span {
    margin: 0;
  }

  .hero-panel {
    padding: 26px;
  }

  .hero-panel h2 {
    font-size: 1.72rem;
  }

  .quick-info-grid {
    grid-template-columns: 1fr;
    padding: 10px 0;
  }

  .quick-info-grid > div {
    min-height: 46px;
    justify-content: flex-start;
    padding: 7px 2px;
  }

  .section {
    padding: 72px 0;
  }

  .section-heading-center {
    margin-bottom: 38px;
  }

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

  .team-card {
    min-height: 220px;
  }

  .siniestros-art {
    min-height: 340px;
  }

  .monogram {
    width: 182px;
    height: 182px;
    font-size: 3.1rem;
  }

  .note-one { left: 0; top: 38px; }
  .note-two { right: 0; top: 146px; }
  .note-three { left: 14px; bottom: 28px; }

  .contact-section {
    padding: 64px 0 80px;
  }

  .contact-box {
    padding: 32px 23px;
    border-radius: 22px;
  }

  .contact-actions {
    width: 100%;
  }

  .contact-email {
    font-size: 0.79rem;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .floating-email {
    right: 15px;
    bottom: 15px;
    width: 52px;
    height: 52px;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
