/**
 * Rica WinDor — Design system
 * Azul principal: #143c65
 * H1: Libre Baskerville (estilo Baskerville web)
 * Texto: Montserrat
 */

:root {
  --rica-azul: #143c65;
  --rica-azul-light: #1a5080;
  --rica-orange: #e85d04;
  --rica-orange-hover: #f48c06;
  --rica-gray-100: #f8fafc;
  --rica-gray-200: #e2e8f0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Solo H1 usa Baskerville (Libre Baskerville en web) */
h1 {
  font-family: 'Libre Baskerville', 'Baskerville', 'Times New Roman', Georgia, serif;
  font-weight: 400;
}

/* Contenedores — mismo padding horizontal en todo el sitio */
.rica-container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px) {
  .rica-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .rica-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
.rica-container--7xl {
  max-width: 80rem; /* max-w-7xl */
}
.rica-container--4xl {
  max-width: 56rem;
}
.rica-container--3xl {
  max-width: 48rem;
}
.rica-container--2xl {
  max-width: 42rem;
}

/* Secciones — padding vertical consistente */
.rica-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
@media (min-width: 768px) {
  .rica-section {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

.rica-section--hero {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
@media (min-width: 768px) {
  .rica-section--hero {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
}
@media (min-width: 1024px) {
  .rica-section--hero {
    padding-top: 9rem;
    padding-bottom: 9rem;
  }
}

.rica-section--compact {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.rica-section--page-hero {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
@media (min-width: 768px) {
  .rica-section--page-hero {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

/* Header interior */
.rica-header-inner {
  height: 4rem;
}
@media (min-width: 768px) {
  .rica-header-inner {
    height: 5rem;
  }
}

/* Sticky header */
#main-header {
  transition: box-shadow 0.2s ease, background 0.2s ease;
}
#main-header.scrolled {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* CTA */
.rica-cta {
  background: linear-gradient(135deg, #e85d04 0%, #f48c06 100%);
  transition: transform 0.2s, box-shadow 0.2s;
}
.rica-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 25px -5px rgba(232, 93, 4, 0.4);
}

.rica-phone-banner {
  background: linear-gradient(135deg, #e85d04 0%, #f48c06 100%);
}

.rica-phone-banner__inner {
  min-height: 2.75rem;
}

.rica-phone-banner__btn,
.rica-phone-footer__btn {
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.rica-phone-banner__btn:hover,
.rica-phone-footer__btn:hover {
  transform: translateY(-1px);
}

.rica-phone-banner__btn:hover {
  box-shadow: 0 8px 20px -8px rgba(20, 60, 101, 0.7);
}

.rica-phone-footer {
  background: linear-gradient(135deg, rgba(232, 93, 4, 0.16) 0%, rgba(244, 140, 6, 0.1) 100%);
}

.rica-phone-footer__btn:hover {
  box-shadow: 0 10px 25px -10px rgba(232, 93, 4, 0.6);
}

.rica-agency-zocalo {
  background: #0f2f4d;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.9rem 1rem;
}

.rica-agency-zocalo__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.rica-agency-zocalo__link:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

.rica-agency-zocalo__logo {
  width: 2.4rem;
  height: 2.4rem;
  object-fit: contain;
}

.rica-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.rica-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.rica-trust-icon {
  width: 48px;
  height: 48px;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--rica-orange);
  outline-offset: 2px;
}
.field-contact {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  height: 0;
  width: 0;
  z-index: -1;
  overflow: hidden;
}