/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --green-dark: #1a5c3a;
  --green-mid: #237a4c;
  --green-light: #2d9d62;
  --green-pale: #e8f5ee;
  --cream: #f7f5f0;
  --cream-dark: #ede9e0;
  --white: #ffffff;
  --black: #111111;
  --gray-900: #1a1a1a;
  --gray-700: #3a3a3a;
  --gray-500: #6b6b6b;
  --gray-300: #b0b0b0;
  --gray-100: #e8e8e8;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--sans);
  color: var(--gray-900);
  background-color: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

/* ===== SIDE NAVIGATION ===== */
.side-nav {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 80px;
  background: var(--green-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  z-index: 1000;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.side-nav__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.3s var(--ease-out);
  transform: rotate(180deg);
  letter-spacing: 0.05em;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  position: relative;
}

.side-nav__item::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 0;
  background: var(--green-light);
  transition: height 0.3s var(--ease-out);
}

.side-nav__item:hover,
.side-nav__item.active {
  color: rgba(255,255,255,0.95);
}

.side-nav__item:hover::before,
.side-nav__item.active::before {
  height: 24px;
}

.side-nav__num {
  font-family: var(--serif);
  font-size: 0.65rem;
  opacity: 0.5;
  transform: rotate(180deg);
}

/* ===== MOBILE HEADER ===== */
.mobile-header {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--green-dark);
  z-index: 1001;
  padding: 0 1.25rem;
  align-items: center;
  justify-content: space-between;
}

.mobile-header__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.mobile-header__name {
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
}

.mobile-header__toggle {
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 4px;
}

.mobile-header__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s var(--ease-out);
  transform-origin: center;
}

.mobile-header__toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-header__toggle.open span:nth-child(2) {
  opacity: 0;
}

.mobile-header__toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--green-dark);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  gap: 0.5rem;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-out);
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav__link {
  color: rgba(255,255,255,0.7);
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 700;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 0.3s, padding-left 0.3s;
}

.mobile-nav__link:hover {
  color: var(--white);
  padding-left: 0.5rem;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-left: 80px;
}

.hero__bg-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 4rem 0;
  margin-left: 4rem;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--green-dark);
  margin-bottom: 2rem;
}

.hero__eyebrow-line {
  width: 48px;
  height: 2px;
  background: var(--green-dark);
}

.hero__title {
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--gray-900);
  margin-bottom: 1.75rem;
}

.hero__title-accent {
  color: var(--green-dark);
  font-style: italic;
  font-weight: 400;
}

.hero__subtitle {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--gray-700);
  max-width: 480px;
  margin-bottom: 2.5rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__image {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 42%;
  overflow: hidden;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__image-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 120px;
  height: 100%;
  background: linear-gradient(to right, var(--cream), transparent);
  z-index: 1;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: calc(80px + 2rem);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gray-500);
  animation: float 2.5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  letter-spacing: 0.02em;
}

.btn--primary {
  background: var(--green-dark);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--green-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,92,58,0.3);
}

.btn--ghost {
  background: transparent;
  color: var(--green-dark);
  border: 1.5px solid var(--green-dark);
}

.btn--ghost:hover {
  background: var(--green-dark);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--full {
  width: 100%;
  justify-content: center;
}

/* ===== SECTIONS ===== */
.section {
  padding: 8rem 0;
}

.section__header {
  margin-bottom: 4rem;
}

.section__header--center {
  text-align: center;
}

.section__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--green-dark);
  margin-bottom: 1rem;
  position: relative;
  padding-left: 2rem;
}

.section__eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 1rem;
  height: 2px;
  background: var(--green-dark);
}

.section__title {
  font-family: var(--serif);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--gray-900);
}

.section__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--green-dark);
}

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

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

.service-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 6px;
  border: 1px solid var(--gray-100);
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--green-dark);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(26,92,58,0.1);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  background: var(--green-pale);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-dark);
  margin-bottom: 1.5rem;
  transition: background 0.3s;
}

.service-card:hover .service-card__icon {
  background: var(--green-dark);
  color: var(--white);
}

.service-card__title {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--gray-900);
}

.service-card__desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--gray-500);
}

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

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

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.about-image__badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--green-dark);
  color: var(--white);
  padding: 1.5rem 2rem;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 12px 32px rgba(26,92,58,0.3);
}

.about-image__badge-num {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
}

