/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:       #7AB648;
  --green-dark:  #5f9438;
  --brown:       #8B5A2B;
  --brown-dark:  #714821;
  --gray:        #5F5E5A;
  --white:       #FFFFFF;
  --surface:     #EDE8DD;
  --text:        #2B2A28;
  --text-muted:  #5F5E5A;
  --border:      #DCD5C4;
  --radius:      6px;
  --radius-lg:   10px;
  --font:        'Inter', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

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

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ===== CONTAINER ===== */
.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
  white-space: nowrap;
  text-decoration: none;
  font-size: .95rem;
}

.btn--sm  { padding: 8px 16px;  font-size: .85rem; }
.btn--lg  { padding: 14px 26px; font-size: 1rem;    }

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

.btn--brown {
  background: var(--brown);
  color: var(--white);
  border-color: var(--brown);
}
.btn--brown:hover {
  background: var(--brown-dark);
  border-color: var(--brown-dark);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn--outline:hover {
  border-color: var(--gray);
}

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn--outline-light:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
}

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.navbar__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 600;
  flex-shrink: 0;
}

.navbar__quetzal-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}
.navbar__quetzal {
  height: 30px;
  width: auto;
}
.navbar__quetzal-label {
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text);
  margin-top: 1px;
}
@media (max-width: 480px) {
  .navbar__quetzal-block { display: none; }
}
.navbar__logo strong { font-weight: 800; color: var(--brown); }

.logo-mark {
  width: 36px; height: 36px;
  object-fit: contain;
  border-radius: var(--radius);
  flex-shrink: 0;
}
.logo-mark--sm {
  width: 30px; height: 30px;
}

.navbar__links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.navbar__links a {
  color: var(--text-muted);
  font-size: .9rem;
  font-weight: 500;
  transition: color .15s;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.navbar__links a:hover,
.navbar__links a.active {
  color: var(--text);
  border-bottom-color: var(--green);
}

.navbar__cta { flex-shrink: 0; }

.navbar__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.navbar__burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
}

.navbar__mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 8px 24px 20px;
}
.navbar__mobile a {
  color: var(--text);
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: .95rem;
}
.navbar__mobile a:last-of-type { border-bottom: none; }
.navbar__mobile .btn { margin-top: 12px; }
.navbar__mobile.open { display: flex; }

/* ===== BREADCRUMB ===== */
.breadcrumb {
  padding: 18px 0;
  font-size: .85rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.breadcrumb a { color: var(--gray); font-weight: 500; }
.breadcrumb a:hover { color: var(--green-dark); }
.breadcrumb span { color: var(--text); font-weight: 600; }

/* ===== HERO ===== */
.hero {
  background: var(--surface);
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}
.hero--sm { padding: 52px 0; }

/* Hero with photo background (Inicio) */
.hero--photo {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
}
.hero__bg-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.hero--photo .hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(24, 23, 20, .62);
  z-index: 1;
}
.hero--photo .container {
  position: relative;
  z-index: 2;
}
.hero--photo .hero__title { color: var(--white); }
.hero--photo .hero__title .text-gray { color: #A8A6A0; }
.hero--photo .hero__sub { color: rgba(255,255,255,.85); }

.hero__badge {
  display: inline-block;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--brown);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.hero__title {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 18px;
  max-width: 760px;
}
.hero__title .text-green { color: var(--green); }
.hero__title .text-gray { color: var(--gray); }

.hero__title-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}
.hero__title-row .hero__title {
  margin-bottom: 0;
}
.hero__title-logo {
  height: 72px;
  width: auto;
  flex-shrink: 0;
}

.hero__sub {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 32px;
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ===== SECTIONS ===== */
.section { padding: 84px 0; }
.section--surface { background: var(--surface); }
.section--dark {
  background: var(--text);
}
.section--sm { padding: 56px 0; }

.section__header {
  max-width: 680px;
  margin: 0 auto 56px;
}
.section__header--center { text-align: center; margin-inline: auto; }
.section__header--light h2,
.section__header--light p { color: var(--white); }
.section__header--light p { opacity: .75; }

.section__tag {
  display: inline-block;
  background: rgba(122,182,72,.12);
  color: var(--green-dark);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section__tag--light {
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.9);
}

.section__header h2 {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
  color: var(--text);
}

.section__header p {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

/* ===== CARDS ===== */
.cards-grid {
  display: grid;
  gap: 24px;
}
.cards-grid--2 { grid-template-columns: repeat(2, 1fr); }
.cards-grid--3 { grid-template-columns: repeat(3, 1fr); }
.cards-grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.card--photo {
  padding: 0;
  overflow: hidden;
}
.card__photo {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.card__photo--tall {
  height: 270px;
}
.card--photo .card__body {
  padding: 24px 28px 28px;
}

.card__icon {
  width: 44px; height: 44px;
  background: var(--surface);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  flex-shrink: 0;
}
.card__icon svg {
  width: 22px; height: 22px;
  color: var(--green-dark);
}
.card h3 {
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.card p {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== APPROACH CARDS (verde / gris) ===== */
.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.approach-card {
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border);
}
.approach-card--has-photo {
  padding: 0;
  overflow: hidden;
}
.approach-card__photo {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.approach-card--has-photo .approach-card__body {
  padding: 36px;
}
.approach-card--green {
  background: var(--white);
  border-top: 4px solid var(--green);
}
.approach-card--gray {
  background: var(--white);
  border-top: 4px solid var(--gray);
}
.approach-card__label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 10px;
}
.approach-card--green .approach-card__label { color: var(--green-dark); }
.approach-card--gray .approach-card__label { color: var(--gray); }
.approach-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text);
}
.approach-card p {
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}
.approach-card ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.approach-card ul li {
  font-size: .9rem;
  color: var(--text);
  padding-left: 20px;
  position: relative;
}
.approach-card ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  border-radius: 2px;
}
.approach-card--green ul li::before { background: var(--green); }
.approach-card--gray ul li::before { background: var(--gray); }

/* ===== STEPS ===== */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 760px;
  margin: 0 auto;
}
.step {
  display: flex;
  gap: 24px;
  padding-bottom: 40px;
  position: relative;
}
.step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 50px;
  bottom: 0;
  width: 1px;
  background: var(--border);
}
.step__number {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: var(--text);
  color: var(--white);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1rem;
  font-weight: 800;
  z-index: 1;
}
.step__content { padding-top: 8px; flex: 1; }
.step__content h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.step__content p {
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}
.step__content p:last-child { margin-bottom: 0; }

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}
.spec { display: flex; flex-direction: column; gap: 2px; }
.spec strong {
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--brown);
}
.spec span { font-size: .88rem; color: var(--text); }

