/* Rene Gomez — Corredor de Seguros */

:root {
  --navy: #0c2340;
  --navy-light: #163a5f;
  --teal: #0d7c8c;
  --teal-light: #12a3b5;
  --gold: #c9a227;
  --gold-light: #e3bc4a;
  --cream: #f7f5f0;
  --white: #ffffff;
  --gray-100: #eef1f4;
  --gray-300: #c5cdd6;
  --gray-600: #5a6572;
  --gray-800: #2d3740;
  --shadow: 0 4px 24px rgba(12, 35, 64, 0.08);
  --shadow-lg: 0 12px 48px rgba(12, 35, 64, 0.14);
  --radius: 12px;
  --radius-lg: 20px;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
  --transition: 0.25s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(13, 124, 140, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--teal-light), var(--teal));
}

.btn-outline {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent;
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.875rem;
}

.btn-block {
  width: 100%;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(12, 35, 64, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text strong {
  font-size: 0.95rem;
  color: var(--navy);
}

.logo-text small {
  font-size: 0.72rem;
  color: var(--gray-600);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-800);
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--teal);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.lang-switch__label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-600);
  margin-right: 0.15rem;
}

.lang-switch__btn {
  min-width: 2.1rem;
  padding: 0.35rem 0.55rem;
  border: 1px solid var(--gray-300);
  border-radius: 999px;
  background: var(--white);
  color: var(--gray-800);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.lang-switch__btn:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.lang-switch__btn.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

/* Hero */
.hero {
  position: relative;
  padding: 8rem 0 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(13, 124, 140, 0.12), transparent),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(201, 162, 39, 0.08), transparent),
    linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero-brand-logo {
  width: 88px;
  height: 88px;
  object-fit: contain;
  margin-bottom: 1.25rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  margin-bottom: 1rem;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 1.25rem;
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 52ch;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-300);
}

.hero-stats li {
  display: flex;
  flex-direction: column;
}

.hero-stats strong {
  font-size: 1.5rem;
  color: var(--navy);
  line-height: 1.2;
}

.hero-stats span {
  font-size: 0.8rem;
  color: var(--gray-600);
}

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.hero-photo-wrap {
  position: relative;
  width: min(340px, 88vw);
  margin-bottom: -2.5rem;
  z-index: 2;
  filter: drop-shadow(0 16px 32px rgba(12, 35, 64, 0.18));
}

.hero-photo-wrap::before {
  content: "";
  position: absolute;
  inset: 12% 8% -4%;
  background: radial-gradient(circle at 50% 60%, rgba(13, 124, 140, 0.18), transparent 70%);
  z-index: -1;
}

.hero-photo {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center bottom;
}

.hero-card {
  width: 100%;
  perspective: 1000px;
  z-index: 1;
}

.hero-card-inner {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(12, 35, 64, 0.06);
  text-align: center;
}

.hero-card-logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
  margin: 0 auto 1rem;
  display: block;
}

.hero-card-inner h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.hero-card-inner > p {
  color: var(--gray-600);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.hero-card-list {
  margin-bottom: 1.5rem;
}

.hero-card-list li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.9rem;
  color: var(--gray-800);
  margin-bottom: 0.5rem;
}

.hero-card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.hero-contact {
  margin-bottom: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}

.hero-phone {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
  transition: color var(--transition);
}

.hero-phone:hover {
  color: var(--teal);
}

.hero-contact-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.btn-whatsapp {
  background: #25d366;
  color: var(--white);
  border-color: #25d366;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #1fb855;
  border-color: #1fb855;
  color: var(--white);
}

.contact-link {
  font-weight: 600;
  color: var(--teal);
  transition: color var(--transition);
}

.contact-link:hover {
  color: var(--teal-light);
}

.contact-direct {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-300);
}

.contact-direct__title {
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.85rem;
}

.contact-direct__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.contact-direct__actions .btn {
  flex: 1;
  min-width: 140px;
}

.contact-direct__num {
  font-weight: 700;
}

.contact-direct__hint {
  font-size: 0.85rem;
  color: var(--gray-600);
}

#whatsappFormBtn {
  margin-top: 0.65rem;
}

.whatsapp-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-fab:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5);
}

/* States bar */
.states-bar {
  background: var(--navy);
  color: var(--white);
  padding: 1rem 0;
  overflow: hidden;
}

.states-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.7;
  margin-bottom: 0.5rem;
}

.states-track {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.states-track span {
  font-size: 0.85rem;
  opacity: 0.9;
}

.states-track span::after {
  content: "·";
  margin-left: 1.25rem;
  opacity: 0.4;
}

.states-track span:last-child::after {
  display: none;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--cream);
}

.section-header {
  margin-bottom: 3rem;
}

