:root {
  --pine: #9c1613;
  --pine-2: #74100e;
  --sage: #a85c59;
  --gold: #d7b477;
  --cream: #faeeed;
  --paper: #fff9f8;
  --ink: #32100f;
  --muted: #745957;
  --line: #ead2d0;
  --shadow: 0 22px 60px rgba(156, 22, 19, .14);
}

.emergency-bar,
footer { background: #4d0908; }
.site-head { background: rgba(156, 22, 19, .98); }
.hero {
  background-image: linear-gradient(90deg, rgba(77, 9, 8, .96) 0%, rgba(156, 22, 19, .78) 48%, rgba(156, 22, 19, .22) 100%), url('../images/el-roble/hero-bosque.webp');
}
.page-hero { background: radial-gradient(circle at 75% 20%, #c44a45 0, transparent 32%), var(--pine); }
.section-dark .section-head p,
.step p,
.closing p { color: #eadde2; }
.rich p,
.rich li { color: #5f4851; }
.service-card,
.contact-card,
.form-card { box-shadow: 0 12px 36px rgba(156, 22, 19, .08); }
.field input,
.field select,
.field textarea { border-color: #cdb9c0; }
.service-shortcuts { background: #faeeed; }
.service-shortcuts a { color: #74100e; }
.btn { color: #32100f; }

.hero.hero-with-form {
  min-height: 820px;
  display: block;
  padding: 38px 0 76px;
  background-image: linear-gradient(90deg, rgba(77, 9, 8, .72) 0%, rgba(156, 22, 19, .20) 47%, rgba(156, 22, 19, .08) 64%), url('../images/el-roble/portada-formulario-el-roble.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(540px, 1.12fr);
  gap: 46px;
  align-items: center;
}
.hero.hero-with-form .content {
  max-width: 540px;
  padding: 54px 0;
  text-shadow: 0 2px 18px rgba(77, 9, 8, .48);
}
.hero.hero-with-form h1 { font-size: clamp(2.8rem, 5vw, 4.9rem); }
.hero-form-card {
  width: 100%;
  margin: 0;
  padding: 26px 28px;
  border-top: 5px solid var(--gold);
  background: rgba(255, 250, 251, .96);
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(77, 9, 8, .34);
  backdrop-filter: blur(8px);
}
.hero-form-card > .eyebrow { margin-bottom: 7px; }
.hero-form-card > h2 { margin: 0 0 6px; font-size: clamp(2rem, 3vw, 2.85rem); }
.hero-form-card > p:not(.eyebrow) { margin: 0 0 17px; color: var(--muted); font-size: .92rem; }
.hero-form-card .form-grid { gap: 11px 14px; }
.hero-form-card .field { gap: 4px; }
.hero-form-card .field span { font-size: .84rem; }
.hero-form-card .field input,
.hero-form-card .field select,
.hero-form-card .field textarea { padding: 9px 11px; }
.hero-form-card .field textarea { min-height: 70px; }
.hero-form-card .check span { font-size: .78rem; line-height: 1.35; }
.hero-form-card .form-actions { margin-top: 2px; }
.hero-form-card .form-actions .btn { min-height: 44px; padding: 9px 16px; font-size: .86rem; }

.head-inner {
  height: 104px;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 190px;
  gap: 26px;
}
.brand {
  width: 104px;
  height: 96px;
  overflow: visible;
  flex: 0 0 104px;
  justify-content: flex-start;
}
.brand img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  object-position: center;
}
.head-inner nav { margin-left: 0; justify-content: center; }
.head-call { justify-self: end; width: 190px; }
.head-inner nav a { padding-block: 38px; }
.head-inner nav a::after { bottom: 28px; }
.service-shortcuts .wrap { justify-content: center; }
.footer-logo { width: 138px; height: 138px; object-fit: contain; }

.home-request { background: linear-gradient(135deg, #fff9f8 0%, #faeeed 100%); }
.home-request-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 60px; align-items: start; }
.home-request-copy { position: sticky; top: 150px; }
.home-form-card { border-top: 5px solid var(--gold); }
.home-form-card > h2 { font-size: clamp(2rem, 3vw, 3rem); }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.form-actions .btn { cursor: pointer; font: 800 1rem/1.2 inherit; }
.btn-whatsapp { gap: 9px; color: #fff; background: #168c47; border-color: #168c47; }
.btn-whatsapp img { width: 25px; height: 25px; }
.home-social,
.social-links { display: flex; flex-wrap: wrap; gap: 12px; }
.home-social { margin-top: 28px; }
.home-social a,
.footer-grid .social-links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  margin: 0;
}
.footer-grid .social-links a { color: #fff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); }
.home-social img,
.social-links img { width: 25px; height: 25px; }
.social-links { margin-top: 24px; }

.floating-social {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 190;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.floating-social a {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 28px rgba(77, 9, 8, .24);
  transition: transform .2s ease;
}
.floating-social a:hover { transform: translateY(-3px) scale(1.03); }
.floating-social img { width: 48px; height: 48px; }

@media (max-width: 1020px) {
  .head-inner { display: flex; }
  .head-inner nav {
    position: absolute;
    top: 100%;
    right: 0;
    bottom: auto;
    justify-content: flex-start;
    max-height: calc(100vh - 146px);
    overflow-y: auto;
    background: var(--pine);
    box-shadow: 0 18px 38px rgba(77, 9, 8, .28);
  }
  .service-shortcuts .wrap { justify-content: flex-start; }
  .home-request-grid { grid-template-columns: 1fr; }
  .home-request-copy { position: static; }
  .hero.hero-with-form { min-height: auto; background-position: 46% center; }
  .hero-grid { grid-template-columns: 1fr; gap: 10px; }
  .hero.hero-with-form .content { max-width: 650px; padding: 45px 0 20px; }
  .hero-form-card { max-width: 720px; margin: 0 auto; }
}

@media (max-width: 760px) {
  body { overflow-x: hidden; }
  .head-inner { height: 84px; }
  .brand { width: 76px; height: 76px; flex-basis: 76px; }
  .brand img { width: 72px; height: 72px; }
  .head-inner nav { top: 100%; }
  .floating-social { right: 14px; bottom: calc(82px + env(safe-area-inset-bottom)); }
  .floating-social a { width: 50px; height: 50px; }
  .floating-social img { width: 42px; height: 42px; }
  .form-actions { display: grid; }
  .hero.hero-with-form { padding: 24px 0 72px; background-position: 40% center; }
  .hero.hero-with-form .content { padding: 28px 0 12px; }
  .hero.hero-with-form h1 { font-size: 2.7rem; }
  .hero-form-card { padding: 22px 18px; }
  .cookie-banner:not([hidden]) { display: block; }
  .cookie-banner div:last-child { margin-top: 12px; }
}
