/* ============================================================
   SERVICIOS INSIGNIA · Sistema de marca (Manual v2.0)
   ============================================================ */
:root {
  /* --- Escala verde --- */
  --green-100: #EAF7EE;
  --green-200: #C9ECD3;
  --green-300: #7FD67A;   /* acento · solo gráfico */
  --green-400: #68C573;   /* secundario · CTA */
  --green-500: #56B76D;   /* foco */
  --green-600: #46A968;
  --green-700: #379B63;   /* primario · texto y trazos */
  --green-800: #2C7D50;
  --green-900: #215F3D;

  /* --- Superficies y tinta --- */
  --ink: #2C2D2F;         /* texto principal / superficie publicación */
  --ink-700: #55585c;     /* cuerpo y notas */
  --ink-500: #8a8d92;     /* texto tenue */
  --paper: #F4F5F7;       /* superficie documento (fondo) */
  --white: #ffffff;
  --line: #e6e8ec;

  /* --- Gradiente de marca (45°) --- */
  --grad: linear-gradient(45deg, #379B63 0%, #68C573 55%, #7FD67A 100%);

  /* --- Radios --- */
  --r-sm: 6px; --r-md: 12px; --r-lg: 20px; --r-xl: 32px; --r-pill: 999px;

  /* --- Sombras (discretas, sin brillo de color) --- */
  --sh-sm: 0 1px 2px rgba(44,45,47,.06), 0 1px 3px rgba(44,45,47,.05);
  --sh-md: 0 8px 24px -10px rgba(44,45,47,.16);
  --sh-lg: 0 28px 56px -24px rgba(44,45,47,.28);

  --maxw: 1140px;
}

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

body {
  font-family: "Montserrat", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: "Poppins", system-ui, sans-serif; line-height: 1.15; color: var(--ink); font-weight: 600; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }

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

/* Contraste de pesos: recurso de marca */
.wordmark { font-family: "Poppins", sans-serif; }
.wordmark strong { font-weight: 700; }
.wordmark span { font-weight: 400; }

.eyebrow {
  font-family: "Poppins", sans-serif;
  font-size: .78rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--green-700);
}
.eyebrow.center { text-align: center; display: block; }

/* Foco visible (accesibilidad · verde 500) */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--green-500);
  outline-offset: 2px;
}

/* ===== Botones (área táctil 44px) ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 12px 24px;
  font-family: "Poppins", sans-serif; font-weight: 600; font-size: .96rem;
  border-radius: var(--r-pill); border: 1.5px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green-700); color: var(--white); box-shadow: var(--sh-md); }
.btn-primary:hover { background: var(--green-800); }
.btn-cta { background: var(--green-400); color: var(--ink); box-shadow: var(--sh-md); }
.btn-cta:hover { background: var(--green-500); color: var(--ink); }
.btn-ghost { background: transparent; border-color: var(--green-700); color: var(--green-700); }
.btn-ghost:hover { background: var(--green-100); }
.btn-portal { background: var(--ink); color: var(--white); min-height: 40px; padding: 8px 18px; font-size: .9rem; }
.btn-portal:hover { background: #000; }
.btn-light { background: var(--white); color: var(--green-800); }
.btn-block { width: 100%; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244,245,247,.85); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-logo { width: 40px; height: 40px; }
.brand-logo-full { height: 54px; width: auto; }
.brand-name { font-family: "Poppins", sans-serif; font-size: 1.12rem; color: var(--ink); line-height: 1; }
.brand-name strong { font-weight: 700; }
.brand-name span { font-weight: 400; }
.nav { display: flex; gap: 30px; }
.nav a { font-family: "Poppins", sans-serif; font-size: .95rem; color: var(--ink-700); font-weight: 500; }
.nav a:hover { color: var(--green-700); }
/* Franja de gradiente (recurso de marca) */
.grad-strip { height: 3px; background: var(--grad); }

