:root {
  color-scheme: light;
  --cream:       #F3F7EE;
  --warm:        #E6EDD9;
  --sand:        #C8DBA8;
  --terracotta:  #6B8A52;
  --terra-light: #8EAA72;
  --terra-dark:  #4A6335;
  --brown:       #1E2C18;
  --mid:         #3D5530;
  --soft:        #6E8A60;
  --white:       #FFFFFF;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--brown);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 6vw;
  height: 64px;
  background: var(--brown);
  transition: height 0.3s ease, box-shadow 0.3s ease;
}

nav.scrolled {
  height: 56px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
}

/* ── NAV LOGO ── */
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.nav-logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.logo-text {
  font-family: 'Lora', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.01em;
}
.logo-text span { color: var(--terra-light); }

/* ── HERO LOGO ── */
.hero-logo {
  position: absolute;
  right: 6vw;
  top: 50%;
  transform: translateY(-60%);
  z-index: 1;
}
.hero-logo img {
  width: 400px;
  max-width: 36vw;
  height: auto;
  mix-blend-mode: multiply;
}

/* ── PAGE HEADER (inner pages) ── */
.page-header {
  padding: 130px 6vw 70px;
  background: var(--warm);
  text-align: center;
}
.page-header .section-tag { margin-bottom: 0.8rem; }
.page-header .section-title { font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: 1rem; }
.page-header .section-sub { margin: 0 auto; }

/* ── CTA BANNER ── */
.cta-banner {
  background: var(--brown);
  padding: 80px 6vw;
  text-align: center;
}
.cta-banner h2 {
  font-family: 'Lora', serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1rem;
}
.cta-banner p {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  font-weight: 300;
  margin-bottom: 2rem;
}
.cta-banner .btn-primary {
  background: var(--terracotta);
  box-shadow: 0 4px 20px rgba(107,138,82,0.4);
}
.cta-banner .btn-primary:hover { background: var(--terra-light); }

/* ── FOOTER LOGO IMG ── */
.footer-logo-img {
  height: 38px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

/* ── SECTORES ── */
#sectores { background: var(--cream); }

.sectores-header {
  text-align: center;
  margin-bottom: 3rem;
}
.sectores-header .section-sub { margin: 0 auto; }

.sectores-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  max-width: 860px;
  margin: 0 auto;
}

.sector-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--white);
  border: 1.5px solid var(--sand);
  border-radius: 100px;
  padding: 0.7rem 1.4rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--brown);
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.sector-chip:hover {
  border-color: var(--terracotta);
  background: rgba(107,138,82,0.06);
  transform: translateY(-2px);
}
.sector-icon { font-size: 1.1rem; }

/* ── TRABAJA CON NOSOTROS ── */
#trabaja { background: var(--white); }

.input-file {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  color: var(--mid);
  cursor: pointer;
}
.input-file::file-selector-button {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--terra-dark);
  background: rgba(107,138,82,0.1);
  border: 1.5px solid rgba(107,138,82,0.3);
  border-radius: 6px;
  padding: 0.35rem 0.8rem;
  margin-right: 0.8rem;
  cursor: pointer;
  transition: background 0.2s;
}
.input-file::file-selector-button:hover {
  background: rgba(107,138,82,0.18);
}

nav.scrolled {
  height: 56px;
  box-shadow: 0 2px 16px rgba(30,44,24,0.07);
}

.logo {
  font-family: 'Lora', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--brown);
  letter-spacing: -0.01em;
}
.logo span { color: var(--terracotta); }

