/* ============================================
   PULSAR MED ACADEMY - ESTILO PRINCIPAL
   ============================================ */

/* --- VARIÁVEIS --- */
:root {
  --primary: #735b85;
  --secondary: #e3dbd9;
  --accent: #db7382;
  --text: #fdfdfe;
  --bg-dark: #1b0d13;
  --bg-light: #d2becf;
  --bg-gradient: linear-gradient(135deg, #1b0d13 0%, #2a1a24 50%, #1b0d13 100%);
  --glass: rgba(115, 91, 133, 0.15);
  --glass-border: rgba(219, 115, 130, 0.2);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 40px rgba(219, 115, 130, 0.15);
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Inter', sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

/* --- UTILITIES --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
  position: relative;
}

.section-alt {
  background: linear-gradient(180deg, rgba(115, 91, 133, 0.08) 0%, transparent 100%);
}

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

.text-accent {
  color: var(--accent);
}

.text-primary {
  color: var(--primary);
}

.text-secondary {
  color: var(--secondary);
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
}

p {
  font-size: 1.05rem;
  color: rgba(253, 253, 254, 0.85);
  max-width: 650px;
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 1rem;
  font-weight: 500;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.6s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #c4617a 100%);
  color: var(--text);
  box-shadow: 0 4px 20px rgba(219, 115, 130, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(219, 115, 130, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(219, 115, 130, 0.5);
}

.btn-secondary:hover {
  background: rgba(219, 115, 130, 0.1);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: white;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45);
}

/* --- HEADER / NAV --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
  background: transparent;
}

.header.scrolled {
  background: rgba(27, 13, 19, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.6rem 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 45px;
  transition: var(--transition);
}

.header.scrolled .logo {
  height: 38px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav a {
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: rgba(253, 253, 254, 0.8);
  position: relative;
  padding: 0.3rem 0;
}

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

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

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

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
  border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- HERO --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 5rem;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.3) saturate(0.8);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(27, 13, 19, 0.92) 0%,
    rgba(115, 91, 133, 0.4) 50%,
    rgba(27, 13, 19, 0.88) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(30px);
  animation: heroReveal 1s ease forwards 0.3s;
}

.hero-content h1 span {
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  margin-bottom: 2.5rem;
  font-size: 1.15rem;
  opacity: 0;
  transform: translateY(20px);
  animation: heroReveal 1s ease forwards 0.6s;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: heroReveal 1s ease forwards 0.9s;
}

/* Hero Luminous Particles */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  animation: floatParticle linear infinite;
  opacity: 0;
}

/* Hero Glow Orbs */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orbFloat 8s ease-in-out infinite;
  z-index: 0;
}

.glow-orb-1 {
  width: 400px;
  height: 400px;
  background: rgba(219, 115, 130, 0.12);
  top: 10%;
  right: -10%;
  animation-delay: 0s;
}

.glow-orb-2 {
  width: 300px;
  height: 300px;
  background: rgba(115, 91, 133, 0.15);
  bottom: 20%;
  left: -5%;
  animation-delay: -3s;
}

.glow-orb-3 {
  width: 250px;
  height: 250px;
  background: rgba(219, 115, 130, 0.08);
  top: 50%;
  left: 40%;
  animation-delay: -5s;
}

/* --- SCROLL REVEAL ANIMATIONS --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

/* --- QUEM SOMOS SECTION --- */
.about-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

/* Galeria de imagens */
.about-gallery {
  display: flex;
  gap: 1rem;
  height: 520px;
}

.about-gallery-main {
  flex: 1.4;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.about-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-gallery-main:hover img {
  transform: scale(1.03);
}

.about-gallery-main::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 60%, rgba(27, 13, 19, 0.4) 100%);
  pointer-events: none;
}

.about-gallery-side {
  flex: 0.6;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-gallery-img {
  flex: 1;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

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

.about-gallery-img:hover img {
  transform: scale(1.05);
}

.about-gallery-img::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(115, 91, 133, 0.15), transparent);
  pointer-events: none;
}

/* About Grid (used by para-voce and academy pages) */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.about-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 20px;
}

.about-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(115, 91, 133, 0.2), transparent);
  border-radius: 20px;
}

.about-text h2 {
  margin-bottom: 1.5rem;
}

.about-text p {
  margin-bottom: 1rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.about-feature {
  padding: 1.5rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  transition: var(--transition);
}

.about-feature:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
}