/* ===== Hero ===== */
.hero { position: relative; padding: 84px 0 92px; overflow: hidden; }
/* Retícula diagonal, tono sobre tono, apenas perceptible */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: .5;
  background-image:
    repeating-linear-gradient(45deg, var(--green-100) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(-45deg, var(--green-100) 0 1px, transparent 1px 34px);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 92%);
          mask-image: linear-gradient(to bottom, #000, transparent 92%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero-single { position: relative; z-index: 1; max-width: 820px; }
.hero-copy h1 { font-size: clamp(2.4rem, 4.8vw, 3.6rem); font-weight: 700; letter-spacing: -.015em; margin: 18px 0; }
.hero-copy h1 em { font-style: normal; font-weight: 400; }
.lede { font-size: 1.14rem; color: var(--ink-700); max-width: 34em; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 30px 0 28px; }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 26px; }
.hero-trust li { display: flex; align-items: center; gap: 8px; font-size: .93rem; color: var(--ink-700); font-weight: 500; }
.hero-trust .ico { width: 20px; height: 20px; color: var(--green-700); }

/* Tarjeta demo del hero */
.hero-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 10px; box-shadow: var(--sh-lg);
  display: grid; gap: 6px;
}
.hero-card-head {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; border-radius: var(--r-md);
  background: var(--ink); color: var(--white); margin-bottom: 4px;
}
.hero-card-head .brand-logo { width: 26px; height: 26px; }
.hero-card-head span { font-family: "Poppins", sans-serif; font-size: .82rem; letter-spacing: .04em; opacity: .85; }
.card-row { display: flex; align-items: center; gap: 14px; padding: 13px 14px; border-radius: var(--r-md); background: var(--paper); }
.card-row .ico { width: 22px; height: 22px; color: var(--green-700); flex-shrink: 0; }
.card-title { font-family: "Poppins", sans-serif; font-weight: 600; font-size: .95rem; }
.card-sub { font-size: .84rem; color: var(--ink-700); }
.chip { margin-left: auto; font-size: .72rem; font-weight: 600; font-family: "Poppins", sans-serif; padding: 3px 10px; border-radius: var(--r-pill); background: var(--green-100); color: var(--green-800); }

/* ===== Secciones ===== */
.section { padding: 92px 0; }
.section-alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 600; text-align: center; margin: 12px auto 14px; max-width: 20em; }
.section-title.left { text-align: left; margin-left: 0; }
.section-intro { text-align: center; color: var(--ink-700); max-width: 40em; margin: 0 auto 52px; }
.section-intro.left { text-align: left; margin-left: 0; }

/* ===== Servicios ===== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 30px 26px;
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.section-alt .service { background: var(--paper); }
.service:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: var(--green-200); }
.service-ico {
  display: grid; place-items: center; width: 52px; height: 52px;
  border-radius: var(--r-md); background: var(--green-100); margin-bottom: 18px;
}
.service-ico .ico { width: 26px; height: 26px; color: var(--green-700); }
.service h3 { font-size: 1.2rem; margin-bottom: 8px; }
.service p { color: var(--ink-700); font-size: .97rem; }

/* ===== Proceso ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step-num {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r-pill);
  background: var(--grad); color: var(--white);
  font-family: "Poppins", sans-serif; font-weight: 700; font-size: 1.2rem; margin-bottom: 18px;
}
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--ink-700); }

/* ===== Franja CTA (superficie oscura de publicación) ===== */
.cta-band { position: relative; background: var(--ink); color: var(--white); overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; padding: 60px 24px; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); font-size: 1.9rem; margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,.72); max-width: 42em; }

