/* ---------- Fragmenta en la Red — estilos base ---------- */

:root{
  --cream: #efe6c9;
  --cream-soft: #f8f4e6;
  --sage: #93a476;
  --sage-dark: #6d7d54;
  --sage-deep: #566143;
  --sage-light: #d7dfc4;
  --ink: #201f18;
  --muted: #5c5c4e;
  --white: #ffffff;
  --line: rgba(32,31,24,0.1);
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 20px 40px -20px rgba(32,31,24,0.25);
  --maxw: 1160px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:'Manrope', -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif;
  color:var(--ink);
  background:var(--cream-soft);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
h1,h2,h3,h4{
  font-family:'Poppins', 'Manrope', sans-serif;
  line-height:1.15;
  margin:0 0 .5em;
  font-weight:600;
  letter-spacing:-0.01em;
}
p{ margin:0 0 1em; color:var(--muted); line-height:1.65; }
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; }

.container{ max-width:var(--maxw); margin:0 auto; padding:0 24px; }
.section{ padding:88px 0; }
.section-tight{ padding:56px 0; }
.center{ text-align:center; }

.eyebrow{
  display:inline-block;
  font-size:13px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--sage-deep);
  background:var(--sage-light);
  padding:6px 14px;
  border-radius:100px;
  margin-bottom:18px;
}

