:root {
  --bg: #f4f7ee;
  --surface: #ffffff;
  --text: #25311d;
  --muted: #617054;
  --accent: #de7b2d;
  --accent-deep: #3f821d;
  --accent-bright: #84c43a;
  --accent-soft: #eaf4d5;
  --accent-warm: #f8e0b8;
  --border: rgba(63, 130, 29, 0.14);
  --shadow: 0 32px 80px rgba(42, 68, 24, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(222, 123, 45, 0.16), transparent 34%),
    radial-gradient(circle at 85% 12%, rgba(132, 196, 58, 0.26), transparent 30%),
    linear-gradient(180deg, #fbfcf6 0%, #edf6dc 46%, #f8e0b8 100%);
  color: var(--text);
  line-height: 1.6;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.layout {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  border-bottom: 2px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 84px;
}

.brand img {
  max-height: 62px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.language-switcher {
  position: relative;
}

.language-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 0;
  background: linear-gradient(135deg, #3f821d 0%, #84c43a 100%);
  color: #fff;
  padding: 0.45rem 0.7rem 0.45rem 0.5rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  min-width: 9.5rem;
  box-shadow: 0 14px 34px rgba(42, 68, 24, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.language-trigger:hover,
.language-trigger:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(42, 68, 24, 0.28);
  outline: none;
}

.language-switcher.is-open .language-trigger {
  background: linear-gradient(135deg, #346f17 0%, #72b332 100%);
}

.language-trigger__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  flex-shrink: 0;
}

.language-trigger__icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.language-trigger__label {
  flex: 1;
  text-align: left;
  font-size: 0.92rem;
  line-height: 1;
}

.language-trigger__caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.language-trigger__caret svg {
  width: 1.05rem;
  height: 1.05rem;
}

.language-switcher.is-open .language-trigger__caret {
  transform: rotate(180deg);
}

.language-menu {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 0;
  width: 100%;
  display: grid;
  gap: 0.35rem;
  padding: 0.45rem;
  border-radius: 1.1rem;
  background: #fff;
  border: 1px solid rgba(63, 130, 29, 0.14);
  box-shadow: 0 22px 48px rgba(42, 68, 24, 0.14);
  z-index: 30;
}

.language-menu[hidden] {
  display: none;
}

.lang-option {
  border: 0;
  background: transparent;
  color: var(--accent-deep);
  text-align: left;
  font: inherit;
  font-weight: 600;
  padding: 0.6rem 0.75rem;
  border-radius: 0.9rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-option:hover,
.lang-option:focus-visible {
  background: rgba(132, 196, 58, 0.14);
  outline: none;
}

.lang-option.is-active {
  background: rgba(222, 123, 45, 0.14);
}

  .header-contact {
    display: grid;
    gap: 0.25rem;
  text-align: right;
}

.header-contact span {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.header-contact a {
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, #3f821d 0%, #84c43a 100%);
  color: #fff;
}

.button-secondary {
  color: var(--accent-deep);
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(63, 130, 29, 0.16);
}

.button-ghost {
  color: #fff;
  background: linear-gradient(135deg, #de7b2d 0%, #f09a3a 100%);
  border-color: transparent;
}

.button-ghost:hover,
.button-ghost:focus-visible {
  background: linear-gradient(135deg, #c9681d 0%, #e98c2f 100%);
}

.section {
  padding: 5rem 0;
}

.section-light {
  background: #f2f8e7;
}

.section-muted {
  background: #fff;
}

.section-team {
  background: linear-gradient(180deg, #fff 0%, #eff7e2 100%);
}

.hero {
  padding: 5rem 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 3rem;
  align-items: center;
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.8rem, 4.5vw, 4.4rem);
  line-height: 1.02;
}

.hero-copy p {
  margin: 2rem 0 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-subcta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.9rem;
  padding: 0.7rem 1.05rem;
  border-radius: 999px;
  border: 1px solid rgba(63, 130, 29, 0.16);
  background: rgba(255, 255, 255, 0.88);
  color: var(--accent-deep);
  font-size: 0.92rem;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.hero-subcta:hover,
.hero-subcta:focus-visible {
  transform: translateY(-1px);
  background: #fff;
  border-color: rgba(222, 123, 45, 0.28);
}

.hero-note {
  margin-top: 1.75rem;
  color: var(--muted);
  font-size: 0.96rem;
  max-width: 40rem;
}

.hero-media {
  margin: 0;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 1.75rem;
  box-shadow: var(--shadow);
}

.hero-media figcaption {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.section-head {
  max-width: 680px;
  margin-bottom: 2rem;
}

.section-head h2 {
  margin: 0.75rem 0 0;
  font-size: clamp(2rem, 2.5vw, 2.6rem);
  line-height: 1.08;
}

.section-lead {
  margin: 1rem 0 0;
  max-width: 46rem;
  color: var(--muted);
  font-size: 1rem;
}

.specialties-layout {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: center;
}

.specialties-content {
  display: grid;
  gap: 2rem;
}

.specialties-content .section-head {
  margin-bottom: 0;
}

.specialties-photo {
  margin: 0;
  overflow: hidden;
  border-radius: 1.75rem;
  position: sticky;
  top: 6rem;
  box-shadow: var(--shadow);
}

.specialties-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.feature-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 18px 50px rgba(42, 68, 24, 0.06);
}

.feature-card h3 {
  margin-top: 0;
  font-size: 1.1rem;
}

.feature-card p {
  margin: 1rem 0 0;
  color: var(--muted);
}

.service-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  margin-bottom: 1rem;
  border-radius: 1.15rem;
  background: rgba(222, 123, 45, 0.12);
  color: var(--accent-deep);
  box-shadow: inset 0 0 0 1px rgba(63, 130, 29, 0.12);
}

.service-card__icon svg {
  width: 2.15rem;
  height: 2.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card__icon--filled svg {
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 4.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  paint-order: stroke fill;
}

.service-card--featured {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(222, 123, 45, 0.16) 0%, rgba(132, 196, 58, 0.12) 48%, #fff 78%);
  border-color: rgba(63, 130, 29, 0.24);
}

.service-card--featured .service-card__icon {
  background: rgba(63, 130, 29, 0.1);
  box-shadow: inset 0 0 0 1px rgba(63, 130, 29, 0.14);
}

.service-card--featured h3 {
  font-size: 1.35rem;
}

.service-card__tag {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.85rem;
  padding: 0.45rem 0.78rem;
  border-radius: 999px;
  background: rgba(63, 130, 29, 0.1);
  color: var(--accent-deep);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2.5rem;
  align-items: center;
}

.list-panel {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.list-panel div {
  display: grid;
  gap: 0.35rem;
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  background: #fbfdf7;
}

.list-panel strong {
  color: var(--accent-deep);
}

.list-panel span {
  color: var(--muted);
  font-size: 0.96rem;
}

.why-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 1.75rem;
  box-shadow: var(--shadow);
}

.team-profile {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 2rem;
  align-items: start;
}

.team-photo-card {
  margin: 0;
  padding: 1.25rem;
  border-radius: 1.75rem;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.team-photo {
  display: block;
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 1.25rem;
  border: 1px solid rgba(63, 130, 29, 0.14);
  background: #edf5de;
}

.team-photo-card figcaption {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.team-bio {
  display: grid;
  gap: 1rem;
  padding: 2rem;
  border-radius: 1.75rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(63, 130, 29, 0.12);
}

.team-bio p {
  margin: 0;
  color: var(--muted);
}

.team-bio p:first-child {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text);
}

.gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-card {
  overflow: hidden;
  border-radius: 1.5rem;
  min-height: 240px;
}

.gallery-card.tall {
  grid-row: span 2;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-cta {
  background: linear-gradient(180deg, #f5f9ec 0%, #f9ecd2 100%);
}

.contact-cta {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: center;
}

.contact-address {
  display: grid;
  gap: 0.3rem;
  margin-top: 1.35rem;
  padding: 1rem 1.15rem;
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(63, 130, 29, 0.12);
  max-width: 28rem;
}

.contact-address strong {
  color: var(--accent-deep);
  font-size: 0.9rem;
}

.contact-address span {
  color: var(--muted);
}

.contact-panel {
  display: grid;
  gap: 1rem;
  padding: 2rem;
  border-radius: 1.75rem;
  background: #fff;
  border: 1px solid var(--border);
}

.contact-panel .button {
  width: 100%;
}

.map-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 1.75rem;
  box-shadow: 0 24px 60px rgba(42, 68, 24, 0.1);
}

.map-wrapper iframe {
  width: 100%;
  min-height: 420px;
  border: 0;
}

.site-footer {
  padding: 2rem 0;
  background: #fff;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.site-footer p,
.site-footer small {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 980px) {
  .hero-grid,
  .specialties-layout,
  .two-column,
  .team-profile,
  .contact-cta {
    grid-template-columns: 1fr;
  }

  .specialties-photo {
    position: static;
  }

  .gallery-card.tall {
    grid-row: auto;
  }
}

@media (max-width: 720px) {
  .header-inner,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-contact {
    text-align: left;
  }

  .header-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .hero {
    padding: 3.5rem 0;
  }

  .hero h1 {
    font-size: 2.75rem;
  }

  .feature-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .team-photo {
    min-height: 320px;
  }

  .layout {
    width: min(100%, calc(100% - 1.5rem));
  }
}

.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #3f821d 0%, #84c43a 100%);
  color: #fff;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.16);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.whatsapp-float svg {
  width: 1.55rem;
  height: 1.55rem;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #346f17 0%, #72b332 100%);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
}
