/* --------------------------------------------------
   GLOBAL RESET & BASE
-------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: #0b3c5d;
  background: #ffffff;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

:root {
  --color-primary: #0b3c5d;
  --color-accent: #25D366;
  --color-light: #f7f9fb;
  --color-dark: #0b3c5d;
  --radius: 16px;
}

/* Wrapper */
.wrapper {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section--alt {
  background: var(--color-light);
}

@media (max-width: 480px) {
  .section {
    padding: 2.5rem 0;
  }
}

/* Typography */
.section-kicker {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 1.8rem;
  margin: 0 0 0.75rem;
}

.section-subtitle {
  max-width: 600px;
  margin-bottom: 2rem;
  color: #4a6572;
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.4rem;
  }
}

/* --------------------------------------------------
   GRID SYSTEM
-------------------------------------------------- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .grid-3,
  .grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --------------------------------------------------
   FORMS
-------------------------------------------------- */

.form {
  max-width: 520px;
}

.form-row {
  display: flex;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1rem;
  flex: 1;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: 0.35rem;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  font-size: 0.9rem;
  font-family: var(--font-main);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background: #fff;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px rgba(11, 60, 93, 0.15);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* --------------------------------------------------
   CARDS
-------------------------------------------------- */

.card {
  background: #fff;
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.card-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.card-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.card-text {
  color: #4a6572;
  line-height: 1.5;
}

.card-img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  border-radius: 12px;
  margin-bottom: 0.75rem;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.card:hover .card-img {
  transform: scale(1.03);
  opacity: 0.95;
}

@media (max-width: 640px) {
  .card-img {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .card {
    padding: 1.1rem;
  }
  .card-title {
    font-size: 1rem;
  }
}

/* --------------------------------------------------
   BUTTONS
-------------------------------------------------- */

.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.25s ease;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.btn-outline {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

/* --------------------------------------------------
   HEADER & NAVIGATION
-------------------------------------------------- */

.header {
  background: #fff;
  border-bottom: 1px solid #e6eef3;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--color-primary);
}

.logo-mark {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.5rem;
}

.logo-mark img {
  width: 200%;
  height: 200%;
  object-fit: contain;
  display: block;
}


.nav {
  display: flex;
  gap: 1.5rem;
}

.nav a {
  text-decoration: none;
  color: var(--color-primary);
  font-weight: 500;
}

/* Mobile nav */
.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--color-primary);
  margin: 4px 0;
  border-radius: 2px;
  transition: 0.3s ease;
}

/* Hamburger animation */
.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100%;
    background: #fff;
    padding: 2rem;
    flex-direction: column;
    gap: 1.25rem;
    box-shadow: -4px 0 25px rgba(0,0,0,0.15);
    transition: right 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 10000;
  }

  .nav.nav--open {
    right: 0;
  }

  .nav-toggle {
    display: block;
  }
}

/* Hero */

.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-bottom: 0.75rem;
}

.hero-title {
  font-size: 2.6rem;
  line-height: 1.1;
  margin: 0 0 1rem;
  color: var(--color-primary);
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--color-muted);
  max-width: 32rem;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.hero-card {
  border-radius: 18px;
  background: var(--color-bg-alt);
  padding: 1.5rem;
  box-shadow: 0 18px 40px rgba(15, 35, 52, 0.08);
  position: relative;
}

.hero-card-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-muted);
}

.hero-card-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--color-primary);
}

.hero-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-card-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 0.4rem;
}

.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--color-accent);
}


/* --------------------------------------------------
   MOBILE BACKDROP
-------------------------------------------------- */

.mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 9999;
}

.mobile-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* --------------------------------------------------
   FLOATING BUTTONS
-------------------------------------------------- */

.floating-book-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--color-primary);
  color: #fff;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  z-index: 99999;
  display: none;
}

.floating-whatsapp-btn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: var(--color-accent);
  width: 54px;
  height: 54px;
  border-radius: 999px;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  z-index: 99999;
}

@media (max-width: 900px) {
  .floating-book-btn,
  .floating-whatsapp-btn {
    display: inline-flex;
  }

  main {
    padding-bottom: 100px;
  }
}

/* --------------------------------------------------
   LAZY LOADING ANIMATION
-------------------------------------------------- */

.lazy {
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.lazy-loaded {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------
   GALLERY
-------------------------------------------------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --------------------------------------------------
   FOOTER
-------------------------------------------------- */

.footer {
  background: var(--color-light);
  padding: 2rem 0;
  margin-top: 4rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links a {
  margin-left: 1rem;
  text-decoration: none;
  color: var(--color-primary);
}

@media (max-width: 640px) {
  .footer-inner {
    flex-direction: column;
    gap: 1rem;
  }
}

