/* ==========================================================================
   RegisCheckGT - Pre-Revisión y Pre-Calificación Registral
   Modern Legal Design System based on rmsolucionesit.com layout
   ========================================================================== */

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

:root {
  /* Brand Color Palette - Deep Emerald & Champagne Gold */
  --emerald-darkest: #041B17;
  --emerald-dark: #0A3B32;
  --emerald-main: #0F4C40;
  --emerald-light: #166455;
  --emerald-soft: #EBF4F1;
  --emerald-glow: rgba(10, 59, 50, 0.22);

  --gold-primary: #C5A059;
  --gold-light: #E0C17B;
  --gold-rich: #9B7735;
  --gold-soft: #FAF4E6;
  --gold-glow: rgba(197, 160, 89, 0.3);

  --bg-parchment: #FDFBF7;
  --bg-cream: #F5EFE6;
  --bg-surface: #FFFFFF;
  --bg-card: rgba(255, 255, 255, 0.94);
  --bg-dark-section: #05241F;

  --text-main: #132420;
  --text-muted: #546863;
  --text-dim: #7E938E;
  --text-light: #FFFFFF;
  --text-light-muted: #CBD5E1;

  --border-subtle: rgba(10, 59, 50, 0.1);
  --border-gold: rgba(197, 160, 89, 0.35);
  --border-emerald: rgba(15, 76, 64, 0.25);

  --font-heading: 'Cinzel', serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-sm: 0 4px 12px rgba(10, 59, 50, 0.05);
  --shadow-md: 0 10px 30px rgba(10, 59, 50, 0.08);
  --shadow-lg: 0 20px 45px rgba(10, 59, 50, 0.12);
  --shadow-gold: 0 8px 25px rgba(197, 160, 89, 0.25);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-parchment);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 10% 10%, rgba(197, 160, 89, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 90% 40%, rgba(10, 59, 50, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(197, 160, 89, 0.05) 0%, transparent 50%);
  background-attachment: fixed;
}

/* Subtle background watermark texture */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    linear-gradient(rgba(10, 59, 50, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 59, 50, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: -1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--emerald-dark);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition-fast);
}

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

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Section Tag / Badge */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--gold-soft);
  color: var(--gold-rich);
  border: 1px solid var(--border-gold);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.section-tag.tag-dark {
  background-color: rgba(197, 160, 89, 0.15);
  color: var(--gold-light);
  border-color: rgba(197, 160, 89, 0.35);
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem auto;
}

.section-header h2 {
  font-size: 2.35rem;
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
  position: relative;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-primary), var(--emerald-main));
  margin: 0.8rem auto 0 auto;
  border-radius: var(--radius-full);
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 1px solid transparent;
  text-align: center;
  font-family: var(--font-body);
}

.btn-primary {
  background: linear-gradient(135deg, var(--emerald-dark) 0%, var(--emerald-main) 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(10, 59, 50, 0.25);
  border-color: rgba(197, 160, 89, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--emerald-main) 0%, var(--emerald-light) 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(10, 59, 50, 0.35);
  color: #FFFFFF;
}

.btn-secondary {
  background-color: #FFFFFF;
  color: var(--emerald-dark);
  border: 1.5px solid var(--border-gold);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--gold-soft);
  border-color: var(--gold-primary);
  color: var(--emerald-darkest);
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-rich) 100%);
  color: #FFFFFF;
  box-shadow: var(--shadow-gold);
  border: 1px solid var(--gold-light);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(197, 160, 89, 0.4);
  color: #FFFFFF;
}

.btn-whatsapp {
  background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  color: #FFFFFF;
}

/* Text Gradient & Accents */
.text-gold {
  color: var(--gold-primary);
}

.text-gold-gradient {
  background: linear-gradient(135deg, #DFB96C 0%, #C5A059 50%, #99752D 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-emerald {
  color: var(--emerald-dark);
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(253, 251, 247, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-gold);
  transition: all var(--transition-normal);
  padding: 0.9rem 0;
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 30px rgba(10, 59, 50, 0.08);
  padding: 0.65rem 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.brand-logo-img {
  height: 52px;
  width: auto;
  max-width: 290px;
  object-fit: contain;
  transition: transform var(--transition-normal);
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.03);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 0.3rem 0;
  transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--emerald-dark);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-primary), var(--emerald-main));
  border-radius: var(--radius-full);
}

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  color: var(--emerald-dark);
  font-size: 1.3rem;
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  padding: 8.5rem 0 5rem 0;
  position: relative;
  overflow: hidden;
}

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

