:root {
  --green: #3fa34d;
  --green-bright: #7ed957;
  --bg-dark: #0b0f0c;
  --card-dark: #0f1410;
  --border-dark: rgba(255,255,255,.06);
  --text-dark: #eef3ee;

  --bg-light: #ffffff;
  --card-light: #f6f8f6;
  --border-light: rgba(0,0,0,.08);
  --text-light: #0f1410;

  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
}

/* ---------- BASE ---------- */

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background:
    radial-gradient(1200px 600px at 10% 10%, rgba(62,163,77,0.04), transparent 8%),
    radial-gradient(900px 500px at 90% 80%, rgba(126,217,87,0.03), transparent 10%),
    var(--bg-dark);
  color:var(--text-dark);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  transition:background .22s ease,color .22s ease;
  background-attachment:fixed;
  -webkit-font-smoothing:antialiased;
}

.page{
  max-width:980px;
  margin:32px auto;
  padding:0 20px 60px;
  display:block;
}

/* ---------- SITE HEADER (logo + theme toggle) ---------- */

.site-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 24px;
  margin-bottom:18px;
}

/* Site brand in header (logo + text) */
.site-brand{
  display:inline-flex;
  align-items:center;
  gap:24px;
}
.site-brand .logo{
  height:140px;
  width:auto;
  display:block;
  image-rendering:auto;
  object-fit:contain;
  padding:0;
  border-radius:12px;
  background:transparent;
}
.brand-name{
  font-weight:800;
  letter-spacing:0.01em;
  color:var(--green-bright);
  font-size:2.4rem;
}

/* Modal styles (centered, accessible) */
.modal{ position:fixed; inset:0; display:none; align-items:center; justify-content:center; z-index:1200; }
.modal.open{ display:flex; }
.modal-backdrop{
  position:fixed; inset:0; background:rgba(2,6,4,0.6); backdrop-filter: blur(2px); z-index:1201;
}
.modal-dialog{
  position:relative;
  z-index:1202;
  max-width:640px;
  width:calc(100% - 48px);
  margin:0 24px;
  transform:translateY(6px);
}
.modal-dialog .modal-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}
.modal-header h3{ margin:0; font-size:20px; }
.modal-close{
  background:transparent;
  border:0;
  font-size:22px;
  line-height:1;
  padding:6px 8px;
  cursor:pointer;
  color:var(--text-dark);
  border-radius:6px;
}
.modal-close:focus{ outline:3px solid rgba(62,163,77,.12); outline-offset:3px; }

/* Dialog surface */
.modal-dialog .modal-form{
  background:var(--card-dark);
  border:1px solid var(--border-dark);
  padding:20px;
  border-radius:12px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.6);
}

/* When light theme is active */
body.light .modal-dialog .modal-form{
  background:var(--card-light);
  border:1px solid var(--border-light);
  box-shadow: 0 10px 30px rgba(16,24,20,0.06);
}

/* Prevent body scroll when modal open */
body.modal-open{ overflow:hidden; }

/* Form inputs inside modal slightly larger for comfort */
.modal-form input,
.modal-form textarea{
  padding:12px 14px;
  border-radius:10px;
  width:100%;
  background: rgba(255,255,255,0.04);
  border:1px solid var(--border-dark);
  color: var(--text-dark);
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
}
.modal-form textarea{ min-height:110px; resize:vertical; }
.modal-form input::placeholder,
.modal-form textarea::placeholder{ color: rgba(238,243,238,0.5); }

/* Form layout inside modal */
.modal-form .form-row{ display:flex; flex-direction:column; gap:6px; margin-bottom:14px; }
.modal-form label{
  font-size:0.92rem;
  font-weight:600;
  color: rgba(238,243,238,0.9);
}

/* Focus state */
.modal-form input:focus,
.modal-form textarea:focus{
  border-color: rgba(126,217,87,0.45);
  box-shadow: 0 0 0 3px rgba(126,217,87,0.16), inset 0 1px 0 rgba(255,255,255,0.06);
}

/* Form actions layout */
.modal-form .form-actions{ display:flex; align-items:center; gap:14px; margin-top:10px; }
.modal-form .btn.primary{ min-width:0; padding:12px 22px; }

