:root {
  --sand: #f5f1e8;
  --forest: #2d4a3e;
  --dark: #1a1a1a;
  --sage: #7a9b89;
  --burnt: #c4744e;
  --cream: #fdfbf7;
}

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

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  background: var(--cream);
  color: var(--dark);
  line-height: 1.8;
}

h1, h2, h3, button, .btn, nav {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(253, 251, 247, 0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
  padding: 1rem 0;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--forest);
  text-decoration: none;
}

.logo { width: 32px; height: 32px; }

nav ul {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

nav a {
  color: var(--forest);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover { color: var(--burnt); }

.btn {
  padding: 0.9rem 1.8rem;
  background: var(--burnt);
  color: white;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
}

.btn:hover {
  background: #b5654a;
  transform: translateY(-2px);
}

.hero {
  margin-top: 70px;
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(45, 74, 62, 0.6), rgba(45, 74, 62, 0.4)),
              url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><rect fill="%237a9b89" width="1200" height="800"/></svg>');
  background-size: cover;
  background-position: center;
  text-align: center;
  color: white;
  padding: 3rem 1.5rem;
}

.hero-content {
  max-width: 800px;
  width: 100%;
}

.kicker {
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1.5rem;
  display: inline-block;
  color: var(--sand);
}

.hero h1 {
  font-size: clamp(1.8rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  margin-bottom: 2rem;
  opacity: 0.95;
  line-height: 1.6;
}

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

.btn-secondary {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.btn-secondary:hover {
  background: white;
  color: var(--forest);
}

section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--forest);
  margin-bottom: 1rem;
  font-weight: 700;
}

.section-header p {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--sage);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.service-item h3 {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  color: var(--forest);
  margin-bottom: 1rem;
  font-weight: 600;
}

.service-item p {
  color: var(--sage);
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  line-height: 1.7;
}

.how-works {
  background: var(--sand);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.step-number {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--burnt);
  font-weight: 700;
  margin-bottom: 1rem;
}

.step h3 {
  font-size: clamp(1.2rem, 3vw, 1.4rem);
  color: var(--forest);
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.step p {
  color: var(--sage);
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  line-height: 1.7;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.package {
  background: white;
  padding: 2.5rem 2rem;
  position: relative;
}

.package-badge {
  position: absolute;
  top: -12px;
  left: 2rem;
  background: var(--burnt);
  color: white;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.package h3 {
  font-size: clamp(1.5rem, 3vw, 1.8rem);
  color: var(--forest);
  margin-bottom: 1rem;
  font-weight: 700;
}

.price {
  font-size: clamp(2.2rem, 5vw, 3rem);
  color: var(--burnt);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.package-duration {
  color: var(--sage);
  margin-bottom: 2rem;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
}

.package ul {
  list-style: none;
  margin: 2rem 0;
}

.package li {
  padding: 0.6rem 0;
  color: var(--sage);
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  line-height: 1.6;
}

.package li::before {
  content: '✓';
  color: var(--burnt);
  font-weight: 700;
  margin-right: 0.8rem;
  font-size: 1.1rem;
}

.notice {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: var(--sand);
  color: var(--sage);
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  line-height: 1.7;
}

footer {
  background: var(--forest);
  color: var(--sand);
  padding: 2.5rem 1.5rem;
  text-align: center;
}

footer a {
  color: var(--sand);
  margin: 0 0.8rem;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.content-page {
  margin-top: 70px;
  padding: 3rem 1.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.content-page h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--forest);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.content-page h2 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  color: var(--forest);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.content-page p {
  margin-bottom: 1.5rem;
  color: var(--sage);
  font-size: clamp(1rem, 2vw, 1.1rem);
  line-height: 1.7;
}

.page-date {
  color: var(--sage);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.contact-card {
  background: white;
  padding: 2rem;
}

.contact-card h3 {
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  color: var(--forest);
  margin-bottom: 1rem;
}

.contact-card p {
  color: var(--sage);
  margin-bottom: 1rem;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  line-height: 1.6;
}

.contact-card a {
  color: var(--burnt);
  text-decoration: none;
  word-break: break-word;
}

.contact-card a:hover {
  text-decoration: underline;
}

address {
  font-style: normal;
  line-height: 1.8;
}

/* --- ROTATING HEADER STYLES --- */
#rotating-text {
  display: inline-block; /* Essential for animation */
  color: var(--burnt); /* Highlight the rotating text */
  transition: opacity 0.7s ease-in-out; /* Smooth transition, should match JS timeout */
}

.fade-out {
  opacity: 0;
}

.fade-in {
  opacity: 1;
}

/* Mobile specific fixes */
@media (max-width: 768px) {
  header {
    padding: 0.8rem 0;
  }
  
  .nav {
    padding: 0 1rem;
  }
  
  .brand {
    font-size: 1rem;
  }
  
  .logo {
    width: 28px;
    height: 28px;
  }
  
  nav ul {
    display: none;
  }
  
  .nav .btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.85rem;
  }
  
  .hero {
    margin-top: 60px;
    min-height: 60vh;
    padding: 2rem 1rem;
  }
  
  .kicker {
    font-size: 0.7rem;
    letter-spacing: 1px;
  }
  
  .hero h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .hero p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-buttons .btn {
    width: 100%;
    padding: 1rem;
  }
  
  section {
    padding: 3rem 1rem;
  }
  
  .services-grid,
  .steps-grid,
  .packages-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .package {
    padding: 2rem 1.5rem;
  }
  
  .package-badge {
    left: 1.5rem;
    font-size: 0.75rem;
    padding: 0.3rem 0.8rem;
  }
  
  .content-page {
    padding: 2rem 1rem;
  }
  
  footer {
    padding: 2rem 1rem;
  }
  
  footer a {
    display: inline-block;
    margin: 0.3rem 0.5rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.5rem;
  }
  
  .btn {
    padding: 0.8rem 1.4rem;
    font-size: 0.9rem;
  }
  
  .price {
    font-size: 2rem;
  }
  
  .step-number {
    font-size: 2rem;
  }
}