/* === ProTato look & feel === */
:root{
  /* brand + ui colors */
  --bg:#ffffff;
  --panel:#f9fafb;
  --text:#24303f;
  --muted:#6b7280;
  --brand-green:#2e9e4e;   /* matches ProTato wordmark */
  --brand-orange:#d55a1a;  /* matches the tagline color */
  --accent:var(--brand-green);
  --border:#e5e7eb;
  --shadow:0 6px 18px rgba(16,24,40,.06);
}

*{ box-sizing:border-box; }

html, body{
  margin:0;
  padding:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:var(--bg);
}

a{ color:var(--accent); text-decoration:none; }
a:hover{ text-decoration:underline; }

.container{ max-width:980px; margin:0 auto; padding:10px; }

/* ===== Header ===== */
.site-header{
  background:#fff;
  border-bottom:2px solid var(--border);
}

.site-header .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.site-header .brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
  font-size:1.45rem;
  color:var(--text);
}

.site-header .brand .logo{
  height:80px;       /* make the mascot clear */
  width:auto;
  display:block;
}

nav a{
  margin-left:15px;
  color:var(--text);
  font-weight:600;
  opacity:.8;
}
nav a:hover{ opacity:1; }

/* ===== Hero ===== */
.hero{
  padding:45px 0;
  text-align:center;
  background: radial-gradient(1200px 300px at 50% -100px, #e29e42 0%, rgb(62 172 97 / 0%) 70%), #ffffff;
}

.hero h1{
  font-size:2.4rem;
  margin:0 0 10px;
  color:#1f2937;
  letter-spacing:.2px;
}
.hero p{
  color:var(--muted);
  margin-bottom:22px;
  font-size:1.05rem;
}

/* Buttons */
.btn{
  display:inline-block;
  padding:12px 18px;
  background:var(--brand-green);
  color:#fff;
  border-radius:12px;
  font-weight:800;
  border:2px solid transparent;
  box-shadow:var(--shadow);
  transition:transform .06s ease, background .15s ease, border-color .15s ease;
}
.btn:hover{ transform:translateY(-1px); }
.btn:active{ transform:translateY(0); }
.btn.alt{
  background:#fff;
  color:var(--brand-green);
  border-color:var(--brand-green);
}

/* ===== Services grid ===== */
.services .grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}
.services .card{
  background:var(--panel);
  border:1px solid var(--border);
  padding:18px;
  border-radius:14px;
  text-align:center;
  font-weight:700;
  box-shadow:var(--shadow);
}

/* ===== Lead form ===== */
.lead-form form{
  background:var(--panel);
  border:1px solid var(--border);
  padding:22px;
  border-radius:14px;
  box-shadow:var(--shadow);
}

label{
  display:block;
  margin-top:12px;
  margin-bottom:6px;
  color:#475569;
  font-weight:600;
}

input, select, textarea{
  width:100%;
  padding:12px 12px;
  background:#fff;
  color:var(--text);
  border:1px solid var(--border);
  border-radius:12px;
  outline:none;
}
input:focus, select:focus, textarea:focus{
  border-color:var(--brand-green);
  box-shadow:0 0 0 3px rgba(46,158,78,.15);
}

.row{ display:flex; gap:12px; }
.col-6{ flex:1; }

/* ===== Footer ===== */
.site-footer{
  padding:30px 0;
  color:var(--muted);
  text-align:center;
  background:#fafafa;
  border-top:2px solid var(--border);
}

/* ===== Generic utilities / admin (kept but restyled for light UI) ===== */
.center{ text-align:center; padding:60px 20px; }

.admin .topbar{
  background:#fff;
  border-bottom:2px solid var(--border);
}
.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px 20px;
}
.topbar .brand{ font-weight:700; }

.nav a{ margin-left:14px; }

.admin .container{ padding:20px; }

.admin-card{
  max-width:420px;
  margin:80px auto;
  background:#fff;
  border:1px solid var(--border);
  border-radius:12px;
  padding:20px;
  box-shadow:var(--shadow);
}
.admin-card h1{ margin-top:0; }

/* Alerts use brand orange for friendly emphasis */
.alert{
  background:#fff5ef;
  color:#b74200;
  padding:10px;
  border-radius:10px;
  margin-bottom:12px;
  border:1px solid #ffe1cf;
}

.table{
  width:100%;
  border-collapse:collapse;
  border:1px solid var(--border);
  background:#fff;
}
.table th, .table td{
  border-bottom:1px solid var(--border);
  padding:10px;
  text-align:left;
}

/* Subtle accent dots for small headings (optional helper) */
.tagline{
  color:var(--brand-orange);
  font-weight:700;
}

/* ===== Responsive ===== */
@media (max-width: 640px){
  .services .grid{ grid-template-columns:1fr; }
  .row{ flex-direction:column; }
  .site-header .brand .logo{ height:46px; }
}

/* --- Responsive improvements --- */
.is-hidden { display: none; }

/* Headings scale */
@media (max-width: 900px){
  .hero h1{ font-size: 2rem; }
  .hero p{ font-size: 1rem; }
}
@media (max-width: 640px){
  .container{ padding: 16px; }
  .hero{ padding: 32px 0; }
  .hero h1{ font-size: 1.7rem; }
}

/* Services grid: desktop(3) → tablet(2) → mobile(1) */
@media (max-width: 900px){
  .services .grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px){
  .services .grid{ grid-template-columns: 1fr; }
}

/* Form fields already stack via .row rule; keep inputs comfy */
@media (max-width: 640px){
  input, select, textarea{ font-size: 16px; } /* avoid iOS zoom */
}

