/* MK Tree & Landscape Services LLC — site stylesheet */

:root {
  --green-dark: #16331f;
  --green: #1f4d36;
  --green-mid: #2d6b45;
  --gold: #c9a24b;
  --gold-light: #ddb968;
  --cta-teal: #006465;
  --cta-teal-hover: #2e8081;
  --cta-green: #73a33a;
  --cta-green-hover: #8cb45d;
  --cream: #f7f5ef;
  --ink: #1a1e1b;
  --gray: #5b645d;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(22, 51, 31, 0.15);
  --maxw: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

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

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

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.2; margin: 0 0 16px; color: var(--green-dark); }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 16px; color: var(--gray); }

.eyebrow {
  display: inline-block;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .78rem;
  margin-bottom: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
}
/* Primary CTA: teal on light/card backgrounds (matches the current live
   site's "Get a Free Estimate" button), green on dark backgrounds (matches
   the current live site's "Call us now" hero button) — same two-color
   system the live mktreeservicesllc.com already uses, carried into the
   redesign's buttons. */
.btn-primary { background: var(--cta-teal); color: var(--white); }
.btn-primary:hover { background: var(--cta-teal-hover); transform: translateY(-1px); }
.hero .btn-primary,
.cta-banner .btn-primary,
.site-footer .btn-primary {
  background: var(--cta-green);
  color: var(--white);
}
.hero .btn-primary:hover,
.cta-banner .btn-primary:hover,
.site-footer .btn-primary:hover {
  background: var(--cta-green-hover);
}
.btn-outline { background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-outline-dark { background: transparent; border-color: var(--green); color: var(--green); }
.btn-outline-dark:hover { background: var(--green); color: var(--white); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid #e7e3d8;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--maxw); margin: 0 auto;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 48px; width: auto; }
.brand-name { font-family: Georgia, serif; font-weight: 700; color: var(--green-dark); font-size: 1.05rem; line-height: 1.15; }
.brand-name small { display: block; font-family: inherit; font-weight: 400; color: var(--gray); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }

nav.main-nav { display: flex; align-items: center; gap: 28px; }
nav.main-nav a { font-weight: 600; color: var(--ink); font-size: .95rem; padding: 6px 0; border-bottom: 2px solid transparent; }
nav.main-nav a:hover, nav.main-nav a[aria-current="page"] { color: var(--green); border-color: var(--gold); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: flex; border: 1px solid #d9d3c2; border-radius: 999px; overflow: hidden; font-size: .82rem; font-weight: 700; }
.lang-switch a { padding: 6px 12px; color: var(--gray); }
.lang-switch a.active { background: var(--green); color: var(--white); }
.header-phone { display: none; }
@media (min-width: 900px) {
  .header-phone { display: inline-flex; align-items: center; gap: 6px; color: var(--green-dark); font-weight: 700; }
}

.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--green-dark); }

@media (max-width: 900px) {
  nav.main-nav {
    position: fixed; inset: 0 0 0 30%;
    background: var(--white);
    flex-direction: column; align-items: flex-start;
    padding: 90px 28px 28px;
    gap: 22px;
    transform: translateX(100%);
    transition: transform .25s ease;
    box-shadow: -10px 0 30px rgba(0,0,0,.15);
  }
  nav.main-nav.open { transform: translateX(0); }
  .nav-toggle { display: block; }
  .header-actions .lang-switch { order: 2; }
}

/* Hero */
.hero {
  position: relative;
  color: var(--white);
  display: flex; align-items: center;
  min-height: 78vh;
  background-size: cover; background-position: center;
  text-align: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,33,22,.75), rgba(15,33,22,.55) 45%, rgba(15,33,22,.85));
}
.hero-content { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; padding: 60px 24px; }
.hero h1 { color: var(--white); }
.hero p.lead { color: #e7e9e4; font-size: 1.15rem; max-width: 620px; margin: 0 auto 28px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-badges { margin-top: 34px; display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; font-size: .85rem; color: #d8dbd4; }
.hero-badges strong { display: block; color: var(--gold-light); font-size: 1.3rem; font-family: Georgia, serif; }

.page-hero {
  min-height: 42vh;
}

/* Sections */
section { padding: 70px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.bg-alt { background: var(--white); }
.bg-dark { background: var(--green-dark); color: #e7e9e4; }
.bg-dark h2, .bg-dark h3 { color: var(--white); }
.bg-dark p { color: #c7cec8; }

/* Cards / grids */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.card img { height: 210px; object-fit: cover; width: 100%; }
.card-body { padding: 22px; }
.card-body h3 { margin-bottom: 8px; }
.card-body a.more { color: var(--green); font-weight: 700; font-size: .9rem; }

.icon-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}
.icon-card .icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(201,162,75,.16); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 16px;
}

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; height: 100%; }

.stat-row { display: flex; gap: 40px; margin-top: 20px; flex-wrap: wrap; }
.stat-row strong { display: block; font-family: Georgia, serif; font-size: 2rem; color: var(--gold); }
.stat-row span { color: var(--gray); font-size: .88rem; }

/* Testimonials */
.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 10px; }
.testimonial .who { margin-top: 14px; font-weight: 700; color: var(--green-dark); }
.testimonial .who span { display: block; font-weight: 400; color: var(--gray); font-size: .85rem; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-grid img { border-radius: var(--radius); width: 100%; height: 260px; object-fit: cover; box-shadow: var(--shadow); }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: 1fr; } }

