@import url('https://fonts.googleapis.com/css2?family=Anton&family=DM+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Playfair+Display:wght@600;700&family=Work+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --navy: #16163F;
  --blue: #3F52FD;
  --blue-hover: #293bd4;
  --purple-active: #9E3FFD;
  --accent-cyan: #CCF3F0;
  --purple-soft: #F8F0FF;
  --ink: #24243b;
  --muted: #55566d;
  --white: #ffffff;
  --max: 1140px;
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 78px;
}

body {
  margin: 0;
  color: var(--ink);
  font: 16px/1.65 'DM Sans', Arial, sans-serif;
  background: #fff;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

/* ===================================================
   CONTAINER: MARGENS AMPLIOS Y CENTRADOS EN TODAS LAS PANTALLAS
   =================================================== */
.container {
  width: 100%;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 36px;
  padding-right: 36px;
}

/* ===================================================
   SITE HEADER
   =================================================== */
.site-header {
  height: 78px;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid #e9e9ef;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand img {
  width: 95px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #16163F;
  text-decoration: none;
  padding: 10px 0;
  position: relative;
  transition: color 0.25s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--blue);
}

.nav-link.active {
  color: var(--purple-active);
  font-weight: 500;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 10px;
  cursor: pointer;
  border-radius: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--navy);
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.2s;
}

/* ===================================================
   HERO SECTION (CON MARGEN PERFECTO Y SIN BOTÓN)
   =================================================== */
.hero {
  min-height: 560px;
  display: flex;
  align-items: center;
  position: relative;
  background: url('images/img_3.jpg') center/cover no-repeat;
  color: #fff;
  padding: 80px 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(22, 22, 63, 0.94), rgba(47, 92, 184, 0.85));
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.hero-text {
  padding-right: 15px;
}

.hero-title-anton {
  font-family: 'Anton', 'DM Sans', sans-serif;
  font-size: clamp(42px, 5.2vw, 68px);
  color: #FFFFFF;
  line-height: 1.12;
  letter-spacing: 0.5px;
  margin: 0 0 24px;
  font-weight: 400;
  text-transform: none;
}

.hero-copy {
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: clamp(17px, 1.8vw, 20px);
  max-width: 580px;
  margin: 0;
  color: #edf1ff;
  line-height: 1.65;
}

.hero-img-wrap {
  display: flex;
  justify-content: flex-end;
}

