/* ============================================
   PLANTILLA 05 — COMERCIO LOCAL
   Estilo: Cercano, alegre, confianza
   Paleta: Verde botella + Blanco roto + Mostaza
   Hero: Tipo B (50/50 split)
   ============================================ */

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

:root {
  --green: #2D5016;
  --green-light: #3A6B1E;
  --green-dark: #1E3A0F;
  --slate: #3D4F5F;
  --slate-light: #56707F;
  --mustard: #D4A017;
  --mustard-light: #E8BC4A;
  --terracotta: #C1714F;
  --terracotta-light: #D4906E;
  --white-off: #FAF8F5;
  --white: #FFFFFF;
  --gray-50: #F7F5F2;
  --gray-100: #EFECE7;
  --gray-200: #DED9D1;
  --gray-300: #C4BDB3;
  --gray-400: #A09789;
  --gray-500: #7A7164;
  --gray-600: #5C554A;
  --gray-700: #3E3933;
  --gray-800: #2A2622;
  --gray-900: #1A1714;
  --font-heading: 'DM Serif Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,.12);
  --shadow-xl: 0 16px 48px rgba(0,0,0,.14);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: .3s ease;
  --transition-slow: .5s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background-color: var(--white-off);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

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

.section {
  padding: 80px 0;
}

.section--gray {
  background-color: var(--gray-50);
}

.section--green {
  background-color: var(--green);
  color: var(--white);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--green);
  margin-bottom: 12px;
}

.section-badge::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--mustard);
  display: inline-block;
}

.section--green .section-badge {
  color: var(--mustard);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--gray-900);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section--green .section-title {
  color: var(--white);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 560px;
  line-height: 1.7;
}

.section--green .section-subtitle {
  color: rgba(255,255,255,.75);
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

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

.btn--primary:hover {
  background: var(--green-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--secondary {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
}

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

.btn--mustard {
  background: var(--mustard);
  color: var(--gray-900);
}

.btn--mustard:hover {
  background: var(--mustard-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--white {
  background: var(--white);
  color: var(--green);
}

.btn--white:hover {
  background: var(--gray-50);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--sm {
  padding: 10px 22px;
  font-size: .85rem;
}

.btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* --- HEADER / NAV --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(250,248,245,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}

.header.scrolled {
  border-bottom-color: var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--green);
}

.header__logo-icon {
  width: 38px;
  height: 38px;
  background: var(--green);
  color: var(--white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header__links {
  display: flex;
  gap: 28px;
}

.header__link {
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-600);
  position: relative;
  padding: 4px 0;
}

.header__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--mustard);
  transition: width var(--transition);
}

.header__link:hover,
.header__link.active {
  color: var(--green);
}

.header__link:hover::after,
.header__link.active::after {
  width: 100%;
}

.header__cta {
  padding: 10px 24px;
  font-size: .85rem;
}

/* Mobile toggle */
.header__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.header__toggle span {
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all var(--transition);
}

/* --- HERO TIPO B (50/50 SPLIT) --- */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 48px 60px 0;
  margin-left: auto;
  max-width: 600px;
  width: 100%;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 24px;
  width: fit-content;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--mustard);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(1.3); }
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--gray-900);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero__title span {
  color: var(--green);
}

.hero__title em {
  font-style: normal;
  color: var(--mustard);
  position: relative;
}

.hero__text {
  font-size: 1.05rem;
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero__buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
}

.hero__trust-avatars {
  display: flex;
}

.hero__trust-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--white);
  object-fit: cover;
  margin-left: -8px;
}

.hero__trust-avatar:first-child {
  margin-left: 0;
}

.hero__trust-text {
  font-size: .85rem;
  color: var(--gray-500);
}

.hero__trust-text strong {
  color: var(--green);
  font-weight: 700;
}

.hero__image {
  position: relative;
  overflow: hidden;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: calc(100vh - 72px);
}

.hero__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--white-off) 0%, transparent 15%);
  pointer-events: none;
}

