/* ========================================
   GeoAP — Geociencias Aplicadas
   Paleta: Verdosa → Terrosa
   ======================================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

/* --- CSS Variables --- */
:root {
  /* Greens */
  --green-deep: #1a3a1a;
  --green-forest: #2D5016;
  --green-moss: #3d6b2e;
  --green-sage: #6B8F3C;
  --green-light: #8B9F5A;
  --green-pale: #c4d4a0;
  /* Earth tones */
  --earth-dark: #3A2B1A;
  --earth-brown: #5C4033;
  --earth-warm: #8B6914;
  --earth-sand: #C4A265;
  --earth-cream: #F5F0E8;
  /* Neutrals */
  --white-soft: #FAFAF7;
  --white: #ffffff;
  --black-soft: #1a1a1a;
  --gray-600: #555;
  --gray-400: #999;
  --gray-200: #e0ddd7;
  /* Overlays */
  --overlay-dark: rgba(26, 58, 26, 0.75);
  --overlay-earth: rgba(58, 43, 26, 0.8);
  --overlay-green: rgba(45, 80, 22, 0.7);
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.16);
  --shadow-glow: 0 0 40px rgba(107, 143, 60, 0.3);
  /* Typography */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  /* Spacing */
  --section-pad: 120px;
  --container-max: 1200px;
  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 0.3s var(--ease-out);
  --transition-slow: 0.6s var(--ease-out);
}

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

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

body {
  font-family: var(--font-main);
  color: var(--black-soft);
  background: var(--white-soft);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  line-height: 1.2;
}

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

/* --- Utilities --- */
.text-center {
  text-align: center;
}

.text-white {
  color: var(--white);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  color: var(--gray-600);
  max-width: 700px;
  margin: 0 auto 3rem;
  line-height: 1.8;
}

.section-subtitle.light {
  color: var(--earth-cream);
}

.accent-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--green-sage), var(--earth-warm));
  margin: 1.2rem auto 2rem;
  border-radius: 2px;
}

/* --- Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

.reveal-delay-5 {
  transition-delay: 0.5s;
}

.reveal-delay-6 {
  transition-delay: 0.6s;
}

/* ═══════════════════════════════════
   NAVBAR
   ═══════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: rgba(26, 58, 26, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo img {
  height: 48px;
  width: auto;
  transition: height var(--transition-base);
  filter: brightness(0) invert(1);
}

.navbar.scrolled .navbar-logo img {
  height: 36px;
}

.nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all var(--transition-base);
  letter-spacing: 0.02em;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--green-sage);
  transform: translateX(-50%);
  transition: width var(--transition-base);
  border-radius: 1px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 40%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ═══════════════════════════════════
   HERO
   ═══════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
  animation: heroPan 30s ease-in-out infinite alternate;
}

@keyframes heroPan {
  0% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1.15) translateX(-2%);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(26, 58, 26, 0.85) 0%,
      rgba(45, 80, 22, 0.7) 40%,
      rgba(58, 43, 26, 0.65) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  max-width: 900px;
  padding: 0 24px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 24px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.08);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero h1 .accent {
  color: var(--green-pale);
  font-style: italic;
}

.hero p {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 300;
  line-height: 1.8;
  max-width: 650px;
  margin: 0 auto 2.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  background: linear-gradient(135deg, var(--green-sage), var(--green-forest));
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50px;
  transition: all var(--transition-base);
  box-shadow: 0 8px 30px rgba(107, 143, 60, 0.4);
  letter-spacing: 0.02em;
}

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(107, 143, 60, 0.5);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.hero-scroll-indicator .line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

/* ═══════════════════════════════════
   SECTIONS — GENERAL
   ═══════════════════════════════════ */
.section {
  padding: var(--section-pad) 0;
  position: relative;
}

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

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

.section-cream {
  background: var(--earth-cream);
}

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

/* Parallax background sections */
.section-parallax {
  position: relative;
  overflow: hidden;
}

.section-parallax .parallax-bg {
  position: absolute;
  inset: -20%;
  background-size: cover;
  background-position: center;
  z-index: 0;
  will-change: transform;
}

.section-parallax .section-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.section-parallax .container {
  position: relative;
  z-index: 2;
}

/* ═══════════════════════════════════
   HACEMOS (Lo que Hacemos)
   ═══════════════════════════════════ */
#hacemos {
  overflow: hidden;
}

#hacemos .section-subtitle {
  color: var(--earth-brown);
}

.hacemos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 3rem;
}

.hacemos-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.hacemos-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.hacemos-image:hover img {
  transform: scale(1.05);
}

.hacemos-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(26, 58, 26, 0.3));
  pointer-events: none;
}

.hacemos-text h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--green-forest);
  margin-bottom: 1.5rem;
}

.hacemos-text p {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.9;
  margin-bottom: 1.2rem;
}

/* ═══════════════════════════════════
   GEOCIENCIAS
   ═══════════════════════════════════ */
.geo-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 3rem;
}

