@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

:root {
  color-scheme: light;
  --bg: #fafafa;
  --surface: #ffffff;
  --surface-alt: #f5f5f5;
  --text: #000000;
  --muted: #666666;
  --primary: #007299;
  --primary-dark: #005173;
  --secondary: #007ba2;
  --accent: #ffc200;
  --border: rgba(0, 114, 153, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, rgba(0, 114, 153, 0.04) 0%, rgba(255, 194, 0, 0.02) 100%), var(--bg);
  color: var(--text);
}

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

button,
a {
  font: inherit;
}

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

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(0, 114, 153, 0.12);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.6rem 0;
  position: relative;
}

.brand {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
}

.brand img {
  height: 68px;
  margin: -0.85rem 0;
  object-fit: contain;
  width: auto;
}

.site-nav {
  display: flex;
  gap: 0.95rem;
  align-items: center;
}

.site-nav a,
.mega-nav summary {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.2s ease;
  font-weight: 500;
  white-space: nowrap;
}

.site-nav a:hover,
.mega-nav summary:hover,
.mega-nav[open] summary {
  color: var(--primary);
}

.mega-nav {
  position: static;
}

.mega-nav summary {
  align-items: center;
  cursor: pointer;
  display: inline-flex;
  gap: 0.4rem;
  min-height: 2.35rem;
  list-style: none;
  padding: 0.25rem 0;
}

.mega-nav summary::-webkit-details-marker {
  display: none;
}

.mega-nav summary::after {
  border-bottom: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
  height: 0.42rem;
  margin-top: -0.2rem;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  width: 0.42rem;
}

.mega-nav[open] summary::after {
  transform: translateY(0.15rem) rotate(225deg);
}

.mega-menu {
  background: #ffffff;
  border: 1px solid rgba(0, 114, 153, 0.13);
  border-radius: 12px;
  box-shadow: 0 22px 55px rgba(0, 81, 115, 0.17);
  left: 50%;
  opacity: 0;
  padding: 1.25rem;
  pointer-events: none;
  position: absolute;
  top: calc(100% + 0.4rem);
  transform: translate(-50%, 0.45rem);
  transition: opacity 0.18s ease, transform 0.18s ease;
  width: min(1060px, calc(100vw - 2rem));
  z-index: 40;
}

.mega-menu::before {
  content: "";
  height: 1rem;
  left: 0;
  position: absolute;
  right: 0;
  top: -1rem;
}

.mega-nav[open] .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

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

.mega-menu section {
  min-width: 0;
  padding: 0.15rem 1rem 0.2rem;
}

.mega-menu section + section {
  border-left: 1px solid rgba(0, 114, 153, 0.1);
}

.mega-menu h3 {
  color: var(--primary);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  margin: 0 0 0.75rem;
  min-height: 1.1rem;
  text-transform: uppercase;
}

.mega-menu p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0 0 1rem;
}

.mega-menu a {
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  min-height: 2.45rem;
  padding: 0.48rem 0.55rem;
  position: relative;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  white-space: normal;
}

.mega-menu a::before {
  background: var(--accent);
  border-radius: 50%;
  content: "";
  flex: 0 0 auto;
  height: 0.42rem;
  opacity: 0.85;
  width: 0.42rem;
}

.mega-menu a:hover {
  background: rgba(0, 114, 153, 0.07);
  color: var(--primary);
  transform: translateX(0.15rem);
}

