/* ========================================
   Earth Art Landscaping — Design System
   Brand: #2E7D32 (rich green) + #F0910D (orange)
   Vibe: clean-modern-warm hybrid
   Font: Inter (400, 600, 700)
   ======================================== */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); font-size: var(--fs-base); line-height: 1.7; color: var(--text); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* --- Custom Properties --- */
:root {
  --primary: #2E7D32;
  --primary-light: #43A047;
  --secondary: #F0910D;
  --secondary-light: #F5A63D;
  --secondary-dark: #D47E0B;
  --accent: #1A82B5;
  --accent-light: #2196CC;
  --green: #A5C95B;
  --green-dark: #7B9E36;
  --bg: #FFFFFF;
  --bg-alt: #F8F7F4;
  --bg-dark: #1B5E20;
  --text: #1A1A1A;
  --text-light: #4B5563;
  --text-muted: #6B7280;
  --border: #E5E7EB;
  --border-light: #F3F4F6;
  --white: #FFFFFF;
  --error: #DC2626;
  --success: #16A34A;
  --font-heading: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 2rem;
  --fs-3xl: 2.5rem;
  --fs-4xl: 3rem;
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 16px;
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --max-width: 1200px;
  --section-pad: 5rem;
  --header-height: 90px;
  --transition: 0.3s ease;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; color: var(--primary); }
h1 { font-size: var(--fs-4xl); margin-bottom: 1rem; }
h2 { font-size: var(--fs-3xl); margin-bottom: 0.75rem; }
h3 { font-size: var(--fs-2xl); margin-bottom: 0.5rem; }
h4 { font-size: var(--fs-xl); margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; color: var(--text-light); }
strong { font-weight: 600; color: var(--text); }
.section-title { font-size: var(--fs-3xl); text-align: center; margin-bottom: 0.5rem; }
.section-subtitle { text-align: center; color: var(--text-muted); font-size: var(--fs-md); max-width: 600px; margin: 0 auto 3rem; }
.section-label { display: inline-block; font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--secondary); margin-bottom: 0.75rem; }

/* --- Layout --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: var(--section-pad) 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg-dark); color: var(--white); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.85); }
.section-dark .section-label { color: var(--secondary-light); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.split-reverse { direction: rtl; }
.split-reverse > * { direction: ltr; }

/* --- Skip Link --- */
.skip-link { position: absolute; top: -100%; left: 1rem; padding: 0.75rem 1.5rem; background: var(--primary); color: var(--white); border-radius: var(--radius-sm); z-index: 9999; font-weight: 600; }
.skip-link:focus { top: 1rem; }

/* --- Header --- */
.header { position: sticky; top: 0; z-index: 1000; background: var(--white); border-bottom: 1px solid var(--border); transition: box-shadow var(--transition); }
.header.scrolled { box-shadow: var(--shadow-md); }
.header-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; justify-content: space-between; height: var(--header-height); }
.header-brand { display: flex; align-items: center; gap: 1rem; }
.logo { height: 70px; width: auto; }
.techo-badge { display: flex; align-items: center; gap: 0.4rem; padding: 0.25rem 0.75rem; background: var(--bg-alt); border-radius: var(--radius-sm); border: 1px solid var(--border); font-size: var(--fs-xs); font-weight: 600; color: var(--text-muted); text-decoration: none; transition: border-color var(--transition); }
.techo-badge:hover { border-color: var(--secondary); color: var(--text); }
.techo-badge img { height: 24px; width: auto; }
.nav { display: flex; align-items: center; }
.nav-list { display: flex; gap: 0.25rem; align-items: center; }
.nav-link { padding: 0.5rem 0.75rem; font-size: var(--fs-sm); font-weight: 600; color: var(--text); border-radius: var(--radius-sm); transition: color var(--transition), background var(--transition); }
.nav-link:hover, .nav-link.active { color: var(--secondary); background: rgba(240,145,13,0.06); }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.header-phone { font-weight: 700; color: var(--primary); font-size: var(--fs-sm); white-space: nowrap; }
.header-phone:hover { color: var(--secondary); }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: var(--radius-sm); }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--primary); position: relative; transition: var(--transition); }
.nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; width: 22px; height: 2px; background: var(--primary); transition: var(--transition); }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle.active span { background: transparent; }
.nav-toggle.active span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.active span::after { top: 0; transform: rotate(-45deg); }

