:root {
  --bg: #000000;
  --gold: #F0C987;
  --gold-dark: #9C7434;
  --text: #F1F1F0;
  --radius: 3px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

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

/* ---------- Hero ---------- */

.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.rock-col {
  position: absolute;
  top: 0;
  left: 0;
  width: 37.6%;
  height: 100%;
}

.rock-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

header {
  position: absolute;
  top: 0;
  left: 37.6%;
  right: 0;
  z-index: 3;
  padding: 48px 5.7% 0 2.7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 19px;
  font-weight: 400;
  color: var(--text);
}

nav {
  display: flex;
  gap: 40px;
}

nav a {
  font-size: 16px;
  font-weight: 400;
  color: var(--text);
  opacity: 0.92;
  transition: opacity 0.2s ease;
}

nav a:hover {
  opacity: 1;
}

.hero-copy {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  padding-left: 50%;
}

.hero-copy-inner {
  max-width: 420px;
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.hero-copy h1 {
  font-size: 50px;
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.8px;
}

.hero-sub {
  margin-top: 20px;
  font-size: 16px;
  color: rgba(241, 241, 240, 0.65);
  line-height: 1.7;
  max-width: 410px;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 40px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  background: var(--gold);
  color: #101012;
  padding: 14px 26px;
  border-radius: var(--radius);
  transition: opacity 0.2s ease;
}

.hero-cta:hover {
  opacity: 0.88;
}

.hero-secondary {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  opacity: 0.75;
  border-bottom: 1px solid rgba(241, 241, 240, 0.3);
  padding-bottom: 2px;
  transition: opacity 0.2s ease;
}

.hero-secondary:hover {
  opacity: 1;
}

.trust-strip {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 26px;
  border-top: 1px solid rgba(241, 241, 240, 0.12);
}

.trust-item .num {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
}

.trust-item .lbl {
  font-size: 12.5px;
  color: rgba(241, 241, 240, 0.5);
  margin-top: 4px;
  line-height: 1.4;
  max-width: 140px;
}

/* ---------- Layout helpers ---------- */

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

section {
  padding: 100px 0;
}

.section-head {
  max-width: 560px;
  margin-bottom: 56px;
}

.section-eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: 30px;
  font-weight: 600;
  line-height: 1.25;
}

.section-head p {
  margin-top: 14px;
  color: rgba(241, 241, 240, 0.65);
  font-size: 15px;
}

/* ---------- Products ---------- */

.products {
  background: #F1F1F0;
}

.products .section-head h2 {
  color: #101012;
}

.products .section-head p {
  color: rgba(16, 16, 18, 0.6);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--bg);
  padding: 0;
  display: flex;
  flex-direction: column;
  transition: background 0.2s ease;
}
.product-card:hover {
  background: #17171a;
}
.product-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-bottom: 1px solid rgba(201, 168, 112, 0.35);
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%) contrast(1.05) brightness(0.95);
  transition: filter 0.5s ease, transform 0.5s ease;
}
.product-card:hover .product-media img {
  filter: grayscale(35%) sepia(22%) saturate(130%) contrast(1.05) brightness(0.95);
  transform: scale(1.04);
}
.product-body {
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
}
.product-card p {
  font-size: 13.5px;
  color: rgba(241, 241, 240, 0.65);
  line-height: 1.6;
}
.product-link {
  display: inline-block;
  margin-top: auto;
  padding-top: 18px;
  font-size: 13px;
  color: var(--gold);
  font-weight: 500;
}

/* ---------- Why Objetiva ---------- */

