/* =========================================================
   Gettrea — Gardening & Landscaping
   HTML/CSS estático (reconstruido del Template Kit de Elementor)
   Paleta y tipografía tomadas de global.json
   ========================================================= */

/* ----------  Variables del sistema de diseño  ---------- */
:root {
  --primary:      #6EC1E4;
  --dark:         #323232;
  --text:         #383838;
  --accent:       #9CC212;   /* verde lima (botones / enlaces) */
  --green:        #0F4229;   /* verde oscuro (títulos / fondos / hover) */
  --green-dark:   #05321D;   /* verde muy oscuro */
  --white:        #FFFFFF;
  --alt-bg:       #E7F3E7;   /* fondo verde claro */
  --border:       #E7ECE8;   /* gris claro / bordes */

  --font-head: 'Jost', sans-serif;
  --font-body: 'Rubik', sans-serif;

  --container: 1200px;
  --radius: 8px;
  --shadow: 0 10px 30px rgba(15, 66, 41, 0.08);
}

/* ----------  Reset básico  ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }
a { color: var(--accent); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--green); }
ul { list-style: none; }

/* ----------  Tipografía  ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--green);
  font-weight: 500;
  line-height: 1.2;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); line-height: 1; }   /* 56px */
h2 { font-size: clamp(1.9rem, 4vw, 2.875rem); }                 /* 46px */
h3 { font-size: clamp(1.6rem, 3vw, 2.25rem); line-height: 1.3; }/* 36px */
h4 { font-size: 1.5rem; line-height: 1.3; }                     /* 24px */
h5 { font-size: 1.125rem; line-height: 1.4; }                   /* 18px */
h6 { font-size: .875rem; line-height: 1.5; }                    /* 14px */
p  { margin-bottom: 1rem; }

/* ----------  Utilidades de layout  ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
.section { padding: 100px 0; }
.section--tight { padding: 70px 0; }
.bg-alt   { background: var(--alt-bg); }
.bg-green { background: var(--green); }
.bg-green, .bg-green h1, .bg-green h2, .bg-green h3,
.bg-green h4, .bg-green h5, .bg-green h6, .bg-green p { color: var(--white); }

.text-center { text-align: center; }
.grid { display: grid; gap: 30px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* ----------  Encabezado de sección (subtítulo + título)  ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .9rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.eyebrow::before { content: "❧"; font-size: 1rem; }
.section-head { max-width: 640px; margin: 0 auto 50px; }
.section-head.left { margin-left: 0; }

/* ----------  Botones  ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  color: var(--white);
  background: var(--accent);
  padding: 16px 28px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, transform .2s ease;
}
.btn:hover { background: var(--green); color: var(--white); transform: translateY(-2px); }
.btn--ghost { background: transparent; border: 1px solid var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--green); }
.btn--green { background: var(--green); }
.btn--green:hover { background: var(--accent); }

/* =========================================================
   HEADER
   ========================================================= */
.topbar {
  background: var(--green-dark);
  color: rgba(255,255,255,.85);
  font-size: .85rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: var(--accent); }
.topbar .info { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar .socials { display: flex; gap: 14px; }

.site-header { background: var(--green); position: sticky; top: 0; z-index: 100; }
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.logo {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
}
.logo span { color: var(--accent); }

.main-nav ul { display: flex; gap: 32px; }
.main-nav a {
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
}
.main-nav a:hover { color: var(--accent); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.8rem;
  cursor: pointer;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  background: var(--green) url('../images/hero.jpg') center/cover no-repeat;
  color: var(--white);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(15,66,41,.92) 35%, rgba(15,66,41,.35) 100%);
}
.hero .container { position: relative; z-index: 1; padding: 130px 20px; }
.hero-content { max-width: 560px; }
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero p { color: rgba(255,255,255,.85); margin-bottom: 28px; max-width: 460px; }

/* =========================================================
   ABOUT
   ========================================================= */
.about-grid { align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius); }
.exp-badge {
  position: absolute;
  left: -10px; bottom: -10px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  width: 120px; height: 120px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  font-family: var(--font-head);
  box-shadow: var(--shadow);
}
.exp-badge strong { font-size: 2.2rem; line-height: 1; }
.exp-badge span { font-size: .75rem; }

.feature-row { display: flex; gap: 18px; margin: 22px 0; align-items: flex-start; }
.feature-row .icon {
  flex: 0 0 50px; width: 50px; height: 50px;
  background: var(--alt-bg); color: var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.feature-row h5 { margin-bottom: 4px; }

/* =========================================================
   SERVICES
   ========================================================= */
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--accent); }
.service-card .icon {
  width: 64px; height: 64px;
  background: var(--accent); color: var(--white);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; margin-bottom: 20px;
}
.service-card h4 { margin-bottom: 10px; }
.service-card .read-more {
  display: inline-block; margin-top: 14px;
  font-weight: 500; color: var(--green);
}
.service-card .read-more:hover { color: var(--accent); }

