:root {
  --primary: #2a5e5e;
  --primary-dark: #1d4343;
  --accent: #37c4e6;
  --accent-dark: #1aadD0;
  --text: #333;
  --text-light: #666;
  --bg: #fff;
  --bg-light: #f8fafb;
  --footer-bg: #1d2d2d;
  --footer-text: #ccd;
  --max-w: 1100px;
  --radius: 8px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }

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

/* NAV */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e8eef0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo img { height: 48px; width: auto; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: .3s; }
nav ul { display: flex; list-style: none; gap: 8px; }
nav a {
  display: block;
  padding: 8px 16px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
  border-radius: var(--radius);
  transition: background .2s, color .2s;
}
nav a:hover, nav a.active { background: var(--bg-light); color: var(--primary); }

/* HERO */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}
.hero h1 { font-size: 2.8rem; font-weight: 700; margin-bottom: 16px; line-height: 1.2; }
.hero p { font-size: 1.2rem; opacity: .9; max-width: 640px; margin: 0 auto 32px; }
.hero .btn { font-size: 1.1rem; padding: 14px 32px; }

/* BUTTONS */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .1s;
}
.btn:hover { background: var(--accent-dark); color: #fff; transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
}
.btn-outline:hover { background: var(--accent); color: #fff; }

/* SECTIONS */
section { padding: 72px 0; }
section:nth-child(even):not(.hero):not(.page-hero) { background: var(--bg-light); }
.section-title { font-size: 2rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 12px; }
.section-subtitle { color: var(--text-light); font-size: 1.1rem; margin-bottom: 40px; max-width: 640px; }

/* SERVICES GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  background: #fff;
  border: 1px solid #e8eef0;
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: box-shadow .2s, transform .2s;
}
.service-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); transform: translateY(-2px); }
.service-card h3 { font-size: 1.25rem; color: var(--primary-dark); margin-bottom: 12px; }
.service-card p { color: var(--text-light); font-size: .95rem; }
.service-icon { font-size: 2rem; margin-bottom: 16px; }

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0,0,0,.1);
}
.about-text h2 { font-size: 2rem; color: var(--primary-dark); margin-bottom: 16px; }
.about-text p { margin-bottom: 16px; color: var(--text-light); }

/* TESTIMONIAL */
.testimonial-box {
  background: #fff;
  border-left: 4px solid var(--accent);
  padding: 32px;
  border-radius: 0 var(--radius) var(--radius) 0;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: 0 4px 16px rgba(0,0,0,.05);
}
.testimonial-box blockquote { font-style: italic; font-size: 1.05rem; color: var(--text); margin-bottom: 16px; line-height: 1.8; }
.testimonial-box cite { font-style: normal; font-weight: 600; color: var(--primary); }

/* PORTFOLIO GRID */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.portfolio-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  transition: transform .2s, box-shadow .2s;
  aspect-ratio: 1;
}
.portfolio-item:hover { transform: scale(1.03); box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; }

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-info h3 { font-size: 1.3rem; color: var(--primary-dark); margin-bottom: 16px; }
.contact-info p { margin-bottom: 12px; color: var(--text-light); }
.contact-info a { color: var(--accent); font-weight: 500; }
.hours-table { width: 100%; border-collapse: collapse; margin-top: 16px; }
.hours-table td { padding: 8px 0; border-bottom: 1px solid #eee; }
.hours-table td:first-child { font-weight: 500; }
.contact-map { border-radius: var(--radius); overflow: hidden; min-height: 300px; }
.contact-map iframe { width: 100%; height: 100%; min-height: 300px; border: 0; }

/* FOOTER */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.site-footer p { font-size: .9rem; line-height: 1.7; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--footer-text); }
.site-footer a:hover { color: var(--accent); }
.social-links { display: flex; gap: 12px; margin-top: 16px; }
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  transition: background .2s;
}
.social-links a:hover { background: var(--accent); }
.social-links img { width: 18px; height: 18px; filter: brightness(0) invert(1); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; text-align: center; font-size: .85rem; }

/* INNER PAGE HERO */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 48px 0;
  text-align: center;
}
.page-hero h1 { font-size: 2.2rem; font-weight: 700; }
.page-hero p { opacity: .85; margin-top: 8px; font-size: 1.05rem; }

/* CONTENT */
.page-content { padding: 56px 0; }
.page-content h2 { font-size: 1.6rem; color: var(--primary-dark); margin: 32px 0 12px; }
.page-content p { margin-bottom: 16px; color: var(--text-light); max-width: 780px; }
.page-content .side-and-main { display: grid; grid-template-columns: 240px 1fr; gap: 40px; }
.sidebar ul { list-style: none; }
.sidebar li { margin-bottom: 4px; }
.sidebar a {
  display: block;
  padding: 10px 16px;
  border-radius: var(--radius);
  color: var(--text);
  font-weight: 500;
  font-size: .95rem;
  transition: background .2s, color .2s;
}
.sidebar a:hover, .sidebar a.active { background: var(--accent); color: #fff; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  nav { position: absolute; top: 72px; left: 0; right: 0; background: #fff; border-bottom: 1px solid #e8eef0; display: none; }
  nav.open { display: block; }
  nav ul { flex-direction: column; padding: 16px; }
  .hero h1 { font-size: 2rem; }
  .hero { padding: 56px 0; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .page-content .side-and-main { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}