.hero-image {
  width: 100%;
  max-width: 480px;
  height: 350px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

/* ===================================================
   SECTION: NUESTROS SERVICIOS (FOTO 2)
   =================================================== */
.section-services-flow {
  background-color: var(--purple-soft);
  padding: 90px 0 105px;
}

.services-content-wrap {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.services-header-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(34px, 4vw, 52px);
  text-align: center;
  color: #16163F;
  font-weight: 700;
  margin: 0 0 40px;
}

.services-main-heading {
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 700;
  color: #16163F;
  margin: 0 0 16px;
  line-height: 1.3;
}

.services-lead-text {
  font-size: 18px;
  line-height: 1.7;
  color: #2d2e46;
  margin: 0 0 16px;
}

.services-team-img {
  display: block;
  width: 100%;
  max-width: 620px;
  height: auto;
  margin: 40px auto 45px;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
}

.services-block-title {
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  color: #16163F;
  margin: 45px 0 22px;
  line-height: 1.3;
}

.orientation-item {
  margin-bottom: 24px;
}

.orientation-item h4 {
  font-size: 20px;
  font-weight: 700;
  color: #16163F;
  margin: 0 0 8px;
}

.orientation-item p {
  font-size: 16px;
  line-height: 1.65;
  color: #4b4c64;
  margin: 0;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 24px 0 35px;
}

.step-item h4 {
  font-size: 20px;
  font-weight: 700;
  color: #16163F;
  margin: 0 0 8px;
}

.step-item p {
  font-size: 16px;
  line-height: 1.65;
  color: #4b4c64;
  margin: 0;
}

.transparency-list {
  list-style: disc;
  padding-left: 24px;
  margin: 16px 0 20px;
  color: #2d2e46;
}

.transparency-list li {
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.6;
}

/* ===================================================
   SECTION: ¿POR QUÉ ELEGIRNOS?
   =================================================== */
.section-why-us {
  background-color: #ffffff;
  padding: 95px 0;
}

.why-us-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.why-us-title {
  font-family: 'Anton', 'DM Sans', sans-serif;
  font-size: clamp(30px, 3.5vw, 42px);
  color: #16163F;
  margin: 0 0 35px;
  letter-spacing: 0.5px;
  font-weight: 400;
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.feature-icon {
  width: 40px;
  height: auto;
  flex-shrink: 0;
  margin-top: 3px;
}

.feature-info h4 {
  font-size: 20px;
  font-weight: 700;
  color: #16163F;
  margin: 0 0 6px;
}

.feature-info p {
  font-size: 15px;
  color: #55566d;
  line-height: 1.6;
  margin: 0;
}

.why-us-image {
  width: 100%;
  height: 370px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.1);
}

/* ===================================================
   SECTION: PREGUNTAS FRECUENTES
   =================================================== */
.section-faq {
  background-color: #faf9ff;
  padding: 85px 0;
}

.faq-title {
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: clamp(28px, 3.2vw, 36px);
  font-weight: 700;
  color: #16163F;
  text-align: center;
  margin: 0 0 45px;
}

.faq-wrap {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.faq-wrap details {
  background: #fff;
  border: 1px solid #e5e1ee;
  border-radius: 8px;
  margin-bottom: 14px;
  padding: 20px 24px;
}

.faq-wrap summary {
  cursor: pointer;
  font-weight: 700;
  color: #16163F;
  font-size: 18px;
}

.faq-wrap details p {
  color: #55566d;
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.6;
}

/* ===================================================
   SECTION: ESTADÍSTICAS DE CONFIANZA
   =================================================== */
.stats-trust-section {
  background-color: #CCF3F0;
  padding: 75px 0 85px;
  text-align: center;
}

.stats-trust-title {
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: clamp(28px, 3.2vw, 36px);
  font-weight: 700;
  color: #16163F;
  margin: 0 0 10px;
  line-height: 1.2;
}

.stats-trust-subtitle {
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 400;
  color: #16163F;
  margin: 0 0 50px;
}

.stats-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: flex-start;
}

.stats-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0 10px;
}

.stats-number {
  font-family: 'Anton', 'DM Sans', sans-serif;
  font-size: clamp(38px, 4.2vw, 50px);
  font-weight: 400;
  color: #3F52FD;
  letter-spacing: normal;
  line-height: 1.15;
  margin-bottom: 10px;
  text-align: center;
}

.stats-label {
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 17px;
  font-weight: 500;
  color: #16163F;
  text-align: center;
  line-height: 1.35;
}

/* ===================================================
   SECTION: ¿LISTO PARA EMPEZAR? + SOMOS BUENOS CON LOS NÚMEROS
   =================================================== */
.ready-numbers-section {
  background-color: #16163F;
  color: #FFFFFF;
  padding: 85px 0 95px;
  text-align: center;
}

.ready-block {
  margin-bottom: 60px;
}

.ready-title {
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: clamp(28px, 3.2vw, 36px);
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 12px;
}

.ready-subtitle {
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 400;
  color: #FFFFFF;
  margin: 0 auto;
  max-width: 650px;
  opacity: 0.95;
}

.numbers-block {
  padding-top: 20px;
}

.numbers-title {
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 45px;
}

.numbers-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.num-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 140px;
}

.big-num {
  font-family: 'Work Sans', 'DM Sans', Arial, sans-serif;
  font-size: clamp(52px, 5.5vw, 80px);
  font-weight: 600;
  line-height: 1;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.num-text {
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 17px;
  font-weight: 400;
  color: #FFFFFF;
  opacity: 0.92;
  text-align: center;
}

.num-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #FFFFFF;
  opacity: 0.85;
  margin-bottom: 30px;
  flex-shrink: 0;
}

/* ===================================================
   SECTION: FOOTER (4 COLUMNS, PURE BLACK)
   =================================================== */