.hero-title {
  font-size: 3.1rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.18;
  margin-bottom: 1.4rem;
  color: var(--emerald-darkest);
}

.hero-subtitle {
  font-size: 1.18rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.8rem;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-gold);
}

.stat-box {
  text-align: left;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--emerald-dark);
  line-height: 1.1;
  margin-bottom: 0.2rem;
}

.stat-number span {
  color: var(--gold-primary);
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-image-wrapper {
  position: relative;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--border-gold);
  background: #FFFFFF;
}

.hero-image-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.hero-image-card:hover img {
  transform: scale(1.03);
}

.hero-image-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(10, 59, 50, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--gold-primary);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #FFFFFF;
  box-shadow: var(--shadow-md);
}

.hero-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-rich) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ==========================================================================
   CRITERIA & SEGUIMIENTO BANNER SECTION
   ========================================================================== */
.registry-banner {
  background: linear-gradient(135deg, var(--emerald-darkest) 0%, var(--emerald-dark) 50%, var(--emerald-main) 100%);
  color: #FFFFFF;
  padding: 3.5rem 0;
  position: relative;
  border-top: 2px solid var(--gold-primary);
  border-bottom: 2px solid var(--gold-primary);
}

.registry-banner-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2.5rem;
  align-items: center;
}

.banner-icon-large {
  width: 75px;
  height: 75px;
  border-radius: var(--radius-md);
  background: rgba(197, 160, 89, 0.15);
  border: 1.5px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: var(--gold-light);
}

.banner-text h3 {
  color: #FFFFFF;
  font-size: 1.45rem;
  margin-bottom: 0.5rem;
}

.banner-text p {
  color: var(--text-light-muted);
  font-size: 1.02rem;
  line-height: 1.6;
}

/* ==========================================================================
   QUIÉNES SOMOS SECTION
   ========================================================================== */
.about {
  padding: 6.5rem 0;
  background-color: #FFFFFF;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
}

.about-content h2 {
  font-size: 2.35rem;
  margin-bottom: 1.3rem;
  color: var(--emerald-darkest);
}

.about-lead {
  font-size: 1.15rem;
  color: var(--emerald-main);
  font-weight: 600;
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

.about-text {
  color: var(--text-muted);
  font-size: 1.02rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  background: var(--bg-parchment);
  padding: 1.3rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.feature-item:hover {
  transform: translateY(-4px);
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-sm);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--gold-soft);
  color: var(--gold-rich);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.feature-item h4 {
  font-size: 1.05rem;
  color: var(--emerald-dark);
}

.feature-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.about-visual-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--border-gold);
}

.about-visual-card img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.about-floating-experience {
  position: absolute;
  top: 1.8rem;
  right: 1.8rem;
  background: rgba(10, 59, 50, 0.92);
  backdrop-filter: blur(10px);
  border: 1.5px solid var(--gold-primary);
  border-radius: var(--radius-md);
  padding: 1rem 1.4rem;
  color: #FFFFFF;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.about-floating-experience strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--gold-light);
  line-height: 1;
}

.about-floating-experience span {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services {
  padding: 6.5rem 0;
  position: relative;
}

.services-filter {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.filter-btn {
  background: #FFFFFF;
  border: 1.5px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 0.7rem 1.4rem;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: var(--font-body);
}

.filter-btn:hover {
  border-color: var(--gold-primary);
  color: var(--emerald-dark);
}

.filter-btn.active {
  background: var(--emerald-dark);
  color: #FFFFFF;
  border-color: var(--emerald-dark);
  box-shadow: var(--shadow-sm);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  position: relative;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-primary);
}

.service-image {
  position: relative;
  height: 230px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.service-card:hover .service-image img {
  transform: scale(1.06);
}

.service-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(10, 59, 50, 0.9);
  color: var(--gold-light);
  border: 1px solid var(--gold-primary);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.service-body {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-body h3 {
  font-size: 1.45rem;
  margin-bottom: 0.75rem;
  color: var(--emerald-darkest);
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.4rem;
  line-height: 1.6;
}

.service-list-preview-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--gold-rich);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.service-items-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.8rem;
}

.service-pill-tag {
  background: var(--emerald-soft);
  color: var(--emerald-dark);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(10, 59, 50, 0.08);
}

.service-btn-wrap {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  gap: 0.8rem;
}

.service-btn-wrap .btn {
  width: 100%;
}

/* ==========================================================================
   VALUE PILLARS / BENEFICIOS (From Brochure)
   ========================================================================== */
.pillars {
  padding: 5rem 0;
  background-color: var(--bg-cream);
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
}

.pillar-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 2.2rem 1.8rem;
  border: 1.5px solid var(--border-gold);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 1.3rem;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.pillar-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--emerald-dark) 0%, var(--emerald-main) 100%);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  border: 1.5px solid var(--gold-primary);
}

