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

/* =====================
   VARIABLES
===================== */

:root{

  --color-bg:#050505;
  --color-text:#ffffff;

  /* PALETA COPA CABANA */

  --primary:#59C3CF;
  --primary-dark:#46AEBB;
  --primary-light:#8EDCE5;

  --secondary:#F58734;

  --green:#00A651;

  --accent:#F58734;

  --border:rgba(89,195,207,.30);

  --glass:rgba(89,195,207,.08);

  --shadow:rgba(89,195,207,.18);

}
/* =====================
   BASE
===================== */
html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.5;
}

/* =====================
   MEDIA DEFAULT
===================== */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* =====================
   FORM RESET
===================== */
input,
button,
textarea,
select {
  font: inherit;
}

/* =====================
   LINKS & BUTTONS
===================== */
a {
  text-decoration: none;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

/* Ancho maximo de la página */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/*----------------------------------------------------------------------------------------------------*/
/* ==========================================
   DESARROLLO DE LA PÁGINA WEB
========================================== */

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background:
    radial-gradient(circle at 15% 50%, rgba(89, 195, 207, 0.18), transparent 30%),
    radial-gradient(circle at 85% 40%, rgba(89, 195, 207, 0.12), transparent 28%),
    linear-gradient(90deg, #ed7300 0%, #59C3CF 45%, #59C3CF 100%);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.22),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);

  background: #59C3CF;
}

header .container {
  padding: 0 1rem;
}

.site-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}

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

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
  position: relative;
  z-index: 20;
}

.site-logo img {
  height: 64px;
  border-radius: 0rem;
  object-fit: cover;
}

/* ==========================================
   NAV DESKTOP
========================================== */
.site-nav {
  margin-left: auto;
  margin-right: auto;
}

.site-nav__menu {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 1.5vw, 2rem);
  gap: 2rem;
  list-style: none;
}

.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: rgba(245, 247, 255, 0.9);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition:
    color 0.25s ease,
    opacity 0.25s ease,
    transform 0.25s ease;
}

.site-nav__link:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.45rem;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #fb8a22 0%, #fb8a22 100%);
  box-shadow: 0 0 12px rgba(251, 138, 34, 0.6);

  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.28s ease;
}

.site-nav__link:hover::after,
.site-nav__link.is-active::after {
  transform: scaleX(1);
}

.site-nav__link.is-active {
  color: #ffffff;
}

/* ==========================================
   ACTIONS
========================================== */

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.header-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  border-radius: 0.85rem;
  
  font-size: 0.95rem;
  font-weight: 700;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}

.header-btn--search {
  padding: 0 1rem;
  color: #ffffff;
  border: 1px solid #fb8a22;
  background: rgba(255, 255, 255, 0.08);
  background: #fb8a22;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 0 0 1px rgba(0, 168, 89, 0.05);

}

.header-btn--search:hover {
  border-color: #fb8a22;
  box-shadow:
    0 0 0 1px rgba(251, 138, 34, 0.2),
    0 8px 20px rgba(251, 138, 34, 0.25);
}

.header-btn__icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