/* =========================================================
   TEAM
   ========================================================= */
.team-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow);
}
.team-card .photo { position: relative; }
.team-card .socials {
  position: absolute; top: 12px; right: 12px;
  display: flex; flex-direction: column; gap: 8px;
  opacity: 0; transform: translateX(10px); transition: .25s ease;
}
.team-card:hover .socials { opacity: 1; transform: translateX(0); }
.team-card .socials a {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); color: var(--white);
  display: flex; align-items: center; justify-content: center;
}
.team-card .body { padding: 20px; }
.team-card h5 { margin-bottom: 4px; }
.team-card .role { color: var(--accent); font-size: .9rem; font-weight: 500; }

/* =========================================================
   PROJECTS
   ========================================================= */
.project-card { position: relative; border-radius: var(--radius); overflow: hidden; }
.project-card img { transition: transform .4s ease; }
.project-card:hover img { transform: scale(1.06); }
.project-card .caption {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 4px 0;
}
.project-card .caption h5 { margin: 0; }
.project-card .caption .arrow {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--alt-bg); color: var(--green);
  display: flex; align-items: center; justify-content: center;
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonial {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  position: relative;
}
.testimonial p { font-style: italic; color: var(--text); }
.testimonial .person { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.testimonial .person img { width: 56px; height: 56px; border-radius: 50%; }
.testimonial .person h6 { margin: 0; font-size: 1rem; }
.testimonial .person span { font-size: .85rem; color: var(--accent); }
.testimonial .quote-mark {
  position: absolute; right: 24px; bottom: 18px;
  font-size: 3rem; color: var(--accent); opacity: .3;
  font-family: var(--font-head);
}

/* =========================================================
   WHY CHOOSE US
   ========================================================= */
.why-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  padding: 28px;
}
.why-card .icon {
  width: 56px; height: 56px; border-radius: var(--radius);
  background: var(--accent); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 16px;
}

/* =========================================================
   NEWSLETTER
   ========================================================= */
.newsletter { background: var(--alt-bg); }
.newsletter .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 30px; flex-wrap: wrap;
}
.newsletter form { display: flex; gap: 10px; flex: 1 1 420px; max-width: 520px; }
.newsletter input {
  flex: 1; padding: 16px 18px; border: 1px solid var(--border);
  border-radius: 5px; font-family: var(--font-body); font-size: 1rem;
}

/* =========================================================
   PROCESS STEPS
   ========================================================= */
.step { text-align: center; }
.step .icon {
  width: 90px; height: 90px; margin: 0 auto 18px;
  border: 2px dashed var(--accent); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: var(--green); background: var(--alt-bg);
}
.step h5 { margin-bottom: 8px; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid { align-items: stretch; }
.contact-info .item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.contact-info .item .icon {
  flex: 0 0 48px; width: 48px; height: 48px;
  background: var(--accent); color: var(--white);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
}
.contact-info .item h6 { color: rgba(255,255,255,.7); margin-bottom: 2px; font-weight: 400; }
.contact-form { display: grid; gap: 16px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%; padding: 15px 16px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.06);
  color: var(--white);
  border-radius: 5px; font-family: var(--font-body); font-size: 1rem;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,.6); }
.contact-form textarea { min-height: 120px; resize: vertical; }

/* =========================================================
   BLOG
   ========================================================= */
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .25s ease, transform .25s ease;
}
.blog-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.blog-card .body { padding: 24px; }
.blog-card .meta { font-size: .8rem; color: var(--accent); margin-bottom: 8px; }
.blog-card h5 { margin-bottom: 12px; }
.blog-card .read-more { color: var(--green); font-weight: 500; }

/* =========================================================
   PAGE HEADER (para subpáginas)
   ========================================================= */
.page-header {
  background: var(--green) url('../images/hero.jpg') center/cover no-repeat;
  position: relative; color: var(--white); text-align: center;
}
.page-header::before { content:""; position:absolute; inset:0; background: rgba(15,66,41,.85); }
.page-header .container { position: relative; z-index: 1; padding: 90px 20px; }
.page-header h1 { color: var(--white); margin-bottom: 10px; }
.breadcrumb { color: rgba(255,255,255,.8); }
.breadcrumb a { color: var(--accent); }

/* =========================================================
   STATS BAND
   ========================================================= */