.why {
  background:
    radial-gradient(ellipse 900px 700px at 80% 10%, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 70%),
    linear-gradient(135deg, #E4E5E7 0%, #CFD0D2 50%, #BCBDBF 100%);
}
.why .section-eyebrow {
  color: #C79A3E;
}
.why .section-head h2 {
  color: #101012;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
}

.why-item .num {
  font-size: 13px;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 14px;
}

.why-item h3 {
  font-size: 18px;
  font-weight: 600;
  color: #101012;
  margin-bottom: 4px;
}

.why-item .underline {
  width: 20px;
  height: 3px;
  background: #C79A3E;
  margin: 12px 0 16px;
  border-radius: 0;
}

.why-item p {
  font-size: 15px;
  color: #2B2C2E;
  line-height: 1.7;
}

/* ---------- CTA band ---------- */

.cta-band {
  text-align: center;
  padding: 110px 0;
}

.cta-band h2 {
  font-size: 32px;
  font-weight: 600;
  max-width: 520px;
  margin: 0 auto 28px;
  line-height: 1.3;
}

.btn-primary {
  background: var(--gold);
  color: #101012;
  font-weight: 600;
  font-size: 14px;
  padding: 14px 28px;
  border-radius: var(--radius);
  display: inline-block;
}

/* ---------- Footer ---------- */

footer {
  border-top: 1px solid rgba(241, 241, 240, 0.1);
  padding: 100px 0 40px;
  text-align: center;
}

.footer-head h2 {
  font-size: 28px;
  font-weight: 600;
  color: var(--text);
}

.footer-head p {
  margin-top: 12px;
  font-size: 15px;
  color: rgba(241, 241, 240, 0.55);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin: 56px 0 60px;
}

.footer-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-icon {
  width: 26px;
  height: 26px;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.footer-value {
  font-size: 14px;
  color: rgba(241, 241, 240, 0.6);
  line-height: 1.6;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(241, 241, 240, 0.08);
  font-size: 13px;
  color: rgba(241, 241, 240, 0.4);
}

/* ---------- Responsive ---------- */


/* ---------- Insurers ---------- */

.insurers {
  padding: 80px 0;
  border-top: 1px solid rgba(241, 241, 240, 0.08);
  border-bottom: 1px solid rgba(241, 241, 240, 0.08);
}

.insurers-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 36px;
  text-align: center;
}

.insurers-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px 56px;
}

.insurers-grid span {
  font-size: 16px;
  font-weight: 400;
  color: rgba(241, 241, 240, 0.55);
  letter-spacing: 0.3px;
}

@media (max-width: 900px) {

  header {
    left: 0;
    padding: 24px 24px 0;
    background: rgba(0, 0, 0, 0.4);
  }

  .rock-col {
    width: 100%;
    opacity: 0.35;
  }

  .hero-copy {
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 260px;
    justify-content: flex-start;
  }

  .hero-copy h1 {
    font-size: 30px;
  }

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

  .why-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

/* ---------- Página interior: header genérico ---------- */

.page-head {
  background: #000000;
  padding: 80px 5.7% 70px;
  text-align: center;
}

.page-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.page-head h1 {
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -0.5px;
  max-width: 640px;
  margin: 0 auto;
}

nav a.active {
  color: var(--gold);
  opacity: 1;
}

/* ---------- Categorías de seguros (zigzag) ---------- */

.category {
  display: flex;
  align-items: center;
  min-height: 380px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 60px 32px;
  gap: 64px;
}

.category.reverse {
  flex-direction: row-reverse;
}

.cat-media {
  flex: 1 1 46%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: #101012;
}

.cat-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%) contrast(1.05) brightness(0.95);
}

.cat-media.pending {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: rgba(241, 241, 240, 0.35);
  text-align: center;
  padding: 20px;
}

.cat-body {
  flex: 1 1 54%;
}

.cat-icon {
  width: 38px;
  height: 38px;
  border: 1.4px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--gold);
  font-size: 16px;
}

.cat-body h2 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.3px;
  margin-bottom: 10px;
}

.cat-tagline {
  font-size: 15px;
  color: var(--gold);
  margin-bottom: 22px;
  font-weight: 500;
}

.cat-list {
  list-style: none;
  margin-bottom: 22px;
}

.cat-list li {
  font-size: 14.5px;
  color: rgba(241, 241, 240, 0.7);
  line-height: 1.7;
  padding-left: 18px;
  position: relative;
  margin-bottom: 6px;
}

.cat-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold-dark);
}

.cat-diff {
  font-size: 13.5px;
  color: rgba(241, 241, 240, 0.5);
  font-style: italic;
  border-left: 2px solid var(--gold);
  padding-left: 14px;
  margin-bottom: 26px;
  max-width: 400px;
}

.cat-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gold);
  border-bottom: 1px solid rgba(240, 201, 135, 0.4);
  padding-bottom: 3px;
}

.divider {
  height: 1px;
  background: rgba(241, 241, 240, 0.07);
  max-width: 1180px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .category, .category.reverse {
    flex-direction: column;
    gap: 32px;
    padding: 48px 24px;
  }
}

/* ---------- Página Nosotros ---------- */

.historia {
  display: flex;
  align-items: center;
  gap: 64px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 90px 32px;
}

.historia-media {
  flex: 1 1 44%;
  aspect-ratio: 4 / 3.4;
  border-radius: var(--radius);
  overflow: hidden;
  background: #101012;
}