/* --- Buttons --- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.75rem 1.75rem; font-size: var(--fs-sm); font-weight: 700; border-radius: var(--radius); transition: all var(--transition); min-height: 48px; text-decoration: none; cursor: pointer; }
.btn-primary { background: var(--secondary); color: var(--white); border: 2px solid var(--secondary); }
.btn-primary:hover { background: var(--secondary-dark); border-color: var(--secondary-dark); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-secondary:hover { background: var(--primary); color: var(--white); transform: translateY(-1px); }
.btn-white { background: var(--white); color: var(--primary); border: 2px solid var(--white); }
.btn-white:hover { background: transparent; color: var(--white); }
.btn-sm { padding: 0.5rem 1.25rem; font-size: var(--fs-xs); min-height: 40px; }
.btn-lg { padding: 1rem 2.25rem; font-size: var(--fs-base); }

/* --- Hero --- */
.hero { position: relative; overflow: hidden; padding: 6rem 0 5rem; background: var(--bg-dark); min-height: 520px; display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.25; }
.hero-content { position: relative; z-index: 2; max-width: 700px; }
.hero h1 { color: var(--white); font-size: clamp(2rem, 5vw, 3.25rem); margin-bottom: 1.25rem; }
.hero p { color: rgba(255,255,255,0.9); font-size: var(--fs-lg); margin-bottom: 2rem; max-width: 560px; }
.hero .btn { margin-right: 1rem; margin-bottom: 0.5rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero-badge { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; background: rgba(255,255,255,0.1); backdrop-filter: blur(4px); border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,0.15); color: var(--white); font-size: var(--fs-sm); font-weight: 600; }
.hero-badge svg { width: 18px; height: 18px; flex-shrink: 0; }

/* --- Trust Bar --- */
.trust-bar { background: var(--white); border-bottom: 1px solid var(--border); }
.trust-bar-inner { display: flex; justify-content: center; flex-wrap: wrap; gap: 2rem; padding: 1.25rem 1.5rem; max-width: var(--max-width); margin: 0 auto; }
.trust-item { display: flex; align-items: center; gap: 0.75rem; font-size: var(--fs-sm); color: var(--text-muted); white-space: nowrap; }
.trust-item strong { color: var(--primary); font-size: var(--fs-lg); }
.trust-item svg { width: 24px; height: 24px; color: var(--secondary); flex-shrink: 0; }

/* --- Cards --- */
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); transition: transform var(--transition), box-shadow var(--transition); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-img { position: relative; overflow: hidden; aspect-ratio: 16/10; }
.card-body { padding: 1.5rem; }
.card-body h3 { font-size: var(--fs-lg); margin-bottom: 0.5rem; }
.card-body p { font-size: var(--fs-sm); color: var(--text-muted); margin-bottom: 1rem; }
.card-link { font-size: var(--fs-sm); font-weight: 700; color: var(--secondary); display: inline-flex; align-items: center; gap: 0.25rem; }
.card-link:hover { gap: 0.5rem; color: var(--secondary-dark); }
.card-link::after { content: '\2192'; }

/* --- Split Sections --- */
.split-img { position: relative; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 4/3; }