.about-feature .icon {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.about-feature h4 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.about-feature p {
  font-size: 0.85rem;
  color: rgba(253, 253, 254, 0.7);
}

/* --- SERVICES / PROCEDURES --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2.5rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(219, 115, 130, 0.3);
  box-shadow: var(--shadow-glow);
}

.service-card .service-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: rgba(219, 115, 130, 0.15);
  position: absolute;
  top: 1rem;
  right: 1.5rem;
}

.service-card h3 {
  color: var(--accent);
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.service-card p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.service-card .service-for {
  padding-top: 1rem;
  border-top: 1px solid rgba(219, 115, 130, 0.15);
}

.service-card .service-for label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 600;
  display: block;
  margin-bottom: 0.3rem;
}

/* --- OTHER SERVICES LIST --- */
.other-services {
  margin-top: 3rem;
  padding: 2.5rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
}

.other-services h3 {
  color: var(--accent);
  margin-bottom: 1.5rem;
  text-align: center;
}

.other-services-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}

.other-services-list span {
  padding: 0.6rem 1.2rem;
  background: rgba(219, 115, 130, 0.1);
  border: 1px solid rgba(219, 115, 130, 0.2);
  border-radius: 50px;
  font-size: 0.85rem;
  color: rgba(253, 253, 254, 0.8);
  transition: var(--transition);
}

.other-services-list span:hover {
  background: rgba(219, 115, 130, 0.2);
  color: var(--text);
}

/* --- PILLARS / DIFERENCIAIS --- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.pillar-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  transition: var(--transition);
  position: relative;
}

.pillar-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
}

.pillar-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.pillar-card h3 {
  margin-bottom: 1rem;
  color: var(--text);
}

.pillar-card p {
  font-size: 0.9rem;
  margin: 0 auto;
}

/* --- WHAT YOU'LL LEARN --- */
.learn-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.learn-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.5rem;
  background: rgba(219, 115, 130, 0.08);
  border-radius: 12px;
  border: 1px solid rgba(219, 115, 130, 0.15);
}

.learn-item .check {
  color: var(--accent);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.learn-item span {
  font-size: 0.95rem;
  color: rgba(253, 253, 254, 0.9);
}

/* --- FORM SECTION --- */
.form-section {
  background: linear-gradient(135deg, rgba(115, 91, 133, 0.15), rgba(27, 13, 19, 0.9));
  border-radius: 24px;
  padding: 4rem;
  border: 1px solid var(--glass-border);
  margin-top: 3rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.form-content h2 {
  margin-bottom: 1rem;
}

.form-content p {
  margin-bottom: 1.5rem;
}

.form-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.form-contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(219, 115, 130, 0.08);
  border-radius: 12px;
  border: 1px solid rgba(219, 115, 130, 0.15);
}

.form-contact-item .icon {
  font-size: 1.3rem;
  color: var(--accent);
}

.form-contact-item span {
  font-size: 0.9rem;
  color: rgba(253, 253, 254, 0.85);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-group {
  position: relative;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem 1.5rem;
  background: rgba(27, 13, 19, 0.6);
  border: 1px solid rgba(219, 115, 130, 0.2);
  border-radius: 12px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(253, 253, 254, 0.4);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(219, 115, 130, 0.15);
}

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

.form-group select {
  cursor: pointer;
  appearance: none;
  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='%23db7382' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.5rem center;
}

.form-group select option {
  background: var(--bg-dark);
  color: var(--text);
}

/* --- FAQ --- */
.faq-container {
  max-width: 800px;
  margin: 3rem auto 0;
}

.faq-item {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(219, 115, 130, 0.3);
}

.faq-question {
  padding: 1.5rem 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: var(--transition);
}

.faq-question h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
}

.faq-question .faq-toggle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(219, 115, 130, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
  font-size: 1.2rem;
  color: var(--accent);
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  background: var(--accent);
  color: var(--text);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 2rem 1.5rem;
}

.faq-answer p {
  font-size: 0.95rem;
  color: rgba(253, 253, 254, 0.75);
}

.faq-category {
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 1rem;
  font-weight: 600;
}

/* --- MAP SECTION --- */
.map-section {
  padding: 4rem 0;
}

.map-container {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
}

.map-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.map-info-card {
  padding: 2rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  transition: var(--transition);
}

.map-info-card:hover {
  border-color: var(--accent);
}

.map-info-card h4 {
  color: var(--accent);
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}

.map-info-card p {
  font-size: 0.9rem;
  color: rgba(253, 253, 254, 0.75);
}

.map-info-card a {
  color: var(--accent);
}

.map-info-card a:hover {
  text-decoration: underline;
}

/* --- FOOTER --- */
.footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(219, 115, 130, 0.15);
  background: rgba(27, 13, 19, 0.5);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(253, 253, 254, 0.6);
  margin-top: 1rem;
  max-width: 300px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 1.2rem;
  font-weight: 600;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-col a {
  font-size: 0.9rem;
  color: rgba(253, 253, 254, 0.6);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(219, 115, 130, 0.1);
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(253, 253, 254, 0.4);
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(219, 115, 130, 0.1);
  border: 1px solid rgba(219, 115, 130, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  color: var(--text);
  transform: translateY(-2px);
}

/* --- WHATSAPP FLOATING --- */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.8rem;
}

.whatsapp-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  color: white;
  font-size: 1.8rem;
  position: relative;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-btn::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.3);
  animation: whatsappPulse 2s ease-in-out infinite;
}

