:root {
  --ink: #101418;
  --ink-soft: #1a2025;
  --paper: #f4f6f6;
  --white: #ffffff;
  --muted: #687078;
  --line: rgba(16, 20, 24, .15);
  --amber: #f2a900;
  --amber-bright: #ffc340;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: fixed; top: 0; left: 1rem; z-index: 1000; padding: .7rem 1rem; background: var(--amber); color: var(--ink); transform: translateY(-120%); }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  padding: 0 clamp(1.25rem, 4vw, 4.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.brand { display: inline-flex; align-items: center; gap: .75rem; font-family: "Space Grotesk", sans-serif; font-size: 1.05rem; letter-spacing: .055em; white-space: nowrap; }
.brand strong { font-weight: 700; }
.brand-mark { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2.1rem); font-size: .86rem; font-weight: 600; }
.site-nav > a:not(.nav-login) { position: relative; }
.site-nav > a:not(.nav-login)::after { content: ""; position: absolute; left: 0; bottom: -.35rem; width: 100%; height: 1px; background: var(--amber); transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
.site-nav > a:hover::after, .site-nav > a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav-separator { width: 1px; height: 22px; background: rgba(255,255,255,.35); }
.nav-link-secondary { color: rgba(255,255,255,.75); }
.nav-login { padding: .72rem 1rem; border: 1px solid rgba(255,255,255,.55); transition: .25s ease; }
.nav-login:hover, .nav-login:focus-visible { background: var(--white); color: var(--ink); }
.menu-toggle { display: none; width: 46px; height: 42px; padding: 10px; color: inherit; background: transparent; border: 0; cursor: pointer; }
.menu-toggle span { display: block; width: 100%; height: 2px; margin: 5px 0; background: currentColor; transition: .25s ease; }

.hero { position: relative; min-height: 780px; height: 100svh; max-height: 980px; color: var(--white); isolation: isolate; overflow: hidden; }
.hero-image { position: absolute; z-index: -4; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.hero-overlay { position: absolute; z-index: -3; inset: 0; background: linear-gradient(90deg, rgba(7,10,12,.96) 0%, rgba(7,10,12,.85) 35%, rgba(7,10,12,.3) 70%, rgba(7,10,12,.2) 100%), linear-gradient(0deg, rgba(7,10,12,.5), transparent 45%); }
.hero-grid { position: absolute; z-index: -2; inset: 0; opacity: .17; background-image: linear-gradient(rgba(255,255,255,.3) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.3) 1px, transparent 1px); background-size: 90px 90px; mask-image: linear-gradient(90deg, black, transparent 68%); }
.hero-content { width: min(var(--max), calc(100% - 2.5rem)); margin: 0 auto; padding-top: clamp(11rem, 24vh, 15rem); }
.eyebrow { margin: 0 0 1.25rem; color: var(--amber-bright); font-family: "Space Grotesk", sans-serif; font-size: .75rem; font-weight: 700; letter-spacing: .24em; }
.eyebrow.dark { color: #9a6900; }
h1, h2, h3 { margin: 0; font-family: "Space Grotesk", sans-serif; line-height: 1.05; }
h1 { max-width: 780px; font-size: clamp(3.6rem, 8vw, 7.4rem); font-weight: 600; letter-spacing: -.06em; }
h1 span { color: transparent; -webkit-text-stroke: 1.4px rgba(255,255,255,.85); }
.hero-copy { max-width: 640px; margin: 2rem 0 0; color: rgba(255,255,255,.8); font-size: clamp(1rem, 1.5vw, 1.2rem); }
.hero-actions { display: flex; align-items: center; gap: 1rem; margin-top: 2.2rem; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: .8rem; padding: .8rem 1.25rem; border: 1px solid transparent; font-size: .9rem; font-weight: 700; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.button-primary { color: var(--ink); background: var(--amber); }
.button-primary:hover { background: var(--amber-bright); }
.button-ghost { border-color: rgba(255,255,255,.4); color: var(--white); }
.button-ghost:hover { background: rgba(255,255,255,.1); }
.hero-detail { position: absolute; right: clamp(1.5rem, 5vw, 5rem); bottom: 3.2rem; display: flex; align-items: flex-start; gap: 1rem; text-transform: uppercase; font-size: .72rem; letter-spacing: .13em; }
.hero-detail p { margin: 0; color: rgba(255,255,255,.65); line-height: 1.5; }
.hero-detail strong { color: var(--white); }
.detail-line { width: 55px; height: 1px; margin-top: .5rem; background: var(--amber); }

.section-shell { width: min(var(--max), calc(100% - 2.5rem)); margin: 0 auto; }
.intro { padding: clamp(5.5rem, 10vw, 9rem) 0; }
.section-heading { display: grid; grid-template-columns: 1fr 1.4fr; gap: 1rem 4rem; align-items: end; }
.section-heading .eyebrow { grid-column: 1 / -1; margin-bottom: .3rem; }
.section-heading h2, .installation h2 { font-size: clamp(2.7rem, 5.2vw, 5.1rem); letter-spacing: -.055em; }
.section-heading > p:last-child { max-width: 500px; margin: 0 0 .35rem; color: var(--muted); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 5rem; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { position: relative; min-height: 380px; padding: 2rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .3s ease, color .3s ease; }
.service-card:hover { color: var(--white); background: var(--ink); }
.service-number { position: absolute; top: 1.4rem; right: 1.5rem; color: var(--muted); font-family: "Space Grotesk", sans-serif; font-size: .75rem; }
.service-icon { width: 74px; margin-top: 2.4rem; }
.service-icon svg { fill: none; stroke: var(--amber); stroke-width: 1.2; }
.service-card h3 { margin-top: 4.4rem; font-size: 1.55rem; letter-spacing: -.03em; }
.service-card p { max-width: 330px; margin: 1rem 0 0; color: var(--muted); font-size: .93rem; }
.service-card:hover p, .service-card:hover .service-number { color: rgba(255,255,255,.62); }

.work-section { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(380px, .85fr); min-height: 750px; color: var(--white); background: var(--ink); }
.work-image-wrap { position: relative; min-height: 620px; overflow: hidden; }
.work-image-wrap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, rgba(16,20,24,.3)); }
.work-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.image-label { position: absolute; z-index: 2; left: 2rem; bottom: 2rem; padding: .85rem 1.1rem; color: rgba(255,255,255,.75); background: rgba(16,20,24,.9); backdrop-filter: blur(8px); font-size: .78rem; letter-spacing: .07em; text-transform: uppercase; }
.image-label span { color: var(--amber-bright); }
.work-content { display: flex; flex-direction: column; justify-content: center; padding: clamp(3.5rem, 7vw, 7rem); }
.work-content h2 { font-size: clamp(3rem, 5.2vw, 5.4rem); letter-spacing: -.06em; }
.work-content > p:not(.eyebrow) { max-width: 540px; margin: 1.7rem 0 0; color: rgba(255,255,255,.62); }
.process-list { margin: 3rem 0 0; padding: 0; list-style: none; }
.process-list li { display: grid; grid-template-columns: 50px 1fr; gap: 1rem; padding: 1.15rem 0; border-top: 1px solid rgba(255,255,255,.15); }
.process-list li:last-child { border-bottom: 1px solid rgba(255,255,255,.15); }
.process-list li > span { color: var(--amber-bright); font-family: "Space Grotesk", sans-serif; font-size: .72rem; }
.process-list strong, .process-list small { display: block; }
.process-list strong { font-size: .95rem; }
.process-list small { margin-top: .25rem; color: rgba(255,255,255,.48); font-size: .78rem; line-height: 1.55; }

.installation { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 7vw, 7rem); align-items: center; padding-top: clamp(5.5rem, 10vw, 9rem); padding-bottom: clamp(5.5rem, 10vw, 9rem); }
.installation-copy > p:not(.eyebrow) { max-width: 480px; margin: 1.7rem 0; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: .7rem; padding-bottom: .25rem; border-bottom: 1px solid var(--ink); font-weight: 700; }
.text-link span { color: #9a6900; }
.installation-image { position: relative; }
.installation-image::before { content: ""; position: absolute; z-index: -1; top: -24px; right: -24px; width: 52%; height: 52%; border: 1px solid var(--amber); }
.installation-image img { width: 100%; aspect-ratio: 1.35 / 1; object-fit: cover; }

.contact { display: grid; grid-template-columns: 1.2fr .8fr; color: var(--white); background: var(--ink-soft); }
.contact-main { padding: clamp(4rem, 8vw, 8rem) max(1.25rem, calc((100vw - var(--max)) / 2)); padding-right: clamp(2rem, 8vw, 8rem); background: radial-gradient(circle at 85% 15%, rgba(242,169,0,.14), transparent 30%); }
.contact-main h2 { font-size: clamp(3rem, 6vw, 6.2rem); letter-spacing: -.06em; }
.contact-main > p:not(.eyebrow) { margin: 1.4rem 0 2rem; color: rgba(255,255,255,.58); }
.button-light { color: var(--ink); background: var(--white); }
.contact-details { display: grid; background: var(--amber); color: var(--ink); }
.contact-details a { display: flex; flex-direction: column; justify-content: center; padding: clamp(2.2rem, 5vw, 4.5rem); border-bottom: 1px solid rgba(16,20,24,.24); transition: background .2s ease; }
.contact-details a:hover { background: var(--amber-bright); }
.contact-label { margin-bottom: 1rem; font-size: .7rem; font-weight: 800; letter-spacing: .18em; }
.contact-details strong { font-family: "Space Grotesk", sans-serif; font-size: clamp(1.25rem, 2vw, 1.8rem); line-height: 1.35; }
.contact-details small { margin-top: 1rem; font-size: .74rem; font-weight: 700; }

.site-footer { min-height: 130px; padding: 2.5rem max(1.25rem, calc((100vw - var(--max)) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 2rem; color: rgba(255,255,255,.58); background: #090c0e; font-size: .72rem; }
.footer-brand { color: var(--white); }
.site-footer p { margin: 0; text-align: center; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a:hover { color: var(--white); }

.whatsapp-float { position: fixed; z-index: 50; right: 1.35rem; bottom: 1.35rem; min-height: 54px; padding: .65rem 1rem .65rem .7rem; display: flex; align-items: center; gap: .6rem; color: var(--white); background: #20a95a; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; box-shadow: 0 12px 35px rgba(0,0,0,.28); font-size: .78rem; font-weight: 800; transition: transform .2s ease, background .2s ease; }
.whatsapp-float:hover, .whatsapp-float:focus-visible { transform: translateY(-3px); background: #168d49; }
.whatsapp-float svg { width: 32px; height: 32px; fill: currentColor; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
:focus-visible { outline: 3px solid var(--amber-bright); outline-offset: 4px; }

@media (max-width: 980px) {
  .site-header { height: 76px; }
  .menu-toggle { display: block; z-index: 2; }
  .site-nav { position: fixed; inset: 0 0 auto auto; width: min(360px, 88vw); min-height: 100vh; padding: 7rem 2rem 2rem; flex-direction: column; align-items: stretch; gap: 0; color: var(--white); background: rgba(10,13,15,.98); transform: translateX(105%); transition: transform .3s ease; }
  .site-nav.open { transform: translateX(0); }
  .site-nav a { padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .site-nav a::after, .nav-separator { display: none; }
  .nav-login { margin-top: 1rem; padding: .85rem 1rem !important; text-align: center; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .section-heading { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .service-card h3 { margin-top: 3rem; }
  .work-section { grid-template-columns: 1fr; }
  .work-image-wrap { min-height: 65vw; max-height: 680px; }
  .installation { grid-template-columns: 1fr; }
  .installation-copy { max-width: 720px; }
  .contact { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero { min-height: 720px; }
  .hero-image { object-position: 68% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(7,10,12,.94), rgba(7,10,12,.62)), linear-gradient(0deg, rgba(7,10,12,.7), transparent); }
  .hero-content { padding-top: 10rem; }
  h1 { font-size: clamp(3.25rem, 17vw, 5rem); }
  .hero-actions { align-items: stretch; flex-direction: column; width: min(100%, 330px); }
  .hero-detail { display: none; }
  .services-grid { margin-top: 3rem; }
  .work-image-wrap { min-height: 72vw; }
  .work-content { padding: 4.5rem 1.25rem; }
  .installation-image::before { top: -12px; right: -12px; }
  .contact-main { padding: 4.5rem 1.25rem; }
  .site-footer { align-items: flex-start; flex-direction: column; }
  .site-footer p { text-align: left; }
  .whatsapp-float span { display: none; }
  .whatsapp-float { width: 58px; height: 58px; padding: 12px; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
