
:root{
  --bg:#0e1613; --card:#101b18; --text:#ecf7f2; --muted:#cfe0d9; --line:#283c33;
  --accent:#3f7e58; --accent-2:#2b5c42; color-scheme: dark;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--bg);color:var(--text);font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,"Helvetica Neue",Arial}
/* Site-wide subtle grid */
body{position:relative}
body::before{
  content:""; position:fixed; inset:0; z-index:0; pointer-events:none;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size:40px 40px; opacity:.14;
}
header.topbar, .hero, main, footer{position:relative; z-index:1}

a{color:#bdebd7;text-decoration:none;border-bottom:1px dotted rgba(189,235,215,.45)}
a:hover{border-bottom-color:transparent}
.container{max-width:1100px;margin:0 auto;padding:28px}
.section{padding:28px 0}

/* Top bar with soft UF hint */
.topbar{
  position:sticky; top:0; z-index:20;
  background:
    linear-gradient(180deg, rgba(0,33,165,.12) 0%, rgba(15,32,26,.85) 14%),
    linear-gradient(180deg, rgba(15,32,26,.85), rgba(11,24,20,.92) 70%);
  border-bottom:1px solid rgba(250,70,22,.22);
  backdrop-filter:saturate(120%) blur(6px);
}
.nav{display:flex;align-items:center;gap:14px}
.brand{display:flex;align-items:center;gap:10px;font-weight:800}
.brand img.logo{height:30px;width:auto;filter:drop-shadow(0 0 4px rgba(0,0,0,.45))}
nav a{
  display:inline-block; padding:10px 14px; border-radius:999px;
  border:1px solid rgba(208,236,224,.18);
  background:rgba(16,27,24,.55);
  box-shadow:0 6px 18px rgba(0,0,0,.18) inset, 0 6px 18px rgba(0,0,0,.05);
}
nav a:hover{
  background:linear-gradient(90deg, rgba(0,33,165,.18), rgba(250,70,22,.18));
  border-color:rgba(208,236,224,.28)
}

.hero{position:relative;padding:56px 0 12px}
.overlay-grid{position:absolute;inset:0;background-image:
 linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
 linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
 background-size:40px 40px;opacity:.16;pointer-events:none;z-index:1}
.hero .container{position:relative;z-index:2}
h1,h2{margin:.2rem 0 .6rem}
h1{font-size:2rem} h2{font-size:1.4rem}
.card{background:#101b18;border:1px solid rgba(208,236,224,.22);border-radius:14px;padding:18px;box-shadow:0 6px 22px rgba(0,0,0,.22)}

.btn{
  display:inline-block;padding:12px 16px;border-radius:12px;border:1px solid rgba(63,126,88,.55);
  background:linear-gradient(180deg,#4e8a68,#2b5c42);color:#fff;font-weight:800;letter-spacing:.25px;
  box-shadow:0 6px 18px rgba(0,0,0,.18); transition:transform .08s ease, box-shadow .15s ease, background .2s ease, filter .2s ease;
}
.btn:hover{transform:translateY(-1px); box-shadow:0 10px 24px rgba(0,0,0,.28)}
.btn:active{transform:translateY(0); filter:saturate(1.05)}
.btn.ghost{
  background:transparent;border:1px solid rgba(208,236,224,.28);color:#dff1ea;font-weight:700;box-shadow:none;
}
.cta-row{margin-top:10px;display:flex;gap:12px;flex-wrap:wrap}
.grid{display:grid;gap:18px}
.feature.tiles{grid-template-columns:repeat(3,1fr)}
@media (max-width: 950px){ .feature.tiles{grid-template-columns:repeat(2,1fr)} }
@media (max-width: 640px){ .feature.tiles{grid-template-columns:1fr} }

/* Home service tiles */
a.service-link{display:block;text-decoration:none;color:inherit;border-bottom:none}
.card.service-tile{display:grid;grid-template-rows:auto 1fr auto;gap:10px;transition:transform .08s ease, box-shadow .15s ease, border-color .15s ease}
.card.service-tile .tile-media{width:100%;height:160px;object-fit:cover;border-radius:10px;border:1px solid rgba(208,236,224,.22);background:#0f1d18}
.card.service-tile h3{margin:.25rem 0 .25rem;font-size:1.1rem}
.card.service-tile p{margin:0;color:#cfe0d9}
.card.service-tile .tile-cta{margin-top:8px;display:inline-flex;align-items:center;gap:6px;font-weight:700;color:#bdebd7;border-bottom:1px dotted rgba(189,235,215,.45)}
.card.service-tile:hover{transform:translateY(-1px);box-shadow:0 10px 26px rgba(0,0,0,.28)}
.card.service-tile:hover .tile-cta{border-bottom-color:transparent}

/* Services alternating layout */
.services-alt{display:grid;gap:16px}
.service-row{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:center}
.service-photo,.thumb,.illus{display:block;width:100%;height:100%;max-height:360px;object-fit:cover;border-radius:12px;border:1px solid rgba(208,236,224,.22);background:#0f1d18}
.service-row.reverse .media{order:2}.service-row.reverse .info{order:1}
@media (max-width:900px){.service-row{grid-template-columns:1fr}.service-photo{max-height:none}.service-row.reverse .media,.service-row.reverse .info{order:initial}}
ul.bullets{list-style:disc;margin:.25rem 0 .5rem 1.2rem;padding:0}
ul.bullets li{margin:.15rem 0}

/* About */
.about-grid{display:grid;grid-template-columns:repeat(2, minmax(0,1fr));gap:20px;align-items:stretch}
@media (max-width: 900px){.about-grid{grid-template-columns:1fr}}
.about-grid .card{display:flex;flex-direction:column;gap:12px;min-height:360px}
.about-grid .photo-wrap{position:relative;border-radius:12px;overflow:hidden;border:1px solid rgba(208,236,224,.22);box-shadow:0 8px 24px rgba(0,0,0,.25)}
.about-grid .photo-wrap::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg, rgba(0,33,165,.20), rgba(250,70,22,.18)),linear-gradient(180deg, rgba(16,27,24,.35), rgba(16,27,24,.08));pointer-events:none}
.about-grid .photo{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;background:#0f1d18}

/* Forms */
.card form label{display:grid;gap:6px;font-size:.95rem;color:#cfe0d9}
.card form input[type="text"], .card form input[type="email"], .card form input[type="date"], .card form input[type="number"], .card form textarea, .card form select{
  width:100%;padding:12px 14px;border-radius:12px;border:1px solid rgba(208,236,224,.22);
  background:linear-gradient(180deg, rgba(17,31,27,1), rgba(13,24,21,1)); color:#ecf7f2;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03), 0 4px 16px rgba(0,0,0,.18);
  transition:border-color .15s ease, box-shadow .15s ease, background .15s ease; appearance:none; -webkit-appearance:none; -moz-appearance:none;
}
.card form input::placeholder, .card form textarea::placeholder{color:#9bb9ad}
.card form input:focus, .card form textarea:focus, .card form select:focus{outline:none;border-color:rgba(189,235,215,.55);box-shadow:0 0 0 3px rgba(189,235,215,.18), inset 0 1px 0 rgba(255,255,255,.05)}
.card form select{
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'><path fill='%23BDEBD7' d='M7 10l5 5 5-5z'/></svg>");
  background-repeat:no-repeat;background-position:right 12px center;background-size:14px;padding-right:40px;
}
.card input[type="file"]{border:1px dashed rgba(208,236,224,.28);padding:14px;border-radius:12px;background:rgba(16,27,24,.45)}
.card input[type="file"]:hover{background:rgba(16,27,24,.65);border-color:rgba(189,235,215,.45)}

/* Footer centered + sticky bottom */
html, body { height:100%; }
body{ display:flex; flex-direction:column; }
main{ flex:1 0 auto; }
footer.footer{ flex-shrink:0; }
.footer{margin-top:40px;border-top:1px solid rgba(208,236,224,.18);padding:22px 0;color:#cfe0d9}
.footer .container{ text-align:center; }