.nav-menu {
  display: flex !important;
  flex-direction: row !important;
  gap: 1.6rem;
  align-items: center;
  list-style: none !important;
  margin: 0; padding: 0;
}
.nav-menu *,
.nav-menu *::before,
.nav-menu *::after {
  list-style: none !important;
}
.nav-menu a {
  display: inline-block !important;
  text-decoration: none !important;
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(255,255,255,0.75) !important;
  letter-spacing: 0.02em;
  transition: color 0.2s;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.nav-menu a:hover { color: #ffffff !important; }
.nav-menu a[aria-current="page"] {
  color: #ffffff !important;
  font-weight: 600 !important;
}

.nav-cta {
  background: var(--terracotta);
  color: #ffffff !important;
  padding: 0.45rem 1.1rem;
  border-radius: 100px;
  font-weight: 500 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--terra-light) !important; color: #fff !important; }

.nav-toggle {
  display: none !important;
  background: none;
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 6px;
  font-size: 1.2rem;
  cursor: pointer;
  color: #ffffff;
  padding: 0.2rem 0.5rem;
  line-height: 1;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px 6vw 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 40%, rgba(107,138,82,0.14) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 10% 70%, rgba(198,219,168,0.55) 0%, transparent 60%);
}

.hero-bg::before {
  content: '';
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  border: 1.5px solid rgba(107,138,82,0.18);
  top: 10%; right: -80px;
}
.hero-bg::after {
  content: '';
  position: absolute;
  width: 260px; height: 260px;
  border-radius: 50%;
  border: 1.5px solid rgba(107,138,82,0.12);
  bottom: 15%; right: 8%;
}

.hero-inner {
  position: relative; z-index: 1;
  max-width: 680px;
}

.hero-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(107,138,82,0.1);
  border: 1px solid rgba(107,138,82,0.28);
  color: var(--terracotta);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 2rem;
  opacity: 0; animation: fadeUp 0.7s ease 0.1s forwards;
}
.hero-tag::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--terracotta);
}

.hero h1 {
  font-family: 'Lora', serif;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--brown);
  margin-bottom: 1.6rem;
  opacity: 0; animation: fadeUp 0.7s ease 0.25s forwards;
}

.hero h1 em {
  font-style: italic;
  color: var(--terracotta);
}

.hero p {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--mid);
  max-width: 520px;
  margin-bottom: 2.8rem;
  opacity: 0; animation: fadeUp 0.7s ease 0.4s forwards;
}

.hero-btns {
  display: flex; gap: 1rem; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 0.7s ease 0.55s forwards;
}

.btn-primary {
  display: inline-block;
  background: var(--terracotta);
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 20px rgba(107,138,82,0.3);
}
.btn-primary:hover { background: var(--terra-dark); transform: translateY(-1px); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--brown);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.85rem 1.5rem;
  border-radius: 100px;
  border: 1.5px solid var(--sand);
  transition: border-color 0.2s, background 0.2s;
}
.btn-secondary:hover { border-color: var(--terracotta); background: rgba(107,138,82,0.06); }
.btn-secondary svg { width: 16px; height: 16px; }

.hero-pillars {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.7s forwards;
  z-index: 1;
  flex-wrap: wrap;
  justify-content: center;
}
.pillar-chip {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(107,138,82,0.25);
  border-radius: 100px;
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--brown);
  white-space: nowrap;
}

/* ── SECTION COMMONS ── */
section { padding: 100px 6vw; }

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Lora', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--brown);
  margin-bottom: 1.2rem;
}

.section-sub {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.7;
  max-width: 540px;
}

/* ── SERVICIOS ── */
#servicios { background: var(--white); }

.servicios-header { margin-bottom: 4rem; }

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.servicio-card {
  background: var(--cream);
  border: 1px solid var(--sand);
  border-radius: 20px;
  padding: 2.2rem;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  position: relative;
  overflow: hidden;
}
.servicio-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--terracotta), var(--terra-light));
  opacity: 0;
  transition: opacity 0.25s;
}
.servicio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(30,44,24,0.1);
  border-color: rgba(107,138,82,0.4);
}
.servicio-card:hover::before { opacity: 1; }

.servicio-icon {
  width: 48px; height: 48px;
  background: rgba(107,138,82,0.12);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.4rem;
  font-size: 1.4rem;
}

