/* =======================
   Senges Prime Partners — styles.css
   ======================= */

/* ---- Variables ---- */
:root{
  scroll-behavior:smooth;
  scroll-padding-top:96px;

  --red:#E41C23;
  --black:#0b1120;
  --ink:#020617;
  --gray:#6b7280;
  --bg:#0f172a;
  --card:#0b1120;
  --muted:#9ca3af;

  --shadow:0 18px 40px rgba(0,0,0,.7);
}

/* ---- Base reset ---- */
*{box-sizing:border-box}
html,body{
  margin:0; padding:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:#e5e7eb;
  background: radial-gradient(circle at top left,#111827 0,#020617 45%,#020617 100%);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
img{max-width:100%; height:auto; display:block}
a{color:inherit}

/* Container */
.container{max-width:1120px; margin:0 auto; padding:16px 24px}

/* =======================
   HEADER sticky
   ======================= */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(15,23,42,.96);
  backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(148,163,184,.35);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  min-height:72px; gap:16px;
}
.brand{display:flex; align-items:center; gap:12px; text-decoration:none}
.brand img{height:40px; width:auto}
.brand-sub{
  font-size:11px; letter-spacing:.6px;
  color:#e5e7eb; opacity:.8;
}

.menu{display:flex; align-items:center; gap:10px}
.menu a{
  color:#e5e7eb; text-decoration:none; font-weight:600;
  padding:8px 10px; border-radius:999px; font-size:14px;
}
.menu a:hover{background:rgba(148,163,184,.12)}

.btn{
  padding:10px 14px; border-radius:999px;
  font-weight:700; text-decoration:none;
  display:inline-block; font-size:14px;
  border:0; cursor:pointer;
}
.btn-sm{ padding:8px 14px; font-size:13px }
.btn-primary{
  background:var(--red);
  color:#fff;
  box-shadow:0 8px 18px rgba(248,113,113,.35);
}
.btn-primary:hover{
  opacity:.95;
  box-shadow:0 10px 26px rgba(248,113,113,.45);
}
.btn-outline{
  border:1px solid rgba(248,250,252,.5);
  color:#f9fafb; background:transparent;
}
.btn-outline:hover{
  background:rgba(15,23,42,.9);
  border-color:#e5e7eb;
}

/* CTA in menu */
.menu a.btn.btn-primary.btn-sm[href="#contact"]{
  background:#f9fafb;
  color:#111827;
  border:1px solid rgba(248,250,252,.8);
  box-shadow:0 4px 14px rgba(15,23,42,.35);
}
.menu a.btn.btn-primary.btn-sm[href="#contact"]:hover{
  background:var(--red);
  color:#fff;
  border-color:var(--red);
}

@media (max-width:640px){
  .brand img{height:36px}
  .brand-sub{display:none}
  .menu a{padding:6px 8px}
}

/* =======================
   LANGUAGE TOGGLE
   ======================= */
/* ===== LANGUAGE VISIBILITY ===== */
.lang-en,
.lang-es {
  display: inline;
}

/* Estado inicial: EN (body.is-en) */
body.is-en .lang-en {
  display: inline !important;
}
body.is-en .lang-es {
  display: none !important;
}

/* Cuando se desactiva is-en => ES */
body:not(.is-en) .lang-en {
  display: none !important;
}
body:not(.is-en) .lang-es {
  display: inline !important;
}

/* =======================
   HERO with background carousel
   ======================= */
.hero{
  margin-top:22px;
  border-radius:22px;
  box-shadow:0 24px 70px rgba(0,0,0,.65);
  overflow:hidden;
}
.hero--carousel{
  position:relative;
  background:#020617;
}
.hero-inner{
  position:relative;
  padding:46px 28px 34px;
  color:#e5e7eb;
}
h1{
  font-size:40px; margin:4px 0 14px;
  line-height:1.15; letter-spacing:-.02em;
}
.lead{
  font-size:17px; color:#d1d5db; max-width:820px;
}
.eyebrow{
  font-size:13px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:#e5e7eb;
  opacity:.8;
}
.hero-meta{
  display:flex; flex-wrap:wrap;
  gap:10px; margin-top:18px;
  font-size:13px; color:#cbd5f5;
}
.hero-meta span{
  padding:4px 10px;
  border-radius:999px;
  background:rgba(15,23,42,.65);
  border:1px solid rgba(148,163,184,.6);
}
.cta{display:flex; flex-wrap:wrap; gap:12px; margin-top:22px}

@media (max-width:1024px){ h1{font-size:34px} }
@media (max-width:640px){
  h1{font-size:28px}
  .hero-inner{ padding:32px 20px 26px; }
}

/* Hero background carousel */
.hero-bg{
  position:absolute; inset:0;
  overflow:hidden;
}
.hero-bg .bg{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover; object-position:center;
  opacity:0; transition:opacity .9s ease;
  filter:saturate(105%) contrast(110%) brightness(0.75);
  will-change:opacity;
}
.hero-bg .bg.active{ opacity:1; }

/* Scrim */
.hero-scrim{
  position:absolute; inset:0;
  background:
    radial-gradient(1200px 600px at 15% 15%, rgba(248,250,252,.16), transparent 55%),
    linear-gradient(135deg, rgba(15,23,42,.95), rgba(15,23,42,.99));
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  .hero-bg .bg{ transition:none; }
}

/* =======================
   SECTIONS, GRID & CARDS
   ======================= */
.section{
  margin:46px 0;
}
.section--alt{
  background:radial-gradient(circle at top left,rgba(15,23,42,.9),rgba(15,23,42,.99));
  border-radius:24px;
  padding:32px 26px;
  box-shadow:0 22px 60px rgba(15,23,42,.9);
}
.section-title{
  font-size:26px; margin:0 0 14px; font-weight:800;
  color:#f9fafb;
  display:inline-block; padding-bottom:6px;
  border-bottom:3px solid var(--red);
}
.section .lead{
  color:#e5e7eb; max-width:880px;
}
.section-subtitle{
  margin:26px 0 10px;
  font-size:18px; font-weight:700;
  color:#e5e7eb;
}
.section-subtitle--mt{ margin-top:34px; }

.grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:18px;
}
.card{
  background:linear-gradient(145deg,#020617,#020617);
  border-radius:18px; padding:20px;
  box-shadow:var(--shadow);
  border:1px solid rgba(148,163,184,.45);
}
.card h3{margin:0 0 8px; color:#f9fafb;}
.card p{margin:0 0 6px; color:#e5e7eb;}
.small{font-size:13px; color:#9ca3af}
.muted{color:var(--muted);}

@media (max-width:900px){
  .grid{grid-template-columns:1fr}
}

/* =======================
   ABOUT
   ======================= */
.about-layout{
  display:grid;
  grid-template-columns:minmax(0,2fr) minmax(0,1.4fr);
  gap:26px;
}
.about-list{
  margin:12px 0 0; padding:0 0 0 18px;
  color:#e5e7eb;
}
.about-list.small{ font-size:14px; }
.about-card{
  background:linear-gradient(145deg,#020617,#020617);
  border-radius:18px;
  border:1px solid rgba(148,163,184,.55);
  padding:18px 18px 16px;
  box-shadow:var(--shadow);
}
.about-card h3{margin-top:0; color:#f9fafb;}
.about-card p{color:#e5e7eb;}
.btn-block{
  display:block; width:100%; text-align:center; margin-top:10px;
}

@media (max-width:900px){
  .about-layout{ grid-template-columns:1fr; }
}

/* =======================
   SERVICES
   ======================= */
.services-grid{
  display:grid;
  gap:22px;
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.services-grid--three{
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.services-grid--two{
  grid-template-columns:repeat(2,minmax(0,1fr));
}
@media (max-width:1024px){
  .services-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .services-grid--three{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .services-grid--two{ grid-template-columns:1fr; }
}
@media (max-width:680px){
  .services-grid,
  .services-grid--three,
  .services-grid--two{ grid-template-columns:1fr; }
}

.svc-card{
  background:radial-gradient(circle at top left,#020617,#020617);
  border:1px solid rgba(148,163,184,.45);
  border-radius:18px;
  box-shadow:var(--shadow);
  padding:20px 20px 18px;
  display:flex; flex-direction:column; gap:14px;
  transition:.2s ease;
}
.svc-card:hover{
  transform:translateY(-2px);
  box-shadow:0 26px 60px rgba(15,23,42,1);
  border-color:rgba(248,250,252,.35);
}
.svc-card--plan{
  background:radial-gradient(circle at top left,#020617,#020617);
}

.svc-head{
  display:grid; grid-template-columns:auto 1fr;
  gap:12px; align-items:center;
}
.svc-icon{
  width:42px; height:42px;
  border-radius:14px;
  display:grid; place-items:center;
  background:rgba(15,23,42,.9);
  font-size:16px; font-weight:700;
  border:1px solid rgba(148,163,184,.7);
  color:#f9fafb;
}
.svc-head h3{
  margin:0; font-size:18px; line-height:1.3;
  color:#f9fafb;
}
.svc-sub{
  margin:2px 0 0; color:#cbd5f5; font-size:14px;
}

.svc-body h4{
  margin:10px 0 6px; font-size:13px; color:#e5e7eb;
  text-transform:uppercase; letter-spacing:.6px;
}
.svc-list{
  margin:0 0 8px 0; padding:0 0 0 18px;
  color:#e5e7eb; font-size:14px;
}
.svc-list li{ margin:5px 0; }

.svc-cta{ margin-top:auto; display:flex; gap:10px; flex-wrap:wrap; }

/* Plan price */
.plan-price{
  margin-top:4px; display:flex; flex-direction:column; gap:2px;
}
.plan-main{
  font-weight:700; color:#f9fafb; font-size:16px;
}
.plan-note{
  font-size:12px; color:#9ca3af;
}

/* Why cards reuse .card */

/* =======================
   CONTACT
   ======================= */
#contact{ scroll-margin-top:104px; }
#contact .lead{
  max-width:820px; color:#e5e7eb; margin:0 0 14px;
}
.card-contact{
  margin-top:8px;
  background:radial-gradient(circle at top left,#020617,#020617);
  border:1px solid rgba(148,163,184,.6);
  border-radius:18px;
  box-shadow:0 22px 60px rgba(15,23,42,1);
  padding:24px;
}
.grid-2{
  display:grid; grid-template-columns:1fr 1fr; gap:16px;
}
@media (max-width:900px){
  .grid-2{ grid-template-columns:1fr; }
}
.field{
  display:flex; flex-direction:column; gap:8px; margin-bottom:12px;
}
.field label{
  font-weight:600;
  margin-bottom:6px;
  color:#e5e7eb;
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select{
  height:46px; line-height:46px;
  padding:0 14px;
  border:1px solid #1f2937; border-radius:10px;
  font-size:15px; background:#020617; color:#e5e7eb;
}
.field select{
  -webkit-appearance:none; -moz-appearance:none; appearance:none;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%239ca3af' d='M1.41.59 6 5.17l4.59-4.58L12 2 6 8 0 2z'/></svg>");
  background-repeat:no-repeat; background-position:right 12px center;
  background-size:12px 8px; padding-right:34px;
}
.field input[type="file"]{
  padding:8px 12px; height:auto; line-height:normal;
  border:1px solid #1f2937; border-radius:10px;
  background:#020617; color:#e5e7eb;
}
.field textarea{
  min-height:140px; padding:12px 14px;
  border:1px solid #1f2937; border-radius:10px;
  font-size:15px; line-height:1.45;
  resize:vertical; background:#020617; color:#e5e7eb;
}
.field input:focus,
.field select:focus,
.field textarea:focus{
  outline:none;
  border-color:#334155;
  box-shadow:0 0 0 2px rgba(248,113,113,.35);
}

.agree{ margin:10px 0 6px; }
.agree label{ font-size:13px; color:#e5e7eb; }
.agree a{ color:#e5e7eb; text-decoration:underline; }

.actions{
  display:flex; gap:12px; align-items:center; margin-top:8px;
}
.hp{ position:absolute; left:-9999px; opacity:0; }

.success{
  color:#bbf7d0; background:#052e16;
  border:1px solid #166534;
  padding:10px 12px; border-radius:8px; margin-top:10px;
}
.error{
  color:#fecaca; background:#450a0a;
  border:1px solid #b91c1c;
  padding:10px 12px; border-radius:8px; margin-top:10px;
}

/* =======================
   FOOTER
   ======================= */
.footer{
  margin:40px auto 20px; padding:16px 24px;
  color:#6b7280; font-size:13px; text-align:center;
  max-width:1120px;
}
.footer em{color:#e5e7eb;}
.footer .small{color:#9ca3af;}
.footer a{color:#e5e7eb; text-decoration:none}
.footer a:hover{text-decoration:underline}
