/* Base theme and layout tokens */
:root {
  --green: #12b76a;
  --green-dark: #078c4f;
  --green-soft: #dffbea;
  --blue: #08233f;
  --blue-2: #0d365f;
  --white: #ffffff;
  --ink: #132033;
  --muted: #607085;
  --line: rgba(255, 255, 255, 0.18);
  --shadow: 0 24px 70px rgba(8, 35, 63, 0.18);
  --radius: 8px;
  --radius-lg: 24px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: #f7fbff;
  line-height: 1.6;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.section {
  padding: 78px 0;
  position: relative;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading h2,
.about-copy h2,
.contact-info h2,
.cta-panel h2 {
  margin: 8px 0 12px;
  color: var(--blue);
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p,
.about-copy p,
.contact-info p,
.cta-panel p {
  color: var(--muted);
  margin: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  background: var(--green);
  border-radius: 999px;
}

/* Loading screen */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  color: var(--white);
  background: radial-gradient(circle at top left, #18c978, var(--blue) 58%);
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-ring {
  width: 64px;
  height: 64px;
  border: 4px solid rgba(255, 255, 255, 0.25);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

.loader p {
  margin: 0;
  font-weight: 900;
  letter-spacing: 0.14em;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(8, 35, 63, 0.08);
}

.navbar {
  width: min(100% - 24px, var(--container));
  min-height: 76px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: linear-gradient(135deg, var(--green), var(--blue-2));
  border-radius: 8px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(18, 183, 106, 0.28);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand strong {
  color: var(--blue);
  font-weight: 900;
  font-size: 0.98rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

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

.nav-links a:not(.btn) {
  padding: 10px 12px;
  color: var(--blue);
  font-weight: 800;
  font-size: 0.94rem;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:not(.btn):hover {
  color: var(--green-dark);
  background: rgba(18, 183, 106, 0.1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: var(--blue);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
  border-radius: 999px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  box-shadow: 0 16px 34px rgba(18, 183, 106, 0.28);
}

.btn-outline {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.42);
}

.btn-whatsapp {
  color: var(--white);
  background: #1bbf63;
  box-shadow: 0 14px 30px rgba(27, 191, 99, 0.25);
}

.btn-small {
  min-height: 42px;
  padding-inline: 16px;
}

.btn-large {
  min-height: 58px;
  padding-inline: 28px;
  font-size: 1.05rem;
}

/* Hero */
.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--blue);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(8, 35, 63, 0.94), rgba(13, 54, 95, 0.84)),
    url("https://picsum.photos/seed/halotel-network/1800/1200") center/cover;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 35%;
  background: linear-gradient(180deg, transparent, rgba(247, 251, 255, 0.96));
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  gap: 40px;
  padding: 54px 0 88px;
}

.hero h1 {
  max-width: 840px;
  margin: 12px 0 16px;
  font-size: clamp(2.55rem, 10vw, 6.7rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 660px;
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 3vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-trust span {
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  font-weight: 800;
  font-size: 0.85rem;
}

.image-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

.image-frame img {
  height: 100%;
  object-fit: cover;
}

.media-badge {
  position: absolute;
  right: 16px;
  bottom: 16px;
  max-width: 190px;
  padding: 14px;
  color: var(--white);
  background: rgba(8, 35, 63, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  backdrop-filter: blur(16px);
}

.media-badge strong {
  display: block;
  font-size: 1.5rem;
  line-height: 1;
}

.media-badge span {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.82);
}

/* Cards and grids */
.feature-grid,
.bundle-grid,
.gallery-grid {
  display: grid;
  gap: 18px;
}

.feature-card,
.bundle-card,
.testimonial-card,
.stat-card,
.contact-form,
.cta-panel {
  border: 1px solid rgba(8, 35, 63, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 50px rgba(8, 35, 63, 0.1);
  backdrop-filter: blur(18px);
}

.feature-card {
  padding: 24px;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.feature-card:hover,
.bundle-card:hover,
.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(8, 35, 63, 0.18);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  color: var(--white);
  background: linear-gradient(135deg, var(--green), var(--blue-2));
  border-radius: 8px;
}

.card-icon svg,
.slider-btn svg,
.back-to-top svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3,
.bundle-card h3,
.testimonial-card h3 {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 1.2rem;
}

.feature-card p,
.bundle-card p {
  margin: 0;
  color: var(--muted);
}

.bundles {
  background:
    linear-gradient(180deg, #f7fbff, #eef8f2);
}

.bundle-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.bundle-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--green), var(--blue-2));
}

.bundle-card h3 {
  font-size: 2rem;
  line-height: 1;
}

.bundle-card .price {
  display: block;
  margin: 14px 0 18px;
  color: var(--green-dark);
  font-size: 1.35rem;
  font-weight: 900;
}

.bundle-card .btn {
  width: 100%;
}

/* Statistics */
.stats {
  padding: 48px 0;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--green-dark));
}

.stats-grid {
  display: grid;
  gap: 16px;
}

.stat-card {
  padding: 26px;
  text-align: center;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--line);
}

.stat-card strong {
  display: block;
  font-size: clamp(2.2rem, 8vw, 4rem);
  line-height: 1;
}

.stat-card span {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

/* Gallery and lightbox */
.proof {
  background: #ffffff;
}

.gallery-card {
  overflow: hidden;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: #d9e8f4;
  box-shadow: 0 16px 42px rgba(8, 35, 63, 0.12);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.gallery-card img {
  aspect-ratio: 4 / 3;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-card:hover img {
  transform: scale(1.06);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(5, 16, 30, 0.84);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: min(960px, 92vw);
  max-height: 82vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
  transform: scale(0.92);
  transition: transform 0.25s ease;
}

.lightbox.is-open img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  color: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 1.4rem;
}

/* Testimonials */
.testimonials {
  overflow: hidden;
  background: linear-gradient(180deg, #f7fbff, #ffffff);
}

.slider {
  overflow: hidden;
  position: relative;
}

.slider-track {
  display: flex;
  transition: transform 0.45s ease;
}

.testimonial-card {
  flex: 0 0 100%;
  padding: 28px;
}

.testimonial-card p {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 1.12rem;
  font-weight: 700;
}

.testimonial-card span {
  color: var(--muted);
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.slider-btn {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--white);
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  transition: transform 0.2s ease, background 0.2s ease;
}

.slider-btn:hover {
  transform: translateY(-2px);
  background: var(--green-dark);
}

/* About and contact */
.about-grid,
.contact-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

.about-image {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.about-image img {
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.about-copy p + p {
  margin-top: 14px;
}

.contact {
  background: linear-gradient(135deg, var(--blue), #0e4d79);
}

.contact .eyebrow,
.contact-info h2,
.contact-info p {
  color: var(--white);
}

.contact .eyebrow::before {
  background: var(--white);
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.contact-list a,
.contact-list span {
  padding: 14px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-form {
  padding: 22px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
  color: var(--blue);
  font-weight: 900;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  border: 1px solid rgba(8, 35, 63, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(18, 183, 106, 0.14);
}

.contact-form .btn {
  width: 100%;
}

.form-note {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--green-dark);
  font-weight: 800;
}

/* CTA and footer */
.cta {
  padding-top: 48px;
}

.cta-panel {
  display: grid;
  gap: 22px;
  align-items: center;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(223, 251, 234, 0.9)),
    url("https://picsum.photos/seed/halotel-cta/1200/520") center/cover;
}

.footer {
  color: rgba(255, 255, 255, 0.82);
  background: #05182c;
}

.footer-grid {
  display: grid;
  gap: 28px;
  padding: 54px 0 34px;
}

.footer .brand strong,
.footer h3 {
  color: var(--white);
}

.footer .brand small,
.footer p {
  color: rgba(255, 255, 255, 0.68);
}

.footer h3 {
  margin: 0 0 12px;
}

.footer a,
.footer span {
  display: block;
  margin: 8px 0;
  transition: color 0.2s ease;
}

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

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 0;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 900;
}

.footer-bottom {
  padding: 18px 16px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin: 0;
}

.back-to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 900;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--white);
  border: 0;
  border-radius: 8px;
  background: var(--green-dark);
  box-shadow: 0 14px 34px rgba(8, 35, 63, 0.24);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Scroll reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Tablet and desktop layouts */
@media (min-width: 640px) {
  .feature-grid,
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .cta-panel {
    grid-template-columns: 1fr auto;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr 0.86fr;
  }

  .feature-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .bundle-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

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

  .testimonial-card {
    flex-basis: 50%;
  }
}

@media (max-width: 820px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 76px;
    left: 12px;
    right: 12px;
    display: grid;
    padding: 14px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(8, 35, 63, 0.08);
    border-radius: 8px;
    box-shadow: var(--shadow);
    transform-origin: top;
    transform: scaleY(0.96);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: scaleY(1);
  }

  .nav-links .btn {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .section {
    padding: 58px 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    padding-top: 34px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .image-frame {
    border-radius: 16px;
    transform: none;
  }

  .media-badge {
    left: 12px;
    right: 12px;
    max-width: none;
  }

  .brand strong {
    font-size: 0.86rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
