/* ============================================
   OdontoSmile — Dr. Ricardo Mendes
   Landing Page Styles
   ============================================ */

/* --- CSS Variables --- */
:root {
  --primary: #495362;
  --primary-dark: #3a4350;
  --primary-light: #6b7a8d;
  --primary-lighter: #F7F3E8;
  --secondary: #495362;
  --accent: #8a9bae;
  --white: #FFFFFF;
  --bg-light: #FAFAF8;
  --bg-beige: #F7F3E8;
  --text: #1E1E1E;
  --text-secondary: #555555;
  --text-light: #777777;
  --border: #E0E0E0;
  --whatsapp: #25D366;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Section Utilities --- */
.section-tag {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  background: var(--primary-lighter);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-tag--light {
  color: var(--white);
  background: rgba(255, 255, 255, 0.15);
}

.section-title {
  font-size: 34px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 48px;
  max-width: 600px;
}

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 50px;
  transition: var(--transition);
  white-space: nowrap;
}

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

.btn--primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(73, 83, 98, 0.35);
}

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

.btn--white:hover {
  background: var(--primary-lighter);
  transform: translateY(-2px);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn--outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

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

.btn--whatsapp:hover {
  background: #1fb855;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.btn--lg {
  padding: 16px 40px;
  font-size: 18px;
}

.btn__arrow {
  transition: transform 0.3s ease;
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.4s ease;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  padding: 10px 0;
}

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

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  z-index: 1001;
}

.header.scrolled .header__logo {
  color: var(--primary);
}

.header__logo i {
  font-size: 28px;
}

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

.header.scrolled .header__logo-img {
  filter: none;
}

.header__menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header__link {
  font-size: 15px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  padding: 8px 14px;
  border-radius: 50px;
  transition: var(--transition);
}

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

.header__link:hover,
.header__link.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.15);
}

.header.scrolled .header__link:hover,
.header.scrolled .header__link.active {
  color: var(--primary);
  background: var(--primary-lighter);
}

.header__cta {
  font-size: 15px;
  padding: 10px 24px;
}

.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
  padding: 6px;
}

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

.header.scrolled .header__hamburger span {
  background: var(--text);
}

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

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

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

.header__overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.header__overlay.active {
  display: block;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 144px;
  padding-bottom: 64px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--secondary) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 70%;
  height: 140%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.hero__title {
  font-size: 44px;
  font-weight: 600;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 36px;
  max-width: 500px;
  line-height: 1.7;
}

.hero__stats {
  display: flex;
  gap: 32px;
  margin-bottom: 40px;
}

.hero__stat {
  text-align: center;
}

.hero__stat-number {
  font-size: 36px;
  font-weight: 600;
  color: var(--white);
  display: inline;
}

.hero__stat-plus {
  font-size: 28px;
  font-weight: 600;
  color: var(--accent);
}

.hero__stat-label {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 2px;
}

.hero__image {
  display: flex;
  justify-content: center;
  position: relative;
}

.hero__image-wrapper {
  position: relative;
}

.hero__image-placeholder {
  width: 420px;
  height: 520px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.hero__image-placeholder i {
  font-size: 56px;
  color: rgba(255, 255, 255, 0.25);
}

.hero__image-placeholder strong {
  font-size: 20px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

.hero__image-placeholder span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  line-height: 1.5;
}

.hero__nametag {
  position: absolute;
  bottom: 32px;
  left: -20px;
  background: var(--white);
  padding: 10px 20px 10px 10px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  box-shadow: var(--shadow-lg);
  animation: float 3s ease-in-out infinite;
}

.hero__nametag-avatar {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--primary-lighter);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__nametag-avatar i {
  font-size: 22px;
  color: var(--primary);
}

.hero__nametag-info {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.hero__nametag-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 4px;
}

.hero__nametag-name i {
  font-size: 16px;
  color: var(--primary);
}

.hero__nametag-handle {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 400;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.5);
  font-size: 24px;
  animation: bounce 2s ease-in-out infinite;
}

/* ============================================
   MARQUEE
   ============================================ */
.marquee {
  background: var(--primary-lighter);
  padding: 20px 0;
  overflow: hidden;
}

.marquee__track {
  display: flex;
  width: max-content;
}

.marquee__content {
  display: flex;
  gap: 0;
  animation: marquee-scroll 45s linear infinite;
}

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 32px;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
}

.marquee__item i {
  font-size: 18px;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  padding: 100px 0;
  background: var(--white);
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about__image-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  max-width: 480px;
  background: linear-gradient(135deg, var(--primary-lighter) 0%, var(--bg-beige) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--border);
}