.site-footer-main {
  background-color: #000000;
  color: #FFFFFF;
  padding: 70px 0 35px;
  font-family: 'DM Sans', Arial, sans-serif;
  border-top: 1px solid #14141c;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  align-items: flex-start;
}

.footer-col-brand .footer-brand-logo {
  width: 170px;
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
}

.footer-description {
  font-size: 14px;
  line-height: 1.65;
  color: #e5e5e5;
  margin: 0;
  max-width: 320px;
}

.footer-heading {
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 22px;
  letter-spacing: -0.01em;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links li a {
  color: #FFFFFF;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease;
}

.footer-links li a::before {
  content: '•';
  color: #FFFFFF;
  font-size: 16px;
  line-height: 1;
}

.footer-links li a:hover {
  color: #8fa5ff;
  text-decoration: underline;
}

.footer-contact-details p {
  color: #FFFFFF;
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 12px;
}

.footer-contact-details a {
  color: #FFFFFF;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact-details a:hover {
  color: #8fa5ff;
  text-decoration: underline;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 55px;
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: 13px;
  color: #888888;
  margin: 0;
}

.footer-official-btn {
  background: transparent;
  border: 0;
  color: #8fa5ff;
  font-size: 13px;
  font-family: inherit;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}

.footer-official-btn:hover {
  color: #cbd7ff;
}

/* ===================================================
   MODAL: COMUNICADO OFICIAL (SALE SÍ O SÍ AL ENTRAR)
   =================================================== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 35, 0.82);
  backdrop-filter: blur(4px);
  z-index: 99999;
  place-items: center;
  padding: 20px;
  animation: modalFadeIn 0.3s ease-out;
}

.modal.is-open {
  display: grid;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-card {
  background: #ffffff;
  border-radius: 14px;
  width: min(100%, 640px);
  max-height: min(88vh, 760px);
  overflow-y: auto;
  padding: 42px 44px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  transform: translateY(0);
  animation: modalSlideUp 0.3s ease-out;
}

@keyframes modalSlideUp {
  from { transform: translateY(20px); }
  to { transform: translateY(0); }
}

.modal-card h2 {
  font-size: clamp(24px, 3.2vw, 34px);
  margin-bottom: 20px;
}

.official-copy p {
  color: #4f5065;
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.6;
}

.official-address-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #2563eb;
  padding: 12px 16px;
  border-radius: 8px;
  margin: 14px 0 18px;
  color: #1e293b;
  font-size: 14px;
  text-align: left;
}

.official-address-title {
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.official-address-val {
  font-weight: 600;
  color: #1e40af;
}

.official-signature {
  padding-top: 8px;
}

.official-modal-btn {
  width: 100%;
  margin-top: 20px;
  padding: 14px 20px;
  border-radius: 8px;
  border: 0;
  background: #2563eb;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: 0.2s;
}

.official-modal-btn:hover {
  background: #1d4ed8;
}

.modal-close {
  position: absolute;
  right: 16px;
  top: 14px;
  border: 0;
  background: transparent;
  color: #555;
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
}

/* ===================================================
   RESPONSIVE DESIGN 100% (TABLET & MOBILE)
   =================================================== */
@media (max-width: 992px) {
  .container {
    padding-left: 28px;
    padding-right: 28px;
  }
  .main-nav {
    gap: 20px;
  }
  .nav-link {
    font-size: 16px;
  }
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-text {
    padding-right: 0;
  }
  .hero-img-wrap {
    justify-content: center;
  }
  .hero-image {
    max-width: 100%;
    height: 300px;
  }
  .why-us-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .stats-trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 20px;
  }
  .footer-columns {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  /* Header Mobile */
  .site-header {
    height: 66px;
  }
  .brand img {
    width: 82px;
  }
  .menu-toggle {
    display: block;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 14px 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    box-shadow: 0 16px 30px rgba(20, 20, 60, 0.14);
    border-bottom: 2px solid #e9e9ef;
  }
  .main-nav.is-open {
    display: flex;
  }
  .nav-link {
    padding: 12px 14px;
    border-radius: 6px;
    font-size: 17px;
  }
  .nav-link:hover, .nav-link:active {
    background: #f8f0ff;
  }

  /* Hero Mobile */
  .hero {
    min-height: auto;
    padding: 50px 0;
  }
  .hero-title-anton {
    font-size: clamp(34px, 8vw, 44px);
    margin-bottom: 16px;
  }
  .hero-copy {
    font-size: 16px;
    line-height: 1.6;
  }
  .hero-image {
    height: 220px;
  }
  
  /* Services Mobile */
  .section-services-flow {
    padding: 60px 0 70px;
  }
  .services-header-title {
    font-size: 32px;
    margin-bottom: 25px;
  }
  .services-main-heading {
    font-size: 22px;
  }
  .services-lead-text {
    font-size: 16px;
  }
  .services-team-img {
    margin: 25px auto 30px;
    border-radius: 6px;
  }
  .services-block-title {
    font-size: 24px;
    margin: 35px 0 18px;
  }
  .orientation-item h4, .step-item h4 {
    font-size: 18px;
  }
  .orientation-item p, .step-item p {
    font-size: 15px;
  }
  
  /* Why Us Mobile */
  .section-why-us {
    padding: 60px 0;
  }
  .why-us-title {
    font-size: 30px;
    margin-bottom: 25px;
  }
  .why-us-image {
    height: 240px;
  }
  .feature-item {
    gap: 16px;
  }
  .feature-icon {
    width: 34px;
  }
  .feature-info h4 {
    font-size: 18px;
  }
  .feature-info p {
    font-size: 14px;
  }

  /* FAQ Mobile */
  .section-faq {
    padding: 60px 0;
  }
  .faq-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .faq-wrap details {
    padding: 16px 18px;
  }
  .faq-wrap summary {
    font-size: 16px;
  }
  .faq-wrap details p {
    font-size: 15px;
  }

  /* Stats Mobile */
  .stats-trust-section {
    padding: 60px 0;
  }
  .stats-trust-title {
    font-size: 28px;
  }
  .stats-trust-subtitle {
    font-size: 16px;
    margin-bottom: 35px;
  }
  .stats-number {
    font-size: 38px;
  }
  .stats-label {
    font-size: 15px;
  }

  /* Numbers Mobile */
  .ready-numbers-section {
    padding: 60px 0 70px;
  }
  .ready-title {
    font-size: 28px;
  }
  .ready-subtitle {
    font-size: 16px;
    margin-bottom: 40px;
  }
  .numbers-title {
    font-size: 26px;
    margin-bottom: 30px;
  }
  .numbers-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 16px;
  }
  .num-dot {
    display: none;
  }
  .big-num {
    font-size: 48px;
  }
  .num-text {
    font-size: 15px;
  }
  
  /* Footer Mobile */
  .site-footer-main {
    padding: 55px 0 30px;
  }
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-brand-logo {
    width: 150px;
  }
  .footer-heading {
    font-size: 20px;
    margin-bottom: 16px;
  }
  .footer-links li a {
    font-size: 15px;
  }
  .footer-contact-details p {
    font-size: 14px;
    word-break: break-word;
  }
  .footer-bottom-bar {
    margin-top: 35px;
    padding-top: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  /* Modal Mobile */
  .modal {
    padding: 14px;
  }
  .modal-card {
    padding: 32px 20px 24px;
    width: 100%;
    max-height: 88vh;
  }
  .modal-card h2 {
    font-size: 22px;
    margin-bottom: 14px;
  }
  .official-copy p {
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 12px;
  }
  .official-address-box {
    padding: 10px 12px;
    font-size: 13px;
  }
  .official-modal-btn {
    padding: 12px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .stats-trust-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .numbers-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ===================================================
   BOTÓN FLOTANTE WHATSAPP (CONFORME A POLÍTICAS ADS)
   =================================================== */
.whatsapp-float-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: #25D366;
  color: #ffffff !important;
  border-radius: 50px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  z-index: 9999;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.whatsapp-float-btn:hover {
  background-color: #20ba59;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  color: #ffffff !important;
}

.whatsapp-float-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

@media (max-width: 600px) {
  .whatsapp-float-btn {
    bottom: 18px;
    right: 18px;
    padding: 10px 16px;
    font-size: 14px;
  }
}