:root {
  --ink: #19382f;
  --green: #356b52;
  --green-dark: #173f35;
  --leaf: #86a865;
  --mint: #e4ecdc;
  --cream: #f7f4eb;
  --muted: #596c61;
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid #b18e42; outline-offset: 3px; }
.container { width: min(1160px, calc(100% - 44px)); margin: auto; }
.skip-link { position: absolute; left: 12px; top: -100px; z-index: 20; background: #fff; color: var(--ink); padding: 9px 12px; border-radius: 7px; font-weight: 700; }
.skip-link:focus { top: 12px; }

.site-header { background: #fffdf7; position: sticky; top: 0; z-index: 10; border-bottom: 1px solid #d8e3d4; box-shadow: 0 5px 24px #173f350c; }
.nav { min-height: 84px; display: flex; align-items: center; gap: 30px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 26px; font-weight: 850; line-height: 1; white-space: nowrap; letter-spacing: -1.2px; }
.brand em { font-style: normal; color: var(--green-dark); }
.brand small { font-size: 9px; letter-spacing: 1.35px; display: block; font-weight: 700; margin-top: 7px; color: #617364; }
.brand-symbol { display: block; width: 54px; height: 54px; flex: 0 0 54px; border-radius: 17px; color: transparent; background: #e2ebda url("assets/brillo-torres-logo.svg") center / 49px 49px no-repeat; box-shadow: inset 0 0 0 1px #cdddc8, 0 5px 16px #173f3521; font-size: 0; }
.nav-links { margin-left: auto; display: flex; gap: 22px; align-items: center; font-size: 14px; font-weight: 700; color: #36513a; }
.nav-links a { position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 2px; background: var(--leaf); transform: scaleX(0); transform-origin: left; transition: transform .18s ease; }
.nav-links a:hover { color: var(--green-dark); }
.nav-links a:hover::after { transform: scaleX(1); }
.top-phone, .btn { border-radius: 100px; padding: 13px 22px; font-weight: 800; }
.top-phone { background: var(--green-dark); color: #fff; white-space: nowrap; font-size: 13px; box-shadow: 0 6px 15px #173f3540; }
.top-phone:hover { background: var(--green-dark); transform: translateY(-1px); }
.menu-btn { display: none; background: none; border: 0; font-size: 28px; color: var(--green-dark); }

.hero { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(90deg, rgba(18, 55, 46, .97) 0%, rgba(29, 77, 58, .88) 48%, rgba(39, 77, 57, .25) 100%), url("assets/hero-brillo-total.webp") center/cover; min-height: 500px; display: flex; align-items: center; color: #fff; }
.hero::after { content: ""; position: absolute; z-index: -1; width: 460px; height: 460px; right: -180px; top: -250px; border: 55px solid #b6c99136; border-radius: 46% 54% 50% 50%; transform: rotate(20deg); }
.hero-inner { padding: 86px 0; }
.hero-content { max-width: 620px; }
.eyebrow { color: var(--green); font-size: 12px; letter-spacing: 2.5px; font-weight: 850; }
.eyebrow.light { color: #d8efb5; }
h1 { font-size: clamp(43px, 5vw, 66px); line-height: 1.09; letter-spacing: -2.5px; margin: 12px 0 18px; }
h2 { font-size: clamp(28px, 3.5vw, 40px); line-height: 1.18; letter-spacing: -1.2px; margin: 11px 0 14px; }
h3 { font-size: 18px; line-height: 1.3; }
.hero p { font-size: 18px; max-width: 535px; color: #f1f6e9; }
.hero-actions, .contact-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 29px; }
.btn { display: inline-flex; align-items: center; justify-content: center; border: 2px solid transparent; cursor: pointer; font-size: 15px; transition: transform .18s ease, background .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: #e5d5a5; color: #173f35; box-shadow: 0 7px 20px #173f353d; }
.btn-primary:hover { background: #efe2ba; }
.btn-outline { border-color: #e1f0ca; color: #fff; }
.btn-outline:hover { background: #ffffff19; }

.section { padding: 84px 0; }
.section-heading { text-align: center; margin: 0 auto 39px; max-width: 650px; }
.section-heading p { color: var(--muted); margin: 0; }
.service-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 15px; }
.service { text-align: center; padding: 21px 9px; border-radius: 18px; transition: background .18s ease, transform .18s ease; }
.service:hover { background: #f1f6e9; transform: translateY(-3px); }
.service-icon { display: grid; place-items: center; width: 73px; height: 73px; border-radius: 50% 50% 46% 54%; margin: auto; background: linear-gradient(145deg, #dceccc, #f6f9f0); box-shadow: inset 0 0 0 1px #c9dfb9; font-size: 37px; color: var(--green-dark); }
.service h3 { margin: 18px 0 9px; }
.service p { margin: 0; color: var(--muted); font-size: 14px; }

.section-tint { background: linear-gradient(135deg, #e7eee1, #f8f7ee); border-block: 1px solid #dce6d7; }
.comparison-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }
.comparison { background: #fffefa; border: 1px solid #dce7d2; border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 30px #31542a12; padding: 18px; }
.comparison h3 { text-align: center; margin: 3px 0 16px; }
.photos { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.photos figure { margin: 0; position: relative; }
.photos img { display: block; width: 100%; height: 175px; object-fit: cover; border-radius: 10px; }
.photos figcaption { position: absolute; top: 7px; left: 7px; background: #2f4538de; border-radius: 6px; color: #fff; font-size: 11px; padding: 3px 7px; font-weight: 750; }
.photos figure + figure figcaption { background: #648f43e8; }
.comparison p { color: var(--muted); font-size: 14px; }
.image-disclaimer { text-align: center; font-size: 12px; color: #5d705c; margin-top: 23px; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 85px; }
.about-grid p { color: var(--muted); }
.benefits { display: grid; gap: 17px; }
.benefits > div { display: flex; gap: 22px; padding: 21px; border: 1px solid #d7e6cb; background: #fffffc; border-radius: 16px; align-items: center; }
.benefits strong { font-size: 27px; color: var(--green); }
.benefits b, .benefits small { display: block; }
.benefits small { color: var(--muted); font-size: 13px; margin-top: 3px; }

.contact-section { background: radial-gradient(circle at 90% 0, #91af70 0, transparent 27%), linear-gradient(135deg, #173f35, #285d49); color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 85px; align-items: start; }
.contact-grid > div > p { color: #e6f0da; }
.contact-details { font-size: 17px; line-height: 1.8; }
.contact-small { font-size: 13px; }
.contact-links { margin-top: 22px; }
.contact-form { background: #fffffc; border-radius: var(--radius); padding: 29px; color: var(--ink); display: grid; gap: 8px; box-shadow: 0 15px 35px #0f32182b; }
.contact-form label { font-size: 13px; font-weight: 800; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 12px 13px; border: 1px solid #cbdcc2; border-radius: 10px; outline-color: var(--green); margin-bottom: 7px; background: #fff; color: var(--ink); }
.feedback { font-size: 13px; color: var(--green-dark); margin: 2px 0; min-height: 20px; }
.feedback.error { color: #a72626; }
footer { background: #123a31; color: #e0ead9; }
.footer-content { padding: 25px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 13px; }
.footer-content a:hover { color: #e5d5a5; }
.footer-brand { color: #fff; font-size: 20px; }
.footer-brand .brand-symbol { width: 38px; height: 38px; flex-basis: 38px; background-size: 34px 34px; font-size: 0; }
.footer-brand small { font-size: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }

@media (max-width: 1050px) {
  .nav { gap: 16px; }
  .nav-links { gap: 12px; }
  .top-phone { display: none; }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 750px) {
  .menu-btn { display: block; margin-left: auto; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fffffb; padding: 15px 22px 22px; box-shadow: 0 15px 16px #23412820; flex-direction: column; align-items: stretch; }
  .nav-links.open { display: flex; }
  .nav-links a::after { display: none; }
  .nav { min-height: 76px; }
  .hero { min-height: 475px; background-position: 58% center; }
  .section { padding: 59px 0; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .comparison-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-content { flex-wrap: wrap; }
  .photos img { height: 210px; }
}
@media (max-width: 440px) {
  .container { width: calc(100% - 30px); }
  .brand { font-size: 20px; }
  .brand-symbol { width: 39px; height: 39px; font-size: 22px; }
  .hero-inner { padding: 68px 0; }
  .hero p { font-size: 16px; }
  .service-grid { grid-template-columns: 1fr 1fr; gap: 2px; }
  .service { padding: 13px 5px; }
  .service-icon { width: 57px; height: 57px; font-size: 29px; }
  .service h3 { font-size: 15px; }
  .service p { font-size: 12px; }
  .photos img { height: 140px; }
  .photos figcaption { font-size: 9px; padding: 2px 4px; }
}
