:root {
  --color-primary: #4bb5a2;
  --color-primary-dark: #379483;
  --color-accent: #ffb34d;
  --color-bg: #FFFDF8;
  --color-surface: #FFFFFF;
  --color-text: #27303f;
  --color-muted: #6b7280;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
}

img {
  max-width: 100%;
  display: block;
}

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

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-header {
  position: relative;
  background: #ffffff;
}

.navbar {
  position: relative;
  z-index: 50;
  max-width: 1120px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #ffffff;
}

.brand {
  display: flex;
  align-items: center;
}

.brand-logo {
  height: 42px;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
  color: var(--color-muted);
}

.nav-links a:hover {
  color: var(--color-text);
}

.nav-cta {
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  background: var(--color-primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(75, 181, 162, 0.3);
}

.nav-cta:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(75, 181, 162, 0.4);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: #0f172a;
  border-radius: 999px;
}

.hero {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--color-bg);
}

.hero-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.hero-carousel {
  position: relative;
  width: 100%;
  height: calc(100vh - 80px);
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-carousel-viewport {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.hero-carousel-slide {
  min-width: 100%;
  height: 100%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
}

.hero-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid rgba(15, 23, 42, 0.3);
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-text);
  font-size: 32px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 30;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.hero-carousel-btn:hover {
  background: #ffffff;
  border-color: var(--color-primary);
  transform: translateY(-50%) scale(1.05);
}

.hero-carousel-btn.prev {
  left: 20px;
}

.hero-carousel-btn.next {
  right: 20px;
}

.hero-carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 30;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.hero-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(15, 23, 42, 0.3);
  cursor: pointer;
  transition: width 0.3s ease, background 0.3s ease;
  padding: 0;
}

.hero-carousel-dot:hover {
  background: rgba(15, 23, 42, 0.5);
}

.hero-carousel-dot[aria-current="true"] {
  background: var(--color-primary);
  width: 24px;
  border-radius: 999px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 0.72rem;
  color: var(--color-accent);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.45rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  border: 0;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease,
    background-color 0.12s ease, color 0.12s ease;
}

.btn-primary {
  background: var(--color-primary);
  color: #0f172a;
  box-shadow: 0 8px 20px rgba(75, 181, 162, 0.4);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: #ffffff;
  color: var(--color-text);
  border: 1px solid rgba(148, 163, 184, 0.6);
}

.btn-outline:hover {
  background: #f9fafb;
}

.about-actions {
  margin-top: 1.1rem;
}

.carousel {
  max-width: 1120px;
  margin: 0 auto;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.carousel-viewport {
  overflow: hidden;
  background: #111827;
}

.carousel-track {
  display: flex;
  transition: transform 0.45s ease;
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  margin: 0;
}

.carousel-slide img {
  width: 100%;
  height: clamp(260px, 38vw, 420px);
  object-fit: cover;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(15, 23, 42, 0.55);
  color: #ffffff;
  font-size: 28px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 3;
}

.carousel-btn:hover {
  background: rgba(15, 23, 42, 0.75);
}

.carousel-btn.prev {
  left: 14px;
}

.carousel-btn.next {
  right: 14px;
}

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(6px);
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}

.carousel-dot[aria-current="true"] {
  background: #ffffff;
  width: 18px;
}


.section {
  padding: 3.5rem 1.25rem;
}

.section:nth-of-type(odd) {
  background: #ffffff;
}

.section:nth-of-type(even) {
  background: #f3f4ff;
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.section.about .section-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2.5rem;
  align-items: center;
}

.section-text h2 {
  margin: 0.3rem 0 0.9rem;
  font-size: 1.8rem;
}

.section-text p {
  margin: 0 0 0.75rem;
  color: var(--color-muted);
  font-size: 0.97rem;
}

.section-lead {
  margin: 0.25rem 0 1.4rem;
  color: var(--color-muted);
  font-size: 1rem;
}