/* ===== Contacto ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-lede { color: var(--ink-700); margin: 12px 0 26px; max-width: 32em; }
.contact-list { list-style: none; display: grid; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 12px; }
.contact-list .ico { width: 22px; height: 22px; color: var(--green-700); flex-shrink: 0; }
.contact-list a:hover { color: var(--green-700); }
.contact-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--sh-md); display: grid; gap: 16px; }
.contact-form label { display: grid; gap: 7px; font-family: "Poppins", sans-serif; font-size: .88rem; font-weight: 600; color: var(--ink); }
.contact-form input, .contact-form textarea {
  font-family: "Montserrat", sans-serif; font-size: .95rem;
  padding: 13px 14px; border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--paper); color: var(--ink); resize: vertical;
}
.form-note { font-size: .8rem; color: var(--ink-700); text-align: center; }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 48px 0 40px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer .brand-name { color: var(--white); }
.footer-legal { font-size: .85rem; text-align: center; }
.footer-legal p { margin-bottom: 6px; }
.footer-links { display: flex; gap: 4px 16px; flex-wrap: wrap; justify-content: center; }
.footer-legal a { font-family: "Poppins", sans-serif; font-weight: 600; color: var(--green-300); }
.footer-legal a:hover { color: var(--green-200); }
.form-note a { color: var(--green-700); font-weight: 600; }
.auth-legal { margin-top: 16px; font-size: .82rem; color: var(--ink-700); text-align: center; }
.auth-legal a { color: var(--green-700); font-weight: 600; }
.footer-portal { font-family: "Poppins", sans-serif; font-size: .92rem; font-weight: 600; color: var(--green-300); }
.footer-portal:hover { color: var(--green-200); }

/* ===== Visual de héroe (tarjeta de contacto rápido) ===== */
.hero-visual { position: relative; z-index: 1; display: grid; place-items: center; }
.lead-card {
  width: 100%; max-width: 420px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: 34px; box-shadow: var(--sh-lg);
}
.lead-ico { width: 56px; height: 56px; border-radius: var(--r-md); background: var(--green-100); display: grid; place-items: center; margin: 0 auto 16px; }
.lead-ico img { width: 34px; height: 34px; }
.lead-card h3 { text-align: center; font-size: 1.5rem; font-weight: 600; }
.lead-sub { text-align: center; color: var(--ink-700); font-size: .95rem; margin: 6px auto 24px; max-width: 26em; }
.lead-form { display: grid; gap: 12px; }
.field { position: relative; display: flex; align-items: center; }
.field .ico { position: absolute; left: 14px; width: 18px; height: 18px; color: var(--ink-500); pointer-events: none; }
.field input {
  width: 100%; font-family: "Montserrat", sans-serif; font-size: .95rem;
  padding: 13px 14px 13px 42px; border: 1px solid var(--line);
  border-radius: var(--r-md); background: var(--paper); color: var(--ink);
}
.lead-form .btn { margin-top: 4px; }
.lead-card .form-note { margin-top: 14px; }

/* ===== Quiénes somos ===== */
.about-lead { display: grid; grid-template-columns: .8fr 1.2fr; gap: 44px; align-items: center; margin-bottom: 52px; }
.portrait-slot {
  aspect-ratio: 1 / 1; border-radius: var(--r-xl);
  background: var(--green-100); border: 1.5px dashed var(--green-300);
  display: grid; place-items: center; align-content: center; gap: 10px; color: var(--green-700);
}
.portrait-slot .ico { width: 46px; height: 46px; opacity: .75; }
.portrait-slot figcaption { font-family: "Poppins", sans-serif; font-size: .8rem; font-weight: 600; color: var(--green-800); }
.portrait-photo {
  margin: 0; aspect-ratio: 1 / 1; border-radius: var(--r-xl);
  overflow: hidden; box-shadow: var(--sh-lg);
}
.portrait-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.about-text p { color: var(--ink-700); font-size: 1.06rem; margin-bottom: 14px; }
.about-sign { font-family: "Poppins", sans-serif; font-weight: 600; color: var(--ink); margin-top: 4px !important; }
.about-sign span { display: block; font-weight: 400; font-size: .92rem; color: var(--ink-700); }

.value-prop {
  position: relative; max-width: 900px; margin: 0 auto 56px;
  background: var(--green-100); border-radius: var(--r-xl); padding: 38px 48px 42px;
  font-family: "Poppins", sans-serif; font-size: 1.35rem; font-weight: 500; line-height: 1.45;
  color: var(--ink); text-align: center;
}
.value-prop strong { color: var(--green-700); font-weight: 700; }
.quote-mark { display: block; font-size: 3.4rem; line-height: .4; color: var(--green-300); margin-bottom: 14px; }