.about-image__badge-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.8;
  margin-top: 0.25rem;
}

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

.about__text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--gray-700);
  margin-bottom: 1.25rem;
}

.about__values {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-900);
}

.value-item svg {
  color: var(--green-dark);
  flex-shrink: 0;
}

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

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  gap: 1.25rem;
}

.gallery-item {
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item--large {
  grid-column: 1 / 8;
  grid-row: 1 / 2;
  min-height: 400px;
}

.gallery-item:nth-child(2) {
  grid-column: 8 / 13;
  grid-row: 1 / 2;
  min-height: 400px;
}

.gallery-item:nth-child(3) {
  grid-column: 1 / 6;
  grid-row: 2 / 3;
  min-height: 250px;
}

.gallery-item:nth-child(4) {
  grid-column: 6 / 13;
  grid-row: 2 / 3;
  min-height: 250px;
}

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

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

.contact-info__desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--gray-500);
  margin-bottom: 2.5rem;
}

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

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

.contact-detail__icon {
  width: 44px;
  height: 44px;
  background: var(--green-pale);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-dark);
  flex-shrink: 0;
}

.contact-detail__label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  margin-bottom: 0.25rem;
}

.contact-detail__value {
  display: block;
  font-size: 0.95rem;
  color: var(--gray-900);
  line-height: 1.5;
}

.contact-detail__link {
  color: var(--green-dark);
  font-weight: 500;
  transition: color 0.2s;
}

.contact-detail__link:hover {
  color: var(--green-mid);
}

/* Contact Form */
.contact-form-wrap {
  background: var(--cream);
  padding: 2.5rem;
  border-radius: 8px;
  border: 1px solid var(--gray-100);
}

.contact-form__title {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--gray-900);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--gray-900);
  background: var(--white);
  border: 1.5px solid var(--gray-100);
  border-radius: 4px;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-input::placeholder {
  color: var(--gray-300);
}

.form-input:focus {
  border-color: var(--green-dark);
  box-shadow: 0 0 0 3px rgba(26,92,58,0.1);
}

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

.form-success {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 1rem;
  background: var(--green-pale);
  border-radius: 4px;
  color: var(--green-dark);
  font-size: 0.9rem;
  font-weight: 500;
}

.form-success svg {
  flex-shrink: 0;
}

/* ===== MAP ===== */
.map-section {
  background: var(--gray-900);
}

.map-section iframe {
  opacity: 0.85;
  filter: grayscale(0.3);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--gray-900);
  color: var(--white);
  padding: 4rem 0 0;
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 3rem;
  align-items: start;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__logo {
  display: inline-block;
  margin-bottom: 0.75rem;
}

.footer__name {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__links a {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  transition: color 0.2s, padding-left 0.2s;
}

.footer__links a:hover {
  color: var(--white);
  padding-left: 0.25rem;
}

.footer__phone {
  display: block;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer__address {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.5;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* ===== ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .side-nav {
    display: none;
  }

  .mobile-header {
    display: flex;
  }

  .hero {
    padding-left: 0;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    padding-top: 60px;
    padding-bottom: 2rem;
  }

  .hero__content {
    margin-left: 0;
    padding: 2rem 1.5rem;
    text-align: center;
    max-width: 100%;
  }

  .hero__eyebrow {
    justify-content: center;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__image {
    position: relative;
    width: 100%;
    height: 300px;
    order: -1;
  }

  .hero__image-accent {
    display: none;
  }

  .hero__scroll-hint {
    left: 1.5rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-image__badge {
    right: 1rem;
    bottom: -1rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .gallery-item--large {
    grid-column: 1 / -1;
    min-height: 280px;
  }

  .gallery-item:nth-child(2) {
    grid-column: 1 / 7;
    min-height: 200px;
  }

  .gallery-item:nth-child(3) {
    grid-column: 7 / -1;
    min-height: 200px;
  }

  .gallery-item:nth-child(4) {
    grid-column: 1 / -1;
    min-height: 200px;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 1.25rem;
  }

  .section {
    padding: 5rem 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .about__values {
    grid-template-columns: 1fr;
  }

  .hero__title {
    font-size: 2.75rem;
  }

  .hero__actions {
    flex-direction: column;
  }

  .btn {
    justify-content: center;
  }

  .contact-form-wrap {
    padding: 1.5rem;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}
