/* ===================================
   CSS RESET & BASE STYLES
   =================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===================================
   CSS VARIABLES - COLOR SYSTEM
   =================================== */
:root {
  /* Primary Colors - Restore Style */
  --primary-green: #1F5A45;
  --primary-hover: #184A39;
  --text-primary: #1F2320;
  --text-secondary: rgba(31, 35, 32, 0.72);
  --card-bg: #F7F7F5;
  --card-border: rgba(0, 0, 0, 0.06);
  --main-bg: #F6F4F1;
  --divider-beige: #DCCFB8;
  --outline-border: rgba(31, 90, 69, 0.35);
  --white: #FFFFFF;
  --soft-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);

  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-padding: 120px 20px;
  --section-padding-mobile: 48px 20px;
  --max-content-width: 1080px;
  --max-text-width: 680px;

  /* Radius */
  --card-radius: 20px;
  --panel-radius: 26px;
  --btn-radius: 999px;
}

/* ===================================
   TYPOGRAPHY
   =================================== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-primary);
  background-color: var(--main-bg);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--primary-green);
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 {
  font-size: 48px;
  font-weight: 600;
}

h2 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

h3 {
  font-size: 24px;
  font-weight: 600;
}

p {
  margin-bottom: 1.2rem;
  color: var(--text-secondary);
}

a {
  color: var(--primary-green);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.8;
}

/* ===================================
   HEADER & NAVIGATION
   =================================== */
header {
  background-color: var(--white);
  padding: 16px 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: 72px;
}

.header-container {
  max-width: var(--max-content-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--primary-green);
  font-weight: 600;
}

.logo-name {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: right;
}

.logo-divider {
  width: 1px;
  height: 50px;
  background-color: var(--divider-beige);
}

.logo-symbol {
  width: 50px;
  height: 50px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 35px;
}

nav a {
  color: var(--primary-green);
  font-size: 17px;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--primary-hover);
  opacity: 0.8;
}

nav a.active {
  color: #5A9F85;
  /* Lighter green */
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1.5px;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--primary-green);
  cursor: pointer;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
  position: relative;
  min-height: 580px;
  max-height: 640px;
  display: flex;
  align-items: center;
  background-image: url('/images/banner-final.webp'), url('/images/banner-final.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #F6F4F1;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 80px 120px 80px 40px;
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.hero-text {
  max-width: 560px;
  margin-left: auto;
}

.hero h1 {
  color: #FFFFFF;
  margin-bottom: 10px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero .subtitle {
  font-size: 20px;
  color: #FFFFFF;
  margin-bottom: 15px;
  font-weight: 500;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.hero .tagline {
  font-size: 18px;
  line-height: 1.6;
  color: #FFFFFF;
  margin-bottom: 35px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero .btn-secondary {
  background-color: transparent;
  color: #FFFFFF;
  border-color: #FFFFFF;
}

.hero .btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.15);
  opacity: 1;
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
  display: inline-block;
  padding: 14px 22px;
  border-radius: var(--btn-radius);
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.3s ease;
  font-family: var(--font-body);
}

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

.btn-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  opacity: 1;
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-green);
  border-color: var(--outline-border);
}

.btn-secondary:hover {
  background-color: rgba(31, 90, 69, 0.08);
  opacity: 1;
}

/* Small button variant */
.btn-sm {
  padding: 12px 18px;
  font-size: 15px;
}

/* Standardized button container */
.btn-container {
  margin-top: 40px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  width: 100%;
}

.btn-container.text-center {
  justify-content: center;
}

/* ===================================
   SECTIONS
   =================================== */
section {
  padding: var(--section-padding);
}

.section-alt {
  background-color: var(--card-bg);
}

.container {
  max-width: var(--max-content-width);
  margin: 0 auto;
}

.content-wrapper {
  max-width: var(--max-text-width);
  margin: 0 auto;
}

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

/* ===================================
   SECTION DIVIDER (Logo with Lines)
   =================================== */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 14px auto 40px;
  width: 100%;
  max-width: 320px;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: var(--divider-beige);
}

.divider-line.left {
  background: linear-gradient(to right, transparent 0%, var(--divider-beige) 60%, var(--divider-beige) 100%);
}

.divider-line.right {
  background: linear-gradient(to left, transparent 0%, var(--divider-beige) 60%, var(--divider-beige) 100%);
}

.divider-symbol {
  width: 28px;
  height: 28px;
  margin: 0 12px;
  flex-shrink: 0;
}

/* ===================================
   CARDS
   =================================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.card {
  background-color: var(--card-bg);
  padding: 30px 28px;
  border-radius: var(--card-radius);
  border: 1px solid var(--card-border);
  box-shadow: var(--soft-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.card h3 {
  color: var(--primary-green);
  margin-bottom: 8px;
}

.card-subtitle {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 14px;
  font-style: italic;
}

.card p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 20px;
  text-align: left;
}

.card .btn {
  margin-top: 24px;
  align-self: flex-start;
}

.card-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

/* Card icon container */
.card-icon {
  width: 38px;
  height: 38px;
  background: rgba(31, 90, 69, 0.10);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  flex-shrink: 0;
}

