:root {
  --orange: #ff7a00;
  --orange-dark: #d95d00;
  --ink: #101214;
  --muted: #667085;
  --cream: #fff8ef;
  --line: #e8e1d9;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font: 17px/1.6 "Karla", sans-serif; }
a { color: inherit; }
img { max-width: 100%; height: auto; }

.site-header {
  height: 82px;
  padding: 0 clamp(22px, 5vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-bottom: 1px solid rgba(16, 18, 20, .08);
}
.brand { display: inline-flex; align-items: center; }
.brand img { width: 190px; }
.header-contact { font-weight: 700; text-decoration: none; }

.hero { position: relative; min-height: 670px; display: grid; align-items: center; overflow: hidden; background: #111; }
.hero__media { position: absolute; inset: 0; background: url("../assets/img/familia-urbifrax.webp") center 42% / cover no-repeat; transform: scale(1.02); }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 9, 10, .92) 0%, rgba(7, 9, 10, .74) 44%, rgba(7, 9, 10, .18) 78%); }
.hero__content { position: relative; width: min(1200px, calc(100% - 44px)); margin: 0 auto; color: #fff; }
.eyebrow { margin: 0 0 18px; color: #ffae52; font-size: .78rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.hero h1 { max-width: 760px; margin: 0; font: 800 clamp(3rem, 6vw, 6.4rem)/.96 "Rubik", sans-serif; letter-spacing: -.055em; }
.hero h1 span { color: var(--orange); }
.hero__motto { margin: 22px 0 0; font: 600 clamp(1.35rem, 2.2vw, 2rem)/1.2 "Rubik", sans-serif; }
.hero__copy { max-width: 590px; margin: 18px 0 0; color: rgba(255,255,255,.78); font-size: 1.12rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { min-height: 52px; padding: 0 25px; border: 0; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; text-decoration: none; text-transform: uppercase; letter-spacing: .045em; cursor: pointer; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-2px); }
.button--primary { background: var(--orange); color: #111; }
.button--primary:hover { background: #ff9638; }
.button--ghost { border: 1px solid rgba(255,255,255,.45); color: #fff; }
.button--ghost:hover { background: #fff; color: #111; }

.assurance { width: min(1200px, calc(100% - 44px)); margin: -44px auto 0; position: relative; display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; box-shadow: 0 22px 55px rgba(20, 20, 20, .13); }
.assurance div { padding: 27px 30px; border-right: 1px solid var(--line); }
.assurance div:last-child { border: 0; }
.assurance strong, .assurance span { display: block; }
.assurance strong { font: 700 1rem "Rubik", sans-serif; }
.assurance span { margin-top: 5px; color: var(--muted); font-size: .9rem; }

.contact { width: min(1200px, calc(100% - 44px)); margin: 110px auto; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr); gap: clamp(50px, 7vw, 100px); align-items: start; }
.eyebrow--dark { color: var(--orange-dark); }
.contact h2 { margin: 0; font: 700 clamp(2rem, 3.5vw, 3.6rem)/1.08 "Rubik", sans-serif; letter-spacing: -.04em; }
.contact__intro > p:not(.eyebrow) { max-width: 610px; color: var(--muted); font-size: 1.05rem; }
.contact-list { margin-top: 38px; display: grid; gap: 0; font-style: normal; border-top: 1px solid var(--line); }
.contact-list a { padding: 20px 0; display: grid; grid-template-columns: 42px 1fr; gap: 10px; text-decoration: none; border-bottom: 1px solid var(--line); }
.contact-list > a > span { color: var(--orange-dark); font-size: .82rem; font-weight: 800; }
.contact-list strong, .contact-list small { display: block; }
.contact-list strong { font: 700 1rem "Rubik", sans-serif; }
.contact-list small { margin-top: 3px; color: var(--muted); font-size: .92rem; }

.contact__panel { padding: clamp(28px, 4vw, 46px); background: var(--cream); border-top: 5px solid var(--orange); box-shadow: 0 22px 55px rgba(20, 20, 20, .09); }
.form-kicker { margin: 0 0 5px; color: var(--orange-dark); font-weight: 800; letter-spacing: .11em; text-transform: uppercase; font-size: .75rem; }
.contact__panel h2 { margin-bottom: 25px; font-size: 1.8rem; letter-spacing: -.025em; }
form { display: grid; gap: 18px; }
form label:not(.consent):not(.honeypot) { display: grid; gap: 6px; color: #5b5148; font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
input:not([type="checkbox"]) { width: 100%; height: 47px; padding: 0 4px; border: 0; border-bottom: 1px solid #bcb1a4; outline: none; background: transparent; color: #111; font: 500 1rem "Karla", sans-serif; }
input:not([type="checkbox"]):focus { border-color: var(--orange); box-shadow: 0 1px var(--orange); }
.consent { display: flex; align-items: flex-start; gap: 9px; color: #6c625a; font-size: .78rem; line-height: 1.35; }
.consent input { margin-top: 2px; accent-color: var(--orange); }
.consent a { font-weight: 700; }
.honeypot { position: absolute; left: -9999px; }
.button--submit { width: 100%; color: #fff; background: #111; font-family: inherit; }
.button--submit:hover { background: var(--orange-dark); }
.button--submit:disabled { opacity: .65; cursor: wait; transform: none; }
.form-status { min-height: 1.4em; margin: 0; color: #ad2e24; font-size: .85rem; text-align: center; }
.form-success { min-height: 380px; place-content: center; text-align: center; }
.form-success:not([hidden]) { display: grid; }
.form-success span { margin: auto; width: 62px; height: 62px; display: grid; place-content: center; border-radius: 50%; color: #fff; background: var(--orange); font-size: 1.8rem; }
.form-success h2 { margin: 18px 0 7px; }
.form-success p { margin: 0; color: var(--muted); }

footer { padding: 40px max(22px, 5vw); display: flex; align-items: center; justify-content: space-between; gap: 25px; color: rgba(255,255,255,.72); background: #0d0f10; font-size: .82rem; }
footer img { width: 180px; }
footer p { margin: 0; }
footer div { display: flex; gap: 18px; }
footer a { color: #fff; text-decoration: none; }
.whatsapp { position: fixed; right: 22px; bottom: 22px; z-index: 5; padding: 12px 18px; border-radius: 99px; color: #fff; background: #16a766; box-shadow: 0 10px 30px rgba(0,0,0,.25); font-weight: 800; text-decoration: none; }

@media (max-width: 800px) {
  .header-contact { display: none; }
  .hero { min-height: 640px; }
  .hero__shade { background: linear-gradient(90deg, rgba(7,9,10,.9), rgba(7,9,10,.45)); }
  .assurance { grid-template-columns: 1fr; margin-top: -24px; }
  .assurance div { border-right: 0; border-bottom: 1px solid var(--line); }
  .contact { margin: 78px auto; grid-template-columns: 1fr; }
  footer { flex-direction: column; text-align: center; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .site-header { height: 72px; }
  .brand img { width: 158px; }
  .hero__content, .assurance, .contact { width: min(100% - 30px, 1200px); }
  .hero h1 { font-size: clamp(2.8rem, 15vw, 4.1rem); }
  .hero__actions { display: grid; }
  .button { width: 100%; }
  .assurance div { padding: 22px; }
  .contact__panel { margin-inline: -4px; }
  .whatsapp { right: 15px; bottom: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
