/* ===== Quetzalito Tree Service – Premium Styles ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green-950: #062920;
  --green-900: #0B3D2E;
  --green-800: #0F4A38;
  --green-700: #145A43;
  --green-600: #1B6B50;
  --green-500: #2E7D32;
  --green-400: #43A047;
  --green-100: #E8F5E9;
  --green-50:  #F1F8F4;
  --accent-red: #B71C1C;
  --accent-gold: #FFB300;
  --accent-gold-light: #FFD54F;
  --dark: #0D1F18;
  --text: #1A2E24;
  --text-light: #5A7266;
  --white: #FFFFFF;
  --gray-50: #F6F9F7;
  --gray-100: #EBF1ED;
  --gray-200: #D5E0D9;
  --shadow-sm: 0 2px 8px rgba(11, 61, 46, 0.06);
  --shadow: 0 8px 30px rgba(11, 61, 46, 0.10);
  --shadow-lg: 0 20px 50px rgba(11, 61, 46, 0.14);
  --radius: 14px;
  --radius-sm: 10px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  line-height: 1.65;
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.22;
  color: var(--dark);
  letter-spacing: -0.02em;
}

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

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

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--green-600), var(--green-800));
  color: var(--white);
  box-shadow: 0 4px 14px rgba(20, 90, 67, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--green-700), var(--green-900));
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(20, 90, 67, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.7);
  color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--green-900);
  border-color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--green-900);
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

.btn-white:hover {
  background: var(--green-50);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

.btn-lg {
  padding: 16px 34px;
  font-size: 1.05rem;
  border-radius: 12px;
}

.btn-full { width: 100%; }

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(11, 61, 46, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(6, 41, 32, 0.97);
  box-shadow: 0 4px 30px rgba(0,0,0,0.25);
}

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

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

.logo-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.25));
}

.logo-icon svg { width: 100%; height: 100%; }

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

.logo-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.18rem;
  color: var(--white);
  letter-spacing: 0.6px;
}

.logo-tag {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--accent-gold);
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  color: rgba(255,255,255,0.88);
  font-weight: 500;
  font-size: 0.94rem;
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: width 0.3s ease;
}

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

.nav a:hover::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 18px;
}

.phone-link {
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.phone-link:hover {
  color: var(--accent-gold);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 10;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: center;
  background: 
    linear-gradient(160deg, #062920 0%, #0B3D2E 40%, #145A43 75%, #0F4A38 100%);
  color: var(--white);
  padding: 130px 0 90px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 60% at 15% 90%, rgba(46, 125, 50, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 85% 15%, rgba(183, 28, 28, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(255, 179, 0, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

/* Decorative leaf pattern */
.hero::after {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 55%;
  height: 120%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5c-8 12-15 22-15 32 0 10 6 18 15 18s15-8 15-18c0-10-7-20-15-32z' fill='%23ffffff' fill-opacity='0.03'/%3E%3C/svg%3E") repeat;
  opacity: 0.6;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 9px 18px;
  border-radius: 50px;
  font-size: 0.84rem;
  font-weight: 500;
  margin-bottom: 28px;
  letter-spacing: 0.3px;
  backdrop-filter: blur(8px);
}

.hero h1 {
  font-size: clamp(2.3rem, 5.2vw, 3.5rem);
  color: var(--white);
  margin-bottom: 22px;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.hero-sub {
  font-size: 1.18rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 36px;
  max-width: 540px;
  line-height: 1.7;
}

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

.hero-phones {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  font-size: 0.95rem;
}

.hero-phones a {
  color: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-phones a:hover {
  color: var(--accent-gold);
}

.hero-phones span {
  opacity: 0.65;
  font-size: 0.85rem;
}

/* ===== Trust Bar ===== */
.trust-bar {
  background: var(--white);
  padding: 0;
  position: relative;
  z-index: 5;
  margin-top: -40px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--gray-100);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 28px 24px;
  border-right: 1px solid var(--gray-100);
  transition: var(--transition);
}

.trust-item:last-child {
  border-right: none;
}

.trust-item:hover {
  background: var(--green-50);
}

.trust-icon {
  font-size: 1.5rem;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--green-100), var(--green-50));
  border-radius: 14px;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.trust-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--dark);
  font-weight: 700;
}

.trust-item span {
  font-size: 0.84rem;
  color: var(--text-light);
}

/* ===== Sections ===== */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

.section-header.light h2 {
  color: var(--white);
}

.section-header.light .section-label {
  color: var(--accent-gold);
}

.section-header.light p {
  color: rgba(255,255,255,0.75);
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--green-600);
  margin-bottom: 14px;
  background: var(--green-100);
  padding: 6px 14px;
  border-radius: 50px;
}

.section-header.light .section-label {
  background: rgba(255,179,0,0.15);
}

.section-header h2 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.08rem;
}

/* ===== About ===== */
.about {
  background: var(--gray-50);
}

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

