/* ============================================
   Crossed Paths Surveying Services — Styles
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --forest: #1a5c3a;
  --forest-light: #237a4d;
  --forest-dark: #13452b;
  --forest-muted: #d4e8d8;
  --forest-pale: #eaf3ec;
  --cream: #f5f0e8;
  --cream-light: #faf7f2;
  --cream-dark: #e8e0d0;
  --warm-gray: #6b6560;
  --warm-gray-light: #9a9490;
  --text-dark: #1a1a18;
  --text-body: #3a3835;
  --text-muted: #6b6560;
  --white: #ffffff;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 3px rgba(26, 92, 58, 0.06), 0 1px 2px rgba(26, 92, 58, 0.04);
  --shadow-md: 0 4px 16px rgba(26, 92, 58, 0.08), 0 2px 4px rgba(26, 92, 58, 0.04);
  --shadow-lg: 0 12px 40px rgba(26, 92, 58, 0.12), 0 4px 12px rgba(26, 92, 58, 0.06);
  --shadow-xl: 0 24px 60px rgba(26, 92, 58, 0.14);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-body);
  background: var(--cream-light);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--text-dark);
  line-height: 1.25;
  font-weight: 500;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 247, 242, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(26, 92, 58, 0.08);
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(250, 247, 242, 0.95);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.logo-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.logo-light .logo-text { color: var(--cream); }
.logo-light .logo-sub { color: rgba(245, 240, 232, 0.6); }
.logo-light .logo-icon rect { fill: var(--forest); }
.logo-light .logo-icon path,
.logo-light .logo-icon circle { stroke: var(--cream); fill: none; }
.logo-light .logo-icon circle { fill: var(--cream); }

/* Nav */
.nav {
  display: flex;
  align-items: center;
  position: relative;
}

.nav nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-body);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav a:hover {
  color: var(--forest);
  background: var(--forest-pale);
}

.nav-cta {
  background: var(--forest) !important;
  color: var(--white) !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
  margin-left: 8px;
}

.nav-cta:hover {
  background: var(--forest-light) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.nav-close {
  display: none;
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-dark);
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-close:hover { background: var(--forest-pale); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-dark);
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-toggle:hover { background: var(--forest-pale); }

/* Mobile nav */
@media (max-width: 900px) {
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    background: var(--cream-light);
    padding: 80px 32px 32px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-xl);
    z-index: 1001;
  }
  
  .nav.open { transform: translateX(0); }
  
  .nav nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  
  .nav a {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    border-radius: var(--radius-md);
  }
  
  .nav-cta {
    margin-left: 0 !important;
    margin-top: 12px;
    text-align: center;
    border-radius: var(--radius-md) !important;
  }
  
  .nav-close { display: flex; align-items: center; justify-content: center; }
  
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 24, 0.4);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  
  .nav-overlay.active {
    opacity: 1;
    pointer-events: all;
  }
}

/* --- Hero --- */
.hero {
  padding-top: 76px;
  min-height: 100vh;
  min-height: 100dvh;
  background: linear-gradient(135deg, var(--cream-light) 0%, var(--cream) 50%, var(--forest-pale) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 92, 58, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 92, 58, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--white);
  border: 1px solid var(--forest-muted);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--forest);
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 600;
  line-height: 1.12;
  margin-bottom: 24px;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

.hero-title em {
  color: var(--forest);
  font-style: italic;
}

.hero-desc {
  font-size: 1.12rem;
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 52px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--forest);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(26, 92, 58, 0.25);
}

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

.btn-ghost {
  background: var(--white);
  color: var(--text-dark);
  border: 1.5px solid var(--cream-dark);
  box-shadow: var(--shadow-sm);
}

.btn-ghost:hover {
  border-color: var(--forest);
  color: var(--forest);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-light {
  background: var(--white);
  color: var(--forest);
  box-shadow: var(--shadow-md);
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-light-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-light-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

.btn-outline {
  background: transparent;
  color: var(--forest);
  border: 1.5px solid var(--forest);
}

.btn-outline:hover {
  background: var(--forest);
  color: var(--white);
  transform: translateY(-2px);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--forest);
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--cream-dark);
}

