:root {
    --color-azul: #003366;
    --color-turquesa: #00a79d;
    --color-dorado: #f0e68c;
    --color-gris: #f4f4f4;
    --color-blanco: #ffffff;
    --color-negro: #333;
    --color-teal: #00a79d;
    --color-teal-light: #e0f2f1;
    --color-teal-lighter: #f0f9f8;
  
    /* ALIAS para las variables usadas más abajo */
    --color-blue: var(--color-azul);
    --color-white: var(--color-blanco);
    --color-black: var(--color-negro);
    --color-text: var(--color-black);
  
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-inset: inset 0 2px 4px 0 rgba(0, 0, 0, 0.05);
  
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
    --border-radius: 0.5rem;
    --border-radius-lg: 1rem;
    --border-radius-xl: 2rem;
  }
  
  /* Base */
  *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; font-size: 100%; }
  body {
    font-family: 'Times New Roman';
    font-size: clamp(1rem, 1.2vw, 1.125rem);
    color: var(--color-text);
    background-color: var(--color-white);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
  
  /* Accesibilidad */
  .skip-link { position: absolute; top: -40px; left: 0; background: var(--color-blue); color: var(--color-white); padding: 0.5rem 1rem; z-index: 100; transition: var(--transition-fast); }
  .skip-link:focus { top: 0; }
  .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
  
  /* Tipografía */
  h1, h2, h3, h4 { font-weight: 800; color: var(--color-blue); line-height: 1.2; margin-bottom: 1rem; }
  h1 { font-size: clamp(2rem, 5vw, 3rem); }
  h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); letter-spacing: -0.015em; }
  .eyebrow { color: var(--color-teal); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.85rem; margin-bottom: 0.75rem; display: block; }
  
  /* Layout */
  .container { width: 100%; max-width: min(1280px, 90%); margin: 0 auto; padding: 0 1.5rem; }
  .section { padding: clamp(4rem, 8vw, 7rem) 0; position: relative; }
  
  /* Ocean Gives Back */
  .ocean-gives-back { text-align: center; padding: 3rem 0; background-color: var(--color-teal-lighter); }
  .ocean-gives-back .container { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3rem; }
  
  .banner-figure {
    margin: 0 auto;
    max-width: 1200px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    /* Mantener relación y evitar “salto” de layout */
    aspect-ratio: 1200 / 400;
  }
  .banner-figure:hover { box-shadow: var(--shadow-lg); }
  
  .ocean-gives-back .banner {
    width: 100%;
    height: 100%;
    display: block; /* evita espacio por imágenes inline */
    object-fit: cover; /* llena el contenedor manteniendo recorte elegante */
  }
  
  .project-header { max-width: 60ch; margin: 0 auto 2rem; background-color: transparent; }
  .ocean-gives-back .title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; color: var(--color-blue); margin-bottom: 0.5rem; line-height: 1.1; }
  .ocean-gives-back .subtitle { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 600; color: var(--color-teal); margin-bottom: 2rem; }
  
  .project-list-container { width: 100%; max-width: 800px; margin: 0 auto; }
  .project-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; list-style: none; }
  .project-item {
    display: flex; align-items: center; gap: 0.75rem;
    background-color: var(--color-white);
    padding: 1.25rem 1.5rem; border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm); transition: var(--transition); text-align: left;
    border-left: 4px solid var(--color-teal);
  }
  .project-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); background-color: var(--color-teal-light); }
  .project-icon { color: var(--color-teal); font-size: 1.25rem; min-width: 1.5rem; text-align: center; }
  
  /* Responsive */
  @media (max-width: 768px) {
    .ocean-gives-back .container { padding: 2rem 1rem; gap: 2rem; }
    .project-list { grid-template-columns: 1fr; }
    .project-item { padding: 1rem; }
  }
  
  /* Reduce motion */
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .ocean-gives-back .banner, .project-item { transition: none; }
  }
  
  /* No JS */
  .no-js .ocean-gives-back { opacity: 1 !important; }

/* Accesibilidad para el H2 oculto */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); overflow: hidden; white-space: nowrap;
}

/* Ajustes mínimos para acomodar título + descripción sin romper tu layout */
.project-item { align-items: flex-start; }       /* icono arriba, texto fluye en varias líneas */
.project-content { display: flex; flex-direction: column; gap: 0.25rem; }
.project-title { margin: 0; font-size: 1.05rem; line-height: 1.35; }
.project-desc  { margin: 0; font-size: 0.95rem; line-height: 1.5; opacity: 0.9; }

/* Opcional: mejora de contraste al hover manteniendo tu esquema */
.project-item:hover .project-desc { opacity: 1; }

/* Sección en construcción */
section.construction {
  /* opcional: espacio y fondo */
  padding: clamp(2rem, 6vw, 4rem) 0;
  background: var(--color-blanco);
}

/* Contenedor principal */
section.construction > .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

/* Figura/banner */
section.construction figure.banner-figure {
  margin: 0 auto;
  max-width: 1200px;
  border-radius: var(--border-radius-lg, calc(var(--border-radius, 0.5rem) + 0.25rem));
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  /* Mantener relación y evitar “salto” de layout */
  aspect-ratio: 1200 / 800;
}

/* Imagen del banner */
section.construction figure.banner-figure img.banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Contenido de texto */
section.construction .content {
  max-width: 60ch;
  margin: 0 auto;
  text-align: left; /* o center si lo prefieres */
}

/* Título */
section.construction .content h1.title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--color-azul);
  margin-bottom: 1rem;
  line-height: 1.1;
}

/* Subtítulo */
section.construction .content p.subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 400;
  line-height: 1.6;
  opacity: 0.9;
}