.lead{ font-size:19px; max-width:640px; }
.center .lead{ margin-left:auto; margin-right:auto; }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:14px 28px;
  border-radius:100px;
  font-weight:700;
  font-size:15px;
  border:2px solid transparent;
  cursor:pointer;
  transition:transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space:nowrap;
}
.btn:hover{ transform:translateY(-2px); }
.btn-dark{ background:var(--ink); color:var(--white); }
.btn-dark:hover{ background:#000; }
.btn-outline{ border-color:var(--ink); color:var(--ink); background:transparent; }
.btn-outline:hover{ background:var(--ink); color:var(--white); }
.btn-outline-light{ border-color:var(--white); color:var(--white); }
.btn-outline-light:hover{ background:var(--white); color:var(--ink); }
.btn-sage{ background:var(--sage-deep); color:var(--white); }
.btn-sage:hover{ background:var(--sage); }
.btn-block{ width:100%; }
.btn-sm{ padding:10px 20px; font-size:14px; }

/* ---------- header / nav ---------- */
.nav{
  position:sticky; top:0; z-index:100;
  background:rgba(248,244,230,0.9);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.nav-inner{
  max-width:var(--maxw); margin:0 auto; padding:16px 24px;
  display:flex; align-items:center; justify-content:space-between; gap:24px;
}
.logo{ font-family:'Poppins',sans-serif; font-weight:700; font-size:19px; letter-spacing:-0.01em; white-space:nowrap; }
.logo span{ font-weight:400; color:var(--sage-deep); }
.nav-links{ display:flex; gap:30px; align-items:center; }
.nav-links a{
  font-size:15px; font-weight:600; color:var(--ink); opacity:.75;
  position:relative; padding:4px 0;
}
.nav-links a:hover{ opacity:1; }
.nav-links a.active{ opacity:1; }
.nav-links a.active::after{
  content:''; position:absolute; left:0; right:0; bottom:-4px; height:2px; background:var(--sage-deep); border-radius:2px;
}
.nav-cta{ padding:11px 22px; font-size:14px; }
.nav-toggle{
  display:none; background:none; border:none; font-size:26px; line-height:1; cursor:pointer; color:var(--ink);
}

/* ---------- footer ---------- */
.footer{ background:var(--ink); color:var(--cream-soft); padding:64px 0 0; margin-top:40px; }
.footer-inner{
  max-width:var(--maxw); margin:0 auto; padding:0 24px 48px;
  display:grid; grid-template-columns:1.6fr 1fr 1fr 1.2fr; gap:40px;
}
.footer .logo{ color:var(--white); }
.footer .logo span{ color:var(--sage-light); }
.footer-brand p{ color:rgba(248,244,230,0.65); margin-top:14px; font-size:14.5px; }
.footer-social{ display:flex; gap:16px; margin-top:18px; }
.footer-social a{ font-weight:700; font-size:14px; color:var(--sage-light); }
.footer-social a:hover{ color:var(--white); }
.footer-col h4{ font-family:'Poppins',sans-serif; font-size:14px; text-transform:uppercase; letter-spacing:.06em; color:var(--sage-light); margin-bottom:16px; }
.footer-col{ display:flex; flex-direction:column; gap:10px; }
.footer-col a, .footer-col span{ font-size:14.5px; color:rgba(248,244,230,0.75); }
.footer-col a:hover{ color:var(--white); }
.footer-bottom{
  border-top:1px solid rgba(248,244,230,0.12);
  padding:22px 24px; text-align:center; font-size:13px; color:rgba(248,244,230,0.5);
}

/* ---------- hero ---------- */
.hero{
  padding:64px 0 90px;
  background:
    radial-gradient(circle at 85% 10%, var(--sage-light) 0%, transparent 55%),
    var(--cream-soft);
}
.hero-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center; }
.hero h1{ font-size:52px; }
.hero h1 em{ font-style:normal; color:var(--sage-deep); }
.hero-actions{ display:flex; gap:14px; margin-top:28px; flex-wrap:wrap; }
.hero-badges{ display:flex; gap:10px; flex-wrap:wrap; margin-top:26px; }
.pill{
  font-size:13px; font-weight:700; color:var(--sage-deep); background:var(--white);
  border:1px solid var(--line); padding:7px 14px; border-radius:100px;
}

/* mock illustration card */
.mock{
  background:var(--white); border-radius:24px; box-shadow:var(--shadow);
  padding:22px; border:1px solid var(--line);
}
.mock-bar{ display:flex; gap:6px; margin-bottom:16px; }
.mock-bar span{ width:10px; height:10px; border-radius:50%; background:var(--line); }
.mock-screen{
  border-radius:14px; overflow:hidden; background:var(--sage-light);
  aspect-ratio:16/11; display:flex; flex-direction:column; padding:18px; gap:10px;
}
.mock-block{ background:var(--white); border-radius:8px; height:100%; }
.mock-row{ display:grid; grid-template-columns:1fr 1fr; gap:10px; flex:1; }
.hero-video{
  width:100%; display:block; border-radius:14px; aspect-ratio:16/11; object-fit:cover; background:var(--sage-light);
}
.mock-topbar{ height:26px; background:var(--sage-deep); border-radius:6px; width:55%; }

/* ---------- hero video carousel ---------- */
.hero-carousel{
  position:relative; border-radius:14px; overflow:hidden; aspect-ratio:16/11; background:var(--sage-light);
}
.hero-carousel video{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  opacity:0; transition:opacity .4s ease; pointer-events:none;
}
.hero-carousel video.active{ opacity:1; pointer-events:auto; }
.carousel-arrow{
  position:absolute; top:50%; transform:translateY(-50%); width:34px; height:34px; border-radius:50%;
  background:rgba(255,255,255,0.92); border:none; cursor:pointer; font-size:18px; font-weight:700;
  display:flex; align-items:center; justify-content:center; z-index:5; color:var(--ink);
  box-shadow:0 4px 10px rgba(32,31,24,0.15);
}
.carousel-arrow:hover{ background:var(--white); }
.carousel-arrow.prev{ left:10px; }
.carousel-arrow.next{ right:10px; }
.carousel-dots{ position:absolute; bottom:12px; left:0; right:0; display:flex; justify-content:center; gap:6px; z-index:5; }
.carousel-dots .dot{
  width:7px; height:7px; border-radius:50%; background:rgba(255,255,255,0.65); cursor:pointer; border:none; padding:0;
  transition:width .2s ease, background .2s ease;
}
.carousel-dots .dot.active{ background:var(--white); width:18px; border-radius:4px; }

/* ---------- stats ---------- */
.stats{
  background:var(--sage); color:var(--white);
}
.stats .container{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; padding:52px 24px; }
.stat{ text-align:center; }
.stat strong{ display:block; font-family:'Poppins',sans-serif; font-size:42px; font-weight:700; }
.stat span{ font-size:14.5px; opacity:.9; }

/* ---------- cards / grid ---------- */
.grid{ display:grid; gap:28px; }
.grid-2{ grid-template-columns:repeat(2,1fr); }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-4{ grid-template-columns:repeat(4,1fr); }

.card{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius);
  padding:32px; transition:transform .2s ease, box-shadow .2s ease;
}
.card:hover{ transform:translateY(-4px); box-shadow:var(--shadow); }
.card-icon{
  width:48px; height:48px; border-radius:12px; background:var(--sage-light);
  display:flex; align-items:center; justify-content:center; font-size:22px; margin-bottom:18px;
}
.card h3{ font-size:20px; }
.card p{ font-size:15px; margin-bottom:0; }
.card-link{ display:inline-block; margin-top:16px; font-weight:700; font-size:14px; color:var(--sage-deep); }