.hero__image-tag {
  position: absolute;
  bottom: 32px;
  left: 32px;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero__image-tag-icon {
  width: 42px;
  height: 42px;
  background: var(--green);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
}

.hero__image-tag-text {
  font-size: .82rem;
  color: var(--gray-500);
}

.hero__image-tag-text strong {
  display: block;
  font-size: .95rem;
  color: var(--gray-800);
}

/* --- PAGE HERO (subpages) --- */
.page-hero {
  padding: 140px 0 60px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}

.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: var(--gray-400);
  margin-bottom: 16px;
}

.page-hero__breadcrumb a {
  color: var(--green);
  font-weight: 500;
}

.page-hero__breadcrumb a:hover {
  color: var(--mustard);
}

.page-hero__breadcrumb svg {
  width: 14px;
  height: 14px;
  stroke: var(--gray-300);
}

.page-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--gray-900);
  margin-bottom: 12px;
}

.page-hero__subtitle {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 560px;
}

/* --- FEATURES STRIP --- */
.features-strip {
  padding: 0;
  margin-top: -40px;
  position: relative;
  z-index: 10;
}

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

.features-strip__item {
  padding: 32px 28px;
  text-align: center;
  border-right: 1px solid var(--gray-100);
  transition: all var(--transition);
}

.features-strip__item:last-child {
  border-right: none;
}

.features-strip__item:hover {
  background: var(--gray-50);
}

.features-strip__icon {
  width: 48px;
  height: 48px;
  background: var(--green);
  color: var(--white);
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.features-strip__item:nth-child(2) .features-strip__icon {
  background: var(--mustard);
  color: var(--gray-900);
}

.features-strip__item:nth-child(3) .features-strip__icon {
  background: var(--terracotta);
}

.features-strip__item:nth-child(4) .features-strip__icon {
  background: var(--slate);
}

.features-strip__title {
  font-weight: 700;
  font-size: .95rem;
  color: var(--gray-800);
  margin-bottom: 6px;
}

.features-strip__text {
  font-size: .82rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* --- ABOUT SECTION --- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about__image-wrapper {
  position: relative;
}

.about__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about__image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about__image-accent {
  position: absolute;
  top: -16px;
  left: -16px;
  width: 80px;
  height: 80px;
  background: var(--mustard);
  border-radius: var(--radius-md);
  opacity: .3;
  z-index: -1;
}

.about__experience {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--green);
  color: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.about__experience-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  line-height: 1;
  margin-bottom: 4px;
}

.about__experience-text {
  font-size: .78rem;
  opacity: .85;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about__list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about__list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .95rem;
  color: var(--gray-600);
}

.about__list-icon {
  width: 22px;
  height: 22px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.about__buttons {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

/* --- SERVICES / PRODUCTS --- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green);
}

.service-card__image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-card:hover .service-card__image img {
  transform: scale(1.06);
}

.service-card__tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--mustard);
  color: var(--gray-900);
  font-size: .7rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.service-card__body {
  padding: 24px;
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--gray-800);
  margin-bottom: 8px;
}

.service-card__text {
  font-size: .88rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 16px;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--green);
}

.service-card__link:hover {
  color: var(--mustard);
  gap: 10px;
}

.service-card__link svg {
  width: 16px;
  height: 16px;
}

/* --- SERVICES PAGE: DETAILED --- */
.services-detail {
  padding: 60px 0;
}

.services-detail__item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px 0;
  border-bottom: 1px solid var(--gray-200);
}

.services-detail__item:last-child {
  border-bottom: none;
}

.services-detail__item:nth-child(even) {
  direction: rtl;
}

.services-detail__item:nth-child(even) > * {
  direction: ltr;
}

.services-detail__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.services-detail__image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.services-detail__number {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--gray-200);
  line-height: 1;
  margin-bottom: 8px;
}

.services-detail__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--gray-800);
  margin-bottom: 12px;
}

.services-detail__text {
  font-size: .95rem;
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 20px;
}

.services-detail__features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.services-detail__feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  color: var(--gray-600);
}

.services-detail__feature-icon {
  color: var(--green);
  font-size: .85rem;
}

/* --- TESTIMONIALS --- */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.testimonial-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.testimonial-card__stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
  color: var(--mustard);
  font-size: .9rem;
}

.testimonial-card__text {
  font-size: .92rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}

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

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-card__name {
  font-weight: 700;
  font-size: .9rem;
  color: var(--gray-800);
}