/* --- Image Placeholder System --- */
.card-img, .img-wrap, .split-img { position: relative; overflow: hidden; }
.img-placeholder { aspect-ratio: 16/9; background: #e5e7eb; display: flex; align-items: center; justify-content: center; border: 2px dashed #9ca3af; border-radius: var(--radius); }
.img-placeholder span { color: #6b7280; font-size: var(--fs-xs); text-align: center; padding: 1rem; }
.img-real { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; z-index: 1; transition: opacity .3s; }
.img-real.loaded { opacity: 1; }

/* --- CTA Section --- */
.cta-section { background: var(--secondary); padding: 4rem 0; text-align: center; }
.cta-section h2 { color: var(--white); }
.cta-section p { color: rgba(255,255,255,0.9); font-size: var(--fs-md); max-width: 600px; margin: 0 auto 2rem; }

/* --- FAQ Accordion --- */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 0.75rem; overflow: hidden; background: var(--white); }
.faq-q { width: 100%; padding: 1.25rem 1.5rem; text-align: left; font-size: var(--fs-base); font-weight: 600; color: var(--primary); display: flex; justify-content: space-between; align-items: center; min-height: 48px; background: var(--white); transition: background var(--transition); }
.faq-q:hover { background: var(--bg-alt); }
.faq-q::after { content: '+'; font-size: 1.25rem; font-weight: 400; color: var(--secondary); transition: transform var(--transition); flex-shrink: 0; margin-left: 1rem; }
.faq-q.active::after { content: '\2212'; }
.faq-a { padding: 0 1.5rem 1.25rem; color: var(--text-light); line-height: 1.7; display: none; }
.faq-a.active { display: block; }

/* --- Testimonials --- */
.testimonial-card { background: var(--white); border-radius: var(--radius); padding: 2rem; border: 1px solid var(--border); position: relative; }
.testimonial-card::before { content: '\201C'; position: absolute; top: 0.5rem; left: 1.5rem; font-size: 4rem; color: var(--secondary); opacity: 0.2; font-family: Georgia, serif; line-height: 1; }
.stars { display: flex; gap: 2px; margin-bottom: 1rem; }
.star { width: 18px; height: 18px; color: var(--secondary); }
.testimonial-text { font-size: var(--fs-base); line-height: 1.7; color: var(--text-light); margin-bottom: 1.25rem; font-style: italic; }
.testimonial-author { font-weight: 700; color: var(--primary); font-size: var(--fs-sm); }
.testimonial-service { color: var(--text-muted); font-size: var(--fs-xs); }

/* --- Breadcrumbs --- */
.breadcrumb { padding: 1rem 0; font-size: var(--fs-sm); color: var(--text-muted); }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--secondary); }
.breadcrumb span { margin: 0 0.4rem; }

/* --- Footer --- */
.footer { background: var(--bg-dark); color: rgba(255,255,255,0.8); padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer h4 { color: var(--white); font-size: var(--fs-base); margin-bottom: 1.25rem; }
.footer-about { max-width: 300px; }
.footer-about .logo { height: 55px; margin-bottom: 1rem; }
.footer-about p { font-size: var(--fs-sm); line-height: 1.7; color: rgba(255,255,255,0.9); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: rgba(255,255,255,0.7); font-size: var(--fs-sm); transition: color var(--transition); }
.footer-links a:hover { color: var(--secondary); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.75rem; font-size: var(--fs-sm); }
.footer-contact-item svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--secondary); }
.footer-contact-item a { color: rgba(255,255,255,0.7); }
.footer-contact-item a:hover { color: var(--secondary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 1.5rem 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: var(--fs-xs); color: rgba(255,255,255,0.5); }
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--secondary); }

/* --- Page Hero (inner pages) --- */
.page-hero { background: var(--bg-dark); padding: 3.5rem 0; }
.page-hero h1 { color: var(--white); font-size: clamp(1.75rem, 4vw, 2.75rem); margin-bottom: 0.75rem; }
.page-hero p { color: rgba(255,255,255,0.8); font-size: var(--fs-md); max-width: 600px; }

/* --- Service Detail Page --- */
.service-intro { font-size: var(--fs-lg); color: var(--text); line-height: 1.8; max-width: 800px; }
.feature-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin: 1.5rem 0; }
.feature-list li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: var(--fs-sm); color: var(--text-light); }
.feature-list li::before { content: '\2713'; color: var(--green-dark); font-weight: 700; flex-shrink: 0; }
.process-steps { counter-reset: step; }
.process-step { display: flex; gap: 1.5rem; margin-bottom: 2rem; }
.process-step::before { counter-increment: step; content: counter(step); display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; min-width: 48px; border-radius: 50%; background: var(--secondary); color: var(--white); font-weight: 700; font-size: var(--fs-lg); }
.process-step-content h3 { font-size: var(--fs-lg); margin-bottom: 0.25rem; }
.process-step-content p { font-size: var(--fs-sm); margin-bottom: 0; }

/* --- Area Page Specifics --- */
.area-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 2rem 0; }
.area-stat { text-align: center; padding: 1.5rem; background: var(--bg-alt); border-radius: var(--radius); }
.area-stat strong { display: block; font-size: var(--fs-2xl); color: var(--primary); }
.area-stat span { font-size: var(--fs-sm); color: var(--text-muted); }

