@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

:root {
  --primary:     hsl(121, 34%, 27%);
  --primary-fg:  hsl(0, 0%, 98%);
  --secondary:   hsl(120, 8%, 93%);
  --accent:      hsl(121, 36%, 33%);
  --accent-fg:   hsl(0, 0%, 98%);
  --bg:          hsl(0, 0%, 100%);
  --fg:          hsl(138, 40%, 12%);
  --muted-fg:    hsl(120, 6%, 42%);
  --border:      hsl(0, 0%, 82%);
  --radius:      0.5rem;
}

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

body {
  font-family: 'Source Sans 3', system-ui, sans-serif;
  background: var(--bg);
  color: var(--fg);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; }

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

main { flex: 1; }

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── NAVBAR ─────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  overflow: visible;
}

.navbar-logo img {
  height: 160px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-fg);
  transition: background 0.15s, color 0.15s;
}

.nav-links a:hover { color: var(--fg); background: var(--secondary); }
.nav-links a.active { background: var(--primary); color: var(--primary-fg); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius);
  color: var(--fg);
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.nav-toggle:hover { background: var(--secondary); }
.nav-toggle .icon-close { display: none; }

.mobile-menu {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.mobile-menu.open { display: block; }

.mobile-menu ul {
  padding: 16px 2rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu a {
  display: block;
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-fg);
  transition: background 0.15s, color 0.15s;
}

.mobile-menu a:hover { color: var(--fg); background: var(--secondary); }
.mobile-menu a.active { background: var(--primary); color: var(--primary-fg); }

@media (max-width: 767px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}

/* ── FOOTER ─────────────────────────────────── */
footer {
  background: var(--primary);
  color: var(--primary-fg);
}

.footer-grid {
  padding: 48px 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }

.footer-brand h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 16px; }
.footer-brand p { font-size: 0.875rem; color: rgba(250,250,250,0.7); line-height: 1.7; }

.footer-col h4 { font-size: 1.125rem; font-weight: 600; margin-bottom: 16px; }

.footer-links-list { display: flex; flex-direction: column; gap: 8px; }
.footer-links-list a { font-size: 0.875rem; color: rgba(250,250,250,0.7); transition: color 0.15s; }
.footer-links-list a:hover { color: var(--accent-fg); }

.footer-contact-list { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 0.875rem; color: rgba(250,250,250,0.7); }
.footer-contact-list svg { flex-shrink: 0; margin-top: 2px; }

.footer-bottom {
  border-top: 1px solid rgba(250,250,250,0.1);
  padding: 16px 0;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(250,250,250,0.5);
}

/* ── WHATSAPP BUTTON ─────────────────────────── */
.whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 50;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  transition: transform 0.2s;
}

.whatsapp-btn:hover { transform: scale(1.1); }

/* ── SHARED: PAGE HERO (primary bg) ─────────── */
.page-hero {
  background: var(--primary);
  padding: 80px 0;
  color: var(--primary-fg);
}

.page-hero .tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: hsl(121, 60%, 75%);
  margin-bottom: 8px;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  max-width: 640px;
  margin-bottom: 16px;
  line-height: 1.2;
}

.page-hero p {
  font-size: 1.125rem;
  color: rgba(250,250,250,0.7);
  max-width: 560px;
}

/* ── SHARED: SECTION HEADER ──────────────────── */
.section-header { text-align: center; margin-bottom: 48px; }

.section-header .tag {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 8px;
}

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--fg);
}

/* ── BUTTON ──────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Source Sans 3', sans-serif;
  cursor: pointer;
  border: none;
  transition: opacity 0.15s;
}

.btn-accent { background: var(--accent); color: var(--accent-fg); }
.btn-accent:hover { opacity: 0.9; }
.btn-primary { background: var(--primary); color: var(--primary-fg); }
.btn-primary:hover { opacity: 0.9; }

/* ── HOME: HERO ───────────────────────────────── */
.hero {
  position: relative;
  min-height: 85vh;
  min-height: max(85vh, 500px);
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.hero-content {
  position: relative;
  z-index: 10;
  color: white;
}

.hero-content .tag {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: hsl(121, 60%, 75%);
  margin-bottom: 8px;
}

.hero-content h1 {
  font-size: clamp(2rem, 6vw, 3.75rem);
  font-weight: 700;
  line-height: 1.15;
  max-width: 640px;
  margin-bottom: 24px;
}

.hero-content p {
  color: rgba(255,255,255,0.8);
  font-size: 1.125rem;
  max-width: 560px;
  margin-bottom: 32px;
}

/* ── HOME: OUR PROMISE ───────────────────────── */
.our-promise { padding: 80px 0; background: var(--bg); }

.promise-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 640px)  { .promise-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px)  { .promise-grid { grid-template-columns: repeat(4, 1fr); } }

