/* ==========================================================================
   Seguridad Privada Independencia — Landing
   Design tokens extracted from the original Swipepages build
   ========================================================================== */
:root{
  --navy:        #000066;
  --navy-dark:   #051b60;
  --navy-overlay:rgba(0,7,34,.83);
  --blue:        #3783e1;
  --blue-dark:   #2a68c2;
  --lime:        #b3e831;
  --text:        #262626;
  --text-light:  #656565;
  --white:       #ffffff;
  --bg-soft:     #f5f8fc;
  --border-soft: #e9f3ff;

  --font-head: 'Manrope', sans-serif;
  --font-body: 'Nunito Sans', sans-serif;

  --radius-pill: 30px;
  --radius-card: 8px;
  --container: 1180px;
  --gap: 25px;

  --shadow-card: 0 5px 45px rgba(175,177,177,.35);
  --transition: .3s ease;
}

*, *::before, *::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--text);
  line-height:1.6;
  background:var(--white);
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; height:auto; display:block; }
a{ color:var(--blue); text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
h1,h2,h3,h4{ font-family:var(--font-head); font-weight:800; line-height:1.25; margin:0 0 16px; color:var(--text); }
p{ margin:0 0 16px; }
p:last-child{ margin-bottom:0; }

.container{ width:100%; max-width:var(--container); margin:0 auto; padding:0 20px; }
.text-center{ text-align:center; }
.visually-hidden{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}
.skip-link{
  position:absolute; left:-9999px; top:0; background:var(--navy); color:#fff;
  padding:10px 16px; z-index:1000; border-radius:0 0 8px 0;
}
.skip-link:focus{ left:0; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  font-family:var(--font-body); font-weight:700; font-size:16px;
  padding:16px 38px; border-radius:var(--radius-pill);
  border:2px solid transparent; cursor:pointer;
  transition:background var(--transition), color var(--transition), transform var(--transition), border-color var(--transition);
  text-align:center;
}
.btn:active{ transform:scale(.98); }
.btn-primary{ background:var(--blue); color:#fff; }
.btn-primary:hover{ background:var(--blue-dark); }
.btn-outline{ background:transparent; border-color:var(--blue); color:var(--blue); }
.btn-outline:hover{ background:var(--blue); color:#fff; }
.btn-block{ display:flex; width:100%; }
.btn-sm{ padding:10px 22px; font-size:14px; }

/* ---------- Header ---------- */
.site-header{ position:relative; z-index:20; background:var(--white); box-shadow:0 1px 0 rgba(0,0,0,.05); }
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  height:90px;
}
.logo img{ height:56px; width:auto; }
.header-cta{ display:none; }
.menu-toggle{
  display:flex; flex-direction:column; justify-content:center; gap:5px;
  width:40px; height:40px; background:none; border:none; cursor:pointer; padding:8px;
}
.menu-toggle span{ display:block; height:2px; width:100%; background:var(--navy); border-radius:2px; transition:var(--transition); }
.menu-toggle[aria-expanded="true"] span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

.mobile-menu{
  display:flex; flex-direction:column; overflow:hidden; height:0;
  background:#fff; transition:height var(--transition);
}
.mobile-menu.open{ height:auto; padding:10px 20px 24px; }
.mobile-menu a{
  padding:14px 0; color:var(--text); font-weight:700; border-bottom:1px solid var(--border-soft);
}
.mobile-menu .btn{ margin-top:16px; }

@media (min-width:1024px){
  .header-cta{ display:block; }
  .menu-toggle{ display:none; }
  .mobile-menu{ display:none; }
}

/* ---------- Hero ---------- */
.hero{ padding:60px 0 70px; background:var(--white); }
.hero-grid{ display:grid; grid-template-columns:1fr; gap:40px; align-items:center; }

@media (min-width:960px){
  .hero-grid{ grid-template-columns:1.05fr .95fr; gap:var(--gap); }
}

.hero-title{ font-size:34px; color:var(--navy); }
.hero-subhead{ font-family:var(--font-head); font-weight:700; font-size:24px; color:var(--blue); margin-bottom:20px; }
.hero-divider{ width:70px; height:3px; background:var(--navy); border:none; margin:0 0 24px; }
.hero-lead{ font-size:17px; color:var(--text-light); max-width:46em; }
.hero-media img{ border-radius:var(--radius-card); }

/* ---------- Forms ---------- */
.lead-form{
  margin-top:32px; padding:24px; border:2px solid var(--border-soft); border-radius:var(--radius-card);
  background:var(--white);
}
.lead-form h3{ font-size:20px; margin-bottom:20px; }
.form-row{ margin-bottom:16px; }
.lead-form input,
.lead-form select{
  width:100%; padding:14px 16px; font:inherit; font-size:15px;
  border:1px solid #d7dde5; border-radius:var(--radius-card);
  background:#fff; color:var(--text); appearance:none;
}
.lead-form select{
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='9'><path d='M1 1l6 6 6-6' stroke='%23656565' stroke-width='2' fill='none'/></svg>");
  background-repeat:no-repeat; background-position:right 16px center; padding-right:36px;
}
.lead-form input:focus,
.lead-form select:focus{ outline:none; border-color:var(--blue); box-shadow:0 0 0 3px rgba(55,131,225,.15); }
.lead-form input:invalid:not(:placeholder-shown){ border-color:#e05656; }
.form-warning{ color:#c0392b; font-size:14px; margin:0 0 14px; }
.form-thanks{ color:#1c7a3c; font-weight:700; text-align:center; margin-top:14px; }
.lead-form.is-submitting .btn{ opacity:.6; pointer-events:none; }
.lead-form.is-submitted > *:not(.form-thanks){ display:none; }
.lead-form.is-submitted{ text-align:center; padding:40px 24px; }

/* ---------- Benefits bar ---------- */
.benefits-bar{ background:var(--navy-dark); color:#fff; padding:36px 0; }
.benefits-inner{ display:flex; flex-direction:column; gap:24px; align-items:flex-start; }
.eyebrow{
  font-family:var(--font-head); font-weight:700; letter-spacing:1px; text-transform:uppercase;
  font-size:15px; color:var(--lime);
}
.benefits-list{ display:flex; flex-direction:column; gap:14px; width:100%; }
.benefits-list li{ display:flex; align-items:center; gap:14px; font-size:16px; }
.benefits-list img{ flex:0 0 auto; width:28px; height:28px; }

@media (min-width:900px){
  .benefits-inner{ flex-direction:row; align-items:center; justify-content:space-between; }
  .benefits-list{ flex-direction:row; flex:1; margin:0 30px; }
}

/* ---------- Risks ---------- */
.risks{ padding:80px 0; background:var(--bg-soft); }
.risks-grid{ display:grid; grid-template-columns:1fr; gap:40px; align-items:center; }

@media (min-width:960px){
  .risks-grid{ grid-template-columns:1fr 1fr; gap:var(--gap); }
}
.kicker{ color:var(--blue); font-weight:700; text-transform:uppercase; font-size:14px; letter-spacing:.5px; margin-bottom:8px; }
.risks-content h2{ font-size:30px; color:var(--navy); }
.check-list{ margin:24px 0; display:flex; flex-direction:column; gap:12px; }
.check-list li{ position:relative; padding-left:30px; font-weight:600; }
.check-list li::before{
  content:""; position:absolute; left:0; top:3px; width:18px; height:18px; border-radius:50%;
  background:var(--lime);
}
.check-list li::after{
  content:""; position:absolute; left:5px; top:6px; width:8px; height:4px;
  border-left:2px solid var(--navy); border-bottom:2px solid var(--navy); transform:rotate(-45deg);
}
.risks-media img{ border-radius:var(--radius-card); box-shadow:var(--shadow-card); }

/* ---------- Section titles ---------- */
.section-title{ font-size:28px; color:var(--navy); max-width:46em; margin-left:auto; margin-right:auto; }
.section-lead{ color:var(--text-light); max-width:40em; margin:0 auto 40px; }

/* ---------- Schedules ---------- */
.schedules{ padding:80px 0; }
.schedule-grid{
  display:grid; grid-template-columns:repeat(2,1fr); gap:24px; margin-top:20px;
}
.schedule-card{
  text-align:center; padding:30px 16px; border:1px solid var(--border-soft); border-radius:var(--radius-card);
  transition:transform var(--transition), box-shadow var(--transition);
}
.schedule-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-card); }
.schedule-card img{ margin:0 auto 16px; }
.schedule-card h3{ font-size:18px; margin:0; color:var(--navy); }

@media (min-width:768px){
  .schedule-grid{ grid-template-columns:repeat(4,1fr); }
}

/* ---------- Sectors ---------- */
.sectors{ padding:80px 0; background:var(--bg-soft); }
.sector-grid{ display:grid; grid-template-columns:1fr 1fr; gap:20px; margin:32px 0 40px; }
.sector-card{
  background:#fff; border-radius:var(--radius-card); padding:30px 16px; text-align:center;
  box-shadow:var(--shadow-card);
}
.sector-icon{
  display:inline-flex; align-items:center; justify-content:center;
  width:56px; height:56px; border-radius:50%; background:rgba(55,131,225,.1); color:var(--blue);
  margin-bottom:16px;
}
.sector-icon svg{ width:28px; height:28px; }
.sector-card h3{ font-size:16px; margin:0; color:var(--navy); }

@media (min-width:768px){ .sector-grid{ grid-template-columns:repeat(4,1fr); } }

/* ---------- Why us ---------- */
.why-us{ padding:80px 0; }
.why-media{ margin:0 auto 32px; max-width:640px; }
.why-media img{ border-radius:var(--radius-card); box-shadow:var(--shadow-card); }
.why-grid{ display:grid; grid-template-columns:1fr; gap:24px; margin-top:32px; text-align:center; }
.why-card{ padding:20px; }
.why-card img{ margin:0 auto 18px; }
.why-card h3{ font-size:19px; color:var(--navy); margin-bottom:6px; }
.why-card p{ color:var(--text-light); font-size:15px; }

@media (min-width:768px){ .why-grid{ grid-template-columns:repeat(2,1fr); } }
@media (min-width:1024px){ .why-grid{ grid-template-columns:repeat(4,1fr); } }

/* ---------- Testimonials ---------- */
.testimonials{ padding:80px 0; background:var(--navy-dark); color:#fff; }
.testimonials .section-title{ color:#fff; }
.testimonial-slider{ position:relative; max-width:760px; margin:32px auto 40px; overflow:hidden; }
.testimonial-track{ display:flex; transition:transform .5s ease; }
.testimonial-card{
  flex:0 0 100%; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.15);
  border-radius:var(--radius-card); padding:32px; margin:0 6px; text-align:center;
}
.testimonial-logo{ width:60px; height:60px; border-radius:50%; object-fit:cover; margin:0 auto 16px; }
.testimonial-card p{ font-size:17px; line-height:1.7; font-style:italic; }
.testimonial-card footer{ margin-top:20px; display:flex; flex-direction:column; gap:4px; }
.testimonial-card .author{ font-weight:700; }
.testimonial-card .role{ color:rgba(255,255,255,.7); font-size:14px; }
.testimonial-dots{ display:flex; justify-content:center; gap:10px; margin-top:20px; }
.testimonial-dots button{
  width:10px; height:10px; border-radius:50%; border:none; background:rgba(255,255,255,.3); cursor:pointer; padding:0;
}
.testimonial-dots button.is-active{ background:var(--lime); }
.testimonials .btn-primary{ background:var(--lime); color:var(--navy); }
.testimonials .btn-primary:hover{ background:#9fd427; }

/* ---------- Contact / final CTA ---------- */
.contact{ padding:80px 0; }
.contact-grid{ display:grid; grid-template-columns:1fr; gap:40px; }
.contact-content h2{ font-size:28px; color:var(--navy); }
.contact-info{ display:flex; flex-direction:column; gap:16px; margin:28px 0; }
.contact-info li{ display:flex; flex-direction:column; gap:2px; }
.contact-label{ font-size:13px; text-transform:uppercase; letter-spacing:.5px; color:var(--text-light); font-weight:700; }
.contact-info a{ font-size:18px; font-weight:700; color:var(--navy); }
.disclaimer{ margin-top:20px; font-size:13px; color:var(--text-light); }

@media (min-width:960px){ .contact-grid{ grid-template-columns:1.1fr .9fr; align-items:start; } }

/* ---------- Footer ---------- */
.site-footer{ background:var(--navy); color:rgba(255,255,255,.8); padding:30px 0; }
.footer-inner{ display:flex; flex-direction:column; align-items:center; gap:12px; text-align:center; font-size:13px; }
.footer-inner img{ filter:brightness(0) invert(1); opacity:.9; height:36px; }

@media (min-width:768px){ .footer-inner{ flex-direction:row; justify-content:space-between; text-align:left; } }

/* ---------- Reveal animation ---------- */
[data-reveal]{ opacity:0; transform:translateY(24px); transition:opacity .6s ease, transform .6s ease; }
[data-reveal].is-visible{ opacity:1; transform:translateY(0); }

@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  [data-reveal]{ opacity:1; transform:none; transition:none; }
}

/* ---------- Responsive typography scale ---------- */
@media (min-width:600px){
  .hero-title{ font-size:40px; }
  .hero-subhead{ font-size:28px; }
  .section-title{ font-size:32px; }
  .risks-content h2{ font-size:34px; }
  .contact-content h2{ font-size:32px; }
}
@media (min-width:1024px){
  .hero-title{ font-size:52px; }
  .hero-subhead{ font-size:32px; }
  .section-title{ font-size:38px; }
  .risks-content h2{ font-size:40px; }
  .contact-content h2{ font-size:36px; }
}

/* ---------- Ultrawide cap ---------- */
@media (min-width:1600px){ .container{ max-width:1320px; } }