.whatsapp-tooltip {
  background: white;
  color: #333;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
  pointer-events: none;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* --- PAGE HERO (Inner Pages) --- */
.page-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 6rem;
}

.page-hero .hero-bg img {
  filter: brightness(0.25) saturate(0.7);
}

.page-hero .hero-overlay {
  background: linear-gradient(
    180deg,
    rgba(27, 13, 19, 0.9) 0%,
    rgba(115, 91, 133, 0.3) 50%,
    rgba(27, 13, 19, 0.95) 100%
  );
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero-content .section-subtitle {
  animation: heroReveal 1s ease forwards 0.2s;
  opacity: 0;
}

.page-hero-content h1 {
  animation: heroReveal 1s ease forwards 0.4s;
  opacity: 0;
}

.page-hero-content p {
  animation: heroReveal 1s ease forwards 0.6s;
  opacity: 0;
}

/* --- GALLERY --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

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

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

.gallery-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 50%, rgba(27, 13, 19, 0.7) 100%);
}

/* --- ANIMATIONS --- */
@keyframes heroReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatParticle {
  0% {
    opacity: 0;
    transform: translateY(100vh) scale(0);
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-10vh) scale(1);
  }
}

@keyframes orbFloat {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(30px, -30px) scale(1.05);
  }
  50% {
    transform: translate(-20px, 20px) scale(0.95);
  }
  75% {
    transform: translate(20px, 10px) scale(1.02);
  }
}

@keyframes whatsappPulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.4);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(219, 115, 130, 0.2);
  }
  50% {
    box-shadow: 0 0 40px rgba(219, 115, 130, 0.4);
  }
}

/* Stagger animation for children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.stagger-children.active > *:nth-child(1) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.stagger-children.active > *:nth-child(2) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.stagger-children.active > *:nth-child(3) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.stagger-children.active > *:nth-child(4) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.stagger-children.active > *:nth-child(5) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }
.stagger-children.active > *:nth-child(6) { transition-delay: 0.6s; opacity: 1; transform: translateY(0); }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .about-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-gallery {
    height: 400px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .map-info {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: rgba(27, 13, 19, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: right 0.4s ease;
    z-index: 1000;
  }

  .nav.open {
    right: 0;
  }

  .nav a {
    font-size: 1.1rem;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

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

  .about-features {
    grid-template-columns: 1fr;
  }

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

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .form-section {
    padding: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .whatsapp-float {
    bottom: 1.5rem;
    right: 1.5rem;
  }

  .section {
    padding: 4rem 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.2rem;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.85rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .form-section {
    padding: 1.5rem;
  }
}

/* --- NAV OVERLAY (Mobile) --- */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* --- CTA SECTION --- */
.cta-section {
  text-align: center;
  padding: 5rem 0;
  position: relative;
}

.cta-section h2 {
  margin-bottom: 1rem;
}

.cta-section p {
  margin: 0 auto 2rem;
  text-align: center;
}

/* --- DIVIDER --- */
.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  margin: 1.5rem auto;
  border-radius: 2px;
}

.divider-left {
  margin-left: 0;
}

/* --- SCROLL PROGRESS --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  z-index: 1001;
  transition: width 0.1s linear;
}