/* Light mode form variants */
body.light .modal-form label{ color: rgba(16,24,20,0.86); }
body.light .modal-form input,
body.light .modal-form textarea{
  background:#ffffff;
  border:1px solid var(--border-light);
  color: var(--text-light);
  box-shadow:none;
}
body.light .modal-form input::placeholder,
body.light .modal-form textarea::placeholder{
  color: rgba(16,24,20,0.45);
}
body.light .modal-form input:focus,
body.light .modal-form textarea:focus{
  border-color: rgba(62,163,77,0.5);
  box-shadow: 0 0 0 3px rgba(62,163,77,0.18);
}

/* Quick contact option buttons inside modal */
.contact-options{
  display:flex;
  gap:12px;
  margin:6px 0 8px;
  align-items:center;
  flex-wrap:wrap;
}
.contact-btn{
  padding:10px 18px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.06);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.06));
  color:var(--text-dark);
  font-weight:700;
  cursor:pointer;
  transition:transform .12s ease, box-shadow .12s ease, background .12s ease, opacity .12s ease;
  min-width:100px;
  text-align:center;
  box-shadow: 0 8px 22px rgba(0,0,0,0.45);
}

/* Distinct visual styles per contact type */
.contact-btn.call{
  background: linear-gradient(90deg, rgba(126,217,87,1), rgba(62,163,77,1));
  color:#072006;
  border:0;
  box-shadow: 0 10px 30px rgba(62,163,77,0.14);
}
.contact-btn.text{
  background: linear-gradient(90deg, rgba(255,215,64,1), rgba(255,180,30,1));
  color:#241500;
  border:0;
  box-shadow: 0 10px 30px rgba(255,180,30,0.12);
}
.contact-btn.email{
  background: linear-gradient(90deg, rgba(100,150,250,1), rgba(60,110,240,1));
  color:#06113b;
  border:0;
  box-shadow: 0 10px 30px rgba(60,110,240,0.12);
}

.contact-btn:hover{ transform:translateY(-3px); opacity:0.98; }

/* Light mode variants */
body.light .contact-btn{
  color:var(--text-light);
  border:1px solid var(--border-light);
  box-shadow:none;
  background:#ffffff;
}
body.light .contact-btn.call{ color:#071007; background: linear-gradient(90deg, rgba(126,217,87,1), rgba(62,163,77,1)); }
body.light .contact-btn.text{ color:#241500; background: linear-gradient(90deg, rgba(255,215,64,1), rgba(255,180,30,1)); }
body.light .contact-btn.email{ color:#071007; background: linear-gradient(90deg, rgba(100,150,250,1), rgba(60,110,240,1)); }

/* Small visual tweak to hero spacing to keep header separate */
.main-card{ padding-top:32px; }
.hero__text{ padding-top:6px; }


.theme-toggle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:56px;
  width:56px;
  border-radius:999px;
  background:transparent;
  border:1px solid var(--border-dark);
  color:var(--text-dark);
  cursor:pointer;
  padding:8px;
  transition:transform .12s ease, background .12s ease, color .12s ease, border-color .12s ease;
}
.theme-toggle svg{display:block; color:var(--text-dark)}
.theme-toggle:hover{transform:translateY(-2px); border-color:rgba(126,217,87,.9)}
.theme-toggle:focus{outline:3px solid rgba(62,163,77,.12); outline-offset:3px}

/* ---------- MAIN CARD ---------- */

.main-card{
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.06));
  border:1px solid rgba(126,217,87,0.06);
  border-radius:20px;
  padding:44px;
  display:flex;
  flex-direction:column;
  gap:30px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.02);
  transition:transform .18s ease, background .2s ease, border .2s ease, box-shadow .2s ease;
  transform: translateZ(0);
}
.main-card:hover{ transform: translateY(-4px) scale(1.003); box-shadow: 0 28px 70px rgba(0,0,0,0.6); }

/* ---------- HERO ---------- */

.hero__text{
  max-width:720px;
}

.eyebrow{
  font-size:.8rem;
  letter-spacing:.28rem;
  text-transform:uppercase;
  color:var(--green);
  margin-bottom:10px;
  font-weight:600;
}

/* Brand (small logo + name) used in the eyebrow */
.brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-weight:700;
  font-size:0.98rem;
  color:inherit;
}
.mini-logo{
  height:20px;
  width:20px;
  display:inline-block;
  object-fit:contain;
  vertical-align:middle;
}

