/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* ===== VARIABLES CSS ===== */
:root {
  --header-height: 5rem;

  /* ========== Colors ========== */
  --primary-color: #aa7627;
  --primary-color-alt: #b07c2c;
  --primary-gradient: linear-gradient(135deg, #aa7627 0%, #ddae57 100%);
  --secondary-color: #ddae57;
  --title-color: #0b0d24;
  --text-color: #666666;
  --text-color-light: #999999;
  --body-color: #ffffff;
  --container-color: #ffffff;
  --border-color: #0b0d24;
  --shadow-color: rgba(200, 200, 200, 0.1);
  --shadow-color-dark: rgba(200, 200, 200, 0.2);

  /* ========== Font and typography ========== */
  --body-font: 'Inter', sans-serif;
  --title-font: 'Montserrat', sans-serif;
  --biggest-font-size: 3rem;
  --h1-font-size: 2.25rem;
  --h2-font-size: 1.75rem;
  --h3-font-size: 1.25rem;
  --normal-font-size: 1rem;
  --small-font-size: 0.875rem;
  --smaller-font-size: 0.813rem;

  /* ========== Font weight ========== */
  --font-light: 300;
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-bold: 700;
  --font-extra-bold: 800;

  /* ========== z index ========== */
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;
}

/* ========== Responsive typography ========== */
@media screen and (max-width: 1024px) {
  :root {
    --biggest-font-size: 2.5rem;
    --h1-font-size: 2rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.125rem;
    --normal-font-size: 0.938rem;
    --small-font-size: 0.813rem;
    --smaller-font-size: 0.75rem;
  }
}

/* ===== BASE ===== */
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
  font-family: var(--title-font);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

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

button {
  cursor: pointer;
  border: none;
  outline: none;
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #0b0d24 0%, #1a1d40 100%);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #0b0d24;
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #0b0d24 #f1f1f1;
}

/* ===== REUSABLE CSS CLASSES ===== */
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.grid {
  display: grid;
}

.section {
  padding-block: 5rem 2rem;
}

.section__title,
.section__subtitle {
  text-align: center;
}

.section__title {
  font-size: var(--h2-font-size);
  font-family: var(--title-font);
  color: var(--title-color);
  margin-bottom: 2rem;
}

.section__subtitle {
  display: block;
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.gradient-text {
  background: linear-gradient(135deg, #8b5a2b 0%, #b8860b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

/* ===== BUTTONS ===== */
.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #0b0d24 0%, #1a1d40 100%);
  color: var(--body-color);
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: var(--font-medium);
  transition: all 0.3s ease;
  box-shadow: 0 6px 25px rgba(200, 200, 200, 0.25),
              0 2px 8px rgba(200, 200, 200, 0.15);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(200, 200, 200, 0.35),
              0 4px 12px rgba(200, 200, 200, 0.2);
}

.button--outline {
  background: transparent;
  color: #0b0d24;
  border: 1px solid #0b0d24;
  box-shadow: none;
}

.button--outline:hover {
  background: linear-gradient(135deg, #0b0d24 0%, #1a1d40 100%);
  color: var(--body-color);
  border-color: transparent;
}

.button--large {
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
}

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

/* ===== PROGRESS BAR ===== */
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(135deg, #0b0d24 0%, #1a1d40 100%);
  z-index: var(--z-modal);
  transition: width 0.3s ease;
}

/* ===== HEADER & NAV ===== */
.header {
  position: fixed;
  width: 100%;
  background: linear-gradient(135deg, #0b0d24 0%, #1a1d40 100%);
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  font-weight: var(--font-semi-bold);
}

.nav__logo-img {
  height: 60px;
  width: auto;
  max-width: 180px;
  filter: brightness(0) invert(1);
}

.nav__list {
  display: flex;
  flex-direction: row;
  gap: 2rem;
}

.nav__link {
  color: white;
  font-weight: var(--font-medium);
  transition: color 0.3s ease;
  position: relative;
}

.nav__link:hover,
.nav__link.active-link {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.nav__link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
  transition: width 0.3s ease;
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.nav__link:hover::after,
.nav__link.active-link::after {
  width: 100%;
}

.nav__toggle,
.nav__close {
  display: none;
}

/* ===== HOME ===== */
.home {
  padding-top: calc(var(--header-height) + 2rem);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #eeeeee 0%, #ffffff 50%, #f3e9ce 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.home__decorative-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.home__tooth {
  position: absolute;
  color: var(--primary-color);
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.home__tooth--1 {
  top: 20%;
  left: 10%;
  font-size: 3rem;
  animation-delay: 0s;
}

.home__tooth--2 {
  top: 60%;
  right: 15%;
  font-size: 2.5rem;
  animation-delay: 2s;
}

.home__tooth--3 {
  bottom: 30%;
  left: 80%;
  font-size: 2rem;
  animation-delay: 4s;
}

.home__sparkle {
  position: absolute;
  font-size: 1.5rem;
  animation: sparkle 3s ease-in-out infinite;
}

.home__sparkle--1 {
  top: 15%;
  right: 20%;
  animation-delay: 0.5s;
}

.home__sparkle--2 {
  top: 70%;
  left: 20%;
  animation-delay: 1.5s;
}

.home__sparkle--3 {
  bottom: 20%;
  right: 30%;
  animation-delay: 2.5s;
}

.home__sparkle--4 {
  top: 40%;
  left: 5%;
  animation-delay: 3.5s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

@keyframes sparkle {
  0%, 100% {
    opacity: 0;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

.home__container {
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.home__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #0b0d24 0%, #1a1d40 100%);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  margin-bottom: 1rem;
  box-shadow: 0 8px 25px rgba(200, 200, 200, 0.15),
              0 2px 8px rgba(200, 200, 200, 0.1);
}

.home__badge i {
  font-size: 1rem;
}

.home__title {
  font-size: var(--biggest-font-size);
  font-family: var(--title-font);
  font-weight: var(--font-bold);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  position: relative;
}

.home__title-decoration {
  position: absolute;
  top: -10px;
  right: -20px;
  color: var(--primary-color);
  font-size: 2rem;
  animation: bounce 2s ease-in-out infinite;
}

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

.home__description {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.home__buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.button--pulse {
  position: relative;
  overflow: hidden;
}

.button__glow {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: glow 2s infinite;
}

@keyframes glow {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

.home__features {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.home__feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
}

.home__feature-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #0b0d24 0%, #1a1d40 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  box-shadow: 0 6px 20px rgba(200, 200, 200, 0.2),
              0 2px 8px rgba(200, 200, 200, 0.15),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.home__feature span {
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  color: var(--text-color);
}

.home__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.home__stat {
  text-align: center;
}

.home__stat-number {
  display: block;
  font-size: 2rem;
  font-weight: var(--font-bold);
  color: var(--primary-color);
  font-family: var(--title-font);
}

.home__stat-text {
  font-size: var(--small-font-size);
  color: var(--text-color-light);
}

.home__img {
  position: relative;
}

.home__img-bg {
  position: relative;
}

.home__img-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(200, 200, 200, 0.25),
              0 10px 30px rgba(200, 200, 200, 0.15),
              0 5px 15px rgba(0, 0, 0, 0.1);
}

.home__img-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0b0d24 0%, #1a1d40 100%);
  opacity: 0.1;
  z-index: 1;
}

.home__img-main {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center top;
  display: block;
  vertical-align: bottom;
}


/* ===== ABOUT ===== */
.about__container {
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about__description {
  margin-bottom: 2rem;
  line-height: 1.7;
}

.about__features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about__feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature__icon {
  font-size: 1.5rem;
  color: #0b0d24;
  margin-top: 0.25rem;
}

.feature__title {
  font-size: var(--h3-font-size);
  margin-bottom: 0.5rem;
}

.feature__description {
  color: var(--text-color);
  line-height: 1.6;
}

.about__img {
  position: relative;
}

.about__img-main {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 25px 70px rgba(200, 200, 200, 0.2),
              0 10px 30px rgba(200, 200, 200, 0.12),
              0 5px 15px rgba(0, 0, 0, 0.08);
}

/* ===== INSTAGRAM SECTION ===== */
.instagram {
  background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.instagram__container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

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

.instagram__title {
  font-size: var(--h2-font-size);
  font-family: var(--title-font);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.instagram__description {
  margin-bottom: 1rem;
  line-height: 1.7;
  color: var(--text-color);
}

.instagram__cta {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--container-color);
  border-radius: 15px;
  border-left: 4px solid #0b0d24;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08),
              0 3px 10px rgba(200, 200, 200, 0.1);
}

.instagram__contact {
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.instagram__contact strong {
  color: var(--title-color);
}

.instagram__contact a {
  color: var(--primary-color);
  font-weight: var(--font-semi-bold);
  text-decoration: none;
  transition: color 0.3s ease;
}

.instagram__contact a:hover {
  color: var(--primary-color-alt);
}

.instagram__address {
  color: var(--text-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.instagram__address i {
  color: var(--primary-color);
}

.instagram__embed {
  display: flex;
  justify-content: center;
  align-items: center;
}

.instagram__embed .instagram-media {
  margin: 0 auto !important;
  max-width: 100% !important;
  border-radius: 15px !important;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1) !important;
}

/* ===== GALLERY SLIDER ===== */
.gallery-slider {
  padding: 4rem 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.slider-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 25px 70px rgba(200, 200, 200, 0.15),
              0 10px 30px rgba(200, 200, 200, 0.1),
              0 5px 15px rgba(200, 200, 200, 0.08);
}

.slider-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.slide {
  min-width: 100%;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #ffffff;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #0b0d24 0%, #1a1d40 100%);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(200, 200, 200, 0.3);
}

.slider-btn:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(200, 200, 200, 0.4);
}

.slider-btn--prev {
  left: 20px;
}

.slider-btn--next {
  right: 20px;
}

.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid white;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.slider-dot--active,
.slider-dot:hover {
  background: white;
  border-color: white;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media screen and (max-width: 768px) {
  .slide {
    height: 300px;
  }
  
  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .slider-btn--prev {
    left: 10px;
  }
  
  .slider-btn--next {
    right: 10px;
  }
  
  .slider-dots {
    bottom: 20px;
  }
  
  .slider-dot {
    width: 12px;
    height: 12px;
  }
}

/* ===== SERVICES ===== */
.services {
  background: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)), url('consultorio/1 (1).jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.services__grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service__card {
  background: var(--container-color);
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06),
              0 3px 12px rgba(200, 200, 200, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #0b0d24;
}

.service__card--clickable {
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.service__card--clickable::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0b0d24 0%, #1a1d40 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.service__card--clickable:hover::after {
  opacity: 0.05;
}

.service__card:hover,
.service__card--clickable:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 70px rgba(200, 200, 200, 0.25),
              0 10px 30px rgba(200, 200, 200, 0.15),
              0 5px 15px rgba(0, 0, 0, 0.1);
  border-color: #0b0d24;
}

.service__card--clickable:active {
  transform: translateY(-5px);
}

.service__icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #0b0d24 0%, #1a1d40 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--body-color);
  box-shadow: 0 8px 25px rgba(200, 200, 200, 0.3),
              0 3px 10px rgba(200, 200, 200, 0.2),
              inset 0 2px 0 rgba(255, 255, 255, 0.2);
}

.service__title {
  font-size: var(--h3-font-size);
  margin-bottom: 1rem;
}

.service__description {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service__link {
  color: var(--primary-color);
  font-weight: var(--font-medium);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.service__link:hover {
  color: var(--primary-color-alt);
  transform: translateX(5px);
}

/* ===== DIFFERENTIALS ===== */
.differentials__grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.differential__card {
  background: var(--container-color);
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06),
              0 3px 12px rgba(200, 200, 200, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #0b0d24;
}

.differential__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(200, 200, 200, 0.2),
              0 8px 25px rgba(200, 200, 200, 0.12),
              0 3px 10px rgba(0, 0, 0, 0.08);
}

.differential__icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #0b0d24 0%, #1a1d40 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
  color: var(--body-color);
  box-shadow: 0 6px 20px rgba(200, 200, 200, 0.25),
              0 2px 8px rgba(200, 200, 200, 0.15),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.differential__title {
  font-size: var(--h3-font-size);
  margin-bottom: 1rem;
  color: #0b0d24;
}

.differential__description {
  line-height: 1.6;
  color: #0b0d24;
}

/* ===== CTA SECTION ===== */
.cta {
  background: linear-gradient(135deg, #0b0d24 0%, #1a1d40 50%, #2a2d5a 100%);
  color: var(--body-color);
}

.cta__container {
  text-align: center;
}

.cta__title {
  font-size: var(--h1-font-size);
  font-family: var(--title-font);
  margin-bottom: 1rem;
  color: var(--body-color);
}

.cta__description {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 600px;
  margin-inline: auto;
}

.cta .button {
  background: linear-gradient(135deg, #0b0d24 0%, #1a1d40 100%);
  color: white;
}

.cta .button:hover {
  background: linear-gradient(135deg, #1a1d40 0%, #2a2d5a 100%);
}

/* ===== CONTACT ===== */
.contact__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.contact__header {
  text-align: center;
  margin-bottom: 4rem;
}

.contact__description {
  margin-bottom: 0;
  line-height: 1.7;
  max-width: 600px;
  margin-inline: auto;
}

.contact__content {
  display: grid;
  gap: 3rem;
}

.contact__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.contact__card {
  background: var(--container-color);
  padding: 2.5rem 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06),
              0 3px 12px rgba(200, 200, 200, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #0b0d24;
  position: relative;
  overflow: hidden;
}

.contact__card--clickable {
  cursor: pointer;
}

.contact__card--clickable::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0b0d24 0%, #1a1d40 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.contact__card--clickable:hover::after {
  opacity: 0.05;
}

.contact__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(135deg, #0b0d24 0%, #1a1d40 100%);
}

.contact__card:hover,
.contact__card--clickable:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 70px rgba(200, 200, 200, 0.25),
              0 10px 30px rgba(200, 200, 200, 0.15),
              0 5px 15px rgba(0, 0, 0, 0.1);
  border-color: #0b0d24;
}

.contact__card--clickable:active {
  transform: translateY(-5px);
}

.contact__card-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #0b0d24 0%, #1a1d40 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--body-color);
  box-shadow: 0 8px 25px rgba(200, 200, 200, 0.3),
              0 3px 10px rgba(200, 200, 200, 0.2),
              inset 0 2px 0 rgba(255, 255, 255, 0.2);
}

.contact__card-title {
  font-size: var(--h3-font-size);
  margin-bottom: 1rem;
  color: var(--title-color);
}

.contact__card-text {
  line-height: 1.6;
  color: var(--text-color);
}

.contact__link {
  color: var(--primary-color);
  font-weight: var(--font-semi-bold);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact__link:hover {
  color: var(--primary-color-alt);
}

.contact__cta {
  text-align: center;
  margin-top: 2rem;
}

/* ===== MAP SECTION ===== */
.map-section {
  padding: 0;
  margin: 0;
}

.contact__map {
  width: 100%;
  overflow: hidden;
  filter: grayscale(100%) contrast(1.2) brightness(0.9);
}

.contact__map iframe {
  width: 100%;
  height: 500px;
  border: none;
  display: block;
}

.contact__map:hover {
  filter: grayscale(80%) contrast(1.1) brightness(0.95);
}

/* ===== FORM ===== */
.form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form__group {
  position: relative;
}

.form__input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  border: 2px solid #0b0d24;
  border-radius: 10px;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  transition: all 0.3s ease;
  background: var(--container-color);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.form__input:focus {
  border-color: #0b0d24;
  outline: none;
  box-shadow: 0 0 0 3px rgba(200, 200, 200, 0.15),
              inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

.form__icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-color-light);
  font-size: 1.125rem;
}

/* ===== FOOTER ===== */
.footer {
  background-color: #0b0d24;
  color: #ffffff;
  padding-top: 3rem;
  box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.1);
}

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

.footer__content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer__logo-img {
  height: 60px;
  width: auto;
  max-width: 180px;
  filter: brightness(0) invert(1);
}

.footer__logo-text {
  font-size: 1.25rem;
  font-weight: var(--font-semi-bold);
  color: #ffffff;
}

.footer__description {
  margin-bottom: 1.5rem;
  line-height: 1.6;
  opacity: 0.8;
}

.footer__social {
  display: flex;
  gap: 1rem;
}

.footer__social-link {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #0b0d24 0%, #1a1d40 100%);
  color: #FFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(200, 200, 200, 0.25),
              0 2px 6px rgba(200, 200, 200, 0.15);
}

.footer__social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(200, 200, 200, 0.35),
              0 3px 8px rgba(200, 200, 200, 0.2);
}

.footer__title {
  font-size: var(--h3-font-size);
  margin-bottom: 1rem;
  color: #ffffff;
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__link {
  color: #ffffff;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.footer__link:hover {
  opacity: 1;
  color: #ffffff;
}

.footer__contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  opacity: 0.8;
}

.footer__contact-item i {
  color: #FFF;
  margin-top: 0.25rem;
}

.footer__contact-item a {
  color: #ffffff;
  font-weight: var(--font-medium);
}

.footer__bottom {
  border-top: 1px solid #0b0d24;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__copy,
.footer__credits {
  opacity: 0.6;
  font-size: var(--small-font-size);
}

.footer__credits {
  color: #ffffff;
}

/* ===== FLOATING BUTTONS ===== */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #0b0d24 0%, #1a1d40 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  z-index: var(--z-tooltip);
  animation: pulse 2s infinite;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(200, 200, 200, 0.3);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(200, 200, 200, 0.5);
}

.whatsapp-text {
  position: absolute;
  right: 70px;
  background: linear-gradient(135deg, #0b0d24 0%, #1a1d40 100%);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: var(--small-font-size);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s ease;
}

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

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(200, 200, 200, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(200, 200, 200, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(200, 200, 200, 0);
  }
}

.back-to-top {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #0b0d24 0%, #1a1d40 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  z-index: var(--z-tooltip);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 6px 25px rgba(200, 200, 200, 0.25),
              0 2px 8px rgba(200, 200, 200, 0.15);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(200, 200, 200, 0.35),
              0 4px 12px rgba(200, 200, 200, 0.2);
}

.commercial-contact {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: var(--z-tooltip);
}

.commercial-btn {
  background: linear-gradient(135deg, #0b0d24 0%, #1a1d40 100%);
  color: white;
  padding: 1.1rem 0.5rem;
  border-radius: 0 20px 20px 0;
  writing-mode: vertical-lr;
  text-orientation: mixed;
  font-weight: var(--font-medium);
  font-size: var(--small-font-size);
  transition: all 0.3s ease;
  box-shadow: 3px 0 25px rgba(200, 200, 200, 0.25),
              1px 0 8px rgba(200, 200, 200, 0.15);
  animation: slideIn 0.5s ease-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.commercial-btn i {
  font-size: 1.2rem;
  writing-mode: initial;
  text-orientation: initial;
}

.commercial-btn:hover {
  transform: translateX(5px);
  box-shadow: 6px 0 35px rgba(200, 200, 200, 0.35),
              2px 0 12px rgba(200, 200, 200, 0.2);
}

.commercial-text {
  letter-spacing: 1px;
}

@keyframes slideIn {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

/* ===== LGPD POPUP ===== */
.lgpd-popup {
  position: fixed;
  bottom: 90px;
  left: 20px;
  max-width: 300px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15),
              0 5px 20px rgba(200, 200, 200, 0.1),
              0 2px 8px rgba(0, 0, 0, 0.08);
  z-index: var(--z-modal);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.lgpd-popup.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lgpd-content {
  padding: 1.5rem;
}

.lgpd-title {
  font-size: var(--h3-font-size);
  margin-bottom: 0.5rem;
  color: var(--title-color);
}

.lgpd-text {
  font-size: var(--small-font-size);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.lgpd-buttons {
  display: flex;
  gap: 0.5rem;
}

.lgpd-btn {
  flex: 1;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  transition: all 0.3s ease;
  cursor: pointer;
}

.lgpd-accept {
  background: linear-gradient(135deg, #0b0d24 0%, #1a1d40 100%);
  color: white;
  border: none;
}

.lgpd-accept:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px var(--shadow-color);
}

.lgpd-decline {
  background: transparent;
  color: var(--text-color);
  border: 1px solid #0b0d24;
}

.lgpd-decline:hover {
  background: #f5f5f5;
}

/* ===== RESPONSIVE ===== */
@media screen and (max-width: 1024px) {
  .container {
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .home__container,
  .about__container,
  .instagram__content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 3rem;
  }

  .contact__cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact__card {
    padding: 2rem 1.5rem;
  }

  .home__data {
    order: 1;
  }
  
  .home__img {
    order: 2;
  }
  
  .about__img {
    order: -1;
  }

  .services__grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .differentials__grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

@media screen and (max-width: 768px) {
  :root {
    --header-height: 4rem;
  }

  .home {
    padding-top: calc(var(--header-height) + 3rem);
  }
  
  .home__data {
    text-align: center;
  }
  
  .home__badge {
    margin-bottom: 2rem;
  }

  .nav__logo-img {
    height: 40px;
    max-width: 140px;
  }

  .nav__menu {
    position: fixed;
    left: -100%;
    top: var(--header-height);
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: linear-gradient(135deg, #0b0d24 0%, #1a1d40 100%);
    padding: 2rem 1.5rem;
    transition: left 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  }

  .nav__menu.show-menu {
    left: 0;
  }

  .nav__list {
    flex-direction: column;
    gap: 2rem;
  }

  .nav__link {
    font-size: 1.125rem;
  }

  .nav__close,
  .nav__toggle {
    display: block;
    font-size: 1.25rem;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .nav__close:hover,
  .nav__toggle:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
  }

  .nav__close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
  }

  .home__buttons {
    flex-direction: column;
    align-items: center;
  }

  .home__img-main {
    height: 200px;
    object-position: center center;
  }

  .contact__map iframe {
    height: 350px;
  }

  .contact__header {
    margin-bottom: 2.5rem;
  }

  .contact__content {
    gap: 2rem;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .commercial-contact {
    display: none;
  }

  .lgpd-popup {
    left: 50%;
    right: auto;
    transform: translate(-50%, 20px);
    width: calc(100% - 40px);
    max-width: 300px;
    bottom: 20px;
  }

  .lgpd-popup.show {
    transform: translate(-50%, 0);
  }
}

@media screen and (max-width: 480px) {
  .section {
    padding-block: 3rem 1rem;
  }

  .home__title {
    font-size: 2rem;
  }

  .home__buttons {
    gap: 0.75rem;
  }

  .button {
    padding: 0.875rem 1.5rem;
    font-size: 0.875rem;
  }

  .services__grid,
  .differentials__grid {
    grid-template-columns: 1fr;
  }

  .service__card,
  .differential__card {
    padding: 1.5rem;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
    bottom: 15px;
    right: 15px;
  }

  .back-to-top {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    bottom: 15px;
    left: 15px;
  }

}

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===== UTILITY CLASSES ===== */
.text-center {
  text-align: center;
}

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

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

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }

/* ===== LOADING STATES ===== */
.loading {
  position: relative;
  overflow: hidden;
}

.loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* ===== ACCESSIBILITY ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus styles for better accessibility */
.button:focus,
.nav__link:focus,
.form__input:focus,
.lgpd-btn:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --text-color: #000000;
    --title-color: #000000;
    --border-color: #0b0d24;
  }
}

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

/* Print styles */
@media print {
  .header,
  .whatsapp-float,
  .back-to-top,
  .commercial-contact,
  .lgpd-popup {
    display: none !important;
  }
  
  .section {
    page-break-inside: avoid;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
}
