:root {
  --primary: #14877D;
  --primary-dark: #0D5A53;
  --accent: #21A79C;
  --bg: #FFFFFF;
  --surface: #F4FAF9;
  --text: #1A2332;
  --text-light: #5A6B7E;
  --border: #E2E8F0;
  --radius: 12px;
  --max-width: 1180px;
}

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

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }

a { color: var(--primary); }

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

:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 16px;
}
.site-header .logo img { height: 48px; width: auto; }
.site-header .header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 1.05rem;
  text-decoration: none;
}
.site-header .header-phone svg { width: 20px; height: 20px; fill: var(--primary); flex: 0 0 20px; }

/* Hero */
.hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  background: var(--primary-dark);
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,90,83,.75) 0%, rgba(13,90,83,.9) 100%);
}
.hero__content { position: relative; z-index: 2; padding: 64px 24px; max-width: 720px; }
.hero__content h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 800; margin-bottom: 16px; }
.hero__content p { font-size: 1.15rem; opacity: .95; margin-bottom: 28px; }
.hero__cta {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  transition: background .15s ease, transform .15s ease;
}
.hero__cta:hover { background: var(--accent); transform: translateY(-2px); }

/* Sections */
section { padding: 72px 0; }
.section-alt { background: var(--surface); }
.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--primary-dark);
  text-align: center;
  margin-bottom: 40px;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.about-grid img { border-radius: var(--radius); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.about-grid .about-text p { margin-bottom: 16px; font-size: 1.05rem; color: var(--text); }
.about-grid .about-text p:last-child { margin-bottom: 0; font-weight: 600; color: var(--primary-dark); }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 4px 14px rgba(0,0,0,.08);
}

/* Contact */
.contact-wrap {
  max-width: 620px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
.contact-wrap .section-title { margin-bottom: 8px; }
.contact-wrap .contact-sub { text-align: center; color: var(--text-light); margin-bottom: 32px; }
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: .92rem;
  color: var(--text);
}
.form-field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--surface);
}
.form-field input:focus { border-color: var(--primary); background: #fff; }
.contact-wrap button[type="submit"] {
  width: 100%;
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s ease;
  font-family: inherit;
}
.contact-wrap button[type="submit"]:hover { background: var(--accent); }
.contact-wrap button[type="submit"]:disabled { opacity: .6; cursor: default; }

/* Footer */
.site-footer {
  background: var(--primary-dark);
  color: #eafaf7;
  padding: 40px 0 24px;
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}
.footer-brand h3 { font-size: 1.15rem; margin-bottom: 8px; }
.footer-contact p { margin-bottom: 6px; font-size: .95rem; }
.footer-contact a { color: #eafaf7; text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: #eafaf7; text-decoration: none; font-size: .95rem; }
.footer-links a:hover { text-decoration: underline; }
.footer-copy {
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 18px;
  text-align: center;
  font-size: .85rem;
  color: rgba(255,255,255,.75);
}

/* Thanks page */
.thanks-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 64px 24px;
  gap: 24px;
}
.thanks-page img { max-width: 320px; }
.thanks-page h1 { font-size: 1.8rem; color: var(--primary-dark); font-weight: 800; }
.thanks-page a.back-home {
  display: inline-block;
  margin-top: 8px;
  padding: 12px 28px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
}
.thanks-page a.back-home:hover { background: var(--accent); }

/* FAB (WhatsApp + Call) */
.fab-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 2147483000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}
.fab {
  pointer-events: auto;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: transform 0.2s, box-shadow 0.2s;
}
.fab:hover { transform: scale(1.1); box-shadow: 0 6px 18px rgba(0,0,0,0.35); }
.fab:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.fab.call { background: var(--primary); }
.fab svg { width: 28px; height: 28px; fill: white; }
@media (max-width: 480px) {
  .fab { width: 48px; height: 48px; }
  .fab svg { width: 24px; height: 24px; }
}
@media print { .fab-container { display: none; } }