/* ---------- testimonial ---------- */
.testimonial{
  background:var(--cream); border-radius:24px; padding:48px; text-align:center;
  max-width:760px; margin:0 auto;
}
.testimonial p{ font-size:22px; color:var(--ink); font-family:'Poppins',sans-serif; font-weight:500; line-height:1.4; }
.testimonial cite{ font-style:normal; font-weight:700; font-size:14.5px; color:var(--sage-deep); }

/* ---------- testimonial grid ---------- */
.testi-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.testi-card{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius);
  overflow:hidden; display:flex; flex-direction:column;
}
.testi-photo{ aspect-ratio:4/3; overflow:hidden; }
.testi-photo img{ width:100%; height:100%; object-fit:cover; object-position:top; }
.testi-body{ padding:26px; flex:1; display:flex; flex-direction:column; }
.testi-body p{ font-size:16px; color:var(--ink); font-style:italic; flex:1; }
.testi-body cite{ font-style:normal; font-weight:700; font-size:14px; color:var(--sage-deep); display:block; margin-bottom:12px; }

/* ---------- about teaser ---------- */
.about-teaser{ display:grid; grid-template-columns:.85fr 1.15fr; gap:56px; align-items:center; }
.photo-frame{
  background:var(--sage); border-radius:24px; aspect-ratio:4/5;
  display:flex; align-items:center; justify-content:center; overflow:hidden;
  position:relative;
}
.photo-frame::after{
  content:'FR'; font-family:'Poppins',sans-serif; font-weight:700; font-size:120px; color:rgba(255,255,255,0.18);
}
.photo-frame img{ width:100%; height:100%; object-fit:cover; }
.photo-frame:has(img)::after{ content:none; }

/* ---------- CTA banner ---------- */
.cta-banner{
  background:var(--ink); color:var(--white); border-radius:28px; padding:64px 48px; text-align:center;
}
.cta-banner h2{ color:var(--white); }
.cta-banner p{ color:rgba(248,244,230,0.7); }
.cta-banner .hero-actions{ justify-content:center; }

/* ---------- page hero (secondary pages) ---------- */
.page-hero{ padding:56px 0 40px; background:var(--cream-soft); border-bottom:1px solid var(--line); }
.page-hero h1{ font-size:42px; max-width:720px; }
.breadcrumb{ font-size:13px; color:var(--muted); margin-bottom:14px; font-weight:600; }
.breadcrumb a{ color:var(--sage-deep); }