.geo-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 40px 32px;
  transition: all var(--transition-base);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.geo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--green-sage), var(--earth-warm));
  opacity: 0;
  transition: opacity var(--transition-base);
}

.geo-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-glow);
}

.geo-card:hover::before {
  opacity: 1;
}

.geo-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--green-sage), var(--green-moss));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.geo-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white);
}

.geo-card p {
  font-size: 0.92rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.75);
}

.geo-card ul {
  margin-top: 0.8rem;
  padding-left: 0;
}

.geo-card ul li {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  padding: 4px 0 4px 18px;
  position: relative;
}

.geo-card ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--green-sage);
}

/* ═══════════════════════════════════
   PALEONTOLOGÍA
   ═══════════════════════════════════ */
.paleo-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.paleo-text h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: var(--green-forest);
}

.paleo-text p {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.9;
  margin-bottom: 1.2rem;
}

.paleo-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.paleo-feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--green-sage), var(--green-forest));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--white);
}

.paleo-feature h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--green-forest);
}

.paleo-feature p {
  font-size: 0.95rem;
  color: var(--gray-600);
  margin: 0;
}

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

.paleo-image-grid img {
  border-radius: 16px;
  object-fit: cover;
  height: 220px;
  width: 100%;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base);
}

.paleo-image-grid img:hover {
  transform: scale(1.03);
}

.paleo-image-grid img:first-child {
  grid-column: 1 / -1;
  height: 280px;
}

/* ═══════════════════════════════════
   INVESTIGACIÓN
   ═══════════════════════════════════ */
.invest-content {
  max-width: 800px;
  margin: 0 auto;
}

.invest-content p {
  font-size: 1.1rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5rem;
}

.invest-highlight {
  padding: 40px;
  border-left: 4px solid var(--green-sage);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 16px 16px 0;
  margin: 2rem 0;
}

.invest-highlight p {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--green-pale);
  margin: 0;
}

/* ═══════════════════════════════════
   GALERÍA
   ═══════════════════════════════════ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 3rem;
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16/10;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item:nth-child(1),
.gallery-item:nth-child(6) {
  grid-column: span 2;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(20px);
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: background var(--transition-base);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ═══════════════════════════════════
   CONFIANZA (Clientes)
   ═══════════════════════════════════ */
.trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
  margin-top: 3rem;
  padding: 40px 0;
}

.trust-logos img {
  height: 60px;
  width: auto;
  filter: grayscale(100%) brightness(0.5);
  opacity: 0.6;
  transition: all var(--transition-base);
}

.trust-logos img:hover {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
  transform: scale(1.1);
}

/* ═══════════════════════════════════
   EQUIPO (Somos)
   ═══════════════════════════════════ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.team-card {
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.team-card-photo {
  height: 320px;
  overflow: hidden;
  position: relative;
}

.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.team-card:hover .team-card-photo img {
  transform: scale(1.08);
}

.team-card-photo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
}

.team-card-info {
  padding: 32px;
}

.team-card-info h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--green-forest);
  margin-bottom: 0.5rem;
}

.team-card-info .role {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green-sage);
  margin-bottom: 0.3rem;
}

.team-card-info .education {
  font-size: 0.82rem;
  color: var(--gray-400);
  margin-bottom: 1rem;
  font-style: italic;
}

.team-card-info p {
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.8;
}

/* ═══════════════════════════════════
   FOOTER
   ═══════════════════════════════════ */
.footer {
  background: linear-gradient(135deg, var(--green-deep), var(--earth-dark));
  color: var(--white);
  padding: 80px 0 40px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green-sage), var(--earth-warm), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand img {
  height: 48px;
  width: auto;
  margin-bottom: 1.2rem;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.8;
  max-width: 300px;
}

.footer h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: var(--green-pale);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
}

.footer-contact a,
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0.8rem;
  transition: color var(--transition-base);
}

.footer-contact a:hover {
  color: var(--green-pale);
}

.footer-links a {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  padding: 4px 0;
  transition: all var(--transition-base);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 8px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 1rem;
}

.footer-social a {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition-base);
}

.footer-social a:hover {
  background: var(--green-sage);
  border-color: var(--green-sage);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ═══════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════ */
@media (max-width: 1024px) {
  :root {
    --section-pad: 80px;
  }

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

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-item:nth-child(1),
  .gallery-item:nth-child(6) {
    grid-column: span 1;
  }

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

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

@media (max-width: 768px) {
  :root {
    --section-pad: 60px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: rgba(26, 58, 26, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 100px 32px 40px;
    gap: 4px;
    transition: right var(--transition-slow);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 1.1rem;
    padding: 14px 20px;
    width: 100%;
    border-radius: 12px;
  }

  .hamburger {
    display: flex;
  }

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

  .hacemos-image img {
    height: 350px;
  }

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

  .geo-cards {
    grid-template-columns: 1fr;
  }

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

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

  .team-card-photo {
    height: 280px;
  }

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

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

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-cta {
    padding: 14px 32px;
    font-size: 0.9rem;
  }

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

  .trust-logos {
    gap: 30px;
  }

  .trust-logos img {
    height: 40px;
  }
}