/* =========================================================
   SECAT OUTSOURCING — style.css
   Paleta extraída directamente del logo del cliente.
   ========================================================= */

:root{
  --navy-950:#010D22;
  --navy-900:#011D44;
  --navy-800:#0A2F5C;
  --blue-600:#035294;
  --blue-500:#1668AE;
  --teal-600:#0E6B85;
  --teal-500:#158CAE;
  --gold-500:#E0A106;
  --gold-400:#F0B92E;
  --offwhite:#F5F8FC;
  --paper:#FFFFFF;
  --ink:#0B1226;
  --ink-soft:#4C5A72;
  --line: rgba(1,29,68,.10);
  --line-light: rgba(255,255,255,.14);

  --font-display: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --container: 1160px;
  --shadow-card: 0 18px 40px -22px rgba(1,29,68,.35);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
html,body{ margin:0; padding:0; }

body{
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--paper);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; cursor:pointer; }

.container{
  width:100%;
  max-width:var(--container);
  margin:0 auto;
  padding:0 24px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation-duration:.001ms !important; transition-duration:.001ms !important; }
}

/* ---------- Ledger grid texture (signature motif) ----------
   A faint ruled-paper / ledger grid used as a recurring texture
   across dark sections, echoing the accounting subject matter. */
.ledger-bg{
  background-image:
    linear-gradient(var(--line-light) 1px, transparent 1px);
  background-size: 100% 44px;
}
.ledger-bg-light{
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px);
  background-size: 100% 44px;
}

/* ---------- Eyebrow / section label (ledger entry style) ---------- */
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family:var(--font-body);
  font-size:12.5px;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--teal-600);
}
.eyebrow::before{
  content:"";
  width:22px;
  height:2px;
  background:var(--gold-500);
  display:inline-block;
}
.eyebrow.on-dark{ color:var(--gold-400); }

h1,h2,h3,h4{
  font-family:var(--font-display);
  color:var(--navy-900);
  margin:0;
  line-height:1.15;
  letter-spacing:-.01em;
}

.section-head{
  max-width:640px;
  margin-bottom:44px;
}
.section-head h2{
  font-size:clamp(28px,3.4vw,38px);
  font-weight:700;
  margin-top:12px;
}
.section-head p{
  margin-top:14px;
  color:var(--ink-soft);
  font-size:16.5px;
}

.section{ padding:88px 0; }
@media (max-width:720px){ .section{ padding:64px 0; } }

/* =========================================================
   HEADER
   ========================================================= */
.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(1,29,68,.92);
  backdrop-filter:saturate(140%) blur(10px);
  border-bottom:1px solid var(--line-light);
}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 24px;
  gap:20px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}
