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

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

:root {
  --primary: #3da882;
  --primary-dark: #2e8a6a;
  --primary-light: #e8f5f0;
  --foreground: #1e2a30;
  --muted: #6b7d85;
  --bg: #fdfdfd;
  --card: #ffffff;
  --border: #e2e8ed;
  --accent-bg: #f3faf7;
  --radius: 0.625rem;
  --font-display: 'Playfair Display', serif;
  --font-body: 'Source Sans 3', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--foreground); background: var(--bg); line-height: 1.6; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* Header */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: rgba(253,253,253,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 4.5rem; }
.logo-link { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--foreground); }
.logo-link img { height: 2.75rem; width: auto; border-radius: 6px; }
.logo-text { font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; }
.desktop-nav { display: none; gap: 2rem; list-style: none; }
.desktop-nav a { font-size: .875rem; font-weight: 500; color: var(--muted); text-decoration: none; transition: color .2s; }
.desktop-nav a:hover { color: var(--primary); }
.menu-toggle { display: flex; align-items: center; justify-content: center; background: none; border: none; cursor: pointer; padding: .5rem; color: var(--foreground); }
.menu-toggle svg { width: 24px; height: 24px; }
.mobile-nav { display: none; border-top: 1px solid var(--border); background: var(--bg); padding: 1rem 1.5rem; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: .625rem 0; font-size: 1rem; font-weight: 500; color: var(--foreground); text-decoration: none; }
.mobile-nav a:hover { color: var(--primary); }

@media(min-width:768px) {
  .desktop-nav { display: flex; }
  .menu-toggle { display: none; }
  .header-inner { height: 5rem; }
}

/* Hero */
.hero { position: relative; min-height: 85vh; display: flex; align-items: center; padding-top: 5rem; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: rgba(30,42,48,.6); }
.hero-content { position: relative; z-index: 1; text-align: center; padding: 5rem 0; width: 100%; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; color: #fff; margin-bottom: 1.5rem; text-wrap: balance; animation: fadeInUp .6s ease-out; }
.hero p { font-size: clamp(1rem, 2.5vw, 1.25rem); color: rgba(255,255,255,.85); max-width: 640px; margin: 0 auto 2.5rem; animation: fadeInUp .6s ease-out .15s both; }
.hero-buttons { display: flex; flex-direction: column; gap: 1rem; justify-content: center; animation: fadeInUp .6s ease-out .3s both; }
@media(min-width:640px) { .hero-buttons { flex-direction: row; } }
.btn-primary, .btn-outline { display: inline-flex; align-items: center; justify-content: center; padding: .875rem 2rem; border-radius: var(--radius); font-size: 1rem; font-weight: 600; font-family: var(--font-body); cursor: pointer; transition: all .2s; text-decoration: none; }
.btn-primary { background: var(--primary); color: #fff; border: none; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.3); }
.btn-outline:hover { background: rgba(255,255,255,.1); color: #fff; }

/* Sections */
.section { padding: 5rem 0; }
.section-alt { background: var(--accent-bg); }
.section-title { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; text-align: center; margin-bottom: 1rem; }
.section-subtitle { font-size: 1.125rem; color: var(--muted); text-align: center; max-width: 560px; margin: 0 auto 3.5rem; }

/* Cards */
.card { background: var(--card); border-radius: var(--radius); padding: 2rem; border: 1px solid var(--border); transition: box-shadow .2s; }
.card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.06); }
.card-icon { width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--primary-light); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; }
.card-icon svg { width: 1.5rem; height: 1.5rem; color: var(--primary); }
.card h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; margin-bottom: .75rem; text-align: center; }
.card p { color: var(--muted); text-align: center; line-height: 1.7; }

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

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

/* USP items */
.usp-item { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 1.5rem; }
.usp-item .card-icon { width: 3rem; height: 3rem; margin-bottom: 1rem; }
.usp-item h3 { font-size: 1.125rem; margin-bottom: .5rem; }
.usp-item p { font-size: .875rem; }

/* Gallery */
.gallery-grid { display: grid; gap: 1.25rem; }
@media(min-width:640px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media(min-width:1024px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-item { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; background: var(--accent-bg); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-item:hover img { transform: scale(1.05); }

/* Contact */
.contact-grid { display: grid; gap: 3rem; max-width: 900px; margin: 0 auto; }
@media(min-width:768px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-info { display: flex; flex-direction: column; gap: 2rem; }
.contact-row { display: flex; gap: 1rem; align-items: flex-start; }
.contact-row .card-icon { margin: 0; flex-shrink: 0; width: 2.75rem; height: 2.75rem; }
.contact-row h3 { font-size: 1rem; font-weight: 600; margin-bottom: .25rem; text-align: left; }
.contact-row p, .contact-row a { font-size: .9375rem; text-align: left; }
.contact-form { background: var(--card); border-radius: var(--radius); padding: 2rem; border: 1px solid var(--border); box-shadow: 0 2px 12px rgba(0,0,0,.04); }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: .875rem; font-weight: 500; margin-bottom: .375rem; }
.form-group input, .form-group textarea { width: 100%; padding: .625rem 1rem; border-radius: var(--radius); border: 1px solid var(--border); background: var(--bg); font-family: var(--font-body); font-size: .9375rem; color: var(--foreground); resize: none; transition: border-color .2s, box-shadow .2s; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(61,168,130,.15); }
.btn-submit { width: 100%; padding: .75rem; border-radius: var(--radius); background: var(--primary); color: #fff; border: none; font-family: var(--font-body); font-size: 1rem; font-weight: 600; cursor: pointer; transition: background .2s; }
.btn-submit:hover { background: var(--primary-dark); }
.form-success { text-align: center; padding: 2rem 0; }
.form-success h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.form-success p { color: var(--muted); }

/* Footer */
.site-footer { background: var(--foreground); color: rgba(255,255,255,.6); padding: 3rem 0; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; text-align: center; }
@media(min-width:768px) { .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; } }
.footer-brand { font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; color: #fff; margin-bottom: .25rem; }
.footer-tagline { font-size: .875rem; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: .875rem; color: rgba(255,255,255,.6); }
.footer-links a:hover { color: #fff; }
.footer-bottom { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.08); text-align: center; font-size: .75rem; color: rgba(255,255,255,.4); }

/* Legal pages */
.legal-page { padding-top: 6rem; padding-bottom: 5rem; }
.legal-page h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; margin-bottom: 2.5rem; }
.legal-page h2 { font-size: 1.25rem; font-weight: 600; margin-bottom: .75rem; margin-top: 2rem; }
.legal-page ul { list-style: none; padding: 0; }
.legal-page li { padding: .375rem 0; color: var(--muted); }
.legal-page li strong { color: var(--foreground); }
.legal-page p { color: var(--muted); margin-bottom: .75rem; }
.legal-page .container { max-width: 720px; }

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Problem card centered */
.problem-card { max-width: 720px; margin: 0 auto; }