.about-card {
  background: var(--white);
  padding: 36px 30px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.about-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.about-card h3 {
  font-size: 1.22rem;
  margin-bottom: 14px;
  color: var(--green-800);
}

.about-card p {
  color: var(--text-light);
  font-size: 0.96rem;
  line-height: 1.7;
}

.about-card.highlight {
  background: linear-gradient(160deg, var(--green-900), var(--green-800));
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 12px 40px rgba(11, 61, 46, 0.3);
}

.about-card.highlight h3 {
  color: var(--accent-gold);
}

.about-card.highlight ul {
  list-style: none;
  margin-top: 10px;
}

.about-card.highlight li {
  padding: 8px 0;
  padding-left: 26px;
  position: relative;
  font-size: 0.96rem;
  color: rgba(255,255,255,0.92);
}

.about-card.highlight li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-gold);
  font-weight: 700;
  font-size: 1rem;
}

/* ===== Services ===== */
.services {
  background: var(--white);
}

.services-category {
  margin-bottom: 56px;
}

.services-category:last-child {
  margin-bottom: 0;
}

.category-title {
  font-size: 1.35rem;
  color: var(--green-800);
  margin-bottom: 28px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--green-100);
  display: inline-block;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 22px;
}

.service-card {
  background: var(--gray-50);
  padding: 32px 26px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, var(--green-500), var(--green-700));
  transition: height 0.35s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  background: var(--white);
  border-color: var(--gray-100);
}

.service-card:hover::before {
  height: 100%;
}

.service-icon {
  font-size: 1.9rem;
  margin-bottom: 16px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

.service-card h4 {
  font-size: 1.08rem;
  margin-bottom: 10px;
  color: var(--dark);
}

.service-card p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* ===== Why Us ===== */
.why-us {
  background: linear-gradient(160deg, var(--green-950) 0%, var(--green-900) 50%, var(--green-800) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.why-us::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(255,179,0,0.08) 0%, transparent 50%);
  pointer-events: none;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
}

.process-step {
  text-align: center;
  padding: 36px 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  transition: var(--transition);
}

.process-step:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-4px);
  border-color: rgba(255,179,0,0.25);
}

.step-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 14px;
  line-height: 1;
}

.process-step h4 {
  color: var(--white);
  font-size: 1.12rem;
  margin-bottom: 12px;
}

.process-step p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
}

/* ===== CTA Banner ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--green-700), var(--green-600));
  padding: 70px 0;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  color: var(--white);
  font-size: 1.9rem;
  margin-bottom: 10px;
}

.cta-content p {
  color: rgba(255,255,255,0.88);
  font-size: 1.05rem;
}

.cta-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ===== Contact ===== */
.contact {
  background: var(--gray-50);
}

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

.contact-info .section-label {
  margin-bottom: 10px;
}

.contact-info h2 {
  margin-bottom: 14px;
}

.contact-info > p {
  color: var(--text-light);
  margin-bottom: 36px;
  font-size: 1.05rem;
}

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

.contact-item {
  padding: 18px 20px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

.contact-item:hover {
  border-color: var(--green-200);
  box-shadow: var(--shadow-sm);
}

.contact-item strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--green-600);
  margin-bottom: 6px;
  font-weight: 700;
}

.contact-item a,
.contact-item span {
  font-size: 1.05rem;
  color: var(--dark);
  font-weight: 500;
}

.contact-item a:hover {
  color: var(--green-700);
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow);
}

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

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

.form-group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--gray-50);
  transition: var(--transition);
  color: var(--text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-600);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(27, 107, 80, 0.12);
}

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

.form-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 16px;
}

/* ===== Footer ===== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.78);
  padding-top: 72px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 52px;
  padding-bottom: 52px;
}

.footer-brand .logo-name {
  font-size: 1.25rem;
}

.footer-brand .logo-tag {
  color: var(--accent-gold);
}

.footer-brand p {
  margin-top: 18px;
  font-size: 0.92rem;
  line-height: 1.75;
  max-width: 340px;
  color: rgba(255,255,255,0.65);
}

.footer-links h4,
.footer-contact h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 18px;
  font-weight: 700;
}

.footer-links a,
.footer-contact a {
  display: block;
  margin-bottom: 11px;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.7);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--accent-gold);
  padding-left: 4px;
}

.footer-contact p {
  font-size: 0.92rem;
  margin-top: 10px;
  color: rgba(255,255,255,0.6);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .nav, .header-cta .phone-link {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .header-cta .btn {
    padding: 10px 16px;
    font-size: 0.85rem;
  }

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

  .trust-item {
    border-right: none;
    border-bottom: 1px solid var(--gray-100);
  }

  .trust-item:nth-child(odd) {
    border-right: 1px solid var(--gray-100);
  }

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

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

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: auto;
    padding: 120px 0 70px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .trust-bar {
    margin-top: -24px;
  }

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

  .trust-item {
    border-right: none !important;
  }

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

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

  .cta-content {
    flex-direction: column;
    text-align: center;
  }

  .cta-buttons {
    justify-content: center;
    width: 100%;
  }

  .cta-buttons .btn {
    flex: 1;
  }

  .section {
    padding: 70px 0;
  }

  .contact-form {
    padding: 28px 22px;
  }
}

/* Mobile Nav */
.nav.open {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(6, 41, 32, 0.98);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
  gap: 28px;
  z-index: 999;
}

.nav.open a {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
}

.nav.open a::after {
  display: none;
}

/* Smooth reveal animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content {
  animation: fadeUp 0.8s ease both;
}

.trust-grid {
  animation: fadeUp 0.7s 0.2s ease both;
}