/* Hero Image */
.hero-image {
  position: relative;
}

.hero-image-wrapper {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.hero-image-wrapper img {
  width: 100%;
  height: 780px;
  object-fit: cover;
  display: block;
}

.hero-image-accent {
  position: absolute;
  bottom: -40px;
  left: -40px;
  z-index: -1;
  opacity: 0.5;
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 60px 0;
  }
  
  .hero-image { order: -1; max-width: 500px; margin: 0 auto; }
  .hero-image-wrapper img { height: 500px; }
  .hero-stats { gap: 24px; }
}

@media (max-width: 600px) {
  .hero { padding-top: 76px; }
  .hero-grid { padding: 40px 0; gap: 32px; }
  .hero-title { font-size: 2rem; }
  .hero-desc { font-size: 1rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .stat-divider { display: none; }
}

/* --- Section Shared --- */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--forest);
  margin-bottom: 16px;
  padding: 6px 14px;
  background: var(--forest-pale);
  border-radius: 100px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- Services --- */
.services {
  padding: 120px 0;
  background: var(--white);
}

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

.service-card {
  padding: 36px 32px;
  background: var(--cream-light);
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  transition: var(--transition);
}

.service-card:hover {
  background: var(--white);
  border-color: var(--forest-muted);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--forest-pale);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--forest);
}

.service-card:hover .service-icon svg {
  stroke: var(--white);
}

.service-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.service-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--forest);
  transition: var(--transition);
}

.service-link:hover { gap: 12px; }

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

@media (max-width: 600px) {
  .services { padding: 80px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 28px 24px; }
}

/* --- About --- */
.about {
  padding: 120px 0;
  background: var(--cream-light);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, var(--forest-pale) 100%);
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.about-image-col {
  position: relative;
}

.about-image-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image-main img {
  width: 100%;
  height: 640px;
  object-fit: cover;
  display: block;
}

.about-image-secondary {
  position: absolute;
  bottom: -32px;
  right: -32px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid var(--cream-light);
}

.about-image-secondary img {
  width: 400px;
  height: 300px;
  object-fit: cover;
  display: block;
}

.about-experience-badge {
  position: absolute;
  top: -20px;
  left: -20px;
  background: var(--forest);
  color: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-experience-badge .exp-number {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.about-experience-badge .exp-label {
  font-size: 0.78rem;
  line-height: 1.4;
  opacity: 0.85;
}

.about-content-col .section-tag { margin-bottom: 16px; }

.about-body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 20px;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.value-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.value-check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--forest-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.value-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.value-item span {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-image-secondary { right: 0; }
  .about::before { display: none; }
}

@media (max-width: 600px) {
  .about { padding: 80px 0; }
  .about-image-main img { height: 400px; }
  .about-image-secondary { display: none; }
  .about-experience-badge { top: 16px; left: 16px; }
}

/* --- Process --- */
.process {
  padding: 120px 0;
  background: var(--white);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process-step {
  text-align: center;
  padding: 0 24px;
  position: relative;
}

.step-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--forest-muted);
  line-height: 1;
  margin-bottom: 16px;
}

.process-step h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.process-step p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.process-step-connector {
  position: absolute;
  top: 36px;
  right: -12px;
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--forest-muted), var(--cream-dark));
}

.process-step-connector::after {
  content: '';
  position: absolute;
  right: -4px;
  top: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--forest);
}

@media (max-width: 900px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .process-step-connector { display: none; }
}

@media (max-width: 600px) {
  .process { padding: 80px 0; }
  .process-steps { grid-template-columns: 1fr; gap: 32px; }
}

/* --- Testimonials --- */
.testimonials {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--forest-pale) 0%, var(--cream-light) 100%);
}

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

