:root {
  --primary: #fbbf24;
  --dark: #0f172a;
  --light: #f8fafc;
  --text: #1e293b;
}

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

body {
  font-family: system-ui, sans-serif;
  color: var(--text);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

/* ================= LOGO ================= */

.logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1;
}

.logo-icon {
  color: var(--primary);
  font-size:2.4rem;
  font-weight: 900;
  position: relative;
  top: -3px;   /* prueba entre -1px y -3px */
}

.header .logo:hover .logo-icon {
  transform: translateY(-1px);
  transition: transform 0.15s ease;
}

.logo-text {
  white-space: nowrap;
}

.logo-accent {
  color: var(--primary);
  margin-left: 2px;
}

/* ================= HEADER ================= */

.header {
  position: fixed;
  width: 100%;
  top: 0;
  background: white;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
  z-index: 100;
}

.header .logo {
  color: var(--text);
}

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

nav a {
  margin-left: 1rem;
  font-size: 0.9rem;
}

/* ================= HERO ================= */

.hero {
  height: 100vh;
  background: url("assets/hero-1920.webp") center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
}

.hero-content {
  position: relative;
  max-width: 600px;
}

.hero h1 {
  font-size: 3rem;
}

.hero h1 span {
  color: var(--primary);
}

.hero p {
  margin: 1rem 0 2rem;
}

/* ================= SECTIONS ================= */

.section {
  padding: 4rem 0;
}

.section.light {
  background: var(--light);
}

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

.section h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

/* ================= ABOUT / NOSOTROS ================= */

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.about-intro h2 {
  text-align: left;
  margin-bottom: 1rem;
}

.about-intro p {
  margin-bottom: 1rem;
  max-width: 520px;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--light);
  padding: 18px 20px;
  border-radius: 14px;
}

.about-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(251,191,36,0.15);
  flex-shrink: 0;
}

.about-feature strong {
  display: block;
  font-weight: 600;
}

.about-feature p {
  margin-top: 4px;
  font-size: 0.9rem;
  color: #555;
}

/* Responsive */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-intro h2 {
    text-align: center;
  }

  .about-intro p {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
}


/* ================= FEATURES ================= */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.feature {
  background: var(--light);
  padding: 1.25rem;
  border-radius: 12px;
  text-align: center;
}

/* ================= CARDS ================= */

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 3rem;
  justify-content: center;
}



.card {
  max-width: 360px;
  width: 100%;
}


.card img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.card h3 {
  margin-top: 1rem;
  padding: 0 1.25rem;
}

.card p {
  padding: 0 1.25rem;
  margin-top: 0.5rem;
}

.card .price {
  margin-top: auto;
  padding: 1rem 1.25rem 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

/* Cards oscuras */
.dark-card {
  background: #1e293b;
  color: white;
}

/* Ajuste imagen clases de surf */
.card.surf-lesson img {
  object-position: center 75%;
}

/* ================= MAP ================= */

.map {
  margin-top: 2rem;
}

.map iframe {
  width: 100%;
  height: 350px;
  border: none;
  border-radius: 16px;
}

.map-button {
  display: inline-block;
  margin-top: 16px;
  background: #1a73e8;
  color: white;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
}

.location-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.location-header p {
  margin: 0;
  font-weight: 500;
}

/* Mobile: apila */
@media (max-width: 768px) {
  .location-header {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ================= BUTTONS ================= */

.btn {
  background: var(--primary);
  color: black;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: 600;
}

.btn-large {
  padding: 0.75rem 2rem;
  display: inline-block;
}

.btn-whatsapp-large {
  display: inline-block;
  margin-top: 20px;
  background: #25D366;
  color: white;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
}

/* ================= CONTACT ================= */

.section-tag {
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 12px;
}

.section-subtitle {
  max-width: 600px;
  margin: 0 auto 40px;
  color: #555;
  text-align: center;
}

.contact-header {
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #fff;
  padding: 18px 20px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,.05);
}

.contact-item .icon {
  font-size: 22px;
}

.contact-cta {
  background: linear-gradient(135deg, #0f172a, #020617);
  color: white;
  padding: 40px;
  border-radius: 20px;
}

/* ================= FOOTER ================= */

.footer {
  text-align: center;
  padding: 3rem 1rem;
  background: var(--dark);
  color: white;
}

.footer .logo {
  justify-content: center;
  margin-bottom: 1rem;
}

.footer-tagline {
  max-width: 420px;
  margin: 0 auto 1.5rem;
  font-size: 0.9rem;
  opacity: 0.85;
}

/* ================= RESPONSIVE ================= */

@media (min-width: 768px) {
  .hero h1 {
    font-size: 4rem;
  }
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) {
  .cards {
    grid-template-columns: repeat(3, 360px);
    justify-content: center;
  }
}


/* ================= SHUTTLE (ICONOS PRO) ================= */

.shuttle-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px;
  max-width: 900px;
  margin: 1rem auto 0;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.shuttle-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 2rem;
}

.shuttle-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.shuttle-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(251,191,36,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.shuttle-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--primary);
}

.shuttle-item strong {
  display: block;
  font-weight: 600;
}

.shuttle-item p {
  margin-top: 4px;
  font-size: 0.9rem;
  color: #555;
}


#servicios .cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 3rem;
}

#servicios .card {
  width: 360px;
  max-width: 100%;
}

/* ================= ABOUT (NOSOTROS PRO) ================= */

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

/* Imágenes */
.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-images img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 18px;
}

.about-images .img-large {
  grid-column: span 2;
  height: 260px;
}

/* Texto */
.about-content h2 {
  margin-top: 0.75rem;
  font-size: 2rem;
}

.about-content h2 span {
  color: #0ea5b7; /* mismo tono Pacífico */
}

.about-content p {
  margin-top: 1rem;
  color: #475569;
  max-width: 520px;
}

/* Features */
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.about-features div {
  background: #f8fafc;
  padding: 14px 16px;
  border-radius: 14px;
}

.about-features strong {
  display: block;
  font-size: 0.95rem;
}

.about-features span {
  font-size: 0.85rem;
  color: #64748b;
}

/* Desktop */
@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 1.1fr 1fr;
  }

  .about-content h2 {
    font-size: 2.4rem;
  }
}


/*Improve spacing*/
#ubicacion {
  padding-bottom: 1.0rem; /* antes era 4rem */
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 1rem;
}

.lang-switch button {
  background: none;
  border: none;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  opacity: 0.6;
}

.lang-switch button.active {
  opacity: 1;
  text-decoration: underline;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
}

/* Mobile */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 64px;
    right: 0;
    background: white;
    width: 100%;
    display: none;
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 10px 20px rgba(0,0,0,.1);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a,
  .lang-switch {
    margin: 0.75rem 0;
  }
}
