/* =========================================================
   Santiagored — style.css
   Mobile-first, sin dependencias (reemplaza Bootstrap/Animate/FontAwesome)
   ========================================================= */

:root{
  --primary: #FF5733;
  --primary-dark: #d9481f;
  --dark: #161616;
  --dark-2: #222222;
  --text: #333333;
  --text-light: #666666;
  --bg-light: #ffffff;
  --bg-alt: #f7f7f7;
  --whatsapp: #25d366;
  --radius: 10px;
  --max-width: 1180px;
  --font: 'Raleway', system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  line-height: 1.6;
  background: var(--bg-light);
}
img{ max-width: 100%; display: block; }
a{ color: var(--primary); text-decoration: none; }
a:hover{ color: var(--primary-dark); }
h1,h2,h3,h4,h5{ font-weight: 700; margin: 0 0 .5em; line-height: 1.25; }
p{ margin: 0 0 1em; }
ul{ margin: 0; padding: 0; list-style: none; }
.container{ max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.visually-hidden{
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap;
}
.skip-link{
  position: absolute; left: -999px; top: 0; background: var(--primary);
  color: #fff; padding: 10px 16px; z-index: 2000;
}
.skip-link:focus{ left: 10px; top: 10px; }

/* ===== Botón flotante WhatsApp ===== */
.whatsapp-float{
  position: fixed; right: 18px; bottom: 18px; z-index: 1000;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--whatsapp); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.3);
}
.whatsapp-float svg{ width: 28px; height: 28px; fill: #fff; }
.whatsapp-float:hover{ transform: scale(1.06); transition: transform .15s ease; }

/* ===== Header / Nav ===== */
.site-header{
  position: sticky; top: 0; z-index: 900;
  background: rgba(22,22,22,.96);
  backdrop-filter: saturate(160%) blur(4px);
}
.nav{
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max-width); margin: 0 auto; padding: 14px 20px;
}
.nav-brand{ color: #fff; font-size: 1.4rem; font-weight: 800; letter-spacing: .5px; }
.nav-brand span{ color: var(--primary); }
.nav-toggle{
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span{ width: 24px; height: 2px; background: #fff; display: block; }
.nav-menu{
  display: flex; flex-direction: column; gap: 4px;
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--dark); padding: 10px 20px 18px;
  max-height: 0; overflow: hidden; transition: max-height .25s ease;
}
.nav-menu.is-open{ max-height: 320px; }
.nav-menu a{ color: #eee; padding: 10px 0; display: block; border-top: 1px solid rgba(255,255,255,.08); }
.nav-menu a:hover{ color: var(--primary); }

@media (min-width: 800px){
  .nav-toggle{ display: none; }
  .nav-menu{
    position: static; flex-direction: row; max-height: none; padding: 0; background: none; gap: 26px;
  }
  .nav-menu a{ border-top: 0; padding: 6px 0; }
}

/* ===== Hero ===== */
.hero{
  position: relative; color: #fff; overflow: hidden;
  min-height: 62vh; display: flex; align-items: center;
  background: var(--dark) center/cover no-repeat;
}
.hero::after{
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.72));
  z-index: 0;
}
.hero-content{ position: relative; z-index: 1; padding: 60px 20px; max-width: var(--max-width); margin: 0 auto; }
.hero h1{ font-size: clamp(2rem, 6vw, 3.2rem); margin-bottom: .3em; }
.hero p{ font-size: 1.15rem; max-width: 42em; }
.hero .btn{ margin-top: 10px; }

/* ===== Secciones ===== */
section{ padding: 60px 0; }
.section-title{ text-align: center; max-width: 760px; margin: 0 auto 40px; }
.section-title h2{ font-size: clamp(1.6rem, 4vw, 2.2rem); }
.section-title h2 span{ color: var(--primary); }
.section-title p{ color: var(--text-light); }
.light{ background: var(--bg-light); }
.alt{ background: var(--bg-alt); }
.dark{ background: var(--dark); color: #ddd; }
.dark h2{ color: #fff; }
.dark p{ color: #bbb; }
.dark a{ color: var(--primary); }

/* ===== Botón ===== */
.btn{
  display: inline-block; background: var(--primary); color: #fff;
  padding: 12px 26px; border-radius: 4px; font-weight: 700; letter-spacing: .3px;
  border: 0; cursor: pointer;
}
.btn:hover{ background: var(--primary-dark); color: #fff; }

/* ===== Tarjetas "Servicios" (about) ===== */
.services-grid{
  display: grid; gap: 26px; grid-template-columns: 1fr;
}
@media (min-width: 700px){
  .services-grid{ grid-template-columns: repeat(3, 1fr); }
}
.service-card{
  display: flex; gap: 16px; align-items: flex-start;
  padding: 22px; border-radius: var(--radius); background: var(--bg-alt);
}
.service-card .icon{
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%;
  background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center;
}
.service-card .icon svg{ width: 22px; height: 22px; fill: #fff; }
.service-card h3{ font-size: 1.05rem; margin-bottom: .3em; }
.service-card p{ color: var(--text-light); margin: 0; font-size: .95rem; }

/* ===== Grilla de Gestiones (team) ===== */
.gestiones-grid{
  display: grid; gap: 30px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 600px){ .gestiones-grid{ grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px){ .gestiones-grid{ grid-template-columns: repeat(4, 1fr); } }
.gestion-card{ text-align: center; }
.gestion-card .thumb{
  width: 96px; height: 96px; border-radius: 50%; overflow: hidden; margin: 0 auto 14px;
  border: 3px solid var(--bg-alt);
}
.gestion-card .thumb img{ width: 100%; height: 100%; object-fit: cover; }
.gestion-card h3{ font-size: 1rem; margin-bottom: .4em; }
.gestion-card h4{ font-size: .85rem; font-weight: 500; color: var(--text-light); margin: 0 0 .2em; }

/* ===== Envíos / portfolio ===== */
.filters{
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 30px;
}
.filters button{
  background: none; border: 2px solid var(--primary); color: var(--primary);
  padding: 8px 18px; border-radius: 30px; cursor: pointer; font-weight: 600;
}
.filters button.is-active, .filters button:hover{ background: var(--primary); color: #fff; }
.portfolio-grid{ display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 620px){ .portfolio-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 920px){ .portfolio-grid{ grid-template-columns: repeat(3, 1fr); } }
.portfolio-item{
  border-radius: var(--radius); overflow: hidden; background: var(--bg-alt);
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.portfolio-item img{ width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.portfolio-item .info{ padding: 16px; }
.portfolio-item h3{ font-size: 1rem; margin-bottom: .3em; }
.portfolio-item h3 span{ color: var(--primary); }
.portfolio-item p{ font-size: .9rem; color: var(--text-light); margin: 0; }

/* ===== Acordeón (detalle de gestiones) ===== */
.accordion details{
  border-bottom: 1px solid #e3e3e3; padding: 16px 0;
}
.accordion summary{
  cursor: pointer; font-weight: 700; list-style: none; font-size: 1.05rem;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.accordion summary::-webkit-details-marker{ display: none; }
.accordion summary::after{
  content: "+"; font-size: 1.4rem; color: var(--primary); flex: 0 0 auto;
}
.accordion details[open] summary::after{ content: "−"; }
.accordion .accordion-body{ padding-top: 12px; color: var(--text-light); }
.accordion .accordion-body p{ margin-bottom: .6em; }

.info-list{ display: grid; gap: 18px; margin-top: 30px; }
@media (min-width: 700px){ .info-list{ grid-template-columns: 1fr 1fr; } }
.info-list li{ display: flex; gap: 12px; align-items: flex-start; }
.info-list svg{ flex: 0 0 auto; width: 20px; height: 20px; fill: var(--primary); margin-top: 4px; }

/* ===== Contacto ===== */
.contact-grid{
  display: grid; gap: 34px; align-items: center; grid-template-columns: 1fr;
}
@media (min-width: 760px){ .contact-grid{ grid-template-columns: 1.1fr 1fr; } }
.contact-grid img{ border-radius: var(--radius); }
address{ font-style: normal; }
address p{ color: var(--text-light); }
.contact-item{ display: flex; align-items: center; gap: 10px; margin: 10px 0; }
.contact-item svg{ width: 18px; height: 18px; fill: var(--primary); flex: 0 0 auto; }

/* ===== Footer ===== */
.site-footer{ background: var(--dark-2); color: #ccc; padding: 30px 0; font-size: .9rem; }
.footer-grid{
  display: grid; gap: 16px; text-align: center;
}
@media (min-width: 760px){
  .footer-grid{ grid-template-columns: 1fr 1fr 1fr; text-align: left; align-items: center; }
  .footer-grid .center{ text-align: center; }
  .footer-grid .right{ text-align: right; }
}
.site-footer a{ color: #ddd; }
.site-footer a:hover{ color: var(--primary); }
.afip-img{ margin: 0 auto; max-width: 110px; }
@media (min-width: 760px){ .afip-img{ margin-left: auto; margin-right: 0; } }

/* ===== Utilidades ===== */
.text-center{ text-align: center; }
.mt-0{ margin-top: 0; }