h1{
  font-size:44px;
  line-height:1.02;
  margin:0 0 14px;
  letter-spacing:-0.02em;
}

.lede{
  font-size:18px;
  line-height:1.6;
  opacity:.92;
  margin-bottom:20px;
  max-width:760px;
}

.subtle{
  margin-top:16px;
  opacity:.65;
  font-size:14px;
  /* low-emphasis contact text */
  color: rgba(255,255,255,0.72);
  line-height:1.4;
}
.subtle a{
  color: rgba(255,255,255,0.62);
  text-decoration:none;
  font-weight:600;
  opacity:0.75;
  transition:opacity .12s ease, color .12s ease;
  border-bottom:1px solid transparent;
  padding-bottom:1px;
}
.subtle a:hover,
.subtle a:focus{
  color: var(--green-bright);
  opacity:1;
  text-decoration:underline;
  outline:none;
}

/* Light-mode variants keep links low-contrast */
body.light .subtle{ color: rgba(10,20,16,0.64); }
body.light .subtle a{ color: rgba(10,20,16,0.62); }

/* ---------- BUTTONS (hero CTAs) ---------- */

/* Clean horizontal layout with a strong primary pill and compact secondary CTAs */
.hero-buttons{
  display:flex;
  gap:18px;
  align-items:center;
  justify-content:flex-start;
  margin-top:18px;
  flex-wrap:wrap;
}

/* Primary action grows and looks prominent */
.hero-buttons .btn.primary{
  min-width:320px;
  padding:16px 36px;
  border-radius:999px;
  font-size:16px;
  letter-spacing:0.02em;
  background: linear-gradient(90deg, rgba(126,217,87,1), rgba(62,163,77,1));
  color:#072006;
  box-shadow: 0 18px 50px rgba(62,163,77,0.12);
}

/* Secondary CTAs (call/text) are smaller rounded chips */
.btn.secondary{
  background:linear-gradient(180deg, rgba(20,30,22,0.45), rgba(0,0,0,0.12));
  border:1px solid rgba(126,217,87,0.08);
  color:var(--green-bright);
  padding:10px 18px;
  border-radius:999px;
  display:inline-flex;
  gap:10px;
  align-items:center;
  font-weight:700;
  backdrop-filter: blur(4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.45);
}

/* Small icon inside chip */
.btn .icon{ display:inline-flex; align-items:center; justify-content:center; opacity:0.95; transform:translateY(1px); }

/* Responsive wrap behavior */
@media (max-width:920px){
  .hero-buttons .btn.primary{ min-width:100%; order:0; }
  .hero-buttons{ flex-direction:column; align-items:stretch; }
  .btn.secondary{ width:100%; justify-content:center; }
}

/* Accent hook for heading */
.accent{
  background:linear-gradient(90deg, rgba(126,217,87,1), rgba(61,160,74,1));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  font-weight:800;
  padding-right:6px;
  letter-spacing:-0.01em;
}

/* Specialty cards: glassy, elevated, with neon accent */
.specialty{
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.04));
  border:1px solid rgba(126,217,87,0.03);
  border-radius:14px;
  padding:26px;
  transition:transform .16s ease, box-shadow .18s ease, border-color .18s ease;
  box-shadow: 0 8px 30px rgba(0,0,0,0.45);
}
.specialty h3{ margin-top:0; margin-bottom:8px; font-size:18px; }
.specialty p{ opacity:0.9; line-height:1.5; color:rgba(255,255,255,0.88); }

.specialty:hover{
  transform:translateY(-8px) scale(1.01);
  box-shadow: 0 26px 60px rgba(0,0,0,0.6);
  border-color: rgba(126,217,87,0.12);
}

/* Slightly tighter grid spacing for visual rhythm */
.specialty-grid{ gap:20px; grid-auto-rows:minmax(120px, auto); }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 20px;
  border-radius:999px;
  font-weight:700;
  text-decoration:none;
  font-size:15px;
  cursor:pointer;
  transition:transform .12s ease, box-shadow .12s ease, opacity .12s ease;
  border:0;
  color:#071007;
  background:linear-gradient(135deg,var(--green),var(--green-bright));
  box-shadow: 0 6px 18px rgba(46, 125, 50, 0.18);
}