.info-panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.panel {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.3rem 1.25rem;
  box-shadow: var(--shadow-soft);
}

.panel h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.panel p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.94rem;
}

.section-cta {
  margin-top: 1.4rem;
}

.card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 0.9rem;
  box-shadow: var(--shadow-soft);
}

.section-header {
  max-width: 1120px;
  margin: 0 auto 2.25rem;
  text-align: center;
}

.section-header h2 {
  margin: 0.35rem 0 0.8rem;
  font-size: 1.9rem;
}

.section-header p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.98rem;
}

.cards-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.info-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  display: flex;
  flex-direction: column;
}

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

.info-card-body {
  padding: 1.25rem 1.35rem 1.4rem;
}

.info-card-body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.info-card-body p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.94rem;
}

.gallery-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-grid img {
  border-radius: 18px;
  object-fit: cover;
  height: 190px;
}

.testimonials-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

.testimonial-card {
  background: #ffffff;
  padding: 1.5rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  font-size: 0.96rem;
  color: var(--color-muted);
}

.testimonial-card .stars {
  margin: 0 0 0.45rem;
  color: #fbbf24;
  font-size: 1.1rem;
}

.testimonial-card .author {
  margin-top: 0.9rem;
  font-weight: 700;
  color: var(--color-text);
}

.contact-inner {
  display: grid;
  max-width: 1120px;
  margin: 0 auto;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.contact-list {
  margin: 1rem 0 1.25rem;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.contact-list li + li {
  margin-top: 0.3rem;
}

.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: #e5e7eb;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 260px;
  border: 0;
}

.site-footer {
  background: #e5e7eb;
  color: #0f172a;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 1.75rem;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.9);
}

.footer-brand img {
  height: 40px;
  margin-bottom: 0.6rem;
}

.footer-brand p {
  margin: 0;
  max-width: 320px;
  font-size: 0.9rem;
  color: #4b5563;
}

.footer-nav h3 {
  margin: 0 0 0.6rem;
  font-size: 0.95rem;
}

.footer-nav ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.15rem 1.25rem;
  font-size: 0.9rem;
}

.footer-nav a {
  color: #334155;
}

.footer-nav a:hover {
  color: #0f172a;
}

.footer-bottom {
  padding-top: 1rem;
  font-size: 0.8rem;
  color: #6b7280;
}

.section-form {
  background: #ffffff;
}

.visit-form {
  max-width: 780px;
  margin: 0 auto;
  background: #f9fafb;
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.7rem 1.9rem;
  box-shadow: var(--shadow-soft);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem 1rem;
  margin-bottom: 1.1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
}

.form-field-full {
  margin-bottom: 1.1rem;
}

.form-field-full textarea {
  width: 100%;
  resize: vertical;
}

.form-field label {
  font-weight: 600;
  color: #374151;
}

.form-field input,
.form-field select,
.visit-form textarea {
  border-radius: 12px;
  border: 1px solid #d1d5db;
  padding: 0.6rem 0.7rem;
  font-family: inherit;
  font-size: 0.9rem;
  color: #111827;
  background: #ffffff;
}

.form-field input:focus,
.form-field select:focus,
.visit-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.35);
}

.form-footnote {
  margin-top: 0.6rem;
  font-size: 0.78rem;
  color: #6b7280;
}