.card-icon svg,
.card-icon img {
  width: 20px;
  height: 20px;
  color: var(--primary-green);
}

.card h3 {
  margin-bottom: 0;
  font-size: 22px;
}

/* ===================================
   TESTIMONIALS
   =================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 30px;
}

.testimonial-card {
  background-color: #F2F0ED;
  padding: 36px 32px;
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.testimonial-text {
  font-size: 18px;
  font-style: italic;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.testimonial-author {
  font-weight: 500;
  color: var(--primary-green);
  font-size: 16px;
}

/* ===================================
   LISTS
   =================================== */
ul.styled-list {
  list-style: none;
  margin: 25px 0;
}

ul.styled-list li {
  padding-left: 30px;
  margin-bottom: 12px;
  position: relative;
  line-height: 1.6;
  color: var(--text-secondary);
}

ul.styled-list li::before {
  content: '•';
  position: absolute;
  left: 10px;
  color: var(--primary-green);
  font-size: 20px;
}

/* ===================================
   SERVICE CARDS (Work page)
   =================================== */
.service-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: var(--max-content-width);
  margin: 0 auto;
}

.service-cards .card {
  padding: 48px 40px;
  height: 100%;
}

.card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-content h3 {
  margin-bottom: 12px;
  text-align: left;
}

.card-content .intro {
  margin-bottom: 24px;
}

.card-section {
  margin-bottom: 24px;
}

.card-section h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-green);
  margin-bottom: 12px;
  text-transform: none;
  font-family: var(--font-body);
}

.service-cards .card .btn-container {
  margin-top: auto;
  padding-top: 24px;
}

/* ===================================
   ABOUT PAGE
   =================================== */
.about-layout {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  max-width: var(--max-content-width);
  margin: 0 auto;
}

.about-image {
  flex: 0 0 40%;
  max-width: 40%;
}

.about-text {
  flex: 1;
  max-width: 680px;
}

.about-section-title {
  margin-bottom: 2rem;
}

.about-portrait {
  width: 100%;
  border-radius: var(--panel-radius);
  display: block;
  box-shadow: var(--soft-shadow);
}

/* ===================================
   CONTACT FORM
   =================================== */
.contact-form {
  max-width: 680px;
  margin: 50px auto;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--primary-green);
  font-size: 17px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  font-size: 17px;
  font-family: var(--font-body);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  appearance: none;
  /* For select styling consistency */
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%231F3A2E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 45px;
  cursor: pointer;
}

.form-disclaimer {
  font-size: 13px;
  color: rgba(31, 35, 32, 0.50);
  line-height: 1.6;
  margin-bottom: 30px;
  margin-top: 0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-green);
}

.form-group textarea::placeholder {
  font-size: 15px;
  color: #a0a0a0;
  font-style: italic;
  opacity: 0.8;
}

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

.form-message {
  margin-top: 20px;
  padding: 15px;
  border-radius: 12px;
  text-align: center;
  display: none;
}

.form-message.success {
  background-color: rgba(31, 90, 69, 0.1);
  color: var(--primary-green);
  display: block;
}

/* ===================================
   DISCOVERY CALL PAGE
   =================================== */
.discovery-call-section {
  padding-top: 56px;
  padding-bottom: 72px;
}

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

.discovery-container .content-wrapper {
  margin-bottom: 24px;
}

.calendly-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* ===================================
   FOOTER
   =================================== */
footer {
  background-color: #ECE7E2;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: 32px 24px 28px;
  margin-top: 120px;
  text-align: center;
}

.footer-wrapper {
  max-width: 1040px;
  margin: 0 auto;
}

/* Brand Block */
.footer-brand {
  margin-bottom: 14px;
}

.footer-name {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.2px;
  color: rgba(31, 35, 32, 0.92);
  margin-bottom: 0;
}

.footer-title {
  font-size: 14px;
  font-weight: 400;
  color: rgba(31, 35, 32, 0.65);
  margin-top: 8px;
}

/* Social Icons */
.footer-social {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
}