/* CTA banner */
.cta-banner {
  background: linear-gradient(120deg, var(--green-dark), var(--green));
  color: var(--white);
  border-radius: var(--radius);
  padding: 46px 36px;
  text-align: center;
}
.cta-banner h2 { color: var(--white); }
.cta-banner p { color: #d8dbd4; max-width: 560px; margin: 0 auto 24px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* Preferred-contact card: dark panel with the direct phone/WhatsApp/email
   channels, shown alongside the form — same pattern as the RICO site's
   "Contacto preferido" box. */
.contact-card {
  background: linear-gradient(160deg, var(--green-dark), var(--green));
  color: #d8dbd4;
  border-radius: var(--radius);
  padding: 32px 28px;
  position: sticky;
  top: 90px;
}
.contact-card h3 { color: var(--white); margin-bottom: 18px; }
.contact-card .contact-info-item:last-child { margin-bottom: 0; }
.contact-card .contact-info-item strong { color: var(--white); }
.contact-card .contact-info-item div:last-child { color: #d8dbd4; }
.contact-card .contact-info-item a { color: var(--gold-light); font-weight: 600; }
.contact-card .ic { background: rgba(255,255,255,.14); color: var(--gold-light); }

.contact-info-item { display: flex; gap: 14px; margin-bottom: 22px; }
.contact-info-item .ic { width: 40px; height: 40px; border-radius: 50%; background: rgba(201,162,75,.16); color: var(--gold); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

form.contact-form { background: var(--white); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
form.contact-form .form-intro { font-size: .92rem; color: var(--gray); margin-bottom: 22px; padding-bottom: 20px; border-bottom: 1px solid #e7e3d8; }
form.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 640px) { form.contact-form .form-row { grid-template-columns: 1fr; } }
form.contact-form label { display: block; font-weight: 700; margin-bottom: 6px; font-size: .9rem; color: var(--green-dark); }
form.contact-form input, form.contact-form select, form.contact-form textarea {
  width: 100%; padding: 12px 14px; margin-bottom: 18px;
  border: 1px solid #d9d3c2; border-radius: 8px; font: inherit; background: var(--cream);
}
form.contact-form select { appearance: auto; color: var(--ink); }
form.contact-form select:invalid { color: var(--gray); }
form.contact-form textarea { min-height: 130px; resize: vertical; }
form.contact-form button { width: 100%; justify-content: center; }
form.contact-form .form-note { margin: 14px 0 0; font-size: .85rem; color: var(--gray); text-align: center; }
form.contact-form .form-note a { color: var(--green); font-weight: 600; }

/* Footer */
footer.site-footer { background: var(--green-dark); color: #c7cec8; padding: 60px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; margin-bottom: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid img { height: 46px; margin-bottom: 14px; }
.footer-grid h4 { color: var(--white); font-size: .95rem; margin-bottom: 14px; letter-spacing: .04em; text-transform: uppercase; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; font-size: .92rem; }
.footer-grid a:hover { color: var(--gold-light); }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); display: flex; align-items: center; justify-content: center; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; font-size: .82rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--ink);
  padding: 10px 16px; z-index: 100; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.whatsapp-fab {
  position: fixed; bottom: 22px; right: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(0,0,0,.28); font-size: 1.6rem;
}

address { font-style: normal; }