.servicio-card h3 {
  font-family: 'Lora', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 0.7rem;
}

.servicio-card p {
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--mid);
}

/* ── PROCESO ── */
#proceso { background: var(--warm); }

.proceso-header {
  text-align: center;
  margin-bottom: 4rem;
}
.proceso-header .section-sub { margin: 0 auto; }

.proceso-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  position: relative;
}

.proceso-steps::before {
  content: '';
  position: absolute;
  top: 3.4rem;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sand), var(--terracotta), var(--sand), transparent);
  pointer-events: none;
}

.paso {
  text-align: center;
  position: relative;
  z-index: 1;
}

.paso-num {
  font-family: 'Lora', serif;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--terracotta);
  letter-spacing: 0.12em;
  margin-bottom: 0.7rem;
}

.paso-icon {
  width: 56px; height: 56px;
  background: var(--white);
  border: 2px solid var(--sand);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 1.2rem;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
  box-shadow: 0 2px 8px rgba(30,44,24,0.06);
}

.paso:hover .paso-icon {
  border-color: var(--terracotta);
  background: rgba(107,138,82,0.08);
  box-shadow: 0 4px 16px rgba(107,138,82,0.2);
}

.paso h3 {
  font-family: 'Lora', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 0.6rem;
}

.paso p {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--mid);
  max-width: 220px;
  margin: 0 auto;
}

/* ── SOBRE NOSOTROS ── */
#nosotros {
  background: var(--cream);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6vw;
  align-items: center;
}

.nosotros-visual { position: relative; }

.nosotros-card-main {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 12px 40px rgba(30,44,24,0.06);
}

.nosotros-card-main h4 {
  font-family: 'Lora', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 0.6rem;
}

.nosotros-card-main p {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.valores-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 0.7rem;
}
.valores-list li {
  display: flex; align-items: center; gap: 0.7rem;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--brown);
}
.valores-list li::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--terracotta);
  flex-shrink: 0;
}

.badge-float {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--terracotta);
  color: var(--white);
  border-radius: 16px;
  padding: 1rem 1.4rem;
  font-size: 0.82rem;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(107,138,82,0.35);
  line-height: 1.4;
}
.badge-float strong {
  display: block;
  font-family: 'Lora', serif;
  font-size: 1.3rem;
  font-weight: 600;
}

.nosotros-text .section-sub { margin-bottom: 2rem; }

.values-row {
  display: flex; gap: 1.5rem; flex-wrap: wrap;
  margin-top: 2rem;
}
.value-pill {
  background: rgba(107,138,82,0.1);
  border: 1px solid rgba(107,138,82,0.25);
  color: var(--terra-dark);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.45rem 1rem;
  border-radius: 100px;
}

/* ── VALORES ── */
#valores { background: var(--white); }

.valores-header {
  text-align: center;
  margin-bottom: 4rem;
}
.valores-header .section-sub { margin: 0 auto; }

.valor-card {
  background: var(--cream);
  border: 1px solid var(--sand);
  border-radius: 20px;
  padding: 2.2rem;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  position: relative;
  overflow: hidden;
}
.valor-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--terracotta), var(--terra-light));
  opacity: 0;
  transition: opacity 0.25s;
}
.valor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(30,44,24,0.1);
  border-color: rgba(107,138,82,0.4);
}
.valor-card:hover::before { opacity: 1; }

.valor-card h3 {
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 0.7rem;
}

.valor-card p {
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--mid);
}

/* ── TESTIMONIOS ── */
#testimonios { background: var(--cream); }

.testimonios-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.testimonio-card {
  background: var(--cream);
  border: 1px solid var(--sand);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.testimonio-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(30,44,24,0.09);
}

.testimonio-stars {
  color: var(--terracotta);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.testimonio-card > p {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--mid);
  flex: 1;
  font-style: italic;
}