/* --- Blog --- */
.blog-meta { display: flex; align-items: center; gap: 1rem; font-size: var(--fs-sm); color: var(--text-muted); margin-bottom: 1.5rem; flex-wrap: wrap; }
.blog-tag { background: rgba(240,145,13,0.1); color: var(--secondary-dark); padding: 0.2rem 0.75rem; border-radius: 20px; font-size: var(--fs-xs); font-weight: 600; }
.blog-content { max-width: 800px; margin: 0 auto; }
.blog-content h2 { margin-top: 2.5rem; font-size: var(--fs-2xl); }
.blog-content h3 { margin-top: 2rem; font-size: var(--fs-xl); }
.blog-content ul, .blog-content ol { margin: 1rem 0 1rem 1.5rem; color: var(--text-light); }
.blog-content li { margin-bottom: 0.5rem; }
.blog-content ul { list-style: disc; }
.blog-content ol { list-style: decimal; }
.blog-content table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.blog-content th, .blog-content td { padding: 0.75rem 1rem; text-align: left; border: 1px solid var(--border); font-size: var(--fs-sm); }
.blog-content th { background: var(--bg-alt); font-weight: 700; color: var(--primary); }
.blog-content blockquote { border-left: 4px solid var(--secondary); padding: 1rem 1.5rem; margin: 1.5rem 0; background: var(--bg-alt); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

/* --- Form Container --- */
.form-container { background: var(--white); border-radius: var(--radius-lg); padding: 2rem; border: 1px solid var(--border); box-shadow: var(--shadow); }
.form-container h3 { margin-bottom: 0.5rem; }
.form-container iframe { border-radius: var(--radius); }

/* --- Gallery Grid --- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery-item { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4/3; cursor: pointer; }
.gallery-item:hover .img-real.loaded { transform: scale(1.05); }
.gallery-item .img-real { transition: opacity .3s, transform .3s; }

/* --- Comparison Table --- */
.comparison-table { width: 100%; border-collapse: collapse; margin: 2rem 0; }
.comparison-table th, .comparison-table td { padding: 1rem; text-align: left; border-bottom: 1px solid var(--border); font-size: var(--fs-sm); }
.comparison-table th { background: var(--primary); color: var(--white); font-weight: 600; }
.comparison-table tr:nth-child(even) { background: var(--bg-alt); }

/* --- Utilities --- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* --- Print Styles --- */
@page { margin: 0; }
@media print {
  body { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
  .header, .footer, .nav-toggle, .mobile-cta { display: none; }
}

/* --- Responsive: Tablet --- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split-reverse { direction: ltr; }
}

/* --- Responsive: Mobile --- */
@media (max-width: 768px) {
  :root { --section-pad: 3rem; --header-height: 72px; }
  .logo { height: 55px; }
  h1 { font-size: var(--fs-3xl); }
  h2 { font-size: var(--fs-2xl); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .area-stats { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-bar-inner { justify-content: flex-start; overflow-x: auto; padding: 1rem; }
  .hero { padding: 4rem 0 3rem; min-height: 400px; }

  /* Mobile Nav */
  .nav { position: fixed; top: var(--header-height); left: 0; right: 0; bottom: 0; background: var(--white); z-index: 999; transform: translateX(100%); transition: transform var(--transition); padding: 2rem 1.5rem; overflow-y: auto; }
  .nav.active { transform: translateX(0); }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-link { display: block; padding: 1rem 0; font-size: var(--fs-lg); border-bottom: 1px solid var(--border); border-radius: 0; min-height: 48px; }
  .nav-toggle { display: flex; }
  .header-phone { display: none; }
  .header-cta-desktop { display: none; }

  /* Mobile CTA bar */
  .mobile-cta { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 998; background: var(--white); border-top: 1px solid var(--border); box-shadow: 0 -2px 10px rgba(0,0,0,0.1); }
  .mobile-cta a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 1rem; font-weight: 700; font-size: var(--fs-sm); min-height: 56px; text-decoration: none; }
  .mobile-cta .mobile-call { background: var(--primary); color: var(--white); }
  .mobile-cta .mobile-quote { background: var(--secondary); color: var(--white); }
  .footer-bottom { flex-direction: column; text-align: center; }
  body { padding-bottom: 56px; }
}

@media (min-width: 769px) {
  .mobile-cta { display: none; }
}