.brand img{
  width:46px;
  height:46px;
  border-radius:50%;
  flex-shrink:0;
}
.brand-text{
  display:flex;
  flex-direction:column;
  line-height:1.1;
}
.brand-text strong{
  font-family:var(--font-display);
  color:#fff;
  font-size:16px;
  font-weight:700;
  letter-spacing:.01em;
  white-space:nowrap;
}
.brand-text span{
  color:var(--teal-500);
  font-size:11px;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.nav-links{
  display:flex;
  align-items:center;
  gap:30px;
}
.nav-links a{
  color:#DCE6F5;
  font-size:14.5px;
  font-weight:500;
  transition:color .2s ease;
  position:relative;
}
.nav-links a:hover{ color:#fff; }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  padding:12px 22px;
  border-radius:999px;
  font-size:14.5px;
  font-weight:600;
  border:1px solid transparent;
  transition:transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
  white-space:nowrap;
}
.btn:active{ transform:translateY(1px); }
.btn svg{ width:18px; height:18px; flex-shrink:0; }
.btn-gold{
  background:linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color:var(--navy-950);
  box-shadow:0 12px 24px -10px rgba(224,161,6,.55);
}
.btn-gold:hover{ box-shadow:0 16px 30px -10px rgba(224,161,6,.7); transform:translateY(-1px); }
.btn-outline-light{
  border-color:rgba(255,255,255,.35);
  color:#fff;
}
.btn-outline-light:hover{ background:rgba(255,255,255,.08); }
.btn-navy{
  background:var(--navy-900);
  color:#fff;
}
.btn-navy:hover{ background:var(--navy-800); }
.btn-block{ width:100%; }

.menu-toggle{
  display:none;
  width:40px;
  height:40px;
  border:1px solid var(--line-light);
  border-radius:10px;
  background:transparent;
  align-items:center;
  justify-content:center;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after{
  content:"";
  display:block;
  width:18px;
  height:2px;
  background:#fff;
  position:relative;
  transition:.2s ease;
}
.menu-toggle span::before{ position:absolute; top:-6px; }
.menu-toggle span::after{ position:absolute; top:6px; }

@media (max-width:900px){
  .nav-links{
    position:absolute;
    top:100%; left:0; right:0;
    flex-direction:column;
    align-items:flex-start;
    gap:0;
    background:var(--navy-900);
    border-bottom:1px solid var(--line-light);
    max-height:0;
    overflow:hidden;
    transition:max-height .25s ease;
  }
  .nav-links.open{ max-height:340px; }
  .nav-links a{
    width:100%;
    padding:14px 24px;
    border-top:1px solid var(--line-light);
  }
  .nav-cta{ display:none; }
  .menu-toggle{ display:flex; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero{
  position:relative;
  background:linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
  overflow:hidden;
  padding:96px 0 110px;
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  background-image:linear-gradient(var(--line-light) 1px, transparent 1px);
  background-size:100% 44px;
  mask-image:linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
  pointer-events:none;
}
.hero-grid{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:56px;
  align-items:center;
}
@media (max-width:960px){
  .hero-grid{ grid-template-columns:1fr; }
  .hero-art{ order:-1; }
}

.hero-copy h1{
  color:#fff;
  font-size:clamp(34px,4.6vw,54px);
  font-weight:700;
  margin-top:16px;
}
.hero-copy h1 em{
  font-style:normal;
  background:linear-gradient(135deg, var(--gold-400), var(--gold-500));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.hero-copy p{
  color:#B9C7DE;
  font-size:17.5px;
  max-width:520px;
  margin-top:20px;
}
.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:32px;
}
.hero-meta{
  display:flex;
  gap:28px;
  margin-top:44px;
  flex-wrap:wrap;
}
.hero-meta div{ border-left:2px solid var(--gold-500); padding-left:12px; }
.hero-meta strong{
  display:block;
  color:#fff;
  font-family:var(--font-display);
  font-size:14.5px;
  font-weight:600;
}
.hero-meta span{
  color:#93A4C2;
  font-size:13px;
}

.hero-art{ position:relative; }
.hero-art svg{ width:100%; height:auto; }

/* =========================================================
   SERVICES
   ========================================================= */
.services-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:26px;
}
@media (max-width:900px){ .services-grid{ grid-template-columns:1fr; } }

.card{
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  padding:32px 28px;
  box-shadow:var(--shadow-card);
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover{
  transform:translateY(-4px);
  border-color:rgba(3,82,148,.25);
}
.card-icon{
  width:56px;
  height:56px;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg, var(--navy-900), var(--blue-600));
  margin-bottom:20px;
}
.card-icon svg{ width:28px; height:28px; }
.card h3{
  font-size:19px;
  font-weight:600;
  margin-bottom:10px;
}
.card p{
  color:var(--ink-soft);
  font-size:15px;
  margin:0;
}

/* =========================================================
   WHY / VALUE PROPS (banded, dark)
   ========================================================= */
.why{
  background:var(--navy-900);
  position:relative;
  overflow:hidden;
}
.why-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1px;
  background:var(--line-light);
  border:1px solid var(--line-light);
  border-radius:var(--radius-lg);
  overflow:hidden;
}
@media (max-width:900px){ .why-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .why-grid{ grid-template-columns:1fr; } }

.why-item{
  background:var(--navy-900);
  padding:32px 26px;
}
.why-item svg{ width:26px; height:26px; margin-bottom:16px; }
.why-item h4{
  color:#fff;
  font-size:16.5px;
  font-weight:600;
  margin-bottom:8px;
}
.why-item p{
  color:#9FB0CB;
  font-size:14px;
  margin:0;
}

/* =========================================================
   HOURS / LEDGER CARD
   ========================================================= */
.hours-wrap{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
  align-items:stretch;
}
@media (max-width:860px){ .hours-wrap{ grid-template-columns:1fr; } }

.ledger-card{
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-card);
  overflow:hidden;
}
.ledger-card-head{
  background:var(--navy-900);
  color:#fff;
  padding:20px 26px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.ledger-card-head strong{ font-family:var(--font-display); font-size:15px; }
.ledger-card-head span{ color:var(--gold-400); font-size:12.5px; font-weight:600; }
.ledger-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 26px;
  border-top:1px dashed var(--line);
}
.ledger-row .day{ font-weight:600; color:var(--navy-900); font-size:15px; }
.ledger-row .time{ color:var(--teal-600); font-weight:600; font-size:14.5px; }
.ledger-row .closed{ color:#B3391B; font-weight:600; font-size:14.5px; }

.contact-card{
  background:linear-gradient(160deg, var(--navy-900), var(--navy-950));
  border-radius:var(--radius-lg);
  padding:34px 30px;
  color:#fff;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:18px;
}
.contact-line{
  display:flex;
  align-items:center;
  gap:14px;
}
.contact-line .ic{
  width:42px; height:42px;
  border-radius:12px;
  background:rgba(255,255,255,.08);
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.contact-line .ic svg{ width:20px; height:20px; }
.contact-line strong{ display:block; font-size:15px; }
.contact-line span{ color:#9FB0CB; font-size:13.5px; }

/* =========================================================
   CONTACT FORM
   ========================================================= */
.contact-grid{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:48px;
  align-items:flex-start;
}
@media (max-width:900px){ .contact-grid{ grid-template-columns:1fr; } }

.form-card{
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-card);
  padding:34px;
}
.form-row{ margin-bottom:18px; }
.form-row label{
  display:block;
  font-size:13.5px;
  font-weight:600;
  color:var(--navy-900);
  margin-bottom:7px;
}
.form-row input,
.form-row textarea{
  width:100%;
  border:1px solid var(--line);
  background:var(--offwhite);
  border-radius:10px;
  padding:13px 14px;
  font-family:var(--font-body);
  font-size:14.5px;
  color:var(--ink);
  transition:border-color .18s ease, background .18s ease;
}
.form-row input:focus,
.form-row textarea:focus{
  outline:2px solid var(--blue-500);
  outline-offset:1px;
  background:#fff;
}
.form-row textarea{ resize:vertical; min-height:110px; }
.form-note{
  font-size:12.5px;
  color:var(--ink-soft);
  margin-top:12px;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{
  background:var(--navy-950);
  color:#8FA1C0;
  padding:60px 0 26px;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.3fr 1fr 1fr;
  gap:40px;
  padding-bottom:36px;
  border-bottom:1px solid var(--line-light);
}
@media (max-width:760px){ .footer-grid{ grid-template-columns:1fr; gap:32px; } }

.footer-brand{ display:flex; gap:14px; align-items:flex-start; }
.footer-brand img{ width:52px; height:52px; border-radius:50%; }
.footer-brand strong{ display:block; color:#fff; font-family:var(--font-display); font-size:16.5px; }
.footer-brand p{ margin-top:8px; font-size:13.5px; line-height:1.7; max-width:280px; }

.footer-col h5{
  color:#fff;
  font-family:var(--font-body);
  font-size:13px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom:16px;
}
.footer-col a{
  display:block;
  color:#8FA1C0;
  font-size:14px;
  padding:6px 0;
  transition:color .18s ease;
}
.footer-col a:hover{ color:#fff; }

.footer-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
  padding-top:22px;
  font-size:12.5px;
}

/* =========================================================
   FLOATING WHATSAPP BUTTON
   ========================================================= */
.wa-float{
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:200;
  width:58px;
  height:58px;
  border-radius:50%;
  background:linear-gradient(135deg,#25D366,#1DA851);
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 14px 30px -10px rgba(0,0,0,.45);
  transition:transform .2s ease;
}
.wa-float:hover{ transform:scale(1.06); }
.wa-float svg{ width:28px; height:28px; }

/* Utility */
.text-center{ text-align:center; }
.mt-0{ margin-top:0; }
.visually-hidden{
  position:absolute !important;
  width:1px;height:1px;
  overflow:hidden;
  clip:rect(0 0 0 0);
  white-space:nowrap;
}