/* ---------- service detail blocks ---------- */
.service-block{
  border:1px solid var(--line); border-radius:24px; padding:40px; background:var(--white); margin-bottom:28px;
}
.service-head{ display:flex; justify-content:space-between; align-items:flex-start; gap:24px; flex-wrap:wrap; margin-bottom:24px; }
.service-price{ text-align:right; }
.service-price strong{ font-family:'Poppins',sans-serif; font-size:32px; display:block; }
.service-price span{ font-size:13px; color:var(--muted); }
.service-cols{ display:grid; grid-template-columns:1fr 1fr; gap:32px; }
.check-list li{ position:relative; padding-left:28px; margin-bottom:10px; font-size:15px; color:var(--ink); }
.check-list li::before{ content:'✓'; position:absolute; left:0; top:0; color:var(--sage-deep); font-weight:700; }
.cross-list{ margin-top:20px; padding-top:20px; border-top:1px solid var(--line); }
.cross-list li{ position:relative; padding-left:28px; margin-bottom:8px; font-size:14px; color:var(--muted); }
.cross-list li::before{ content:'✕'; position:absolute; left:0; top:0; color:#b5675a; font-weight:700; }
.cross-title{ font-size:13px; font-weight:700; text-transform:uppercase; letter-spacing:.05em; color:var(--muted); margin-bottom:10px; display:block; }

/* ---------- steps ---------- */
.steps{ counter-reset:step; }
.step{ display:flex; gap:20px; padding:24px 0; border-bottom:1px solid var(--line); }
.step:last-child{ border-bottom:none; }
.step-num{
  counter-increment:step; font-family:'Poppins',sans-serif; font-weight:700; font-size:20px; color:var(--sage-deep);
  width:44px; height:44px; border-radius:50%; background:var(--sage-light); display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.step-num::before{ content:counter(step); }

/* ---------- accordion (FAQ) ---------- */
.accordion-item{ border-bottom:1px solid var(--line); }
.accordion-item:first-child{ border-top:1px solid var(--line); }
.accordion-trigger{
  width:100%; text-align:left; background:none; border:none; padding:22px 4px; cursor:pointer;
  display:flex; justify-content:space-between; align-items:center; gap:16px; font-family:'Poppins',sans-serif;
  font-size:16.5px; font-weight:600; color:var(--ink);
}
.accordion-trigger .plus{ font-size:22px; color:var(--sage-deep); transition:transform .2s ease; flex-shrink:0; }
.accordion-item.open .plus{ transform:rotate(45deg); }
.accordion-panel{ max-height:0; overflow:hidden; transition:max-height .25s ease; }
.accordion-panel-inner{ padding:0 4px 22px; }
.accordion-panel-inner p{ font-size:15px; margin:0; }

/* ---------- portfolio ---------- */
.work-card{
  border-radius:var(--radius); overflow:hidden; border:1px solid var(--line); background:var(--white);
}
.work-thumb{
  aspect-ratio:4/3; background:var(--sage-light); position:relative; display:flex; align-items:center; justify-content:center;
  overflow:hidden;
}
.work-thumb .mock-screen{ width:82%; box-shadow:0 14px 30px -10px rgba(32,31,24,0.3); }
.work-thumb img{ width:100%; height:100%; object-fit:cover; }
.work-tag{
  position:absolute; top:14px; left:14px; background:var(--white); font-size:12px; font-weight:700;
  padding:5px 12px; border-radius:100px; color:var(--sage-deep);
}
.work-body{ padding:22px; }
.work-body h3{ font-size:18px; margin-bottom:4px; }
.work-body .rubro{ font-size:13px; color:var(--muted); margin-bottom:14px; display:block; }

.filter-bar{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:36px; }
.filter-btn{
  padding:9px 18px; border-radius:100px; border:1px solid var(--line); background:var(--white);
  font-size:13.5px; font-weight:700; cursor:pointer; color:var(--muted);
}
.filter-btn.active{ background:var(--ink); color:var(--white); border-color:var(--ink); }

.note-box{
  background:var(--sage-light); border-radius:var(--radius); padding:24px 28px; font-size:14.5px; color:var(--sage-deep); margin-top:8px;
}
.note-box strong{ color:var(--ink); }

/* ---------- policy page ---------- */
.policy-toc{
  border:1px solid var(--line); border-radius:var(--radius); padding:26px 28px; background:var(--white); margin-bottom:12px;
}
.policy-toc a{ display:block; padding:6px 0; font-size:14.5px; font-weight:600; color:var(--sage-deep); }
.policy-section{ padding:32px 0; border-bottom:1px solid var(--line); }
.policy-section:last-child{ border-bottom:none; }
.policy-section h2{ font-size:22px; }
.policy-section ol, .policy-section ul{ padding-left:0; }
.policy-section p{ font-size:15px; }
.policy-num{
  display:inline-flex; align-items:center; justify-content:center; width:30px; height:30px; border-radius:8px;
  background:var(--sage-light); color:var(--sage-deep); font-weight:700; font-size:14px; margin-right:10px;
}

/* ---------- contact ---------- */
.contact-grid{ display:grid; grid-template-columns:.9fr 1.1fr; gap:48px; }
.contact-card{
  background:var(--ink); color:var(--white); border-radius:24px; padding:40px;
}
.contact-card h3{ color:var(--white); }
.contact-item{ display:flex; gap:14px; padding:16px 0; border-bottom:1px solid rgba(255,255,255,0.12); }
.contact-item:last-child{ border-bottom:none; }
.contact-item .ic{
  width:38px; height:38px; border-radius:10px; background:rgba(255,255,255,0.1); display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.contact-item a, .contact-item span{ font-size:14.5px; color:rgba(255,255,255,0.85); }
.contact-item strong{ display:block; font-size:13px; color:var(--sage-light); margin-bottom:2px; }

.form-card{
  background:var(--white); border:1px solid var(--line); border-radius:24px; padding:40px;
}
.field{ margin-bottom:20px; }
.field label{ display:block; font-size:13px; font-weight:700; margin-bottom:8px; color:var(--ink); }
.field input, .field textarea, .field select{
  width:100%; border:none; border-bottom:2px solid var(--line); padding:10px 2px; font-size:15px;
  font-family:inherit; background:transparent; color:var(--ink); resize:vertical;
}
.field input:focus, .field textarea:focus, .field select:focus{ outline:none; border-color:var(--sage-deep); }
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.form-note{ font-size:13px; color:var(--muted); margin-top:14px; }
#formStatus{ font-size:14px; font-weight:600; margin-top:14px; }

/* ---------- misc ---------- */
.divider{ height:1px; background:var(--line); margin:0; }
.tag-row{ display:flex; gap:8px; flex-wrap:wrap; }

/* ---------- responsive ---------- */
@media (max-width: 1040px){
  .nav-links, .nav-cta{ display:none; }
  .nav-toggle{ display:block; }
  .nav.open .nav-links{
    display:flex; flex-direction:column; position:absolute; top:100%; left:0; right:0;
    background:var(--cream-soft); padding:20px 24px; gap:18px; border-bottom:1px solid var(--line);
  }
  .nav.open .nav-cta{ display:inline-flex; margin:0 24px 20px; }
}

@media (max-width: 980px){
  .hero-grid, .about-teaser, .contact-grid{ grid-template-columns:1fr; }
  .hero-grid{ gap:40px; }
  .about-teaser .photo-frame{ order:-1; max-width:340px; margin:0 auto; }
  .grid-4{ grid-template-columns:repeat(2,1fr); }
  .grid-3, .testi-grid{ grid-template-columns:repeat(2,1fr); }
  .grid-2{ grid-template-columns:1fr; }
  .footer-inner{ grid-template-columns:1fr 1fr; }
  .service-cols{ grid-template-columns:1fr; }
  .hero h1{ font-size:40px; }
}

@media (max-width: 720px){
  .grid-4, .grid-3, .testi-grid{ grid-template-columns:1fr; }
  .footer-inner{ grid-template-columns:1fr; gap:32px; }
  .section{ padding:56px 0; }
  .hero{ padding:40px 0 56px; }
  .hero h1{ font-size:32px; }
  .stats .container{ grid-template-columns:1fr; gap:32px; padding:40px 24px; }
  .cta-banner{ padding:44px 24px; }
  .field-row{ grid-template-columns:1fr; }
  .service-head{ flex-direction:column; }
  .service-price{ text-align:left; }
}