/* ===== CTA BOX ===== */
.cta-box {
  background: var(--text);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
}
.cta-box h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}
.cta-box p {
  color: rgba(255,255,255,.7);
  margin-bottom: 24px;
  font-size: 1rem;
}
.cta-box .hero__actions { justify-content: center; }

.cta-box--photo {
  position: relative;
  overflow: hidden;
  padding: 0;
}
.cta-box__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.cta-box__overlay {
  position: absolute;
  inset: 0;
  background: rgba(24, 23, 20, .4);
  z-index: 1;
}
.cta-box__content {
  position: relative;
  z-index: 2;
  padding: 40px 48px;
}
.cta-box__logo {
  display: inline-block;
  background: var(--white);
  border-radius: var(--radius);
  padding: 5px 16px;
  margin-bottom: 6px;
}
.cta-box__logo img {
  display: block;
  height: 71px;
  width: auto;
}
.cta-box--photo h3 {
  font-size: 1.6rem;
}
.cta-box--photo p {
  font-size: 1.1rem;
  margin-bottom: 16px;
}

/* ===== PROJECT / PLACEHOLDER CARDS ===== */
.project-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.project-card__media {
  height: 240px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  border-bottom: 1px solid var(--border);
}
.project-card__media svg { width: 36px; height: 36px; opacity: .5; }
.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.project-card__body { padding: 24px; }
.project-card__tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--green-dark);
  margin-bottom: 8px;
}
.project-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.project-card p {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .88rem;
  color: var(--text-muted);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 16px 20px;
  border-left: 3px solid var(--brown);
}
.notice svg { flex-shrink: 0; margin-top: 1px; color: var(--brown); }

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.channel-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .9rem;
  border: 1px solid var(--border);
  color: var(--text);
}
.channel-btn svg { flex-shrink: 0; color: var(--green-dark); }
.channel-btn:hover { border-color: var(--green); }

.contact-location {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: var(--text-muted);
}
.contact-location svg { color: var(--brown); flex-shrink: 0; }

/* Form */
.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font);
  font-size: .92rem;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--green);
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form__note {
  font-size: .8rem;
  color: var(--text-muted);
}
.form__status {
  font-size: .88rem;
  font-weight: 600;
  color: var(--green-dark);
  display: none;
}
.form__status.visible { display: block; }

/* ===== FOOTER ===== */
.footer {
  background: var(--text);
  padding: 48px 0 28px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.9);
  margin-bottom: 14px;
}
.footer__brand strong {
  display: block;
  font-size: .95rem;
  font-weight: 700;
  color: var(--white);
}
.footer__desc {
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  line-height: 1.6;
  max-width: 320px;
}
.footer h4 {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: rgba(255,255,255,.9);
  margin-bottom: 14px;
}
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a,
.footer__links span {
  font-size: .88rem;
  color: rgba(255,255,255,.6);
}
.footer__links a:hover { color: var(--white); }

.footer__copy {
  font-size: .8rem;
  color: rgba(255,255,255,.4);
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 22px;
}

/* ===== FLOATING WA ===== */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  width: 52px; height: 52px;
  background: var(--green);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
}
.wa-float:hover { background: var(--green-dark); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .navbar__links { display: none; }
  .navbar__cta  { display: none; }
  .navbar__burger { display: flex; }

  .cards-grid--3, .cards-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .approach-grid { grid-template-columns: 1fr; }
  .contact-grid  { grid-template-columns: 1fr; }
  .footer__grid  { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .hero { padding: 48px 0; }
  .hero--photo { padding: 72px 0; }
  .hero__title-logo { height: 48px; }
  .hero__title-row { gap: 12px; }
  .cards-grid--2, .cards-grid--3, .cards-grid--4 { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .cta-box { padding: 32px 22px; }
  .cta-box--photo { padding: 0; }
  .cta-box--photo .cta-box__content { padding: 32px 22px; }
}
