/* --------- Enlaces FAQ para artículos --------- */
.faq-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  border-radius: 6px;
  padding: 1px 4px;
  transition: background .18s, color .18s, box-shadow .18s;
  box-shadow: 0 1px 0 0 var(--secondary, #FACC15);
}
.faq-link:hover, .faq-link:focus {
  background: var(--secondary);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(234,179,8,.13);
}
/* --------- Blog Cards --------- */
.blog-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}
.blog-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.blog-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 14px 14px 0 0;
  display: block;
}
.blog-card-body {
  padding: 22px 20px 20px 20px;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.blog-card-body h3 {
  margin: 0 0 10px 0;
  font-size: 1.18rem;
}
.blog-card-body p {
  margin: 0 0 18px 0;
  color: var(--muted);
  flex: 1 1 auto;
}
.blog-card-body .btn {
  align-self: flex-start;
}

/* --------- Sticky Footer Layout --------- */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main, .main-content {
  flex: 1 0 auto;
}
footer.footer {
  flex-shrink: 0;
}
/* =========================
   valorarinmuebles · styles
   ========================= */

/* --------- Variables --------- */
:root {
  --primary:   #EAB308; /* amarillo mostaza */
  --secondary: #FACC15; /* amarillo brillante */
  --accent:    #FB923C; /* terracota */

  --bg:    #FEFCE8; /* beige claro */
  --paper: #FFFFFF;
  --ink:   #1C1917;
  --muted: #78350F;
  --line:  #FDE68A;

  --radius: 16px;
  --shadow: 0 14px 48px rgba(0,0,0,.08), 0 4px 14px rgba(0,0,0,.04);

  /* Gradients */
  --grad-main: linear-gradient(135deg, #EAB308 0%, #FACC15 100%);
  --grad-hero: radial-gradient(1200px 560px at 90% -10%, rgba(234,179,8,.18), transparent 60%),
               radial-gradient(900px 420px  at 10% -10%, rgba(251,146,60,.20), transparent 60%),
               linear-gradient(180deg, #FFFFFF 0%, #FEFCE8 100%);
}

/* --------- Base --------- */
* { box-sizing: border-box; }
html, body { margin:0; padding:0; }
body{
  font-family: 'Oswald', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; transition: color .18s, box-shadow .18s; }
.container{ width:min(1140px, 85vw); margin:0 auto; }

/* --------- Enlaces FAQ destacados --------- */
.faq-list a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  border-radius: 6px;
  padding: 1px 4px;
  transition: background .18s, color .18s, box-shadow .18s;
  box-shadow: 0 1px 0 0 var(--secondary, #FACC15);
}
.faq-list a:hover, .faq-list a:focus {
  background: var(--secondary);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(234,179,8,.13);
}

/* --------- Buttons --------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.55rem;
  padding:.95rem 1.2rem; border-radius:14px; font-weight:700;
  transition: transform .12s ease, box-shadow .18s ease, opacity .2s ease;
  will-change: transform;
}
.btn--primary{
  background: var(--grad-main); color:black; box-shadow: var(--shadow);
}
.btn--primary:hover{ transform: translateY(-1px); }
.btn--ghost{
  background: var(--paper); border:1px solid var(--line); color: var(--ink);
}
.btn--ghost:hover{ transform: translateY(-1px); }


/* --------- Hero --------- */
/* Hero base */
.hero__grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero__text {
  flex: 1;
}

.hero__visual img {
  max-width: 350px;
  height: auto;
}

/* Versión móvil */
@media (max-width: 700px) {
  .hero__grid {
    flex-direction: column;   /* pila vertical */
    text-align: center;       /* centra texto */
    gap: 24px;
  }

  .hero__text {
    flex: none;
  }

  .hero__visual img {
    max-width: 150px;   /* logo más pequeño */
    margin: 0 auto 20px;     /* centrado */
  }

  .hero__text h1 {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .hero__text p {
    font-size: 1rem;
  }
}



/* --------- Features (diferencial) --------- */
.features{ padding:60px 0; background:#fff; height: 100%; }
.features__grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.feature{
  background: var(--paper); border:1px solid var(--line); border-radius:18px; padding:20px;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature:hover{ transform: translateY(-4px); box-shadow: 0 10px 26px rgba(0,0,0,.08); }
.feature h3{ margin:.25rem 0 .35rem; }
.feature p{ color:var(--muted); margin:0; }
.icon{
  display:inline-grid; place-items:center; width:42px; height:42px; border-radius:12px;
  background: var(--grad-main); color:#fff; margin-bottom:8px;
}

/* ===== Proceso fusionado (pasos + informe) ===== */
.process {
  padding: 68px 0;
  background:
    radial-gradient(900px 500px at 90% -20%, rgba(234,179,8,.12), transparent 60%),
    radial-gradient(700px 360px at 10% -10%, rgba(251,146,60,.10), transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, var(--base200, #FEFCE8) 100%);
  border-top: 1px solid var(--line, #FDE68A);
}

.section-title {
  font-size: clamp(22px, 3.2vw, 34px);
  margin: 0 0 18px;
}

/* --- Steps --- */
.process__steps { margin-bottom: 26px; }
.steps-line {
  display: grid;
  grid-template-columns: 1fr 80px 1fr 80px 1fr;
  align-items: center;
  gap: 12px;
}
.step-card {
  background: #fff;
  border: 1px solid var(--line, #FDE68A);
  border-radius: 16px;
  padding: 18px;
  text-align: left;
  box-shadow: var(--shadow, 0 14px 48px rgba(0,0,0,.08));
  transition: transform .2s ease, box-shadow .2s ease;
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,.12);
}
.step-card h3 { margin: 8px 0 6px; font-size: 1.05rem; }
.step-card p  { margin: 0; color: var(--muted, #78350F); }

.step-icon{
  width: 48px; height: 48px; border-radius: 12px; margin: 0 0 6px 0;
  display:flex; align-items:center; justify-content:center;
  color:#1C1917;
  background: linear-gradient(135deg, var(--primary, #EAB308), var(--secondary, #FACC15));
  box-shadow: 0 6px 20px rgba(234,179,8,.25);
  font-size: 22px;
}

.connector {
  height: 4px; border-radius: 6px;
  background: linear-gradient(90deg, var(--primary, #EAB308), var(--secondary, #FACC15));
  opacity: .8;
}

/* --- Informe (checklist + preview) --- */
.deliverable-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding: 40px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.dlv-left {
  flex: 1;
}

.dlv-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-title {
  font-size: 2.2rem; /* más grande */
  margin-bottom: 24px;
  font-weight: 700;
  color: var(--base900);
}

.dlv-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dlv-checklist li {
  font-size: 1.2rem;   /* más grande */
  line-height: 1.6;
  margin-bottom: 18px; /* más espacio entre items */
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--base800);
}

.dlv-checklist i {
  color: var(--primary);
  background: rgba(255, 193, 7, 0.15);
  border-radius: 50%;
  padding: 6px;
  font-size: 1rem;
  margin-top: 4px;
}

.dlv-cta {
  margin-top: 32px;
  display: flex;
  gap: 16px;
}

.dlv-cta .btn {
  font-size: 1rem;
  padding: 14px 24px;
  border-radius: 10px;
  font-weight: 600;
}

.screen-mock{
  border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line, #FDE68A);
  box-shadow: 0 16px 40px rgba(0,0,0,.12);
  background:#fff;
}
.screen-mock img{ display:block; width:100%; height:auto; }

/* Responsive */
@media (max-width: 980px){
  .steps-line { grid-template-columns: 1fr; }
  .connector { display: none; }
  .deliverable-card { grid-template-columns: 1fr; }
}

/* ====== Ajustes móviles para "Informe (checklist + preview)" ====== */
@media (max-width: 700px) {
  .deliverable-card{
    flex-direction: column;      /* apila imagen y texto */
    align-items: stretch;
    gap: 18px;
    padding: 20px;
  }

  /* Pon la ilustración arriba y más compacta */
  .dlv-right{
    order: -1;                   /* va primero en móvil */
    display: flex;
    justify-content: flex-end;   /* queda a la derecha como en tu captura */
    width: 100%;
  }
.screen-mock{
    max-height: 250px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(0,0,0,.10);
    object-fit: cover;
    object-position: center;
    overflow: hidden;
}
.screen-mock img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 250px;
    display: block;
}
  .screen-mock img{ width: 100%; height: auto; }

  /* Título más compacto pero legible */
  .section-title{
    font-size: 1.7rem;
    line-height: 1.2;
    margin-bottom: 14px;
  }

  /* Checklist legible: icono a la izquierda, texto a la derecha */
  .dlv-checklist{
    display: grid;
    gap: 14px;
  }
  .dlv-checklist li{
    align-items: start;
    gap: 10px;
    font-size: 1.05rem;
    line-height: 1.5;
    margin: 0;
    word-break: normal;
    overflow-wrap: anywhere;     /* evita cortes raros */
    hyphens: auto;
  }
  .dlv-checklist i{
    width: 28px; height: 28px;
    display: grid; place-items: center;
    border-radius: 50%;
    font-size: .95rem;
    padding: 0;
    background: linear-gradient(135deg, var(--secondary, #FACC15), var(--primary, #EAB308));
    color: #1C1917;
    box-shadow: 0 6px 16px rgba(234,179,8,.25);
  }

  /* CTA en columna y a full width */
  .dlv-cta{
    margin-top: 8px;
    flex-direction: column;
    gap: 10px;
  }
  .dlv-cta .btn{
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
    border-radius: 10px;
  }
}



/* --------- Testimonials --------- */
.testimonials{ padding:56px 0; background:#fff; }
.testimonials__grid{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.testimonials blockquote{
  margin:0; padding:18px; border:1px solid var(--line); border-radius:16px; background:#fff; box-shadow: var(--shadow);
  color: var(--ink);
}
.testimonials cite{ display:block; margin-top:8px; color: var(--muted); font-style: normal; }

/* --------- CTA final --------- */
.cta-final{
  padding:60px 0; text-align:center;
  background:
    radial-gradient(900px 500px at 50% -30%, rgba(0,194,168,.15), transparent 60%),
    linear-gradient(180deg, #FFFFFF, #F1F6FF);
}
.cta-final h2{ margin:0 0 12px; font-size: clamp(22px, 3.2vw, 40px); }

/* --------- Footer --------- */
.footer{ padding:26px 0; border-top:1px solid var(--line); background:#fff; color:var(--muted); text-align:center; }

/* --------- Responsive --------- */
@media (max-width: 980px){
  .hero__grid{ grid-template-columns:1fr; }
  .features__grid{ grid-template-columns:1fr; }
  .testimonials__grid{ grid-template-columns:1fr; }
  .steps__row{ grid-template-columns:1fr; }
}