.testimonial-card__role {
  font-size: .78rem;
  color: var(--gray-400);
}

/* --- STATS --- */
.stats {
  padding: 60px 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-item {
  text-align: center;
  padding: 32px 16px;
}

.stat-item__number {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  color: var(--mustard);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item__label {
  font-size: .88rem;
  color: rgba(255,255,255,.8);
}

/* --- CTA BANNER --- */
.cta-banner {
  padding: 80px 0;
}

.cta-banner__inner {
  background: var(--green);
  border-radius: var(--radius-xl);
  padding: 64px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.cta-banner__inner::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: var(--mustard);
  border-radius: 50%;
  opacity: .15;
}

.cta-banner__inner::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: 30%;
  width: 120px;
  height: 120px;
  background: var(--terracotta);
  border-radius: 50%;
  opacity: .1;
}

.cta-banner__title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--white);
  margin-bottom: 12px;
}

.cta-banner__text {
  font-size: 1rem;
  color: rgba(255,255,255,.75);
  max-width: 480px;
}

.cta-banner__buttons {
  display: flex;
  gap: 12px;
  position: relative;
  z-index: 2;
}

/* --- CONTACT FORM --- */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 40px;
}

.contact__info-card {
  background: var(--green);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.contact__info-card::before {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  border: 2px solid rgba(255,255,255,.1);
  border-radius: 50%;
}

.contact__info-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.contact__info-text {
  font-size: .95rem;
  opacity: .8;
  margin-bottom: 32px;
  line-height: 1.7;
}

.contact__info-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact__info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact__info-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.contact__info-item-label {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: .65;
  margin-bottom: 2px;
}

.contact__info-item-value {
  font-size: .95rem;
  font-weight: 500;
}

.contact__info-hours {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.15);
}

.contact__info-hours-title {
  font-weight: 700;
  font-size: .9rem;
  margin-bottom: 12px;
}

.contact__info-hours-row {
  display: flex;
  justify-content: space-between;
  font-size: .88rem;
  padding: 4px 0;
  opacity: .8;
}

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

.form__group {
  margin-bottom: 20px;
}

.form__label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.form__input,
.form__textarea,
.form__select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--gray-800);
  background: var(--white-off);
  transition: all var(--transition);
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(45,80,22,.12);
  background: var(--white);
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

.form__select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237A7164' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form__submit {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

.form__message {
  padding: 16px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  margin-top: 16px;
  display: none;
}

.form__message--success {
  background: #E8F5E9;
  color: #2E7D32;
  border: 1px solid #A5D6A7;
  display: block;
}

.form__message--error {
  background: #FFEBEE;
  color: #C62828;
  border: 1px solid #EF9A9A;
  display: block;
}

/* --- MAP --- */
.contact__map {
  margin-top: 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 350px;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: .9rem;
}

/* --- FOOTER --- */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 64px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer__brand-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 12px;
}

.footer__brand-text {
  font-size: .88rem;
  line-height: 1.7;
  color: var(--gray-400);
  margin-bottom: 20px;
  max-width: 300px;
}

.footer__social {
  display: flex;
  gap: 10px;
}

.footer__social-link {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  transition: all var(--transition);
  font-size: .85rem;
}

.footer__social-link:hover {
  background: var(--green);
  color: var(--white);
}

.footer__col-title {
  font-weight: 700;
  font-size: .9rem;
  color: var(--white);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__link {
  font-size: .88rem;
  color: var(--gray-400);
  transition: color var(--transition);
}

.footer__link:hover {
  color: var(--mustard);
}

.footer__bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
  color: var(--gray-500);
}

.footer__legal-links {
  display: flex;
  gap: 20px;
}

.footer__legal-links a {
  color: var(--gray-500);
}

.footer__legal-links a:hover {
  color: var(--mustard);
}