.stats-band {
  background: var(--green) url('../images/hero.jpg') center/cover no-repeat;
  position: relative; color: var(--white); text-align: center;
}
.stats-band::before { content:""; position:absolute; inset:0; background: rgba(15,66,41,.9); }
.stats-band .container { position: relative; z-index: 1; padding: 70px 20px; }
.stats-band .stats-cta h3 { color: var(--white); margin-bottom: 30px; }
.stats-band .stats-cta a { color: var(--accent); }
.stats-row {
  background: var(--white); border-radius: var(--radius);
  display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: 900px; margin: 0 auto; padding: 30px 0;
}
.stat strong { display: block; font-family: var(--font-head); font-size: 2.5rem; color: var(--green); }
.stat span { color: var(--text); font-weight: 500; }
.stat + .stat { border-left: 1px solid var(--border); }

/* =========================================================
   FAQ ACCORDION
   ========================================================= */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 16px;
  overflow: hidden;
  background: var(--white);
}
.faq-q {
  width: 100%; text-align: left;
  font-family: var(--font-head); font-weight: 500; font-size: 1.05rem;
  color: var(--green); background: var(--alt-bg);
  border: none; cursor: pointer;
  padding: 18px 22px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-q .chevron { transition: transform .25s ease; flex: 0 0 auto; }
.faq-item.open .faq-q { background: var(--green); color: var(--white); }
.faq-item.open .faq-q .chevron { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 18px 22px; margin: 0; }

/* =========================================================
   SIDEBAR (servicios / blog)
   ========================================================= */
.layout-sidebar { display: grid; grid-template-columns: 320px 1fr; gap: 40px; align-items: start; }
.layout-sidebar.right { grid-template-columns: 1fr 320px; }
.widget {
  background: var(--alt-bg);
  border-radius: var(--radius);
  padding: 26px;
  margin-bottom: 28px;
}
.widget h5 { margin-bottom: 18px; }
.service-list a {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--green); color: var(--white);
  padding: 14px 18px; border-radius: 6px; margin-bottom: 10px;
  font-family: var(--font-head); font-weight: 500;
}
.service-list a:hover, .service-list a.active { background: var(--accent); }
.widget--contact { background: var(--green); color: var(--white); text-align: center; }
.widget--contact h4, .widget--contact p { color: var(--white); }
.widget--contact .av { width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 16px; }

.cat-list li { border-bottom: 1px solid var(--border); }
.cat-list a { display: block; padding: 10px 0; color: var(--text); }
.cat-list a:hover { color: var(--accent); }
.recent-post { display: flex; gap: 12px; margin-bottom: 16px; align-items: center; }
.recent-post img { width: 64px; height: 64px; border-radius: 6px; flex: 0 0 64px; }
.recent-post a { color: var(--green); font-family: var(--font-head); font-weight: 500; font-size: .95rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gallery-grid img { border-radius: 6px; }

.prose p { margin-bottom: 1.1rem; }
.prose img { border-radius: var(--radius); margin-bottom: 1.2rem; }
.share-bar { display: flex; gap: 12px; align-items: center; background: var(--alt-bg); padding: 18px 22px; border-radius: var(--radius); }
.share-bar a { width: 36px; height: 36px; border-radius: 50%; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; }
.share-bar a:hover { background: var(--accent); }

/* =========================================================
   MAP
   ========================================================= */
.map-embed iframe { width: 100%; height: 420px; border: 0; display: block; }

/* =========================================================
   404
   ========================================================= */
.error-page { text-align: center; padding: 120px 20px; }
.error-page .code { font-family: var(--font-head); font-size: clamp(6rem, 18vw, 12rem); color: var(--accent); line-height: 1; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer-cta {
  background: var(--accent);
  border-radius: var(--radius);
  margin-bottom: -60px; position: relative; z-index: 2;
  padding: 30px 40px;
  display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between;
}
.footer-cta .item { display: flex; align-items: center; gap: 12px; color: var(--white); }
.footer-cta .item .icon { font-size: 1.6rem; }
.footer-cta .item small { display: block; opacity: .85; }
.footer-cta .item strong { font-family: var(--font-head); font-size: 1.1rem; }

.site-footer { background: var(--green-dark); color: rgba(255,255,255,.7); padding-top: 120px; }
.site-footer .footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.site-footer h5 { color: var(--white); margin-bottom: 20px; }
.site-footer a { color: rgba(255,255,255,.7); }
.site-footer a:hover { color: var(--accent); }
.site-footer li { margin-bottom: 10px; }
.site-footer .logo { margin-bottom: 18px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 22px 0; text-align: center; font-size: .9rem;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 992px) {
  .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .site-footer .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .layout-sidebar, .layout-sidebar.right { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .main-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--green); padding: 20px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 16px; }
  .nav-toggle { display: block; }
  .site-header .container { position: relative; }
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .contact-form .row { grid-template-columns: 1fr; }
  .footer-cta { margin-bottom: -40px; }
  .site-footer .footer-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 20px 0; }
  .stat + .stat:nth-child(odd) { border-left: none; }
}