.about__image-placeholder i {
  font-size: 56px;
  color: var(--primary-light);
  opacity: 0.4;
}

.about__image-placeholder strong {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary);
  opacity: 0.5;
}

.about__image-placeholder span {
  font-size: 14px;
  color: var(--text-light);
  opacity: 0.6;
  text-align: center;
  line-height: 1.5;
}

.about__text {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.8;
}

.about__highlights {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.about__highlight {
  display: flex;
  align-items: center;
  gap: 16px;
}

.about__highlight-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  background: var(--primary-lighter);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about__highlight-icon i {
  font-size: 24px;
  color: var(--primary);
}

.about__highlight strong {
  display: block;
  font-size: 16px;
  color: var(--text);
}

.about__highlight span {
  font-size: 14px;
  color: var(--text-light);
}

.about__whatsapp-btn {
  display: none;
  margin-top: 32px;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.services__header {
  text-align: center;
}

.services__header .section-title {
  margin-left: auto;
  margin-right: auto;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.services__card {
  padding: 40px 32px;
  border-radius: var(--radius);
  transition: all 0.4s ease;
  cursor: default;
}

.services__card--white {
  background: var(--white);
}

.services__card--colored {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.services__card--colored .services__title,
.services__card--colored .services__desc {
  color: var(--white);
}

.services__card--colored .services__icon i {
  color: var(--accent);
}

.services__card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.services__card--white:hover {
  background: var(--primary-lighter);
}

.services__card--colored:hover {
  background: rgba(255, 255, 255, 0.18);
}

.services__icon {
  margin-bottom: 20px;
}

.services__icon i {
  font-size: 40px;
  color: var(--primary);
}

.services__title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}

.services__desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  padding: 100px 0;
  background: linear-gradient(135deg, #2c3340 0%, #495362 100%);
  overflow: hidden;
}

.testimonials__header {
  text-align: center;
}

.testimonials__header .section-title {
  margin-left: auto;
  margin-right: auto;
}

.testimonials__subtitle {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.55);
  max-width: 700px;
  margin: -32px auto 0;
  line-height: 1.7;
}

.testimonials__carousel {
  margin-top: 40px;
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.testimonials__carousel::-webkit-scrollbar {
  display: none;
}

.testimonials__carousel:active {
  cursor: grabbing;
}

.testimonials__track {
  display: flex;
  gap: 24px;
}

.testimonials__card {
  min-width: 340px;
  max-width: 380px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 32px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.testimonials__card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.testimonials__stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.testimonials__stars i {
  font-size: 18px;
  color: #d4a853;
}

.testimonials__text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonials__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonials__avatar {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonials__avatar i {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.5);
}

.testimonials__author strong {
  display: block;
  font-size: 15px;
  color: var(--white);
}

.testimonials__author span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   BLOG
   ============================================ */
.blog {
  padding: 100px 0;
  background: var(--bg-light);
}

.blog__header {
  text-align: center;
}

.blog__header .section-title {
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
}

.blog__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
}

.blog__card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s ease;
  cursor: pointer;
}

.blog__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.blog__image {
  position: relative;
  overflow: hidden;
}

.blog__card--large .blog__image {
  height: 260px;
}

.blog__card--small .blog__image {
  height: 180px;
}

.blog__image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-lighter) 0%, var(--bg-beige) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.5s ease;
}

.blog__card:hover .blog__image-placeholder {
  transform: scale(1.05);
}

.blog__image-placeholder i {
  font-size: 36px;
  color: var(--primary-light);
  opacity: 0.4;
}

.blog__image-placeholder strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  opacity: 0.5;
}

.blog__image-placeholder span {
  font-size: 12px;
  color: var(--text-light);
  opacity: 0.5;
}

.blog__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.6) 100%);
}

.blog__tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--primary);
  color: var(--white);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 1;
}

.blog__info {
  padding: 20px 24px;
}

.blog__title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.4;
}

.blog__date {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-light);
}

/* Blog small cards row */
.blog__card--small:nth-child(3) {
  grid-column: 1;
  grid-row: 2;
}

.blog__card--small:nth-child(4) {
  grid-column: 2;
  grid-row: 2;
}

/* Adjust for 5 items: 2 large on top, 3 small below */
.blog__grid {
  grid-template-columns: repeat(6, 1fr);
}