.historia-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%) contrast(1.05) brightness(0.95);
}

.historia-media.pending {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: rgba(241, 241, 240, 0.35);
  text-align: center;
  padding: 20px;
}

.historia-body {
  flex: 1 1 56%;
}

.historia-body h2 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 18px;
  letter-spacing: -0.3px;
}

.historia-body p {
  font-size: 15px;
  color: rgba(241, 241, 240, 0.65);
  line-height: 1.8;
  margin-bottom: 16px;
  max-width: 480px;
}

@media (max-width: 900px) {
  .historia {
    flex-direction: column;
    gap: 32px;
    padding: 48px 24px;
  }
}

/* ---------- Página Contacto ---------- */

.contact-wrap {
  display: flex;
  gap: 64px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 32px 100px;
}

.contact-form {
  flex: 1 1 58%;
}

.field {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-size: 12.5px;
  color: rgba(241, 241, 240, 0.55);
  font-weight: 500;
}

.field input,
.field textarea {
  background: #17171a;
  border: 1px solid rgba(241, 241, 240, 0.12);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--text);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
}

.field textarea {
  resize: vertical;
  min-height: 110px;
}

.btn-submit {
  background: var(--gold);
  color: #101012;
  font-weight: 600;
  font-size: 14px;
  padding: 14px 30px;
  border-radius: var(--radius);
  display: inline-block;
  border: none;
  cursor: pointer;
  margin-top: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.form-note {
  font-size: 12.5px;
  color: rgba(241, 241, 240, 0.4);
  margin-top: 14px;
}

.contact-info {
  flex: 1 1 42%;
}

.info-block {
  margin-bottom: 32px;
}

.info-block .lbl {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.info-block .val {
  font-size: 15px;
  color: rgba(241, 241, 240, 0.8);
  line-height: 1.6;
}

.map-ph {
  margin-top: 12px;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  background: #101012;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: rgba(241, 241, 240, 0.35);
  text-align: center;
  padding: 20px;
}

@media (max-width: 900px) {
  .contact-wrap {
    flex-direction: column;
    gap: 40px;
    padding: 20px 24px 60px;
  }
}

/* ---------- Página Legal ---------- */

.legal-nav {
  display: flex;
  gap: 32px;
  justify-content: center;
  padding: 24px 5.7% 0;
  background: #000000;
  border-bottom: 1px solid rgba(241, 241, 240, 0.08);
}

.legal-nav a {
  font-size: 13.5px;
  color: rgba(241, 241, 240, 0.55);
  padding-bottom: 14px;
  display: inline-block;
}

.legal-nav a.active {
  color: var(--gold);
  border-bottom: 2px solid var(--gold);
}

.legal-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 70px 32px 100px;
}

.legal-body h2 {
  font-size: 19px;
  font-weight: 600;
  margin: 36px 0 12px;
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body p {
  font-size: 14px;
  color: rgba(241, 241, 240, 0.6);
  line-height: 1.8;
  margin-bottom: 14px;
}

.legal-body .pending-note {
  font-size: 12.5px;
  color: var(--gold-dark);
  font-style: italic;
}

/* ---------- Header genérico de páginas interiores ---------- */

.header-page {
  position: relative;
  top: auto;
  left: 0;
  right: auto;
  z-index: auto;
  background: #000000;
  padding: 28px 32px;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ---------- Menú móvil (hamburguesa) ---------- */

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 10;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  display: block;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

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

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

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

@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
  }

  .header-page {
    padding: 20px 24px;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #000000;
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    z-index: 5;
  }

  nav.nav-open {
    max-height: 300px;
    opacity: 1;
    pointer-events: auto;
    border-bottom: 1px solid rgba(241, 241, 240, 0.08);
  }

  nav a {
    padding: 16px 24px;
    border-top: 1px solid rgba(241, 241, 240, 0.08);
  }
}

/* ---------- Legal responsive ---------- */

@media (max-width: 900px) {
  .legal-nav {
    gap: 20px;
    padding: 20px 24px 0;
    flex-wrap: wrap;
  }

  .legal-body {
    padding: 48px 24px 70px;
  }
}

/* ---------- Overlay de prueba: oscurecer roca ---------- */

.rock-col::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
  z-index: 1;
}

.historia-media.historia-emblema img {
  object-fit: contain;
  filter: none;
  padding: 14%;
}

.historia-media.historia-emblema {
  background: transparent;
}