.mega-menu span {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.mega-menu small {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.mega-menu .mega-menu-cta {
  background: var(--primary);
  color: #ffffff;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  padding: 0.75rem 0.9rem;
}

.mega-menu .mega-menu-cta:hover {
  background: var(--primary-dark);
  color: #ffffff;
  transform: none;
}

.nav-phone {
  color: var(--primary);
  font-weight: 700;
}

.nav-access {
  border: 1px solid rgba(0, 114, 153, 0.18);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  background: #ffffff;
}

.nav-access:hover {
  background: rgba(0, 114, 153, 0.07);
}


.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 1.35rem;
  cursor: pointer;
}

.hero-section {
  padding: 4rem 0 2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.hero-copy {
  max-width: 600px;
}

.eyebrow {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-size: 0.85rem;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin: 0;
  line-height: 1.03;
  font-weight: 700;
  color: var(--primary);
}

.hero-text {
  margin: 1.5rem 0 2rem;
  max-width: 40rem;
  color: var(--muted);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
}

.btn-secondary {
  background: rgba(255,255,255,0.08);
  color: var(--text);
  border-color: rgba(255,255,255,0.12);
}

.hero-card {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 32px 120px rgba(0, 0, 0, 0.18);
}

.hero-brand-card {
  background: #ffffff;
  border: 1px solid rgba(0, 114, 153, 0.12);
  box-shadow: 0 24px 70px rgba(0, 81, 115, 0.16);
  overflow: hidden;
  padding: 0;
}

.hero-brand-card img {
  aspect-ratio: 370 / 430;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.hero-brand-strip {
  background: #ffffff;
  border-top: 1px solid rgba(0, 114, 153, 0.12);
  display: grid;
  gap: 0.7rem;
  padding: 1rem 1.2rem;
}

.hero-brand-strip span {
  align-items: center;
  color: var(--primary);
  display: flex;
  font-size: 0.9rem;
  font-weight: 700;
  gap: 0.55rem;
}

.hero-brand-strip span::before {
  background: var(--accent);
  border-radius: 50%;
  content: "";
  height: 0.48rem;
  width: 0.48rem;
}

.hero-card-tag {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.5rem 0.9rem;
  background: rgba(255, 194, 0, 0.15);
  color: var(--primary);
  font-weight: 700;
  border-radius: 999px;
  font-size: 0.85rem;
}

.hero-card h2 {
  margin: 0 0 1rem;
  font-size: 1.6rem;
}

.hero-card p {
  color: var(--muted);
  line-height: 1.8;
}

.hero-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

.hero-list li {
  padding-left: 1.3rem;
  position: relative;
  color: var(--text);
}

.hero-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.section {
  padding: 4rem 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 2.25rem;
}

.section-label {
  color: var(--secondary);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.75rem);
  line-height: 1.1;
}

.cards-grid,
.benefits-grid {
  display: grid;
  gap: 1.5rem;
}

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

.service-card,
.benefit-card,
.testimonial-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 114, 153, 0.1);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.service-card h3,
.benefit-card h3 {
  margin-top: 0;
}

.service-card p,
.benefit-card p {
  color: var(--muted);
  line-height: 1.75;
}

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

.section-cta {
  background: linear-gradient(135deg, rgba(0, 114, 153, 0.1), rgba(255, 194, 0, 0.08));
  border-top: 1px solid rgba(0, 114, 153, 0.12);
}

.cta-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-grid h2 {
  margin: 0 0 1rem;
}

.section-testimonials {
  background: rgba(0, 114, 153, 0.03);
}

.testimonial-slider {
  display: grid;
  gap: 1rem;
}

.testimonial-card {
  opacity: 0.35;
  transform: translateY(1rem);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.testimonial-card.active {
  opacity: 1;
  transform: translateY(0);
}

.testimonial-card p {
  margin: 0 0 1.2rem;
  color: var(--muted);
  line-height: 1.85;
}

.testimonial-card strong {
  display: block;
  color: var(--text);
}

.testimonial-controls {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.testimonial-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.testimonial-btn:hover,
.testimonial-btn.active {
  background: var(--primary);
  border-color: transparent;
}

.section-contact {
  padding-bottom: 5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.contact-info p,
.contact-info strong {
  line-height: 1.8;
}

.contact-details {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
}

.contact-details div {
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: 18px;
}

.contact-form {
  display: grid;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-form label {
  display: grid;
  gap: 0.5rem;
  color: var(--text);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(0, 114, 153, 0.2);
  border-radius: 14px;
  padding: 0.95rem 1rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 114, 153, 0.12);
}

.form-status {
  color: var(--secondary);
  font-size: 0.95rem;
  min-height: 1.2rem;
}

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.08);
  padding: 1.5rem 0 2rem;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-nav {
  display: flex;
  gap: 1rem;
}

.footer-nav a {
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero-grid,
  .contact-grid,
  .benefits-grid,
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    max-height: none;
    position: static;
  }

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

@media (max-width: 1100px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .brand img {
    height: 58px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    display: none;
    gap: 0;
    padding-top: 1rem;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a,
  .mega-nav summary {
    padding: 0.85rem 0;
    border-top: 1px solid rgba(0, 114, 153, 0.1);
  }

  .mega-nav {
    position: relative;
  }

  .mega-nav summary {
    justify-content: space-between;
  }

  .mega-menu {
    border-radius: 14px;
    box-shadow: none;
    margin: 0.3rem 0 0.8rem;
    opacity: 1;
    padding: 0.8rem 0 0.3rem;
    pointer-events: auto;
    position: static;
    transform: none;
    width: 100%;
  }

  .mega-menu::before {
    display: none;
  }

  .mega-nav[open] .mega-menu {
    transform: none;
  }

  .mega-menu-grid {
    grid-template-columns: 1fr;
  }

  .mega-menu section {
    border-left: 0;
    border-top: 1px solid rgba(0, 114, 153, 0.1);
    padding-left: 0;
    padding-top: 0.75rem;
  }

  .mega-menu section + section {
    border-left: 0;
  }

  .mega-menu a {
    border-top: 0;
    padding: 0.62rem 0;
    white-space: normal;
  }

  .mega-menu a:hover {
    transform: none;
  }

  .mega-menu small {
    max-width: 34rem;
  }

  .nav-phone,
  .nav-access {
    border-radius: 0;
    padding-left: 0;
  }
}

@media (max-width: 560px) {
  .hero-section {
    padding-top: 3rem;
  }

  h1 {
    font-size: 2.5rem;
  }

  .hero-card,
  .service-card,
  .benefit-card,
  .contact-form {
    padding: 1.5rem;
  }
}

/* Estilos para enlaces en tarjetas */
.card-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  gap: 0.25rem;
}

.card-link:hover {
  color: var(--accent);
  gap: 0.5rem;
}

/* ===== NUEVOS ESTILOS FOOTER ===== */
.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(0, 114, 153, 0.08);
}

.footer-section h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 1rem;
  color: var(--primary);
}

.footer-logo {
  height: 44px;
  margin-bottom: 1rem;
  object-fit: contain;
  width: auto;
}

.footer-section p {
  margin: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

.footer-section a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer-section a:hover {
  color: var(--primary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-social a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.footer-newsletter {
  padding: 2rem;
  background: rgba(0, 114, 153, 0.05);
  border-radius: 16px;
  margin-bottom: 2rem;
  text-align: center;
}

.footer-newsletter h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--primary);
}

.footer-newsletter p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.newsletter-form input {
  min-width: 250px;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(0, 114, 153, 0.2);
  border-radius: 8px;
  font-family: inherit;
}

.footer-bottom {
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid rgba(0, 114, 153, 0.08);
}

.legal-page {
  background: #ffffff;
}

.legal-hero {
  background: linear-gradient(135deg, rgba(0, 114, 153, 0.08), rgba(255, 194, 0, 0.08));
  border-bottom: 1px solid rgba(0, 114, 153, 0.12);
  padding: 4rem 0 2.5rem;
}

.legal-hero h1 {
  color: var(--primary);
  font-size: clamp(2rem, 4vw, 3.4rem);
  max-width: 920px;
}

.legal-hero p {
  color: var(--muted);
  line-height: 1.8;
  max-width: 760px;
}

.legal-layout {
  display: grid;
  gap: 2rem;
  grid-template-columns: 280px minmax(0, 1fr);
  padding: 3rem 0 5rem;
}

.legal-toc {
  align-self: start;
  background: #ffffff;
  border: 1px solid rgba(0, 114, 153, 0.12);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 81, 115, 0.08);
  max-height: calc(100vh - 7rem);
  overflow: auto;
  padding: 1rem;
  position: sticky;
  top: 6rem;
}

.legal-toc summary {
  color: var(--primary);
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 700;
  list-style: none;
  margin: 0 0 0.75rem;
}

.legal-toc summary::-webkit-details-marker {
  display: none;
}

.legal-toc ol {
  display: grid;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.legal-toc a {
  border-radius: 8px;
  color: var(--muted);
  display: block;
  font-size: 0.84rem;
  line-height: 1.35;
  padding: 0.45rem 0.5rem;
}

.legal-toc a:hover {
  background: rgba(0, 114, 153, 0.07);
  color: var(--primary);
}

.legal-document {
  background: #ffffff;
  border: 1px solid rgba(0, 114, 153, 0.1);
  border-radius: 12px;
  box-shadow: 0 16px 45px rgba(0, 81, 115, 0.08);
  padding: clamp(1.25rem, 3vw, 2.75rem);
}

.legal-alert {
  background: rgba(255, 194, 0, 0.14);
  border: 1px solid rgba(255, 194, 0, 0.45);
  border-radius: 10px;
  color: #4d3b00;
  line-height: 1.7;
  margin-bottom: 2rem;
  padding: 1rem 1.2rem;
}

.legal-document h2 {
  color: var(--primary);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.25;
  margin: 2.5rem 0 1rem;
  scroll-margin-top: 7rem;
}

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

.legal-document p,
.legal-document li {
  color: #303030;
  line-height: 1.85;
}

.legal-document p {
  margin: 0 0 1rem;
}

.legal-document ul,
.legal-document ol {
  margin: 0 0 1.25rem;
  padding-left: 1.4rem;
}

.legal-document strong {
  color: #111111;
}

.legal-document hr {
  border: 0;
  border-top: 1px solid rgba(0, 114, 153, 0.12);
  margin: 2rem 0;
}

.legal-document a {
  color: var(--primary);
  overflow-wrap: anywhere;
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.blog-hero {
  background: linear-gradient(135deg, rgba(0, 114, 153, 0.08), rgba(255, 194, 0, 0.06));
  border-bottom: 1px solid rgba(0, 114, 153, 0.12);
  padding: 4rem 0 2.5rem;
}

.blog-hero h1 {
  max-width: 860px;
}

.blog-hero p {
  color: var(--muted);
  line-height: 1.8;
  max-width: 760px;
}

.blog-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 3rem 0 5rem;
}

.blog-card {
  background: #ffffff;
  border: 1px solid rgba(0, 114, 153, 0.12);
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0, 81, 115, 0.08);
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
}

.blog-card time,
.article-meta {
  color: var(--muted);
  font-size: 0.86rem;
}

.blog-card h2 {
  color: var(--primary);
  font-size: 1.25rem;
  line-height: 1.3;
  margin: 0;
}

.blog-card p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 280px;
  gap: 2.5rem;
  padding: 3rem 0 5rem;
}