@media (max-width: 900px) {
  .hero-carousel {
    min-height: min(70vh, 500px);
  }

  .hero-carousel-slide img {
    max-height: min(70vh, 500px);
  }

  .section.about .section-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .cards-grid,
  .gallery-grid,
  .testimonials-grid,
  .contact-inner,
  .form-grid,
  .info-panels {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery-grid img {
    height: 210px;
  }

  .footer-main {
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .navbar {
    padding-inline: 1rem;
  }

  .nav-links {
    position: absolute;
    top: 64px;
    right: 16px;
    padding: 0.85rem 1.15rem;
    flex-direction: column;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
    transform-origin: top right;
    transform: scale(0.9);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
  }

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

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-carousel {
    min-height: min(60vh, 400px);
  }

  .hero-carousel-slide img {
    max-height: min(60vh, 400px);
  }

  .hero-carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }

  .hero-carousel-btn.prev {
    left: 12px;
  }

  .hero-carousel-btn.next {
    right: 12px;
  }

  .hero-carousel-dots {
    bottom: 16px;
    padding: 8px 12px;
    gap: 8px;
  }

  .hero-carousel-dot {
    width: 8px;
    height: 8px;
  }

  .hero-carousel-dot[aria-current="true"] {
    width: 20px;
  }

  .section {
    padding-inline: 1rem;
  }
}



/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: #FFF;
}

.whatsapp-float svg {
  width: 35px;
  height: 35px;
  fill: currentColor;
}

/* Closable Card Button */
.close-card-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: transparent;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: var(--color-text);
  opacity: 0.5;
  cursor: pointer;
  transition: opacity 0.2s ease;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.close-card-btn:hover {
  opacity: 1;
  background: rgba(0,0,0,0.05);
}

/* Hero Image Link Wrapper */
.hero-image-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
  z-index: 20;
}

/* Hero Overlay Content */
.hero-overlay-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 40;
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  padding: 3rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  max-width: 600px;
  width: 90%;
  backdrop-filter: blur(8px);
}

.hero-overlay-content .hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  margin: 0 0 1rem 0;
  line-height: 1.2;
}

.hero-overlay-content .hero-subtitle {
  font-size: 1.15rem;
  color: var(--color-text);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  justify-content: center;
}

.btn-lg {
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
}

/* Mobile Overrides */
@media (max-width: 720px) {
  /* Natural height hero for mobile to prevent losing context/cutoff */
  .hero-carousel {
    height: auto !important;
    min-height: 0 !important;
  }
  .hero-carousel-viewport,
  .hero-carousel-track,
  .hero-carousel-slide {
    height: auto !important;
  }
  .hero-carousel-slide img {
    height: auto !important;
    object-fit: contain !important;
    max-height: 60vh !important;
  }

  /* Overlay below the carousel on mobile */
  .hero-overlay-content {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin: 24px auto 30px auto;
    width: 90%;
    padding: 1.5rem 1.2rem;
    border-radius: 16px;
    background: #FFFFFF;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    z-index: 45;
  }
  .hero-overlay-content .hero-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }
  .hero-overlay-content .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.2rem;
    line-height: 1.4;
  }
  .hero-actions .btn-lg {
    width: 100%;
    font-size: 1rem;
    padding: 0.8rem 1.2rem;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }
  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}

/* Slide Glassmorphism Badges */
.hero-carousel-slide {
  position: relative;
}

.slide-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  color: var(--color-primary-dark);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  font-size: 1.1rem;
  z-index: 10;
  white-space: nowrap;
  pointer-events: none;
  animation: float-badge 3s ease-in-out infinite;
}

@keyframes float-badge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.badge-bottom-right { bottom: 60px; right: 80px; }
.badge-bottom-left  { bottom: 60px; left: 80px; }
.badge-top-right    { top: 60px; right: 80px; }
.badge-top-left     { top: 60px; left: 80px; }

@media (max-width: 900px) {
  .slide-badge {
    padding: 10px 18px;
    font-size: 0.95rem;
  }
  .badge-bottom-right { bottom: 40px; right: 40px; }
  .badge-bottom-left  { bottom: 40px; left: 40px; }
  .badge-top-right    { top: 40px; right: 40px; }
  .badge-top-left     { top: 40px; left: 40px; }
}

@media (max-width: 720px) {
  .slide-badge {
    position: absolute;
    bottom: 25px;
    top: auto;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: max-content;
    max-width: 90%;
    text-align: center;
    font-size: 0.9rem;
    padding: 8px 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    /* Disable the hover float animation on mobile so it doesn't jump around */
    animation: none;
  }
}