.section-header.center {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--navy);
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid rgba(12, 35, 64, 0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}

.section-alt .feature-card {
  background: var(--white);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature-icon {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
}

/* Obamacare */
.obamacare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.obamacare-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--navy);
  margin-bottom: 1rem;
}

.obamacare-content > p {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

.check-list {
  margin-bottom: 2rem;
}

.check-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.65rem;
  font-size: 0.95rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

.shield-card {
  background: linear-gradient(145deg, var(--navy), var(--navy-light));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
}

.shield-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  color: var(--gold-light);
}

.shield-icon svg {
  width: 100%;
  height: 100%;
}

.shield-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.shield-card p {
  opacity: 0.85;
  font-size: 0.95rem;
}

/* Products */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.product-card {
  position: relative;
  background: var(--white);
  border: 1px solid rgba(12, 35, 64, 0.08);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.product-card.featured {
  border-color: var(--teal);
  box-shadow: 0 0 0 1px var(--teal);
}

.badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}

.product-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  margin-bottom: 1.25rem;
}

.product-icon.life { background: linear-gradient(135deg, #5b4b8a, #7c6bb5); }
.product-icon.health { background: linear-gradient(135deg, var(--teal), var(--teal-light)); }
.product-icon.accident { background: linear-gradient(135deg, #c45c26, #e07a3a); }
.product-icon.disability { background: linear-gradient(135deg, #2d6a4f, #40916c); }
.product-icon.dental { background: linear-gradient(135deg, #457b9d, #6ba3c7); }

.product-card h3 {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 0.65rem;
}

.product-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 1.25rem;
}

.product-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--teal);
  transition: color var(--transition);
}

.product-link:hover {
  color: var(--teal-light);
}

/* FAQ */
.faq-list {
  max-width: 760px;
  margin-inline: auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid rgba(12, 35, 64, 0.08);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-item summary {
  padding: 1.15rem 1.5rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--teal);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--white);
  padding: 3.5rem 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-inner h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.cta-inner p {
  opacity: 0.85;
  max-width: 52ch;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.contact-info > p {
  color: var(--gray-600);
  margin-bottom: 2rem;
}

.contact-info-logo {
  width: 104px;
  height: 104px;
  object-fit: contain;
  margin-bottom: 1.25rem;
}

.contact-details li {
  margin-bottom: 1rem;
  padding-left: 1rem;
  border-left: 3px solid var(--gold);
}

.contact-details strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-600);
  margin-bottom: 0.15rem;
}

.form-honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact-form {
  position: relative;
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid rgba(12, 35, 64, 0.06);
}

.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.contact-form-header {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(12, 35, 64, 0.08);
}

.contact-form-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13, 124, 140, 0.15);
}

.form-group input.error,
.form-group textarea.error {
  border-color: #c0392b;
}

.captcha-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.captcha-code {
  font-family: monospace;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  background: var(--navy);
  color: var(--gold-light);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  user-select: none;
}

.captcha-row input {
  flex: 1;
}

.checkbox-label {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.82rem;
  color: var(--gray-600);
  margin-bottom: 1.25rem;
  cursor: pointer;
}

.checkbox-label input {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.form-note {
  font-size: 0.75rem;
  color: var(--gray-600);
  margin-top: 0.75rem;
  text-align: center;
}

.form-success {
  grid-column: 2;
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  border: 2px solid var(--teal);
}

.contact-form.hidden,
.form-success.hidden {
  display: none;
}

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-size: 2rem;
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
}

.form-success h3 {
  font-family: var(--font-display);
  color: var(--navy);
  margin-bottom: 0.5rem;
}

/* Footer */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  padding-top: 3rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-bottom: 0.65rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.9rem;
  opacity: 0.85;
  transition: opacity var(--transition);
}

.footer-links a:hover {
  opacity: 1;
}

.footer-legal {
  padding: 2rem 0;
}

.footer-legal p {
  font-size: 0.78rem;
  line-height: 1.7;
  opacity: 0.7;
  max-width: 900px;
}

.footer-legal a {
  color: var(--gold-light);
  text-decoration: underline;
}

.footer-copy {
  margin-top: 1rem;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .obamacare-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    margin-bottom: 1rem;
  }

  .hero-brand-logo {
    margin-inline: auto;
    display: block;
  }

  .hero-photo-wrap {
    width: min(280px, 75vw);
    margin-bottom: -2rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-success {
    grid-column: 1;
  }

  .cta-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .lang-switch {
    justify-content: center;
    padding: 0.25rem 0;
  }

  .features-grid,
  .products-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .footer-grid {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-brand {
    align-items: center;
  }

  .contact-info-logo {
    margin-inline: auto;
    display: block;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}