.pillar-content h4 {
  font-size: 1.22rem;
  margin-bottom: 0.4rem;
  color: var(--emerald-darkest);
}

.pillar-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact {
  padding: 6.5rem 0;
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: flex-start;
}

.contact-info-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 2.8rem;
  border: 1.5px solid var(--border-gold);
  box-shadow: var(--shadow-md);
}

.contact-info-header h3 {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
  color: var(--emerald-darkest);
}

.contact-info-header p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 2.2rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  margin-bottom: 2.2rem;
}

.method-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}

.method-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--gold-soft);
  color: var(--gold-rich);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.method-text h5 {
  font-family: var(--font-body);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-dim);
  margin-bottom: 0.25rem;
}

.method-text a {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--emerald-dark);
}

.method-text a:hover {
  color: var(--gold-rich);
}

.contact-whatsapp-block {
  background: var(--emerald-soft);
  border: 1px solid var(--border-emerald);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
}

.contact-whatsapp-block p {
  font-size: 0.95rem;
  color: var(--emerald-dark);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Contact Form Card */
.contact-form-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 2.8rem;
  border: 1.5px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
}

.contact-form-card h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: var(--emerald-darkest);
}

.contact-form-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.8rem;
}

.form-group {
  margin-bottom: 1.3rem;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--emerald-dark);
  margin-bottom: 0.45rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  font-size: 0.95rem;
  border: 1.5px solid #D9E2EC;
  border-radius: var(--radius-sm);
  background-color: #FAFCFC;
  color: var(--text-main);
  font-family: var(--font-body);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-primary);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.18);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* ==========================================================================
   MODAL DE DETALLES DE SERVICIO
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(4, 27, 23, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  max-width: 780px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.8rem;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  border: 2px solid var(--gold-primary);
  transform: translateY(30px);
  transition: transform var(--transition-normal);
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--gold-soft);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--emerald-dark);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: var(--emerald-dark);
  color: #FFFFFF;
}

.modal-header-tag {
  display: inline-block;
  background: var(--gold-soft);
  color: var(--gold-rich);
  border: 1px solid var(--border-gold);
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.8rem;
}

.modal-title {
  font-size: 1.9rem;
  color: var(--emerald-darkest);
  margin-bottom: 1rem;
}

.modal-description {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.8rem;
  line-height: 1.6;
}

.modal-subtitle {
  font-size: 1.15rem;
  color: var(--emerald-dark);
  margin-bottom: 1.2rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.5rem;
}

.modal-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  list-style: none;
  margin-bottom: 2.2rem;
}

.modal-features-grid li {
  background: var(--bg-parchment);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: var(--text-main);
}

.modal-features-grid li i {
  color: var(--gold-primary);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.modal-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--emerald-darkest);
  color: #FFFFFF;
  border: 1.5px solid var(--gold-primary);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.6rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
  z-index: 3000;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all var(--transition-normal);
  max-width: 440px;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--emerald-darkest);
  color: var(--text-light-muted);
  padding: 5rem 0 2rem 0;
  border-top: 2px solid var(--gold-primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 3.5rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  margin-top: 1.2rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-light-muted);
}

.footer-links h4 {
  color: var(--gold-light);
  font-size: 1.2rem;
  margin-bottom: 1.3rem;
  letter-spacing: 0.5px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links li {
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.footer-links a:hover {
  color: var(--gold-light);
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: var(--text-dim);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .hero-title {
    font-size: 2.5rem;
  }

  .registry-banner-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .banner-icon-large {
    margin: 0 auto;
  }

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

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: #FFFFFF;
    flex-direction: column;
    padding: 2rem 1.5rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid var(--gold-primary);
    transform: translateY(-150%);
    opacity: 0;
    transition: all var(--transition-normal);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
  }

  .brand-logo-img {
    height: 40px;
    max-width: 210px;
  }

  .hero {
    padding: 6.5rem 0 3.5rem 0;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .services-grid,
  .pillars-grid,
  .about-features,
  .modal-features-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
  }
}