.blog__card--large:nth-child(1) { grid-column: 1 / 4; }
.blog__card--large:nth-child(2) { grid-column: 4 / 7; }
.blog__card--small:nth-child(3) { grid-column: 1 / 3; }
.blog__card--small:nth-child(4) { grid-column: 3 / 5; }
.blog__card--small:nth-child(5) { grid-column: 5 / 7; }

/* ============================================
   FAQ
   ============================================ */
.faq {
  padding: 100px 0;
  background: var(--white);
}

.faq__inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}

.faq__sidebar {
  position: sticky;
  top: 120px;
}

.faq__sidebar p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.7;
}

.faq__accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.faq__item.active {
  border-color: var(--primary);
  background: var(--primary-lighter);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}

.faq__item.active .faq__question {
  color: var(--primary);
}

.faq__question i {
  font-size: 20px;
  transition: transform 0.3s ease;
  min-width: 20px;
}

.faq__item.active .faq__question i {
  transform: rotate(45deg);
  color: var(--primary);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq__item.active .faq__answer {
  max-height: 300px;
}

.faq__answer p {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--primary-dark) 100%);
  position: relative;
  overflow: visible;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-section__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.cta-section__title {
  font-size: 38px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}

.cta-rotating {
  display: inline;
  position: relative;
  color: var(--white);
  border-bottom: 3px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 2px;
}

.cta-rotating::after {
  content: '|';
  font-weight: 300;
  margin-left: 2px;
  animation: blink-cursor 0.6s step-end infinite;
}

@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.cta-section__subtitle {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  line-height: 1.7;
}

.cta-section__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-section__image {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  align-self: flex-end;
}