.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 56px; }
.mv-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; }
.mv-ico { width: 52px; height: 52px; border-radius: var(--r-md); display: grid; place-items: center; background: var(--grad); margin-bottom: 16px; }
.mv-ico .ico { width: 26px; height: 26px; color: #fff; }
.mv-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.mv-card p { color: var(--ink-700); }

.values-title { text-align: center; font-size: 1.5rem; margin-bottom: 28px; }
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 860px; margin: 0 auto; }
.value { display: flex; gap: 14px; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.v-ico { flex-shrink: 0; width: 42px; height: 42px; border-radius: var(--r-md); background: var(--green-100); display: grid; place-items: center; }
.v-ico .ico { width: 22px; height: 22px; color: var(--green-700); }
.value h4 { font-family: "Poppins", sans-serif; font-size: 1.02rem; font-weight: 600; margin-bottom: 4px; }
.value p { color: var(--ink-700); font-size: .9rem; line-height: 1.5; }

/* ===== Preguntas frecuentes (acordeón) ===== */
.faq-list { max-width: 820px; margin: 44px auto 0; display: grid; gap: 14px; }
.faq-item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; font-family: "Poppins", sans-serif; font-weight: 600; font-size: 1.04rem; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--green-700); }
.faq-item .chev { width: 22px; height: 22px; flex-shrink: 0; color: var(--green-700); transition: transform .25s ease; }
.faq-item[open] .chev { transform: rotate(180deg); }
.faq-body { padding: 0 24px 22px; }
.faq-body p { color: var(--ink-700); font-size: .98rem; max-width: 64ch; }
.faq-body a { color: var(--green-700); font-weight: 600; }

/* ===== Mi Insignia (portal) ===== */
.insignia-cta { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 44px; text-align: center; }
.insignia-note { font-size: .9rem; color: var(--ink-700); max-width: 40em; }

/* ===== Qué recibes cada mes (línea de tiempo) ===== */
.month-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.phase { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 24px; box-shadow: var(--sh-sm); }
.phase-head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.phase-dot { flex-shrink: 0; width: 40px; height: 40px; border-radius: var(--r-pill); background: var(--grad); color: #fff; display: grid; place-items: center; font-family: "Poppins", sans-serif; font-weight: 700; font-size: 1.1rem; }
.phase-head h3 { font-size: 1.15rem; }
.phase-sub { font-family: "Poppins", sans-serif; font-weight: 600; font-size: .76rem; letter-spacing: .09em; text-transform: uppercase; color: var(--green-700); margin-bottom: 20px; }
.deliverables { list-style: none; display: grid; gap: 18px; }
.deliverables li { display: flex; gap: 12px; align-items: flex-start; }
.deliverables .ico { width: 22px; height: 22px; color: var(--green-700); flex-shrink: 0; margin-top: 2px; }
.deliverables strong { display: block; font-family: "Poppins", sans-serif; font-size: .98rem; font-weight: 600; margin-bottom: 2px; }
.deliverables span { color: var(--ink-700); font-size: .89rem; line-height: 1.45; }

/* ===== Nuestro trabajo (huecos de foto propia) ===== */
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.work-copy .btn { margin-top: 8px; }
.work-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.photo-slot {
  display: grid; place-items: center; align-content: center; gap: 10px; text-align: center;
  min-height: 150px; padding: 20px;
  border-radius: var(--r-lg); background: var(--green-100);
  border: 1.5px dashed var(--green-300); color: var(--green-700);
}
.photo-slot .ico { width: 34px; height: 34px; opacity: .75; }
.photo-slot figcaption { font-family: "Poppins", sans-serif; font-size: .8rem; font-weight: 600; color: var(--green-800); }
.photo-tall { grid-row: span 2; }
.photo-img {
  margin: 0; min-height: 150px; border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--sh-sm);
}
.photo-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-tall img { object-position: 62% center; }

.cta-inner, .footer-inner { position: relative; z-index: 1; }
.site-footer { position: relative; overflow: hidden; }

/* Onda de arcos (patrón 03, solo superficie oscura): tenue a la izquierda y se intensifica hacia el centro */
.cta-band::after, .site-footer::after {
  content: ""; position: absolute; inset: 4px 0 0 0; opacity: .22; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='24' viewBox='0 0 48 24'%3E%3Cg fill='none' stroke='%23379B63' stroke-width='1.6'%3E%3Cpath d='M0 24a24 24 0 0 1 48 0M-24 12a24 24 0 0 1 48 0M24 12a24 24 0 0 1 48 0'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
}
.site-footer::after { inset: 0; }

/* ===== Íconos base ===== */
.ico { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ===== Responsive ===== */
@media (max-width: 880px) {
  .hero-grid, .contact-grid, .work-grid, .about-lead, .mv-grid { grid-template-columns: 1fr; }
  .services-grid, .steps, .values-grid, .month-flow { grid-template-columns: 1fr; }
  .value-prop { font-size: 1.15rem; padding: 30px 26px 34px; }
  .nav { display: none; }
  .hero { padding: 56px 0 64px; }
  .hero-visual { min-height: 360px; margin-top: 8px; }
  .section { padding: 60px 0; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}
