/* ================================================
   OM SINTRA — Centro de Yoga & Bem-Estar
   Stylesheet v1.0
   ================================================ */

/* === CSS Custom Properties === */
:root {
  --green-dark:   #1B4332;
  --green-mid:    #2D6A4F;
  --green-sage:   #52796F;
  --green-light:  #84A98C;
  --cream:        #FDFAF6;
  --off-white:    #F4EFE8;
  --gold:         #C9972D;
  --gold-hover:   #A87D24;
  --gold-light:   #E8C06A;
  --text-dark:    #2C2C2C;
  --text-mid:     #5A5A5A;
  --text-light:   #999;
  --white:        #FFFFFF;
  --shadow-xs:    0 1px 4px rgba(0,0,0,0.06);
  --shadow-sm:    0 2px 10px rgba(0,0,0,0.08);
  --shadow-md:    0 8px 30px rgba(0,0,0,0.12);
  --shadow-lg:    0 20px 60px rgba(0,0,0,0.16);
  --radius:       14px;
  --radius-sm:    8px;
  --radius-xs:    6px;
  --transition:   all 0.3s ease;
  --container:    1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul { list-style: none; }

button { font-family: inherit; }

/* === Typography === */
h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; }

/* === Layout Utilities === */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.section {
  padding: 100px 0;
}

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

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

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

.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--green-sage);
  margin-bottom: 12px;
}

.section-tag.light {
  color: var(--green-light);
}

.section-title {
  color: var(--green-dark);
  margin-bottom: 16px;
}

.section-title.light {
  color: var(--white);
}

.section-subtitle {
  color: var(--text-mid);
  max-width: 580px;
  margin: 0 auto 60px;
  font-size: 1.05rem;
  line-height: 1.8;
}

.section-header {
  margin-bottom: 56px;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  text-align: center;
}

.btn-gold {
  background-color: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.btn-gold:hover {
  background-color: var(--gold-hover);
  border-color: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 151, 45, 0.38);
  color: var(--white);
}

.btn-green {
  background-color: var(--green-dark);
  color: var(--white);
  border-color: var(--green-dark);
}

.btn-green:hover {
  background-color: var(--green-mid);
  border-color: var(--green-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(27, 67, 50, 0.32);
  color: var(--white);
}

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

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

.btn-whatsapp {
  background-color: #25D366;
  color: var(--white);
  border-color: #25D366;
  margin-top: 28px;
  width: 100%;
  justify-content: center;
}

.btn-whatsapp:hover {
  background-color: #1DA851;
  border-color: #1DA851;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  color: var(--white);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ==============================================
   NAVIGATION
   ============================================== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

#navbar nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  max-width: var(--container);
  margin: 0 auto;
  transition: padding 0.3s ease;
}

#navbar.scrolled {
  background: rgba(253, 250, 246, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.07);
}

#navbar.scrolled nav {
  padding: 14px 28px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.om-symbol {
  font-size: 2.2rem;
  color: var(--gold);
  line-height: 1;
  font-family: serif;
  transition: var(--transition);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-main {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  transition: color 0.3s ease;
}

.logo-sub {
  font-size: 0.62rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 3px;
  transition: color 0.3s ease;
}

#navbar.scrolled .logo-main { color: var(--green-dark); }
#navbar.scrolled .logo-sub  { color: var(--text-mid); }

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--gold);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: rgba(255, 255, 255, 1);
}

#navbar.scrolled .nav-links a { color: var(--text-mid); }
#navbar.scrolled .nav-links a:hover,
#navbar.scrolled .nav-links a.active { color: var(--green-dark); }

.nav-cta { padding: 10px 24px; font-size: 0.85rem; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

#navbar.scrolled .hamburger span { background-color: var(--green-dark); }

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  background: var(--white);
  box-shadow: var(--shadow-md);
  border-top: 1px solid rgba(0,0,0,0.06);
}

.mobile-menu.open { display: block; }