/* Lead CTA (first button) slightly larger and more prominent */
.hero-buttons .btn:first-child{
  padding:14px 26px;
  font-size:16px;
  box-shadow: 0 10px 30px rgba(46, 125, 50, 0.22);
  transform:translateZ(0);
}

.btn:active{transform:translateY(0)}
.btn:hover{transform:translateY(-3px); opacity:0.98}

/* For accessibility focus */
.btn:focus{outline:3px solid rgba(62,163,77,.12); outline-offset:3px}

/* ---------- SPECIALTIES ---------- */

.specialties h2{
  margin-bottom:18px;
  font-size:20px;
}

.specialty-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:18px;
}

.specialty{
  background:rgba(255,255,255,0.02);
  border:1px solid var(--border-dark);
  border-radius:14px;
  padding:20px;
  transition:background .18s ease,border .18s ease,transform .12s ease, box-shadow .12s ease;
}
.specialty:hover{transform:translateY(-6px); box-shadow: 0 6px 20px rgba(2,8,6,0.06)}

body.light .specialty{
  background:#ffffff;
  border:1px solid rgba(16,24,20,0.08);
  /* thin dividers feel + soft shadow */
  box-shadow: 0 1px 2px rgba(16,24,20,0.04), 0 0 0 1px rgba(16,24,20,0.02);
}
body.light .specialty p{
  color: rgba(16,24,20,0.78);
}
body.light .specialty:hover{
  box-shadow: 0 6px 18px rgba(16,24,20,0.08), 0 0 0 1px rgba(16,24,20,0.02);
}
body.light .specialty-grid{
  gap:22px;
}

/* ---------- BORING INDUSTRIES / ABOUT ---------- */

.boring{
  margin-top:18px;
}
.boring h2{
  margin:18px 0 10px;
  font-size:20px;
}
.boring p{
  max-width:760px;
  line-height:1.6;
  opacity:0.9;
}

.about{
  margin-top:28px;
}
.about-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) 300px;
  gap:20px;
  align-items:start;
}
.about-text h2{
  margin:0 0 10px;
  font-size:20px;
}
.about-text p{
  line-height:1.6;
  opacity:0.92;
}
.about-photo{
  width:100%;
  max-width:300px;
  border-radius:12px;
  border:1px solid var(--border-dark);
  box-shadow:0 8px 24px rgba(0,0,0,0.5);
  object-fit:cover;
}

body.light .about-photo{
  border:1px solid var(--border-light);
  box-shadow:0 8px 24px rgba(16,24,20,0.06);
}

/* ---------- FOOTER ---------- */

footer{
  text-align:center;
  font-size:14px;
  opacity:.7;
  margin-top:22px;
}

/* ---------- LIGHT MODE (class toggled) ---------- */

body.light{
  background:var(--bg-light);
  color:var(--text-light);
}

body.light .main-card{
  background:var(--card-light);
  border:1px solid var(--border-light);
  /* simpler, cleaner surface in light mode */
  box-shadow: 0 6px 18px rgba(16, 24, 20, 0.05);
}

body.light .theme-toggle{ color:var(--text-light); border:1px solid var(--border-light) }
body.light .theme-toggle svg{ color:var(--text-light) }

body.light .btn{ color:#071007; box-shadow: 0 8px 24px rgba(46,125,50,0.06) }

/* Inputs / forms removed; kept styles in case added later */
input,textarea{ font-family:inherit }

/* ---------- RESPONSIVE ---------- */

@media (max-width:720px){
  h1{font-size:32px}
  .main-card{padding:28px}
  .site-header{padding:10px 12px}
  .site-header .logo{height:92px}
  .brand-name{font-size:2rem}
  .theme-toggle{height:44px; width:44px}
  .hero-buttons{flex-direction:column; align-items:stretch}
  .hero-buttons .btn{width:100%}
  .hero-buttons .btn:first-child{order:0}
  .specialty-grid{grid-template-columns:1fr}
  .about-grid{grid-template-columns:1fr}
  .about-photo{max-width:100%}
}

/* Minor print reset */
@media print{
  .theme-toggle, .hero-buttons, .site-header{display:none}
}