.article-content {
  background: #ffffff;
  border: 1px solid rgba(0, 114, 153, 0.1);
  border-radius: 12px;
  box-shadow: 0 16px 45px rgba(0, 81, 115, 0.08);
  padding: clamp(1.25rem, 3vw, 2.75rem);
}

.article-content h2 {
  color: var(--primary);
  font-size: 1.45rem;
  margin: 2rem 0 1rem;
}

.article-content p,
.article-content li {
  color: #303030;
  line-height: 1.85;
}

.article-content p {
  margin: 0 0 1rem;
}

.article-content ul {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
}

.article-aside {
  align-self: start;
  background: rgba(0, 114, 153, 0.05);
  border: 1px solid rgba(0, 114, 153, 0.12);
  border-radius: 10px;
  padding: 1.2rem;
  position: sticky;
  top: 6rem;
}

.article-aside h2 {
  color: var(--primary);
  font-size: 1rem;
  margin: 0 0 0.8rem;
}

.article-aside a {
  color: var(--primary);
  display: block;
  font-weight: 600;
  line-height: 1.5;
  margin-top: 0.7rem;
}

.source-list a {
  color: var(--primary);
  font-weight: 600;
}

@media (max-width: 900px) {
  .blog-grid,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-aside {
    position: static;
  }
}

