/* ============================================
   styles.css  —  pruned to selectors used by index.html
   ============================================ */

:root {
  --background: #fbf9f7;           
    --foreground: #2c2621;           
    --card: #ffffff;                 
    --card-foreground: #2c2621;      
  
  
    --primary: #ffffff;              
    --primary-foreground: #ffffff;   
    --secondary: #f7c921;            
    --secondary-foreground: #2c2621; 
  
  
    --muted: #f2efea;                
    --muted-foreground: #7e756d;     
    --accent: #f7c921;               
    --accent-foreground: #2c2621;    
    --border: #ded8d3;               
    --input: #ded8d3;                
    --ring: #d2691e;                 
  
  
    --construction-dark: #222b39;    

  
    --shadow-card: 0 2px 8px -2px rgba(44, 38, 33, 0.1), 0 4px 12px -4px rgba(44, 38, 33, 0.08);
    --shadow-card-hover: 0 8px 24px -8px rgba(44, 38, 33, 0.15), 0 12px 32px -12px rgba(44, 38, 33, 0.1);

  
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

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

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

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

.hidden {
  display: none !important;
}

@keyframes fadeIn {
  from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out forwards;
    opacity: 0;
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

.header {
  position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: hsla(0, 0%, 100%, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 1px 3px hsla(0, 0%, 0%, 0.1);
}

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

.logo {
  font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    height: 100%;
}

.logo img {
  max-height: 80%;
    width: auto;
    object-fit: contain;
}

.nav-desktop {
  display: none;
    align-items: center;
    gap: 1.5rem;
}

.mobile-menu-btn {
  display: block;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--foreground);
}

.mobile-menu {
  padding: 1rem;
    border-top: 1px solid var(--border);
}

@media (min-width: 1024px) {
  .header-inner {
    height: 8rem;
  }

  .logo {
    font-size: 1.5rem;
  }

  .nav-desktop {
    display: flex;
  }

  .mobile-menu-btn {
    display: none;
  }
}

.hero {
  padding: 11rem 0 4rem;
    background-color: var(--muted);
    overflow: visible;
}

.hero-grid {
  display: grid;
    gap: 2rem;
  
    align-items: start;
}

.hero-content {
  order: 1;
}

.hero-image {
  order: 2;
    width: 100%;
}

.hero-image-wrapper {
  display: flex;
    flex-direction: column;
    height: auto !important;
    gap: 25px;
}

.hero-img {
  width: 100%;
    height: auto;
    display: block;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-card-hover);
    object-fit: cover;
}

.form-row {
  display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.form-group {
  flex: 1;
    min-width: 0;
}

label {
  display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: var(--foreground);
}

input[type="text"], input[type="email"], input[type="tel"], select {
  width: 100%;
      padding: 12px;
      border: 1px solid #ccc;
      border-radius: 6px;
      box-sizing: border-box;
      font-size: 1rem;
      background-color: #fff;
      color: var(--foreground);
      font-family: var(--font-body);
      display: block;
    
    
      appearance: none; 
      -webkit-appearance: none;
      -moz-appearance: none;

    
      background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
      background-repeat: no-repeat;
      background-position: right 1rem center;
      background-size: 1em;
}

select {
  height: 48px; 
      padding-right: 2.5rem; 
      cursor: pointer;
}

input:focus, select:focus {
  outline: none;
      border-color: var(--primary);
      box-shadow: 0 0 0 3px hsla(25, 75%, 47%, 0.1);
}

select:invalid, select option[value=""] {
  color: #999;
}

.question-block {
  margin-bottom: 25px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.03);
    border-left: 4px solid #62de00;
    border-radius: 4px;
}

.radio-options {
  display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.radio-item {
  background: #fff;
    border: 1px solid #ddd;
    padding: 10px 16px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: 0.2s;
    flex-grow: 1;
    justify-content: center;
}

.radio-item:hover {
  border-color: #62de00;
    background: #f7fff0;
}

.radio-item input {
  margin-right: 8px;
    cursor: pointer;
}

@media (min-width: 768px) {
  .hero {
    padding: 11rem 0 6rem;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: 10rem 0 6rem;
  }
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr; 
        gap: 3rem;
  }

  .hero-content {
    order: 1;
  }

  .hero-image {
    order: 2;
  }
}

@media (max-width: 600px) {
  .form-row {
    flex-direction: column;
        gap: 10px;
  }
}

.section-title {
  font-size: 1.875rem;
    text-align: center;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 3rem;
  }
}

.services {
  padding: 4rem 0 6rem;
    background-color: var(--muted);
}

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

.section-description {
  font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 42rem;
    margin: 0 auto;
    text-align: center;
}

.services-grid {
  display: grid;
    gap: 1.5rem;
}

.services-grid.three-columns {
  display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px; 
    margin-top: 40px;
}

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

@media (max-width: 768px) {
  .services-grid.three-columns {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background-color: var(--card);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: box-shadow 0.3s;
}

.service-card:hover {
  box-shadow: var(--shadow-card-hover);
}

.service-image {
  aspect-ratio: 16 / 9;
    overflow: hidden;
}

.service-image img {
  width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-content {
  padding: 1.5rem;
}

.service-title {
  font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.service-description {
  color: var(--muted-foreground);
    line-height: 1.6;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
  }

  .service-title {
    font-size: 1.5rem;
  }
}

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

.form-group label {
  font-size: 0.875rem;
    font-weight: 500;
}

.form-group input {
  padding: 0.625rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 0.375rem;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus {
  outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px hsla(25, 75%, 47%, 0.1);
}

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

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr !important; 
        gap: 1rem;
  }
}

.form-group, .form-group input {
  max-width: 100%;
    box-sizing: border-box;
}

.footer {
  background-color: var(--primary-foreground);
    color: var(--construction-dark);
    padding: 3rem 0;
}

.footer-grid {
  display: grid;
    gap: 2rem;
}

.footer-section {

}

.footer-contact {
  display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.875rem;
}

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

.footer-contact-item svg {
  color: var(--secondary);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.footer-contact-item a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid hsla(0, 0%, 100%, 0.2);
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
    color: var(--construction-dark);
    font-size: 0.875rem;
}

.footer-legal {
  margin-top: 0.75rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.footer-legal a:hover {
  color: var(--accent);
}

@media (min-width: 768px) {
  .footer {
    padding: 4rem 0;
  }

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

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.features-grid {
  display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 64rem;
    margin: 0 auto;
}

.feature-card {
  background: var(--card);
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
  color: red;
    flex-shrink: 0;
  
    display: none;
}

@media (min-width: 768px) {
  .feature-icon {
    display: block;
  }
}

.feature-card p {
  font-weight: 500;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.py-section {
  padding: 4rem 0;
}

.mb-12 {
  margin-bottom: 3rem;
}

/* Legal pages */
.legal-page {
  padding: 11rem 0 4rem;
  min-height: 60vh;
}

/* Ensure the first section/heading clears the fixed header even if
   other rules interfere or anchors scroll it into view */
.legal-page > section:first-child {
  margin-top: 0;
}

.legal-page .section-title:first-child,
.legal-page section:first-child .section-title {
  margin-top: 0;
  padding-top: 0;
}

.legal-page section {
  scroll-margin-top: 11rem;
}

@media (min-width: 1024px) {
  .legal-page {
    padding-top: 10rem;
  }

  .legal-page section {
    scroll-margin-top: 10rem;
  }
}

.legal-page h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.legal-date {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-bottom: 2rem;
}

.legal-page section {
  margin-bottom: 2rem;
}

.legal-page h2 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.legal-page p {
  color: var(--muted-foreground);
  line-height: 1.7;
}