.cta-section__photo {
  max-height: 420px;
  width: auto;
  object-fit: contain;
  margin-bottom: -100px;
  margin-top: -80px;
  filter: drop-shadow(0 8px 30px rgba(0, 0, 0, 0.2));
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  padding: 100px 0;
  background: var(--bg-light);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.contact__map {
  overflow: hidden;
  min-height: 450px;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.contact__map iframe {
  width: 100%;
  height: 100%;
  min-height: 450px;
  display: block;
  border: 0;
  border-radius: 0;
}

.contact__info {
  background: var(--white);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact__card {
  background: transparent;
  border-radius: 0;
  padding: 24px;
  box-shadow: none;
  margin-bottom: 0;
}

.contact__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.contact__item:last-child {
  border-bottom: none;
}

.contact__item-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--primary-lighter);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact__item-icon i {
  font-size: 20px;
  color: var(--primary);
}

.contact__item strong {
  display: block;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 4px;
}

.contact__item span {
  font-size: 14px;
  color: var(--text-secondary);
}

.contact__whatsapp {
  width: auto;
  margin: 0 24px 24px;
  box-sizing: border-box;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #2c3340;
  padding-top: 64px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
}

.footer__logo i {
  font-size: 28px;
  color: var(--primary-light);
}

.footer__logo-img {
  max-width: 180px;
  height: auto;
}

.footer-credit {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 13px;
  transition: opacity var(--transition);
}

.footer-credit:hover {
  opacity: 0.8;
}

.footer-credit img {
  height: 48px;
  width: auto;
  border-radius: 50%;
}

.footer-credit span {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

.footer__brand p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 20px;
  transition: var(--transition);
}

.footer__social a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.footer__col h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__col ul li,
.footer__col ul li a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__col ul li a:hover {
  color: var(--primary-light);
}

.footer__col ul li i {
  font-size: 16px;
  color: var(--primary-light);
}

.footer__bottom {
  padding: 20px 0;
}

.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ============================================
   FOOTER CREDIT
   ============================================ */
.footer-credit {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.footer-credit:hover {
  opacity: 1;
}

.footer-credit img {
  width: 20px;
  height: 20px;
}

.footer-credit span {
  color: #ffffff;
  font-weight: 400;
}

.footer-credit strong {
  font-weight: 700;
}

/* ============================================
   FLOATING BUTTONS
   ============================================ */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 28px;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 900;
  opacity: 0;
  transform: scale(0);
  transition: all 0.4s ease;
}

.floating-whatsapp.visible {
  opacity: 1;
  transform: scale(1);
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

.floating-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 48px;
  height: 48px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-size: 20px;
  box-shadow: var(--shadow-md);
  z-index: 900;
  opacity: 0;
  transform: scale(0);
  transition: all 0.4s ease;
  cursor: pointer;
}

.floating-top.visible {
  opacity: 1;
  transform: scale(1);
}

.floating-top:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: scale(1.1);
}

/* ============================================
   MODAL
   ============================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.modal__content {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 440px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px) scale(0.95);
  transition: transform 0.4s ease;
}

.modal.active .modal__content {
  transform: translateY(0) scale(1);
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 18px;
  cursor: pointer;
  transition: var(--transition);
}

.modal__close:hover {
  background: var(--primary-lighter);
  color: var(--primary);
}

.modal__icon {
  width: 72px;
  height: 72px;
  background: var(--primary-lighter);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.modal__icon i {
  font-size: 36px;
  color: var(--primary);
}

.modal__title {
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}

.modal__text {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.7;
}

.modal__btn {
  width: 100%;
}

/* ============================================
   RESPONSIVE — TABLET (≤1024px)
   ============================================ */
@media (max-width: 1024px) {
  .hero__title {
    font-size: 36px;
  }

  .hero__image-placeholder {
    width: 340px;
    height: 420px;
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog__card--large:nth-child(1) { grid-column: 1; }
  .blog__card--large:nth-child(2) { grid-column: 2; }
  .blog__card--small:nth-child(3) { grid-column: 1; }
  .blog__card--small:nth-child(4) { grid-column: 2; }
  .blog__card--small:nth-child(5) { grid-column: 1 / 3; }

  .faq__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .faq__sidebar {
    position: static;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* ============================================
   RESPONSIVE — MOBILE (≤768px)
   ============================================ */
@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  .section-title {
    font-size: 28px;
    margin-bottom: 32px;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--white);
    padding: 100px 32px 32px;
    transition: right 0.4s ease;
    z-index: 1000;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  }

  .header__nav.active {
    right: 0;
  }

  .header__menu {
    flex-direction: column;
    gap: 4px;
  }

  .header__link {
    color: var(--text);
    font-size: 16px;
    padding: 12px 16px;
    width: 100%;
    border-radius: var(--radius-sm);
  }

  .header__link:hover,
  .header__link.active {
    color: var(--primary);
    background: var(--primary-lighter);
  }

  .header__cta {
    display: none;
  }

  .header__hamburger {
    display: flex;
  }

  .hero {
    padding-top: 120px;
    padding-bottom: 48px;
  }

  .hero::before {
    display: none;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__title {
    font-size: 32px;
  }

  .hero__subtitle {
    margin: 0 auto 24px;
  }

  .hero__stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 32px;
  }

  .hero__stat {
    text-align: center;
  }

  .hero__stat-number {
    font-size: 28px;
  }

  .hero__stat-label {
    font-size: 12px;
  }

  .hero__image {
    display: none;
  }

  .hero__scroll-indicator {
    display: none;
  }

  .about__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about__image {
    display: none;
  }

  .about__whatsapp-btn {
    display: inline-flex;
  }

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

  .services {
    padding: 64px 0;
  }

  .testimonials__card {
    min-width: 300px;
  }

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

  .blog__card--large:nth-child(1),
  .blog__card--large:nth-child(2),
  .blog__card--small:nth-child(3),
  .blog__card--small:nth-child(4),
  .blog__card--small:nth-child(5) {
    grid-column: 1;
  }

  .cta-section__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta-section__title {
    font-size: 28px;
  }

  .cta-section__buttons {
    justify-content: center;
  }

  .cta-section__photo {
    max-height: 300px;
    margin-bottom: -60px;
    margin-top: 0;
  }

  .contact__inner {
    grid-template-columns: 1fr;
    border-radius: var(--radius-lg);
  }

  .contact__map {
    min-height: 280px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }

  .contact__info {
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    overflow: hidden;
  }

  .contact__whatsapp {
    width: auto !important;
    margin: 12px 16px 16px;
    font-size: 14px;
    padding: 12px 20px;
  }

  .contact__map iframe {
    min-height: 280px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .btn--lg {
    width: 100%;
  }

  .about,
  .blog,
  .faq,
  .contact {
    padding: 64px 0;
  }

  .cta-section {
    padding: 64px 0;
  }

  .testimonials {
    padding: 64px 0;
  }
}

/* ============================================
   RESPONSIVE — SMALL (≤480px)
   ============================================ */
@media (max-width: 480px) {
  .hero__title {
    font-size: 28px;
  }

  .hero__stats {
    gap: 16px;
  }

  .modal__content {
    padding: 32px 24px;
  }

  .testimonials__card {
    min-width: 260px;
    padding: 24px;
  }

  .cta-section__buttons {
    flex-direction: column;
    gap: 12px;
  }
}