.mobile-menu ul {
  padding: 16px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-menu li a {
  display: block;
  padding: 13px 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-menu li a:hover { color: var(--green-dark); }

.mobile-menu li:last-child a {
  margin-top: 18px;
  border-bottom: none;
  display: block;
  text-align: center;
}

/* ==============================================
   HERO
   ============================================== */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  /*
   * FOTO DE SINTRA — Para adicionar a foto:
   *   1. Acede a: https://unsplash.com/photos/green-forest-with-fogs-gKYrC6ozs6A
   *      (Floresta com neblina na Serra de Sintra — foto de Daniel Angele, gratuita)
   *   2. Clica em "Download" (não é necessária conta)
   *   3. Guarda o ficheiro como:  assets/images/hero-sintra.jpg
   *   O site vai carregar a imagem automaticamente.
   *
   * Alternativamente, usa qualquer foto tua de Sintra (Serra, Pena Palace,
   * Quinta da Regaleira, etc.) guardada no mesmo caminho.
   */
  background-image: url('../assets/images/hero-sintra.jpg');
  background-color: var(--green-dark); /* fallback enquanto a imagem não está disponível */
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /* Overlay aplicado sobre a foto de Sintra.
     Quando a foto ainda não está disponível, este gradiente é o fundo. */
  background: linear-gradient(
    150deg,
    rgba(27, 67, 50, 0.88) 0%,
    rgba(27, 67, 50, 0.70) 45%,
    rgba(82, 121, 111, 0.55) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  padding-top: 80px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 9px 26px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 32px;
  animation: fadeInDown 0.8s ease both;
}

.hero h1 {
  animation: fadeInUp 0.8s ease 0.2s both;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.2);
  margin-bottom: 28px;
  color: var(--white);
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-subtitle {
  font-size: 1.12rem;
  line-height: 1.85;
  max-width: 600px;
  margin: 0 auto 44px;
  color: rgba(255, 255, 255, 0.88);
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.7rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: scrollBounce 2.5s ease-in-out infinite 1.2s;
}

/* ==============================================
   ABOUT
   ============================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.about-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: linear-gradient(135deg, var(--gold), var(--gold-hover));
  color: var(--white);
  padding: 22px 30px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.badge-om {
  display: block;
  font-size: 1.8rem;
  font-family: serif;
  line-height: 1;
  margin-bottom: 6px;
}

.about-badge p {
  font-size: 0.68rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.9;
}

.about-content .section-title {
  margin-top: 10px;
  margin-bottom: 20px;
}

.about-content > p {
  color: var(--text-mid);
  margin-bottom: 16px;
  font-size: 0.97rem;
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 32px 0 40px;
}

.stat {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--off-white);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--gold);
  transition: var(--transition);
}

.stat:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-xs);
}

.stat > i {
  font-size: 1.3rem;
  color: var(--gold);
  width: 22px;
  text-align: center;
  flex-shrink: 0;
}

.stat strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--green-dark);
  font-family: 'Inter', sans-serif;
}

.stat span {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ==============================================
   SERVICES
   ============================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  padding: 40px 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(to bottom, var(--gold), var(--gold-hover));
  transition: height 0.35s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.service-card:hover::before { height: 100%; }

.service-icon {
  width: 66px;
  height: 66px;
  background: linear-gradient(135deg, var(--green-dark), var(--green-sage));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.service-icon i {
  font-size: 1.6rem;
  color: var(--white);
}

.service-card h3 {
  color: var(--green-dark);
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.service-card > p {
  color: var(--text-mid);
  font-size: 0.93rem;
  line-height: 1.75;
  margin-bottom: 22px;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.87rem;
  color: var(--text-mid);
}

.service-list li i {
  color: var(--gold);
  font-size: 0.7rem;
  flex-shrink: 0;
}

.services-cta {
  margin-top: 52px;
}

/* ==============================================
   WHY US
   ============================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  text-align: center;
  padding: 42px 26px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: var(--transition);
}

.why-card:hover {
  background: var(--white);
  border-color: rgba(27, 67, 50, 0.08);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.why-icon {
  width: 76px;
  height: 76px;
  background: linear-gradient(135deg, rgba(27, 67, 50, 0.08), rgba(82, 121, 111, 0.14));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  transition: var(--transition);
}

.why-card:hover .why-icon {
  background: linear-gradient(135deg, var(--green-dark), var(--green-sage));
}

.why-icon i {
  font-size: 1.85rem;
  color: var(--green-dark);
  transition: var(--transition);
}

.why-card:hover .why-icon i { color: var(--white); }

.why-card h4 {
  color: var(--green-dark);
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.why-card p {
  color: var(--text-mid);
  font-size: 0.88rem;
  line-height: 1.75;
}

/* ==============================================
   TESTIMONIALS
   ============================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 36px;
  border-radius: var(--radius);
  transition: var(--transition);
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}

.stars {
  display: flex;
  gap: 4px;
  margin-bottom: 18px;
}

.stars i { color: var(--gold-light); font-size: 0.88rem; }

.testimonial-text {
  font-style: italic;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.82;
  margin-bottom: 26px;
  font-size: 0.95rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--gold), var(--gold-hover));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  flex-shrink: 0;
  font-family: 'Playfair Display', serif;
}

.testimonial-author strong {
  display: block;
  font-size: 0.93rem;
  color: var(--white);
  font-family: 'Inter', sans-serif;
}

.testimonial-author span {
  font-size: 0.78rem;
  color: var(--green-light);
}

/* ==============================================
   GALLERY
   ============================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(27, 67, 50, 0.52);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay i {
  color: var(--white);
  font-size: 1.8rem;
  transform: scale(0.6) rotate(-90deg);
  transition: transform 0.35s ease;
}

.gallery-item:hover .gallery-overlay i { transform: scale(1) rotate(0deg); }

/* Gallery Instagram CTA */
.gallery-instagram-cta {
  margin-top: 40px;
}

.gallery-instagram-cta p {
  color: var(--text-mid);
  font-size: 0.92rem;
  margin-bottom: 14px;
}

/* Gallery Placeholder (enquanto aguarda fotos reais) */
.gallery-placeholder {
  cursor: default;
}

.gallery-placeholder-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(145deg, var(--green-dark), var(--green-sage));
  color: rgba(255, 255, 255, 0.85);
  transition: var(--transition);
}

/* Slight variation per placeholder for visual interest */
.gallery-placeholder:nth-child(2) .gallery-placeholder-inner { background: linear-gradient(145deg, #2D6A4F, #52796F); }
.gallery-placeholder:nth-child(3) .gallery-placeholder-inner { background: linear-gradient(145deg, #1B4332, #2D6A4F); }
.gallery-placeholder:nth-child(4) .gallery-placeholder-inner { background: linear-gradient(145deg, #354F52, #52796F); }
.gallery-placeholder:nth-child(5) .gallery-placeholder-inner { background: linear-gradient(145deg, #2D6A4F, #84A98C); }
.gallery-placeholder:nth-child(6) .gallery-placeholder-inner { background: linear-gradient(145deg, #1B4332, #52796F); }

.gallery-placeholder-inner > i {
  font-size: 2.2rem;
  opacity: 0.75;
}

.gallery-placeholder-inner > span {
  font-size: 0.95rem;
  font-weight: 600;
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.5px;
}

.gallery-placeholder-inner > small {
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  opacity: 0.65;
}

.gallery-placeholder:hover .gallery-placeholder-inner {
  filter: brightness(1.1);
}

/* ==============================================
   CONTACT
   ============================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  margin-bottom: 60px;
}

.contact-info h3 {
  font-size: 1.45rem;
  color: var(--green-dark);
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.contact-item > i {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--green-dark), var(--green-sage));
  color: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-light);
  margin-bottom: 5px;
  font-family: 'Inter', sans-serif;
}

.contact-item p {
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-item a { color: var(--text-mid); }
.contact-item a:hover { color: var(--green-dark); }

.schedule {
  margin-top: 30px;
  background: var(--off-white);
  padding: 24px;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--gold);
}

.schedule h4 {
  color: var(--green-dark);
  margin-bottom: 16px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
}

.schedule h4 i { color: var(--gold); font-size: 0.9rem; }

.schedule-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 9px 24px;
  font-size: 0.88rem;
}

.schedule-grid span:nth-child(odd) { color: var(--text-mid); }
.schedule-grid span:nth-child(even) { font-weight: 600; color: var(--green-dark); text-align: right; }

/* Contact Form */
.contact-form-wrapper {
  background: var(--white);
  padding: 44px 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-xs);
  font-family: 'Inter', sans-serif;
  font-size: 0.93rem;
  color: var(--text-dark);
  background: var(--cream);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  outline: none;
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green-sage);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(82, 121, 111, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-success {
  display: none;
  margin-top: 16px;
  padding: 16px 20px;
  background: rgba(27, 67, 50, 0.08);
  border: 1px solid rgba(27, 67, 50, 0.2);
  border-radius: var(--radius-xs);
  color: var(--green-dark);
  font-size: 0.9rem;
  font-weight: 500;
  align-items: center;
  gap: 10px;
}

.form-success.show { display: flex; }
.form-success i { font-size: 1.2rem; color: var(--green-sage); }

/* Map */
.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* ==============================================
   FOOTER
   ============================================== */
.footer {
  background-color: var(--green-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-brand .logo-light .logo-main { color: var(--white); }
.footer-brand .logo-light .logo-sub  { color: rgba(255, 255, 255, 0.45); }

.footer-brand p {
  margin-top: 22px;
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.55);
  max-width: 300px;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 26px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-links h5,
.footer-contact h5 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 22px;
  font-weight: 600;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links li a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  display: inline-flex;
  align-items: center;
  transition: var(--transition);
}

.footer-links li a::before {
  content: '—';
  font-size: 0.7rem;
  margin-right: 8px;
  opacity: 0;
  transform: translateX(-4px);
  transition: var(--transition);
}

.footer-links li a:hover {
  color: var(--gold-light);
  padding-left: 4px;
}

.footer-links li a:hover::before { opacity: 1; transform: translateX(0); }

.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-contact i { color: var(--gold); width: 14px; flex-shrink: 0; margin-top: 4px; }

.footer-contact a { color: rgba(255, 255, 255, 0.55); }
.footer-contact a:hover { color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ==============================================
   FLOATING ELEMENTS
   ============================================== */

/* WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.42);
  z-index: 990;
  transition: var(--transition);
}

.whatsapp-float:hover {
  background: #1DA851;
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.52);
  color: var(--white);
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--green-dark);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  z-index: 990;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--green-mid);
  transform: translateY(-2px);
}

/* ==============================================
   ANIMATIONS
   ============================================== */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(-10px); }
}

/* Scroll-triggered fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.services-grid .fade-in:nth-child(1),
.why-grid .fade-in:nth-child(1),
.testimonials-grid .fade-in:nth-child(1),
.gallery-grid .fade-in:nth-child(1)  { transition-delay: 0s; }

.services-grid .fade-in:nth-child(2),
.why-grid .fade-in:nth-child(2),
.testimonials-grid .fade-in:nth-child(2),
.gallery-grid .fade-in:nth-child(2)  { transition-delay: 0.1s; }

.services-grid .fade-in:nth-child(3),
.why-grid .fade-in:nth-child(3),
.testimonials-grid .fade-in:nth-child(3),
.gallery-grid .fade-in:nth-child(3)  { transition-delay: 0.2s; }

.services-grid .fade-in:nth-child(4),
.why-grid .fade-in:nth-child(4),
.gallery-grid .fade-in:nth-child(4)  { transition-delay: 0.3s; }

.gallery-grid .fade-in:nth-child(5)  { transition-delay: 0.4s; }
.gallery-grid .fade-in:nth-child(6)  { transition-delay: 0.5s; }

/* ==============================================
   RESPONSIVE — 1024px
   ============================================== */
@media (max-width: 1024px) {
  .about-grid   { gap: 50px; }
  .why-grid     { grid-template-columns: repeat(2, 1fr); }
  .footer-grid  { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

/* ==============================================
   RESPONSIVE — 768px
   ============================================== */
@media (max-width: 768px) {
  .section { padding: 70px 0; }

  /* Nav */
  .nav-links,
  .nav-cta { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero { background-attachment: scroll; }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btns .btn { width: 260px; justify-content: center; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-image img { height: 360px; }
  .about-badge { right: 10px; bottom: -16px; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }

  /* Why / Testimonials */
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }

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

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-form-wrapper { padding: 30px 24px; }
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-brand p { max-width: 100%; }

  /* Float */
  .whatsapp-float { bottom: 20px; right: 20px; width: 52px; height: 52px; font-size: 1.4rem; }
  .back-to-top    { bottom: 82px; right: 20px; }
}

/* ==============================================
   RESPONSIVE — 480px
   ============================================== */
@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }

  .schedule-grid {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .schedule-grid span:nth-child(even) {
    font-size: 0.85rem;
    margin-bottom: 8px;
    padding-left: 4px;
    text-align: left;
  }
}
