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

:root {
  --emerald-950: #042f23;
  --emerald-900: #064e3b;
  --emerald-800: #065f46;
  --emerald-700: #047857;
  --emerald-600: #059669;
  --emerald-500: #10b981;
  --emerald-100: #d1fae5;
  --emerald-50:  #ecfdf5;
  --cream:       #faf9f6;
  --cream-dark:  #f5f3ee;
  --cream-mid:   #eae7df;
  --text-dark:   #1a1a1a;
  --text-mid:    #4a4a4a;
  --text-light:  #6b6b6b;
  --text-inverse:#f5f3ee;
  --white:       #ffffff;
  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--emerald-900);
  color: var(--white);
  padding: 0.5rem 1rem;
  z-index: 100;
  font-size: 0.875rem;
  border-radius: 0 0 4px 4px;
}
.skip-link:focus {
  top: 0;
}

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

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--cream-mid);
  transition: box-shadow 0.3s var(--ease-out);
}
.nav.scrolled {
  box-shadow: 0 1px 20px rgba(0,0,0,0.06);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.nav-logo-mark {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.125rem;
  color: var(--emerald-800);
  border: 1.5px solid var(--emerald-800);
  border-radius: 4px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.02em;
}

.nav-logo-text {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--emerald-900);
  letter-spacing: 0.01em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-menu a {
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mid);
  transition: color 0.2s;
  position: relative;
}
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--emerald-700);
  transition: width 0.3s var(--ease-out);
}
.nav-menu a:hover {
  color: var(--emerald-800);
}
.nav-menu a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle-line {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-dark);
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 2rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--cream-mid);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s var(--ease-out), opacity 0.3s;
  }
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--emerald-950);
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(5, 150, 105, 0.4) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(16, 185, 129, 0.25) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 80%, rgba(4, 79, 63, 0.6) 0%, transparent 50%),
    linear-gradient(160deg, #042f23 0%, #064e3b 40%, #047857 70%, #065f46 100%);
  z-index: 1;
}

.hero-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 8rem 1.5rem 4rem;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--emerald-100);
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

.hero-headline {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2.25rem, 5.5vw, 4.5rem);
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.1875rem);
  color: rgba(245, 243, 238, 0.75);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-trust span {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 243, 238, 0.5);
}

.trust-divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(245, 243, 238, 0.25);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.875rem 2rem;
  border-radius: 4px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
}

.btn-primary {
  background: var(--emerald-700);
  color: var(--white);
  border-color: var(--emerald-700);
}
.btn-primary:hover {
  background: var(--emerald-800);
  border-color: var(--emerald-800);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(4, 79, 63, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}
.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}

.btn-full {
  width: 100%;
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }
  .btn {
    width: 100%;
  }
}

/* ===== SECTION COMMON ===== */
.section {
  padding: 7rem 0;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--emerald-700);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  line-height: 1.2;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}

/* ===== SERVICES ===== */
.services {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  padding: 2rem;
  border: 1px solid var(--cream-mid);
  border-radius: 6px;
  transition: all 0.3s var(--ease-out);
  background: var(--cream);
}
.service-card:hover {
  border-color: var(--emerald-200, #a7f3d0);
  box-shadow: 0 8px 30px rgba(4, 79, 63, 0.08);
  transform: translateY(-2px);
}

.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--emerald-50);
  color: var(--emerald-700);
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-bottom: 0.625rem;
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.7;
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 540px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== ABOUT ===== */
.about {
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4/5;
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content {
  padding: 1rem 0;
}

.about-content .section-eyebrow {
  text-align: left;
  margin-bottom: 0.75rem;
}

.about-content .section-title {
  text-align: left;
  margin-bottom: 1.5rem;
}

.about-content p {
  font-size: 1rem;
  color: var(--text-mid);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.about-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--cream-mid);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-number {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 2rem;
  color: var(--emerald-800);
  line-height: 1;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--text-light);
  letter-spacing: 0.04em;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-image {
    aspect-ratio: 16/9;
  }
  .about-content .section-eyebrow,
  .about-content .section-title {
    text-align: center;
  }
  .about-content p {
    text-align: center;
  }
}

/* ===== GALLERY ===== */
.gallery {
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-item {
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.gallery-item:hover img {
  transform: scale(1.04);
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  background: var(--cream);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--cream-mid);
  border-radius: 6px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.testimonial-quote {
  color: var(--emerald-200, #6ee7b7);
  flex-shrink: 0;
}

.testimonial-card p {
  font-size: 0.9375rem;
  color: var(--text-mid);
  line-height: 1.8;
  flex: 1;
}

.testimonial-card footer {
  font-size: 0.8125rem;
  color: var(--text-light);
  font-style: normal;
  letter-spacing: 0.04em;
}

@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }
}

/* ===== CTA ===== */
.cta {
  background: var(--emerald-900);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(16, 185, 129, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 10% 50%, rgba(5, 150, 105, 0.1) 0%, transparent 50%);
}

.cta .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta .section-eyebrow {
  color: var(--emerald-100);
  margin-bottom: 1rem;
}

.cta .section-title {
  color: var(--white);
  margin-bottom: 1.25rem;
}

.cta > .container > .cta-content > p {
  color: rgba(245, 243, 238, 0.7);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  font-size: 1.0625rem;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .cta-actions {
    flex-direction: column;
  }
}

/* ===== CONTACT ===== */
.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info .section-eyebrow {
  text-align: left;
}

.contact-info .section-title {
  text-align: left;
  margin-bottom: 1rem;
}

.contact-info > p {
  font-size: 1rem;
  color: var(--text-mid);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.contact-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item svg {
  color: var(--emerald-700);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item strong {
  display: block;
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-item span,
.contact-item a {
  font-size: 0.9375rem;
  color: var(--text-mid);
  line-height: 1.7;
}
.contact-item a:hover {
  color: var(--emerald-700);
  text-decoration: underline;
}

/* FORM */
.contact-form-wrap {
  background: var(--cream);
  border: 1px solid var(--cream-mid);
  border-radius: 6px;
  padding: 2.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mid);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--text-dark);
  background: var(--white);
  border: 1px solid var(--cream-mid);
  border-radius: 4px;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--emerald-600);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 2rem;
  text-align: center;
  color: var(--emerald-800);
}
.form-success svg {
  color: var(--emerald-600);
}
.form-success p {
  font-size: 0.9375rem;
  color: var(--text-mid);
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .contact-info .section-eyebrow,
  .contact-info .section-title {
    text-align: center;
  }
  .contact-info > p {
    text-align: center;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ===== FOOTER ===== */
.footer {
  background: var(--emerald-950);
  color: var(--text-inverse);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-brand .nav-logo-mark {
  border-color: var(--emerald-500);
  color: var(--emerald-400);
  width: 44px;
  height: 44px;
  font-size: 1.25rem;
}

.footer-brand-name {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--white);
}

.footer-brand p {
  font-size: 0.875rem;
  color: rgba(245, 243, 238, 0.5);
  line-height: 1.7;
  max-width: 280px;
}

.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-links strong,
.footer-contact strong {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--emerald-400);
  margin-bottom: 0.25rem;
}

.footer-links a,
.footer-contact a {
  font-size: 0.875rem;
  color: rgba(245, 243, 238, 0.6);
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--white);
}

.footer-contact span {
  font-size: 0.875rem;
  color: rgba(245, 243, 238, 0.5);
  line-height: 1.7;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(245, 243, 238, 0.35);
  text-align: center;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
</style>