@media (max-width: 700px) {
  .legal-hero {
    padding: 2.4rem 0 1.6rem;
  }

  .legal-hero h1 {
    font-size: 2rem;
    line-height: 1.15;
  }

  .legal-hero p {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .legal-layout {
    gap: 1rem;
    grid-template-columns: 1fr;
    padding: 1rem 0 3rem;
  }

  .legal-toc {
    border-radius: 10px;
    box-shadow: none;
    max-height: none;
    padding: 0.9rem;
    position: static;
    top: auto;
  }

  .legal-toc-details:not([open]) {
    margin-bottom: 0;
  }

  .legal-toc-details[open] ol {
    max-height: 14rem;
    overflow: auto;
  }

  .legal-toc a {
    font-size: 0.8rem;
    padding: 0.42rem 0.2rem;
  }

  .legal-document {
    border-left: 0;
    border-radius: 0;
    border-right: 0;
    box-shadow: none;
    margin-left: calc((100vw - 100%) / -2);
    margin-right: calc((100vw - 100%) / -2);
    padding: 1.25rem 1rem;
  }

  .legal-alert {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    padding: 0.9rem;
  }

  .legal-document h2 {
    font-size: 1.25rem;
    line-height: 1.3;
    margin: 2rem 0 0.8rem;
    overflow-wrap: anywhere;
  }

  .legal-document p,
  .legal-document li {
    font-size: 0.94rem;
    line-height: 1.75;
    overflow-wrap: anywhere;
  }

  .legal-document ul,
  .legal-document ol {
    padding-left: 1.1rem;
  }
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
  }
}
