/* ===== Baute Plumbing — Modern dark theme ===== */
:root {
  --bg:        #0d1013;
  --bg-2:      #12161b;
  --panel:     #161b21;
  --panel-2:   #1b222a;
  --border:    #242c35;
  --text:      #e8edf2;
  --muted:     #9aa7b4;
  --blue:      #1e90ff;
  --blue-2:    #38a9ff;
  --blue-deep: #0a63c9;
  --glow:      0 0 22px rgba(30,144,255,.55);
  --radius:    16px;
  --maxw:      1160px;
  --font:      'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --display:   'Sora', var(--font);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem; font-weight: 600; font-size: .95rem;
  padding: .7rem 1.3rem; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue-2), var(--blue-deep));
  color: #fff; box-shadow: var(--glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 30px rgba(30,144,255,.8); }
.btn-ghost {
  background: rgba(255,255,255,.03);
  border-color: var(--border); color: var(--text);
}
.btn-ghost:hover { border-color: var(--blue); color: #fff; transform: translateY(-2px); }
.btn-lg { padding: .95rem 1.8rem; font-size: 1.02rem; }
.btn-block { width: 100%; }

.eyebrow {
  display: inline-block; font-family: var(--font); font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; font-size: .72rem;
  color: var(--blue-2); margin-bottom: 1rem;
}
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.15; letter-spacing: -.01em; }
.accent { color: var(--blue-2); text-shadow: var(--glow); }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13,16,19,.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.site-header.scrolled { border-bottom-color: var(--border); background: rgba(13,16,19,.9); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 1.5rem; }
.brand-logo { height: 64px; width: auto; border-radius: 8px; }
.brand-text { display: flex; align-items: center; }
.brand-name {
  font-family: var(--display); font-weight: 800;
  font-size: 1.5rem; letter-spacing: .05em;
  color: var(--blue-2); text-shadow: var(--glow);
  text-transform: uppercase;
  padding: .3rem 0;
  border-top: 2px solid #6a6f75;
  border-bottom: 2px solid #6a6f75;
}
.nav-links { display: flex; gap: 2rem; margin-left: auto; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: .95rem; transition: color .2s ease; }
.nav-links a:hover { color: #fff; }
.nav-cta { margin-left: .5rem; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .25s ease; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { display: none; flex-direction: column; gap: .25rem; padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; }
.mobile-menu.open { max-height: 400px; padding: .5rem 24px 1.25rem; }
.mobile-menu a { padding: .7rem 0; color: var(--muted); border-bottom: 1px solid var(--border); }
.mobile-menu a.btn { border: none; color: #fff; margin-top: .75rem; justify-content: center; }

/* ===== Hero ===== */
.hero { position: relative; padding: 5.5rem 0 5rem; overflow: hidden; }
.hero-glow {
  position: absolute; top: -20%; left: 50%; transform: translateX(-50%);
  width: 900px; height: 900px; pointer-events: none;
  background: radial-gradient(circle, rgba(30,144,255,.18), transparent 60%);
  filter: blur(20px);
}
.hero .container { max-width: 1360px; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1fr 1.15fr; gap: 3.5rem; align-items: center; }
.hero-copy h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); font-weight: 800; margin-bottom: 1.2rem; }
.lead { color: var(--muted); font-size: 1.15rem; max-width: 34rem; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-badges {
  display: flex; justify-content: space-between; gap: 1.5rem; width: 100%;
  border-top: 1px solid var(--border); padding-top: 1.6rem; margin-top: .5rem;
}
.badge { display: flex; flex-direction: column; }
.badge:nth-child(2) { text-align: center; align-items: center; }
.badge:nth-child(3) { text-align: right; align-items: flex-end; }
.badge strong { font-family: var(--display); color: #fff; font-size: 1.3rem; }
.badge span { color: var(--muted); font-size: .85rem; }

.hero-art { display: flex; justify-content: center; }
.hero-logo {
  width: 100%; max-width: 860px;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ===== Sections ===== */
.section { padding: 5rem 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 700; }
.section-sub { color: var(--muted); margin-top: .75rem; font-size: 1.05rem; }

/* ===== Services ===== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.service-card {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem 1.7rem; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.service-card h3, .service-card p { position: relative; z-index: 1; }
.service-card:hover {
  transform: translateY(-6px); border-color: rgba(30,144,255,.5);
  box-shadow: 0 16px 40px rgba(0,0,0,.4), 0 0 30px rgba(30,144,255,.12);
}
.service-icon {
  position: absolute; right: -14px; bottom: -22px; margin: 0;
  color: var(--blue-2); opacity: .10; pointer-events: none; z-index: 0;
}
.service-icon svg { width: 172px; height: 172px; }
.service-card:hover .service-icon { opacity: .16; transition: opacity .25s ease; }
.service-card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.service-card p { color: var(--muted); font-size: .97rem; }

/* ===== Gallery ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.gallery-item {
  position: relative; margin: 0; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); background: var(--panel);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.gallery-item img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; display: block; }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.4rem 1.1rem .9rem; font-family: var(--display); font-weight: 700;
  font-size: 1.05rem; color: #fff;
  background: linear-gradient(to top, rgba(6,9,12,.9), transparent);
}
.gallery-item:hover {
  transform: translateY(-6px); border-color: rgba(30,144,255,.5);
  box-shadow: 0 16px 40px rgba(0,0,0,.4), 0 0 30px rgba(30,144,255,.12);
}

/* ===== Service Area ===== */
.area { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.area-inner { display: grid; grid-template-columns: 1.3fr .7fr; gap: 3rem; align-items: center; }
.area-copy h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin-bottom: 1rem; }
.area-copy > p { color: var(--muted); margin-bottom: 1.5rem; max-width: 34rem; }
.area-list { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.5rem; }
.area-list li {
  background: var(--panel); border: 1px solid var(--border);
  padding: .45rem 1rem; border-radius: 999px; font-size: .9rem; color: var(--text);
}
.area-note { color: var(--muted); font-size: .95rem; }
.area-note a { color: var(--blue-2); }
.area-card {
  border: 1px solid rgba(30,144,255,.35); border-radius: 20px; overflow: hidden;
  background: var(--panel); box-shadow: 0 0 40px rgba(30,144,255,.12);
}
.area-map {
  width: 100%; height: 420px; border: 0; display: block;
  filter: grayscale(.2) contrast(1.05);
}
.area-card-label {
  display: flex; align-items: center; gap: .8rem;
  padding: 1rem 1.2rem; border-top: 1px solid var(--border);
}
.map-pin { font-size: 1.6rem; line-height: 1; }
.area-card-label strong { display: block; font-family: var(--display); font-size: 1.1rem; color: #fff; }
.area-card-label span { color: var(--muted); font-size: .88rem; }
.map-link { margin-left: auto; color: var(--blue-2); font-size: .85rem; font-weight: 600; white-space: nowrap; }
.map-link:hover { text-decoration: underline; }

/* ===== Why Us ===== */
.why .section-head { max-width: 900px; }
@media (min-width: 720px) { .why .section-head h2 { white-space: nowrap; } }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.why-item {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.7rem 1.5rem;
  border-top: 3px solid var(--blue); transition: transform .25s ease;
}
.why-item:hover { transform: translateY(-5px); }
.why-item h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.why-item p { color: var(--muted); font-size: .95rem; }

/* ===== Contact ===== */
.contact { background: var(--bg-2); border-top: 1px solid var(--border); }
.contact-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: start; }
.contact-copy h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 1rem; }
.contact-copy > p { color: var(--muted); margin-bottom: 1.8rem; max-width: 30rem; }
.contact-details { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.contact-details li { display: flex; align-items: center; gap: .8rem; font-size: 1.05rem; }
.contact-details .ci {
  width: 40px; height: 40px; display: grid; place-items: center; flex: none;
  background: rgba(30,144,255,.12); border: 1px solid rgba(30,144,255,.25); border-radius: 12px;
}
.contact-details a:hover { color: var(--blue-2); }

.contact-form {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: 20px; padding: 2rem; box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
.field { margin-bottom: 1.1rem; display: flex; flex-direction: column; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { font-size: .85rem; font-weight: 600; color: var(--muted); margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  background: var(--bg); border: 1px solid var(--border); color: var(--text);
  padding: .8rem 1rem; border-radius: 12px; font-family: inherit; font-size: .97rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input::placeholder, .field textarea::placeholder { color: #5c6773; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30,144,255,.18);
}
.field textarea { resize: vertical; }
.field .opt { color: var(--muted); font-weight: 400; text-transform: none; }
.field input[type="file"] { padding: .6rem 1rem; cursor: pointer; color: var(--muted); }
.field input[type="file"]::file-selector-button {
  background: rgba(30,144,255,.14); color: var(--blue-2);
  border: 1px solid rgba(30,144,255,.35); border-radius: 8px;
  padding: .4rem .9rem; margin-right: .8rem; cursor: pointer; font-family: inherit;
  font-weight: 600; font-size: .85rem; transition: background .2s ease;
}
.field input[type="file"]::file-selector-button:hover { background: rgba(30,144,255,.24); }
.form-status { font-size: .9rem; text-align: center; margin-top: 1rem; font-weight: 500; }
.form-status:empty { display: none; }
.form-status.ok { color: #3ddc84; }
.form-status.err { color: #ff6b6b; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: .6rem; text-align: center; }
.form-note a { color: var(--blue-2); }

/* ===== Footer ===== */
.site-footer { background: var(--bg); border-top: 1px solid var(--border); padding-top: 3rem; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; padding-bottom: 2rem; }
.footer-brand { text-align: center; }
.footer-logo { height: 130px; border-radius: 8px; margin: 0 auto 1rem; }
.footer-brand p { color: var(--muted); max-width: 22rem; font-size: .95rem; margin: 0 auto; }
.footer-col h4 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.footer-col a, .footer-col span { display: block; color: var(--text); padding: .3rem 0; font-size: .95rem; }
.footer-col a:hover { color: var(--blue-2); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
  border-top: 1px solid var(--border); padding: 1.3rem 24px; color: var(--muted); font-size: .85rem;
}

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.service-card:nth-child(2) { transition-delay: .05s; }
.service-card:nth-child(3) { transition-delay: .1s; }
.why-item:nth-child(2) { transition-delay: .05s; }
.why-item:nth-child(3) { transition-delay: .1s; }
.why-item:nth-child(4) { transition-delay: .15s; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu { display: flex; }
  .nav-inner { height: 68px; }
  .brand-name { font-size: 1.25rem; }
  .hero { padding: 3rem 0 3.5rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-art { order: -1; max-width: 320px; margin: 0 auto; }
  .services-grid, .why-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .area-inner, .contact-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .collapse-mobile { display: none; }
  .collapse-mobile.show { display: block; }
}
@media (max-width: 560px) {
  .section { padding: 2.75rem 0; }
  .section-head { margin-bottom: 2rem; }
  .hero { padding: 1.5rem 0 2.5rem; }
  .hero-copy h1 { font-size: 2.15rem; }
  .lead { font-size: 1.02rem; }
  .hero-art { max-width: 250px; }
  .hero-badges { gap: .75rem; padding-top: 1.2rem; }
  .badge strong { font-size: 1.05rem; }
  .badge span { font-size: .75rem; }
  .services-grid, .why-grid, .gallery-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .contact-form { padding: 1.4rem; }
  .area-map { height: 280px; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-logo { height: 96px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .hero-actions .btn { flex: 1; }
}