/* --- SCROLL ANIMATIONS --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity .6s ease, transform .6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity .6s ease, transform .6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* --- SCROLL TO TOP --- */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition);
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--green-light);
  transform: translateY(-2px);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero__content {
    padding: 48px 24px;
    max-width: 100%;
    margin: 0 auto;
    order: 2;
  }

  .hero__image {
    order: 1;
    max-height: 50vh;
  }

  .hero__image img {
    min-height: auto;
    height: 50vh;
  }

  .hero__image-overlay {
    background: linear-gradient(180deg, transparent 70%, var(--white-off) 100%);
  }

  .features-strip__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-strip__item {
    border-bottom: 1px solid var(--gray-100);
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .cta-banner__inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 48px 32px;
  }

  .cta-banner__buttons {
    justify-content: center;
  }

  .services-detail__item {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .services-detail__item:nth-child(even) {
    direction: ltr;
  }
}

@media (max-width: 768px) {
  .header__links {
    display: none;
  }

  .header__cta {
    display: none;
  }

  .header__toggle {
    display: flex;
  }

  /* Mobile nav */
  .mobile-nav {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    padding: 16px 24px 24px;
    transform: translateY(-110%);
    transition: transform var(--transition);
    z-index: 999;
    border-top: 1px solid var(--gray-100);
  }

  .mobile-nav.open {
    transform: translateY(0);
  }

  .mobile-nav__link {
    display: block;
    padding: 14px 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
  }

  .mobile-nav__link:last-of-type {
    border-bottom: none;
  }

  .mobile-nav__link:hover,
  .mobile-nav__link.active {
    color: var(--green);
  }

  .mobile-nav__cta {
    margin-top: 16px;
    width: 100%;
    justify-content: center;
  }

  .hero__title {
    font-size: 2rem;
  }

  .features-strip {
    margin-top: -20px;
  }

  .features-strip__grid {
    grid-template-columns: 1fr;
    border-radius: var(--radius-md);
  }

  .features-strip__item {
    border-right: none;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
  }

  .features-strip__icon {
    margin-bottom: 0;
    flex-shrink: 0;
  }

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

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

  .stats__grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

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

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .hero__image-tag {
    bottom: 16px;
    left: 16px;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 56px 0;
  }

  .hero__buttons {
    flex-direction: column;
  }

  .hero__buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .cta-banner__inner {
    padding: 36px 24px;
  }

  .cta-banner__buttons {
    flex-direction: column;
    width: 100%;
  }

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

/* FLOATING WHATSAPP */
.float-wa{position:fixed;bottom:24px;right:24px;z-index:150;width:56px;height:56px;border-radius:50%;background:#25D366;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 16px rgba(0,0,0,.18);transition:transform .2s,box-shadow .2s;text-decoration:none}
.float-wa:hover{transform:scale(1.1);box-shadow:0 6px 24px rgba(0,0,0,.25)}
.float-wa svg{width:26px;height:26px;fill:#fff}
@media(max-width:600px){.float-wa{bottom:16px;right:16px;width:50px;height:50px}.float-wa svg{width:22px;height:22px}}

/* ── NAV DROPDOWN ──────────────────────────────────────────── */
.has-dropdown{position:relative}
.has-dropdown>a::after{content:' ▾';font-size:.65em;opacity:.6;position:static;width:auto;height:auto;background:none;display:inline-block;transform:rotate(0deg) translate(0,-2px);transform-origin:center center;transition:transform 0.25s ease,opacity 0.2s ease;line-height:.8;vertical-align:middle}
.has-dropdown:hover>a::after,.has-dropdown.open>a::after{transform:rotate(180deg);opacity:.9}
.has-dropdown > .dropdown{display:none;position:absolute;top:100%;left:0;background:var(--white);border:1px solid var(--gray-200);border-radius:8px;box-shadow:0 4px 20px rgba(0,0,0,.1);min-width:220px;z-index:200;padding:10px 0 6px}
.has-dropdown > .dropdown::before{content:'';position:absolute;top:-10px;left:-8px;right:-8px;height:10px}
.has-dropdown:hover > .dropdown,.has-dropdown.open > .dropdown{display:block}
.has-dropdown > .dropdown li{display:block;width:100%}
.has-dropdown > .dropdown a{display:block;width:100%;padding:10px 18px;font-size:.85rem;font-weight:400;color:var(--gray-700);white-space:nowrap;box-sizing:border-box}
.has-dropdown > .dropdown a::after{display:none!important}
.has-dropdown > .dropdown a:hover{color:var(--green);background:var(--gray-50)}