.header-btn--cta {
  padding: 0 1.2rem;
  color: #ffffff;
  background: #018F58;
  background: linear-gradient(135deg, #018F58 0%, #25D366 100%);
  box-shadow:
    0 10px 22px rgba(0, 168, 89, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  background: #25D366;
}

.header-btn--cta:hover {
  box-shadow:
    0 14px 28px rgba(37, 211, 102, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

/* ==========================================
   HAMBURGUESA
========================================== */
.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 0.85rem;
  border: 1px solid #ffffff;
  background: rgba(255, 255, 255, 0.08);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.28rem;
  flex-shrink: 0;
  position: relative;
  z-index: 20;
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.nav-toggle:hover {
  border-color: #ffffff;
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.25);
}

.nav-toggle__line {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #f5f7ff;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.nav-toggle.is-open .nav-toggle__line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-open .nav-toggle__line:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open .nav-toggle__line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ==========================================
   TABLET
========================================== */

@media (max-width: 1199px) {
  .site-header {
    gap: 0.85rem;
  }

  .site-nav__menu {
    gap: 1rem;
  }

  .site-nav__link {
    font-size: 0.88rem;
  }

  .header-btn {
    font-size: 0.88rem;
  }

  .header-btn--search {
    padding: 0 0.85rem;
  }

  .header-btn--cta {
    padding: 0 1rem;
  }
}

/* ==========================================
   MOBILE / TABLET COLAPSADO
========================================== */

@media (max-width: 991px) {
  .header-btn{
    display: none;
  }

  /* HAMBURGUESA visible */
  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  /* CONTENEDOR FULLSCREEN */
  .site-nav {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(180deg, #050505 0%, #070707 100%);
    background: #59C3CF;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.35s ease;
    z-index: 999;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  /* MENU CENTRADO */
  .site-nav__menu {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
  }

  /* LINKS GRANDES */
  .site-nav__link {
    font-size: 1.2rem;
    font-weight: 600;
    justify-content: center;
    padding: 0;
  }

  .site-nav__link::after {
    bottom: -6px;
  }

  /* BOTONES ABAJO */
  .header-actions {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 100%;

    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0 1.5rem;

    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.35s ease;
  }

  .header-actions.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .header-btn {
    width: 100%;
    height: 52px;
    font-size: 1rem;
    border-radius: 999px;
  }

  /* OPCIONAL: BOTON CERRAR MÁS GRANDE */
  .nav-toggle {
    position: relative;
    z-index: 1001;
  }

  .site-nav::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #59C3CF;
    z-index: -1;
  }
}


/* ==========================================
   MOBILE FINO
========================================== */

@media (max-width: 575px) {
  header .container {
    padding: 0 0.75rem;
  }

  .site-header {
    min-height: 68px;
  }

  .site-logo__text {
    font-size: 1.08rem;
  }

  .site-logo__badge {
    min-height: 24px;
    padding: 0.15rem 0.35rem;
    font-size: 0.78rem;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
  }

  .site-nav__menu {
    padding: 0.9rem;
  }

  .header-actions {
    padding: 0 0.9rem 0.9rem;
  }
}

/*----------------------------------------------------------------------------------------------------*/
/* ==========================================
   HERO SECTION
========================================== */
:root {
  --bg: #050505;
  --bg-soft: #070707;
  --text: #eaeaea;
  --muted: #9aa0a6;
  --radius: 20px;
  --max-width: 1200px;
}
:root {
  --color-bg: #050505;
  --color-text: #ffffff;
  --primary: #00A859;
  --primary-dark: #007A44;
  --primary-light: #00c96b;
  --border: rgba(0, 168, 89, 0.35);
  --glass: rgba(0, 168, 89, 0.08);
}


body {
  font-family: system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at 20% 20%, rgba(0,255,136,0.08), transparent 90%),
              radial-gradient(circle at 80% 80%, rgba(0,168,89,0.08), transparent 90%),
              var(--bg);
  background: #67C9D9;
  color: var(--text);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}
.hero {
  padding: 0px 0;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}
.hero__content {
  animation: fadeUp 0.8s ease forwards;
  opacity: 0;
  transform: translateY(30px);
}
.hero__title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.1;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 35px;
  max-width: 500px;
  color: #ffffff;
}
.hero__buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.btn {
  padding: 14px 22px;
  border-radius: 999px;
  border-radius: 12px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}
.btn--primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  background: #fff;
  background: #FA891F;
  color: var(--primary-dark);
  color: #fff;
  box-shadow: 0 0 20px rgba(250, 137, 31,0.25);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(250, 137, 31,0.4);
  border-color: #FA891F;
}
.btn--secondary {
  color: #fff;
  color: #FA891F;
  background: #fff;
  
  box-shadow:
    0 10px 22px rgba(250, 137, 31, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.btn--secondary:hover {
  box-shadow:
    0 14px 28px rgba(250, 137, 31, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.hero__card img {
  width: 100%;
  display: block;
  border-radius: var(--radius);
}
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* TABLET */
@media (max-width: 991px) {
  .hero__grid {
    gap: 40px;
  }
}
/* MOBILE */
@media (max-width: 768px) {
  .hero {
    padding: 60px 0;
  }
  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero__buttons {
    justify-content: center;
  }
  .btn {
    width: 100%;
    max-width: 280px;
  }
}