.promise-card .img-wrap {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 2px;
  margin-bottom: 24px;
}

.promise-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.promise-card h3 { font-size: 1.25rem; font-weight: 700; color: var(--fg); margin-bottom: 12px; }
.promise-card p  { font-size: 0.875rem; color: var(--muted-fg); line-height: 1.65; }

/* ── HOME: STATS ─────────────────────────────── */
.stats-section { padding: 64px 0; background: var(--primary); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  text-align: center;
  color: var(--primary-fg);
}

@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

.stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: hsl(121, 60%, 80%);
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(250,250,250,0.7);
  margin-top: 4px;
}

/* ── HOME: CTA ───────────────────────────────── */
.cta-section { padding: 64px 0; background: var(--accent); text-align: center; }
.cta-section h2 { font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 700; color: var(--accent-fg); margin-bottom: 16px; }
.cta-section p  { color: rgba(250,250,250,0.8); margin-bottom: 24px; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ── ABOUT: STORY ────────────────────────────── */
.about-story { padding: 80px 0; }
.about-story .inner { max-width: 768px; margin: 0 auto; }
.about-story h2 { font-size: 1.875rem; font-weight: 700; margin-bottom: 24px; color: var(--fg); }
.about-story .story-text { display: flex; flex-direction: column; gap: 16px; }
.about-story p { color: var(--muted-fg); line-height: 1.75; }

/* ── ABOUT: VALUES ───────────────────────────── */
.values-section { padding: 80px 0; background: var(--secondary); }

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px)  { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .values-grid { grid-template-columns: repeat(4, 1fr); } }

.value-card {
  background: white;
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.value-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(54, 111, 56, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--accent);
}

.value-card h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 8px; color: var(--fg); }
.value-card p  { font-size: 0.875rem; color: var(--muted-fg); }

/* ── ABOUT: TEAM ─────────────────────────────── */
.team-section { padding: 80px 0; }

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 768px;
  margin: 0 auto;
}

@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }

.team-card { text-align: center; }

.team-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.team-avatar span {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-fg);
}

.team-card h3 { font-size: 1rem; font-weight: 600; color: var(--fg); }
.team-card p  { font-size: 0.875rem; color: var(--muted-fg); }

/* ── PROJECTS ────────────────────────────────── */
.projects-section { padding: 80px 0; }

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px)  { .projects-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .projects-grid { grid-template-columns: repeat(3, 1fr); } }

.project-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s;
  cursor: pointer;
}

.project-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.12); }

.project-card .img-wrap { height: 192px; overflow: hidden; }
.project-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.project-card:hover .img-wrap img { transform: scale(1.05); }

.project-card .card-body { padding: 16px; }
.project-card h3 { font-size: 1.125rem; font-weight: 600; color: var(--fg); margin-bottom: 4px; }
.project-card .meta { display: flex; align-items: center; gap: 4px; font-size: 0.875rem; color: var(--muted-fg); }

/* ── SERVICES ────────────────────────────────── */
.services-section { padding: 80px 0; }

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px)  { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s;
}

.service-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); }

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: rgba(54, 111, 56, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--accent);
}

.service-card h3 { font-size: 1.25rem; font-weight: 600; color: var(--fg); margin-bottom: 12px; }
.service-card p  { font-size: 0.875rem; color: var(--muted-fg); line-height: 1.65; margin-bottom: 16px; }

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
  transition: gap 0.15s;
}

.service-link:hover { gap: 8px; }

/* ── CONTACT ─────────────────────────────────── */
.contact-section { padding: 80px 0; }
.contact-section .inner { max-width: 672px; margin: 0 auto; }
.contact-section h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 24px; color: var(--fg); }

.contact-items { display: flex; flex-direction: column; gap: 24px; }

.contact-item { display: flex; align-items: flex-start; gap: 16px; }

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: rgba(54, 111, 56, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

.contact-item h3 { font-size: 0.875rem; font-weight: 600; color: var(--fg); margin-bottom: 4px; }
.contact-item p  { font-size: 0.875rem; color: var(--muted-fg); }

.map-wrap {
  margin-top: 32px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