.testimonial-card {
  background: var(--white);
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(26, 92, 58, 0.06);
  transition: var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.testimonial-quote-icon {
  margin-bottom: 20px;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  flex-shrink: 0;
}

.author-name {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.author-detail {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
}

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

@media (max-width: 600px) {
  .testimonials { padding: 80px 0; }
  .testimonial-card { padding: 28px 24px; }
}

/* --- Areas --- */
.areas {
  padding: 120px 0;
  background: var(--white);
}

.areas-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.areas-content .section-tag { margin-bottom: 16px; }
.areas-content .section-title { margin-bottom: 20px; }
.areas-desc { font-size: 1rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 36px; }

.areas-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 36px;
}

.area-group h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.area-group p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.areas-map {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.areas-map img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}

.map-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -100%);
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
  animation: pinBounce 2s ease-in-out infinite;
}

@keyframes pinBounce {
  0%, 100% { transform: translate(-50%, -100%); }
  50% { transform: translate(-50%, -110%); }
}

@media (max-width: 1024px) {
  .areas-layout { grid-template-columns: 1fr; gap: 48px; }
  .areas-map img { height: 360px; }
}

@media (max-width: 600px) {
  .areas { padding: 80px 0; }
}

/* --- FAQ --- */
.faq {
  padding: 120px 0;
  background: var(--cream-light);
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(26, 92, 58, 0.06);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--forest-muted);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: var(--transition);
}

.faq-question:hover { color: var(--forest); }

.faq-toggle {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--forest-pale);
  border-radius: 50%;
  transition: var(--transition);
}

.faq-item.active .faq-toggle {
  background: var(--forest);
  transform: rotate(45deg);
}

.faq-item.active .faq-toggle svg { stroke: var(--white); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p {
  padding: 0 28px 22px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.faq-item.active .faq-answer { max-height: 300px; }

@media (max-width: 600px) {
  .faq { padding: 80px 0; }
  .faq-question { padding: 18px 20px; font-size: 0.92rem; }
  .faq-answer p { padding: 0 20px 18px; }
}

/* --- CTA Banner --- */
.cta-banner {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--forest-dark) 0%, var(--forest) 50%, var(--forest-light) 100%);
  position: relative;
  overflow: hidden;
}

.cta-banner::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");
  pointer-events: none;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--white);
  margin-bottom: 12px;
}

.cta-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  max-width: 500px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-desc { max-width: 100%; }
  .cta-actions { justify-content: center; }
}

/* --- Contact --- */
.contact {
  padding: 120px 0;
  background: var(--cream-light);
}

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

.contact-info .section-tag { margin-bottom: 16px; }
.contact-info .section-title { margin-bottom: 20px; }
.contact-desc { font-size: 1rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 40px; }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.detail-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--forest-pale);
  border-radius: var(--radius-md);
}

.contact-detail strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-detail a,
.contact-detail span {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.6;
}

.contact-detail a:hover { color: var(--forest); }

/* Form */
.contact-form-col {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(26, 92, 58, 0.06);
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }

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

.form-group { display: flex; flex-direction: column; gap: 8px; }

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  color: var(--text-dark);
  background: var(--cream-light);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--forest);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(26, 92, 58, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--warm-gray-light);
}

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

.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 4px;
}

.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
  gap: 16px;
}

.form-success.active { display: flex; }

.success-icon { margin-bottom: 8px; }

.form-success h3 {
  font-size: 1.5rem;
  color: var(--forest);
  margin-bottom: 8px;
}

.form-success p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 8px;
}

@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-form-col { padding: 32px; }
}

@media (max-width: 600px) {
  .contact { padding: 80px 0; }
  .contact-form-col { padding: 24px; }
  .form-row { grid-template-columns: 1fr; }
}

/* --- Footer --- */
.footer {
  background: var(--text-dark);
  color: rgba(245, 240, 232, 0.7);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(245, 240, 232, 0.1);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.75;
  margin-top: 16px;
  max-width: 300px;
  color: rgba(245, 240, 232, 0.55);
}

.footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cream);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 0.88rem;
  color: rgba(245, 240, 232, 0.55);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.footer-col a:hover { color: var(--cream); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 28px 0;
  font-size: 0.82rem;
  color: rgba(245, 240, 232, 0.4);
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .footer { padding: 60px 0 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* --- Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }
.fade-up:nth-child(5) { transition-delay: 0.4s; }
.fade-up:nth-child(6) { transition-delay: 0.5s; }