.footer-social a {
  color: rgba(31, 35, 32, 0.55);
  transition: color 0.3s ease;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-social a:hover {
  color: #2F2F2F;
  opacity: 1;
}

.footer-social a:focus {
  outline: 2px solid rgba(26, 77, 61, 0.35);
  outline-offset: 2px;
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

/* Primary Navigation */
.footer-nav-primary {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 14px;
}

.footer-nav-primary a {
  font-size: 13px;
  font-weight: 400;
  color: rgba(31, 35, 32, 0.70);
  transition: color 0.3s ease;
  padding: 4px 4px;
}

.footer-nav-primary a:hover {
  color: rgba(31, 35, 32, 0.95);
  opacity: 1;
}

.footer-nav-primary a:focus {
  outline: 2px solid rgba(26, 77, 61, 0.35);
  outline-offset: 2px;
}

/* External Link */
.footer-external {
  margin-top: 6px;
  margin-bottom: 10px;
}

.footer-external a {
  font-size: 13px;
  font-weight: 500;
  color: var(--primary-green);
  transition: opacity 0.3s ease;
  padding: 4px 4px;
}

.footer-external a:hover {
  color: rgba(31, 35, 32, 0.95);
  opacity: 1;
}

.footer-external a:focus {
  outline: 2px solid rgba(26, 77, 61, 0.35);
  outline-offset: 2px;
}

/* Legal Links */
.footer-nav-legal {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 10px;
  margin-bottom: 0;
}

.footer-nav-legal a {
  font-size: 12px;
  font-weight: 400;
  color: rgba(31, 35, 32, 0.60);
  transition: color 0.3s ease;
  padding: 4px 4px;
}

.footer-nav-legal a:hover {
  color: rgba(31, 35, 32, 0.85);
  opacity: 1;
}

.footer-nav-legal a:focus {
  outline: 2px solid rgba(26, 77, 61, 0.35);
  outline-offset: 2px;
}

/* Copyright */
.footer-copyright {
  font-size: 12px;
  color: rgba(31, 35, 32, 0.50);
  margin-top: 18px;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 900px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .service-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 22px;
  }

  body {
    font-size: 17px;
  }

  section {
    padding: var(--section-padding-mobile);
  }

  header {
    padding: 15px 20px;
    min-height: 64px;
  }

  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--white);
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  nav ul.active {
    display: flex;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .hero {
    min-height: auto;
    max-height: none;
  }

  .hero-content {
    padding: 60px 20px;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn-container {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    align-items: center;
  }

  .btn {
    width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: center;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .card {
    padding: 24px;
  }

  .testimonial-card {
    padding: 24px;
  }

  .about-layout {
    flex-direction: column;
  }

  .about-image {
    flex: none;
    max-width: 100%;
  }

  .about-portrait {
    max-width: 400px;
    margin: 0 auto;
  }

  .service-cards .card {
    padding: 32px 24px;
  }

  .divider-symbol {
    width: 22px;
    height: 22px;
    margin: 0 10px;
  }

  /* Footer tablet */
  footer {
    padding: 48px 20px 36px;
  }

  .footer-nav-primary,
  .footer-nav-legal {
    gap: 16px;
  }

  .footer-nav-primary a,
  .footer-nav-legal a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 30px;
  }

  .logo {
    font-size: 17px;
    gap: 10px;
  }

  .logo-symbol {
    width: 36px;
    height: 36px;
  }

  .logo-divider {
    height: 36px;
  }

  /* Footer mobile */
  footer {
    padding: 40px 16px 32px;
  }

  .footer-social a {
    min-height: 44px;
    min-width: 44px;
  }
}

/* ===================================
   TWO-COLUMN CTA SECTION
   =================================== */
.cta-two-column {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: flex-start;
  max-width: var(--max-content-width);
  margin: 0 auto;
}

.cta-image-col {
  width: 100%;
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--soft-shadow);
}

.cta-image-col img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.cta-content-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.cta-content-col h2 {
  margin-bottom: 24px;
}

.cta-content-col p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.cta-content-col .styled-list {
  margin-top: 24px;
  margin-bottom: 32px;
  text-align: left;
}

.cta-content-col .btn-container {
  text-align: left !important;
  margin-top: 32px;
  justify-content: flex-start !important;
  align-items: flex-start !important;
}

@media (max-width: 991px) {
  .cta-two-column {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cta-image-col {
    max-width: 500px;
    margin: 0 auto;
    order: 2;
  }

  .cta-content-col {
    order: 1;
  }
}

/* ===================================
   CONTACT PAGE RE-DESIGN
   =================================== */
.contact-intro-container {
  max-width: 800px;
  margin: 0 auto 60px;
}

.contact-intro-main {
  font-size: 19px;
  line-height: 1.8;
  margin-bottom: 24px;
}

.contact-intro-sub {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact-card {
  max-width: 760px;
  margin: 0 auto;
  background-color: var(--card-bg);
  padding: 50px 60px;
  border-radius: var(--card-radius);
  border: 1px solid var(--card-border);
  box-shadow: var(--soft-shadow);
}

.discovery-cta-section {
  margin-top: 100px;
  margin-bottom: 40px;
}

@media (max-width: 767px) {
  .contact-card {
    padding: 30px 24px;
  }

  .contact-intro-main {
    font-size: 17px;
  }

  .discovery-cta-section {
    margin-top: 60px;
  }
}