.testimonio-autor {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  border-top: 1px solid var(--sand);
  padding-top: 1rem;
}

.autor-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(107,138,82,0.14);
  color: var(--terracotta);
  font-size: 0.76rem;
  font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.testimonio-autor strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--brown);
}

.testimonio-autor span {
  font-size: 0.78rem;
  color: var(--soft);
}

/* ── CONTACTO ── */
#contacto { background: var(--warm); }

.contacto-inner {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}

.contacto-info .section-sub { margin-bottom: 2.5rem; }

.contact-detail {
  display: flex; align-items: center; gap: 0.9rem;
  margin-bottom: 1.2rem;
}
.contact-detail .icon-wrap {
  width: 38px; height: 38px;
  background: rgba(107,138,82,0.12);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}
.contact-detail p {
  font-size: 0.9rem;
  color: var(--mid);
  font-weight: 300;
}
.contact-detail strong {
  display: block;
  font-size: 0.88rem;
  color: var(--brown);
  font-weight: 500;
}

.contact-form { display: flex; flex-direction: column; gap: 1rem; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }

.form-group label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--brown);
  letter-spacing: 0.01em;
}

.form-group input,
.form-group textarea,
.form-group select {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--brown);
  background: var(--white);
  border: 1.5px solid var(--sand);
  border-radius: 10px;
  padding: 0.7rem 1rem;
  outline: none;
  transition: border-color 0.2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--soft); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--terracotta); }

.form-group textarea { resize: vertical; min-height: 120px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.btn-submit {
  background: var(--terracotta);
  color: var(--white);
  border: none;
  padding: 0.9rem 2rem;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 20px rgba(107,138,82,0.3);
  align-self: flex-start;
  margin-top: 0.5rem;
}
.btn-submit:hover { background: var(--terra-dark); transform: translateY(-1px); }
.btn-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

.form-note {
  font-size: 0.78rem;
  color: var(--soft);
  margin-top: 0.3rem;
}

.form-success {
  display: none;
  background: rgba(107,138,82,0.1);
  border: 1px solid rgba(107,138,82,0.3);
  color: var(--terra-dark);
  padding: 1rem 1.2rem;
  border-radius: 10px;
  font-size: 0.9rem;
}

.form-error {
  display: none;
  background: rgba(180,60,60,0.08);
  border: 1px solid rgba(180,60,60,0.25);
  color: #9e3535;
  padding: 1rem 1.2rem;
  border-radius: 10px;
  font-size: 0.9rem;
}

/* ── FOOTER ── */
footer {
  background: var(--brown);
  color: rgba(255,255,255,0.6);
  padding: 3rem 6vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
}
.footer-logo span { color: var(--terra-light); }

footer p { font-size: 0.82rem; }

.footer-right {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

footer nav ul { display: flex; gap: 1.5rem; }
footer nav ul a {
  color: rgba(255,255,255,0.55);
  font-size: 0.82rem;
  text-decoration: none;
  transition: color 0.2s;
}
footer nav ul a:hover { color: var(--terra-light); }

.footer-social {
  display: flex;
  gap: 0.8rem;
}

.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.55);
  transition: background 0.2s, color 0.2s;
}
.footer-social a:hover {
  background: rgba(107,138,82,0.35);
  color: var(--terra-light);
}
.footer-social svg { width: 16px; height: 16px; }

/* ── SCROLL TO TOP ── */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 99;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--white);
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(107,138,82,0.4);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s, background 0.2s;
  pointer-events: none;
}
.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.scroll-top:hover { background: var(--terra-dark); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 480px) {
  .nav-menu { display: none !important; }
  .nav-menu.open {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--brown);
    padding: 1.5rem 6vw;
    gap: 1.2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .nav-toggle { display: block; }

  .hero-pillars { display: none; }
  .hero-logo { display: none; }
  #nosotros { grid-template-columns: 1fr; }
  .badge-float { display: none; }
  .contacto-inner { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }
}
