/* Seven Homes Technical Services — handcrafted static site */
:root {
  --ink: #080808;
  --charcoal: #141414;
  --charcoal-2: #1d1d1d;
  --orange: #ff4a00;
  --orange-2: #ff6a00;
  --paper: #ffffff;
  --soft: #f4f5f6;
  --silver: #b9bec5;
  --muted: #66707c;
  --line: #e5e7eb;
  --shadow: 0 24px 70px rgba(9, 12, 16, .12);
  --radius: 24px;
  --container: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: #1d2228;
  background: var(--paper);
  font-family: Inter, Manrope, Aptos, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
::selection { background: var(--orange); color: #fff; }

.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.section { padding: 104px 0; position: relative; }
.section-soft { background: var(--soft); }
.section-dark { color: #fff; background: var(--ink); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .18em;
  line-height: 1;
  text-transform: uppercase;
}
.eyebrow::before { width: 32px; height: 2px; content: ""; background: currentColor; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head.center .eyebrow::after { width: 28px; height: 2px; content: ""; background: currentColor; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.1; letter-spacing: -.035em; }
h1 { font-size: clamp(3.25rem, 6.5vw, 6.25rem); }
h2 { margin-bottom: 20px; font-size: clamp(2.2rem, 4vw, 4rem); }
h3 { margin-bottom: 12px; font-size: 1.35rem; }
p { color: var(--muted); }
.section-dark h2, .section-dark h3, .dark-panel h2, .dark-panel h3 { color: #fff; }
.section-dark p, .dark-panel p { color: #adb4bc; }

.btn {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 25px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: transform .25s ease, box-shadow .25s ease, color .25s ease, background .25s ease;
}
.btn:hover { transform: translateY(-3px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--orange), var(--orange-2)); box-shadow: 0 12px 30px rgba(255,74,0,.3); }
.btn-primary:hover { box-shadow: 0 18px 40px rgba(255,74,0,.4); }
.btn-outline { color: #fff; border-color: rgba(255,255,255,.5); background: rgba(8,8,8,.18); backdrop-filter: blur(8px); }
.btn-outline:hover { color: var(--ink); background: #fff; }
.btn-dark { color: #fff; background: var(--ink); }
.btn-dark:hover { background: var(--orange); }

/* Preloader */
.preloader {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: grid;
  place-items: center;
  background: #050505;
  transition: opacity .55s ease, visibility .55s ease;
}
.preloader.is-hidden { opacity: 0; visibility: hidden; }
.preloader-inner { width: min(390px, 76vw); text-align: center; }
.preloader img { width: 100%; margin-bottom: 20px; }
.load-line { height: 2px; overflow: hidden; background: #242424; }
.load-line::after { display: block; width: 40%; height: 100%; content: ""; background: var(--orange); animation: load 1s ease-in-out infinite; }
@keyframes load { from { transform: translateX(-120%); } to { transform: translateX(340%); } }

/* Premium custom cursor — desktop only */
.custom-cursor-ring,
.custom-cursor-dot {
  position: fixed;
  z-index: 10000;
  top: 0;
  left: 0;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  will-change: transform, width, height, opacity;
}
.custom-cursor-ring {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 74, 0, .85);
  color: #fff;
  background: rgba(8, 8, 8, .08);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 8px 30px rgba(255,74,0,.15);
  backdrop-filter: blur(2px);
  transition: width .22s ease, height .22s ease, border-color .22s ease, background .22s ease, opacity .2s ease;
}
.custom-cursor-ring::after { content: attr(data-label); font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.custom-cursor-dot { width: 6px; height: 6px; background: var(--orange); box-shadow: 0 0 12px rgba(255,74,0,.85); }
.custom-cursor-ring.visible, .custom-cursor-dot.visible { opacity: 1; }
.custom-cursor-ring.active { width: 58px; height: 58px; border-color: #fff; background: rgba(255,74,0,.2); }
.custom-cursor-ring.on-image { width: 76px; height: 76px; border-color: var(--orange); background: rgba(8,8,8,.58); }
.custom-cursor-enabled,
.custom-cursor-enabled a,
.custom-cursor-enabled button,
.custom-cursor-enabled input,
.custom-cursor-enabled select,
.custom-cursor-enabled textarea { cursor: none !important; }
.image-interactive { transition: transform .65s cubic-bezier(.2,.7,.2,1), filter .45s ease; }
.media-frame:hover > .image-interactive { transform: scale(1.025); filter: saturate(1.08) contrast(1.03); }

/* Header */
.site-header { position: fixed; z-index: 1000; top: 0; left: 0; width: 100%; transition: background .3s ease, box-shadow .3s ease, transform .3s ease; }
.site-header.scrolled { background: rgba(7,7,7,.96); box-shadow: 0 10px 35px rgba(0,0,0,.2); backdrop-filter: blur(14px); }
.topbar { border-bottom: 1px solid rgba(255,255,255,.12); color: #d9dde2; background: rgba(0,0,0,.28); font-size: 12px; }
.topbar-inner { display: flex; min-height: 38px; align-items: center; justify-content: space-between; gap: 20px; }
.topbar-list { display: flex; align-items: center; gap: 24px; }
.topbar a { transition: color .2s ease; }
.topbar a:hover { color: var(--orange); }
.topbar-mark { color: var(--orange); font-weight: 900; }
.nav-wrap { display: flex; min-height: 112px; align-items: center; justify-content: space-between; gap: 26px; }
.nav-wrap.container { width: min(1380px, calc(100% - 48px)); }
.brand { display: flex; width: 410px; max-width: 40vw; align-items: center; flex: 0 0 auto; }
.brand img { width: 100%; height: 112px; object-fit: cover; object-position: left center; }
.main-nav { display: flex; align-items: center; gap: 31px; }
.main-nav a:not(.btn) { position: relative; color: #fff; font-size: 13px; font-weight: 750; letter-spacing: .04em; }
.main-nav a:not(.btn)::after { position: absolute; bottom: -10px; left: 0; width: 0; height: 2px; content: ""; background: var(--orange); transition: width .25s ease; }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.menu-toggle { display: none; width: 48px; height: 48px; place-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 5px; color: #fff; background: transparent; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 22px; height: 2px; background: currentColor; transition: .25s ease; }
.menu-toggle span { position: relative; }
.menu-toggle span::before, .menu-toggle span::after { position: absolute; left: 0; content: ""; }
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }
.menu-toggle.is-open span { background: transparent; }
.menu-toggle.is-open span::before { top: 0; transform: rotate(45deg); }
.menu-toggle.is-open span::after { top: 0; transform: rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  display: flex;
  min-height: 900px;
  align-items: center;
  padding: 205px 0 170px;
  color: #fff;
  background: #090909 url("assets/images/hero.webp") center / cover no-repeat;
  isolation: isolate;
}
.hero::before { position: absolute; z-index: -2; inset: 0; content: ""; background: linear-gradient(90deg, rgba(3,3,3,.96) 0%, rgba(3,3,3,.86) 39%, rgba(3,3,3,.34) 68%, rgba(3,3,3,.2) 100%); }
.hero::after { position: absolute; z-index: -1; inset: 0; content: ""; background: linear-gradient(180deg, rgba(0,0,0,.26), transparent 47%, rgba(0,0,0,.72)); }
.hero-content { max-width: 770px; padding-top: 0; }
.hero-kicker { display: flex; align-items: center; gap: 13px; margin-bottom: 22px; color: #fff; font-size: 12px; font-weight: 850; letter-spacing: .22em; text-transform: uppercase; }
.hero-kicker::before { width: 42px; height: 2px; content: ""; background: var(--orange); }
.hero h2 { max-width: 780px; margin-bottom: 24px; color: #fff; text-shadow: 0 10px 35px rgba(0,0,0,.35); }
.hero-title { line-height: 1.04; }
.hero-copy { max-width: 650px; margin-bottom: 35px; color: #cdd2d7; font-size: clamp(1.05rem, 1.6vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Hyperwave-style hero entrance: heading, supporting text, actions, then highlights. */
.hero-intro .hero-kicker,
.hero-intro .hero-title,
.hero-intro .hero-copy,
.hero-intro .hero-actions { opacity: 0; }
.hero-intro .hero-title { transform: translateY(50px); }
.hero-intro .hero-kicker,
.hero-intro .hero-copy,
.hero-intro .hero-actions { transform: translateY(30px); }
.hero .highlight { opacity: 0; transform: translateY(20px); }
body.hero-intro-ready .hero-intro .hero-title {
  animation: hyperwave-rise-50 .8s cubic-bezier(.16,1,.3,1) .3s forwards;
}
body.hero-intro-ready .hero-intro .hero-kicker {
  animation: hyperwave-rise-30 .8s cubic-bezier(.16,1,.3,1) .5s forwards;
}
body.hero-intro-ready .hero-intro .hero-copy {
  animation: hyperwave-rise-30 .8s cubic-bezier(.16,1,.3,1) .7s forwards;
}
body.hero-intro-ready .hero-intro .hero-actions {
  animation: hyperwave-rise-30 .8s cubic-bezier(.16,1,.3,1) .9s forwards;
}
body.hero-intro-ready .hero .highlight { animation: hyperwave-rise-20 .72s cubic-bezier(.16,1,.3,1) forwards; }
body.hero-intro-ready .hero .highlight:nth-child(1) { animation-delay: 1.1s; }
body.hero-intro-ready .hero .highlight:nth-child(2) { animation-delay: 1.2s; }
body.hero-intro-ready .hero .highlight:nth-child(3) { animation-delay: 1.3s; }
body.hero-intro-ready .hero .highlight:nth-child(4) { animation-delay: 1.4s; }
@keyframes hyperwave-rise-50 {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: none; }
}
@keyframes hyperwave-rise-30 {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: none; }
}
@keyframes hyperwave-rise-20 {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}
.hero-highlights { position: absolute; bottom: 0; left: 0; width: 100%; border-top: 1px solid rgba(255,255,255,.17); background: rgba(6,6,6,.72); backdrop-filter: blur(12px); }
.highlight-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.highlight { min-height: 110px; padding: 24px 28px; border-right: 1px solid rgba(255,255,255,.13); }
.highlight:last-child { border: 0; }
.highlight strong { display: block; margin-bottom: 3px; color: #fff; font-size: 18px; }
.highlight span { color: #9da5ad; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.highlight i { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 6px rgba(255,74,0,.13); }

/* Inner page hero */
.page-hero { position: relative; display: flex; min-height: 520px; align-items: flex-end; padding: 210px 0 85px; color: #fff; background: #0b0b0b center / cover no-repeat; isolation: isolate; }
.page-hero::before { position: absolute; z-index: -1; inset: 0; content: ""; background: linear-gradient(90deg, rgba(0,0,0,.93), rgba(0,0,0,.5)), linear-gradient(0deg, rgba(0,0,0,.7), transparent 60%); }
.page-hero h1 { max-width: 880px; margin: 0 0 18px; color: #fff; font-size: clamp(3rem, 6vw, 5.6rem); }
.page-hero p { max-width: 720px; margin: 0; color: #c5cbd1; font-size: 1.1rem; }
.breadcrumb { display: flex; margin-bottom: 20px; align-items: center; gap: 10px; color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.breadcrumb span { color: var(--orange); }
.page-hero.about-hero { background-image: url("assets/images/service-villa.webp"); }
.page-hero.services-hero { background-image: url("assets/images/service-ac.webp"); }
.page-hero.projects-hero { background-image: url("assets/images/service-office.webp"); }
.page-hero.contact-hero { background-image: url("assets/images/service-interior.webp"); }

/* Cards and grids */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { position: relative; min-height: 440px; overflow: hidden; padding: 0 28px 30px; border: 1px solid var(--line); border-radius: 10px; background: #fff; transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.service-card::after { position: absolute; right: -45px; bottom: -45px; width: 130px; height: 130px; border: 22px solid rgba(255,74,0,.06); border-radius: 50%; content: ""; transition: transform .35s ease; }
.service-card:hover { transform: translateY(-9px); border-color: rgba(255,74,0,.36); box-shadow: var(--shadow); }
.service-card:hover::after { transform: scale(1.2); }
.service-thumb { width: calc(100% + 56px); height: 185px; margin: 0 -28px; object-fit: cover; }
.service-card:hover .service-thumb { transform: scale(1.055); filter: saturate(1.12) contrast(1.04); }
.service-icon { display: grid; width: 58px; height: 58px; margin-bottom: 24px; place-items: center; border-radius: 7px; color: #fff; background: var(--orange); box-shadow: 0 10px 24px rgba(255,74,0,.22); font-size: 24px; font-weight: 900; }
.service-card .service-icon { position: relative; z-index: 2; margin-top: -29px; border: 4px solid #fff; }
.service-card p { margin-bottom: 22px; font-size: 14px; }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-size: 12px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.text-link::after { content: "\2192"; color: var(--orange); font-size: 20px; transition: transform .2s ease; }
.text-link:hover::after { transform: translateX(5px); }

.split { display: grid; grid-template-columns: 1.02fr .98fr; gap: 80px; align-items: center; }
.media-frame { position: relative; min-height: 560px; }
.media-frame > img { width: calc(100% - 48px); height: 530px; object-fit: cover; border-radius: 12px; box-shadow: var(--shadow); }
.media-frame::before { position: absolute; z-index: -1; right: 0; bottom: 0; width: 67%; height: 73%; border-radius: 8px; content: ""; background: var(--orange); }
.media-badge { position: absolute; right: 0; bottom: 45px; width: 190px; padding: 23px; border-radius: 8px 0 0 8px; color: #fff; background: var(--ink); box-shadow: var(--shadow); }
.media-badge strong { display: block; font-size: 19px; line-height: 1.25; }
.media-badge span { color: var(--orange); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.tick-list { display: grid; grid-template-columns: 1fr 1fr; gap: 13px 20px; margin: 28px 0 35px; padding: 0; list-style: none; }
.tick-list li { display: flex; align-items: center; gap: 10px; color: #2c333a; font-weight: 700; }
.tick-list li::before { display: grid; width: 23px; height: 23px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: #fff; content: "\2713"; background: var(--orange); font-size: 11px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 34px; border-left: 3px solid var(--orange); background: #fff; box-shadow: 0 12px 45px rgba(10,15,20,.07); }
.feature-number { display: block; margin-bottom: 18px; color: var(--orange); font-size: 12px; font-weight: 900; letter-spacing: .14em; }

.capability { overflow: hidden; }
.capability-grid { display: grid; grid-template-columns: .9fr 1.1fr; min-height: 610px; }
.capability-copy { display: flex; padding: 80px max(40px, calc((100vw - var(--container))/2)); padding-right: 70px; flex-direction: column; justify-content: center; background: #0b0b0b; }
.capability-image { min-height: 540px; background: url("assets/images/service-office.webp") center / cover no-repeat; transition: filter .45s ease, background-size .7s ease; }
.capability-image:hover { filter: saturate(1.1) contrast(1.04); background-size: 106%; }
.cap-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 30px; }
.cap-item { padding: 18px; border: 1px solid #292929; border-radius: 6px; color: #fff; font-weight: 750; background: #141414; }
.cap-item span { color: var(--orange); }

.project-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.project-card { position: relative; grid-column: span 4; min-height: 390px; overflow: hidden; border: 0; border-radius: 10px; background: #161616; text-align: left; }
.project-card.wide { grid-column: span 8; }
.project-card img { width: 100%; height: 100%; min-height: inherit; object-fit: cover; transition: transform .65s ease; }
.project-card::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.92)); }
.project-card:hover img { transform: scale(1.07) rotate(.35deg); filter: saturate(1.08) contrast(1.03); }
.project-copy { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; padding: 30px; color: #fff; }
.project-copy small { color: var(--orange); font-size: 11px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.project-copy h3 { margin: 7px 0 0; color: #fff; }
.filter-bar { display: flex; margin-bottom: 38px; flex-wrap: wrap; gap: 10px; }
.filter-btn { padding: 11px 18px; border: 1px solid #dfe2e5; border-radius: 4px; color: #5b646e; background: #fff; font-size: 12px; font-weight: 850; text-transform: uppercase; }
.filter-btn.active, .filter-btn:hover { color: #fff; border-color: var(--orange); background: var(--orange); }
.project-card.is-hidden { display: none; }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; counter-reset: process; }
.process-step { position: relative; padding-top: 82px; counter-increment: process; }
.process-step::before { position: absolute; top: 0; left: 0; display: grid; width: 58px; height: 58px; place-items: center; border-radius: 50%; color: #fff; content: "0" counter(process); background: var(--orange); font-weight: 900; }
.process-step:not(:last-child)::after { position: absolute; top: 28px; left: 82px; width: calc(100% - 76px); height: 1px; content: ""; background: #d6d9dd; }

.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote-card { padding: 36px; border-radius: 10px; background: #fff; box-shadow: 0 14px 48px rgba(10,15,20,.08); }
.stars { margin-bottom: 20px; color: var(--orange); letter-spacing: 3px; }
.quote-card p { color: #444c54; font-size: 15px; font-style: italic; }
.quote-author { display: flex; margin-top: 24px; align-items: center; gap: 12px; }
.quote-avatar { display: grid; width: 45px; height: 45px; place-items: center; border-radius: 50%; color: #fff; background: var(--ink); font-weight: 900; }
.quote-author strong { display: block; color: var(--ink); }
.quote-author span { color: var(--muted); font-size: 12px; }

.cta-band { position: relative; overflow: hidden; padding: 72px 0; color: #fff; background: linear-gradient(115deg, #ff3d00, #ff6a00); }
.cta-band::before { position: absolute; right: -80px; bottom: -180px; width: 500px; height: 500px; border: 90px solid rgba(255,255,255,.09); border-radius: 50%; content: ""; }
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-band h2 { max-width: 720px; margin: 0; color: #fff; font-size: clamp(2.2rem, 4vw, 3.7rem); }
.cta-actions { display: flex; flex: 0 0 auto; gap: 12px; }
.cta-band .btn-outline { border-color: #fff; }

/* About and services details */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value-card { padding: 34px 28px; border-radius: 8px; background: #171717; }
.value-card b { display: block; margin-bottom: 14px; color: var(--orange); font-size: 34px; }
.value-card h3 { color: #fff; }
.value-card p { margin: 0; color: #9fa6ae; font-size: 14px; }
.mission-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.dark-panel { min-height: 320px; padding: 50px; border-radius: 12px; background: var(--ink); }
.dark-panel.orange { background: var(--orange); }
.dark-panel.orange p { color: rgba(255,255,255,.85); }
.detail-service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.detail-service { display: flex; min-height: 570px; overflow: hidden; padding: 0; border: 1px solid var(--line); border-radius: 10px; flex-direction: column; background: #fff; transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.detail-service:hover { transform: translateY(-8px); border-color: rgba(255,74,0,.34); box-shadow: var(--shadow); }
.detail-service-img { width: 100%; height: 205px; flex: 0 0 auto; object-fit: cover; }
.detail-service:hover .detail-service-img { transform: scale(1.05); filter: saturate(1.1) contrast(1.03); }
.detail-service .service-icon { position: relative; z-index: 2; width: 52px; height: 52px; margin: -27px 30px 18px; border: 4px solid #fff; font-size: 21px; }
.detail-service h3, .detail-service p, .detail-service ul { margin-right: 30px; margin-left: 30px; }
.detail-service ul { margin-top: 4px; margin-bottom: 25px; padding: 0; list-style: none; }
.detail-service li { position: relative; margin-bottom: 7px; padding-left: 18px; color: #68717a; font-size: 13px; }
.detail-service li::before { position: absolute; top: 9px; left: 0; width: 6px; height: 6px; border-radius: 50%; content: ""; background: var(--orange); }
.detail-service .text-link { margin: auto 30px 30px; }

/* Contact */
.contact-card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: -70px; position: relative; z-index: 3; }
.contact-card { min-height: 210px; padding: 30px; border-radius: 10px; background: #fff; box-shadow: var(--shadow); }
.contact-card .service-icon { width: 50px; height: 50px; margin-bottom: 20px; }
.contact-card p, .contact-card a { color: #66707a; font-size: 14px; }
.contact-layout { display: grid; grid-template-columns: 1fr .8fr; gap: 70px; align-items: start; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { display: block; margin-bottom: 7px; color: #343a40; font-size: 12px; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
.form-field input, .form-field select, .form-field textarea { width: 100%; border: 1px solid #dfe3e6; border-radius: 5px; outline: 0; color: #20252a; background: #fafafa; transition: border .2s ease, box-shadow .2s ease; }
.form-field input, .form-field select { height: 54px; padding: 0 15px; }
.form-field textarea { min-height: 145px; padding: 14px 15px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255,74,0,.08); background: #fff; }
.contact-aside { overflow: hidden; border-radius: 10px; color: #fff; background: var(--ink); }
.contact-aside-copy { padding: 42px; }
.contact-aside h3 { color: #fff; }
.contact-aside p { color: #aeb5bc; }
.map { width: 100%; height: 330px; border: 0; filter: grayscale(1) contrast(1.1); }
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-button { display: flex; width: 100%; padding: 23px 0; border: 0; align-items: center; justify-content: space-between; color: var(--ink); background: transparent; text-align: left; font-weight: 800; }
.faq-button::after { color: var(--orange); content: "+"; font-size: 24px; }
.faq-item.open .faq-button::after { content: "\2212"; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-answer p { padding: 0 0 22px; margin: 0; }

/* Footer based on supplied reference */
.site-footer { position: relative; overflow: hidden; color: #fff; background: #09101a; }
.site-footer::before, .site-footer::after { position: absolute; width: 420px; height: 760px; content: ""; opacity: .3; background: linear-gradient(150deg, rgba(255,74,0,.28), transparent 55%); transform: rotate(-22deg); }
.site-footer::before { top: -380px; left: -170px; }
.site-footer::after { right: -220px; bottom: -500px; }
.footer-contact-strip { position: relative; z-index: 1; border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.025); }
.footer-contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.footer-contact-item { display: flex; min-height: 128px; padding: 25px 24px; align-items: center; gap: 16px; }
.footer-contact-icon { display: grid; width: 46px; height: 46px; flex: 0 0 auto; place-items: center; border-radius: 5px; color: #fff; background: var(--orange); font-weight: 900; }
.footer-contact-item small { display: block; color: var(--orange); font-size: 9px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.footer-contact-item strong { display: block; color: #fff; font-size: 14px; }
.footer-main { position: relative; z-index: 1; display: grid; grid-template-columns: 1.35fr .8fr 1fr .65fr; gap: 65px; padding: 70px 0 62px; }
.footer-brand img { width: 320px; max-width: 100%; height: 105px; object-fit: contain; object-position: left center; }
.footer-brand p { max-width: 360px; color: #9ca7b3; font-size: 13px; }
.footer-main h4 { margin-bottom: 22px; color: #fff; font-size: 15px; letter-spacing: -.01em; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li { margin-bottom: 8px; color: #9ca7b3; font-size: 13px; }
.footer-links a:hover { color: var(--orange); }
.contact-line { display: flex; margin-bottom: 14px; gap: 12px; color: #9ca7b3; font-size: 13px; }
.contact-line b { color: var(--orange); }
.socials { display: flex; gap: 10px; }
.socials a { display: grid; width: 39px; height: 39px; place-items: center; border: 1px solid rgba(255,255,255,.17); border-radius: 4px; color: #fff; font-size: 12px; font-weight: 850; }
.socials a:hover { border-color: var(--orange); background: var(--orange); }
.copyright { position: relative; z-index: 1; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.08); color: #87919b; text-align: center; font-size: 12px; }

.floating-actions { position: fixed; z-index: 900; right: 22px; bottom: 22px; display: flex; flex-direction: column; gap: 11px; }
.float-btn { position: relative; display: grid; width: 55px; height: 55px; place-items: center; border-radius: 50%; color: #fff; box-shadow: 0 12px 28px rgba(0,0,0,.23); font-weight: 900; }
.float-btn.call { background: var(--orange); }
.float-btn.whatsapp { background: #20b85a; animation: pulse 2.3s infinite; }
.float-btn span { position: absolute; right: 66px; width: max-content; padding: 6px 10px; border-radius: 4px; opacity: 0; color: #fff; background: #101010; font-size: 11px; transform: translateX(5px); transition: .2s ease; pointer-events: none; }
.float-btn:hover span { opacity: 1; transform: none; }
@keyframes pulse { 0%, 100% { box-shadow: 0 12px 28px rgba(0,0,0,.23), 0 0 0 0 rgba(32,184,90,.42); } 50% { box-shadow: 0 12px 28px rgba(0,0,0,.23), 0 0 0 12px rgba(32,184,90,0); } }
.back-to-top { position: fixed; z-index: 850; right: 28px; bottom: 158px; display: grid; width: 42px; height: 42px; place-items: center; border: 0; border-radius: 4px; opacity: 0; color: #fff; background: #181818; transform: translateY(12px); transition: .25s ease; pointer-events: none; }
.back-to-top.visible { opacity: 1; transform: none; pointer-events: auto; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: none; }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.lightbox { position: fixed; z-index: 3000; inset: 0; display: none; padding: 30px; place-items: center; background: rgba(0,0,0,.93); }
.lightbox.open { display: grid; }
.lightbox img { max-width: min(1100px, 94vw); max-height: 86vh; border-radius: 8px; }
.lightbox-close { position: absolute; top: 20px; right: 25px; border: 0; color: #fff; background: transparent; font-size: 42px; }

@media (max-width: 1100px) {
  .main-nav { gap: 16px; }
  .main-nav .nav-cta { display: none; }
  .brand { width: 340px; max-width: 38vw; }
  .brand img { height: 102px; }
  .split { gap: 48px; }
  .service-grid, .detail-service-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { gap: 35px; }
}

@media (max-width: 860px) {
  .section { padding: 78px 0; }
  .topbar { display: none; }
  .nav-wrap { min-height: 92px; }
  .nav-wrap.container { width: min(100% - 30px, var(--container)); }
  .brand { width: 290px; max-width: calc(100% - 68px); }
  .brand img { height: 86px; }
  .menu-toggle { display: grid; }
  .main-nav { position: fixed; top: 0; right: -100%; width: min(390px, 88vw); height: 100dvh; padding: 120px 35px 40px; align-items: stretch; flex-direction: column; gap: 0; color: #fff; background: #0b0b0b; box-shadow: -20px 0 50px rgba(0,0,0,.35); transition: right .36s ease; }
  .main-nav.open { right: 0; }
  .main-nav a:not(.btn) { padding: 17px 0; border-bottom: 1px solid #252525; font-size: 16px; }
  .main-nav a:not(.btn)::after { bottom: 10px; }
  .main-nav .nav-cta { display: inline-flex; margin-top: 28px; }
  .menu-toggle { position: relative; z-index: 2; }
  .hero { min-height: 1000px; padding: 165px 0 220px; background-position: 63% center; }
  .hero-content { max-width: 670px; padding-top: 0; }
  .hero::before { background: linear-gradient(90deg, rgba(3,3,3,.94), rgba(3,3,3,.7)); }
  .hero-highlights { position: absolute; margin-top: 0; }
  .highlight-grid { grid-template-columns: repeat(2, 1fr); }
  .highlight { min-height: 85px; padding: 18px; border-bottom: 1px solid rgba(255,255,255,.12); }
  .split, .contact-layout, .capability-grid { grid-template-columns: 1fr; }
  .media-frame { order: -1; }
  .capability-copy { padding: 70px max(20px, calc((100vw - var(--container))/2)); }
  .capability-image { min-height: 480px; order: -1; }
  .feature-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); row-gap: 45px; }
  .process-step:nth-child(2)::after { display: none; }
  .project-card, .project-card.wide { grid-column: span 6; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .footer-contact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-contact-item { border-bottom: 1px solid rgba(255,255,255,.08); }
  .footer-main { grid-template-columns: 1.3fr 1fr; }
  .contact-card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .container { width: min(100% - 30px, var(--container)); }
  .section { padding: 68px 0; }
  h1 { font-size: clamp(3rem, 14vw, 4.4rem); }
  h2 { font-size: clamp(2rem, 10vw, 3rem); }
  .nav-wrap { min-height: 88px; }
  .brand { width: 235px; }
  .brand img { height: 78px; }
  .menu-toggle { width: 44px; height: 44px; }
  .hero { min-height: 800px; align-items: flex-start; padding: 145px 0 70px; background-position: 69% center; }
  .hero-content { padding: 0; }
  .hero-copy { font-size: 1rem; }
  .hero-actions, .hero-actions .btn { width: 100%; }
  .hero-highlights { display: none; }
  .page-hero { min-height: 445px; padding: 170px 0 58px; }
  .service-grid, .detail-service-grid, .mission-grid, .contact-form { grid-template-columns: 1fr; }
  .form-field.full { grid-column: auto; }
  .service-card { min-height: 430px; }
  .split { gap: 40px; }
  .media-frame { min-height: 430px; }
  .media-frame > img { width: calc(100% - 25px); height: 400px; }
  .media-badge { width: 170px; }
  .tick-list, .cap-list { grid-template-columns: 1fr; }
  .value-grid, .process-grid, .contact-card-grid { grid-template-columns: 1fr; }
  .process-step::after { display: none; }
  .project-card, .project-card.wide { grid-column: 1 / -1; min-height: 340px; }
  .project-grid { gap: 13px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .cta-actions, .cta-actions .btn { width: 100%; }
  .cta-actions { flex-direction: column; }
  .dark-panel { min-height: auto; padding: 35px 28px; }
  .footer-contact-grid, .footer-main { grid-template-columns: 1fr; }
  .footer-contact-item { min-height: 92px; padding: 18px 0; }
  .footer-main { gap: 38px; padding: 55px 0; }
  .footer-brand img { width: 270px; height: 100px; }
  .contact-card-grid { margin-top: -45px; }
  .contact-layout { gap: 45px; }
  .floating-actions { right: 14px; bottom: 14px; }
  .float-btn { width: 51px; height: 51px; }
  .back-to-top { right: 19px; bottom: 140px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-intro .hero-kicker,
  .hero-intro .hero-title,
  .hero-intro .hero-copy,
  .hero-intro .hero-actions,
  .hero .highlight { opacity: 0; transform: translateY(8px); }
  body.hero-intro-ready .hero-intro .hero-kicker,
  body.hero-intro-ready .hero-intro .hero-title,
  body.hero-intro-ready .hero-intro .hero-copy,
  body.hero-intro-ready .hero-intro .hero-actions,
  body.hero-intro-ready .hero .highlight {
    animation-name: hyperwave-rise-reduced !important;
    animation-duration: .45s !important;
  }
  @keyframes hyperwave-rise-reduced {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
  }
}

@media (hover: none), (pointer: coarse) {
  .custom-cursor-ring, .custom-cursor-dot { display: none !important; }
}
