/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
  --primary: #00ADB5;
  --primary-dark: #0881a3;
  --primary-light: #e6f7f8;
  --secondary: #00F5FF;
  --dark: #1F2937;
  --dark-soft: #374151;
  --light: #F9FAFB;
  --white: #FFFFFF;
  
  --text-main: #374151;
  --text-muted: #6B7280;
  --text-dark: #111827;
  --text-light: #F3F4F6;
  
  --success: #10B981;
  --success-light: #D1FAE5;
  
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 30px -10px rgba(0, 173, 181, 0.12);
  --shadow-lg: 0 20px 40px -15px rgba(0, 173, 181, 0.18);
  
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  
  --max-width: 1200px;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.25;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

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

ul {
  list-style: none;
}

img, svg {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* ==========================================================================
   LAYOUTS & UTILITIES
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-right: auto;
  margin-left: auto;
  padding-right: 1.5rem;
  padding-left: 1.5rem;
}

.grid {
  display: grid;
  gap: 2rem;
}

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

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

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

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

.w-full {
  width: 100%;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-normal);
  text-align: center;
  gap: 0.5rem;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(0, 173, 181, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 173, 181, 0.6);
}

.btn-secondary-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background-color: transparent;
}

.btn-secondary-outline:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
}

.btn-link {
  color: var(--primary);
  font-weight: 600;
  padding: 0;
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid transparent;
}

.btn-link:hover {
  border-bottom-color: var(--primary);
  gap: 0.75rem;
}

/* ==========================================================================
   GLASSMORPHISM CARD
   ========================================================================== */
.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-md);
  border-radius: var(--border-radius-md);
}

/* ==========================================================================
   HEADER SECTION
   ========================================================================== */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.main-header.scrolled {
  padding: 0.5rem 0;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  transition: all var(--transition-fast);
}

.main-header.scrolled .header-container {
  height: 64px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 2px 4px rgba(0, 173, 181, 0.2));
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--dark);
  letter-spacing: -0.5px;
}

.logo-accent {
  color: var(--primary);
  font-weight: 500;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--dark-soft);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition-fast);
}

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

.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-phone-header {
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 18px;
  background: transparent;
  z-index: 1010;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--dark);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* Mobile Menu Active State */
.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 400px;
  height: 100vh;
  background-color: var(--white);
  z-index: 999;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
  padding: 100px 2rem 2rem;
  transition: all var(--transition-normal);
}

.mobile-nav-overlay.active {
  right: 0;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.mobile-link {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--dark);
  padding: 0.5rem 0;
  display: block;
  border-bottom: 1px solid var(--text-light);
}

.mobile-link:hover {
  color: var(--primary);
  padding-left: 0.5rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding-top: 180px;
  padding-bottom: 100px;
  background: radial-gradient(circle at 80% 20%, rgba(0, 173, 181, 0.08) 0%, rgba(255, 255, 255, 0) 60%), var(--white);
  position: relative;
  overflow: hidden;
}

.badge-seo {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background-color: var(--primary-light);
  color: var(--primary-dark);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 173, 181, 0.1);
}

.hero-title {
  font-size: 3rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text-dark) 40%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.35rem;
  color: var(--dark-soft);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.hero-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 4rem;
}

.hero-stats {
  border-top: 1px solid rgba(0, 173, 181, 0.15);
  padding-top: 2rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Hero Visual Graphics */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  z-index: 10;
  border: 4px solid var(--white);
  transition: transform var(--transition-normal);
}

.hero-image-wrapper:hover {
  transform: translateY(-5px) scale(1.02);
}

.hero-clinic-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.doctor-badge-floating {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 50px;
  box-shadow: var(--shadow-md);
  z-index: 12;
}

.online-indicator {
  width: 10px;
  height: 10px;
  background-color: var(--success);
  border-radius: 50%;
  position: relative;
  display: inline-block;
}

.online-indicator::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--success);
  border-radius: 50%;
  animation: ping 1.5s infinite;
}

@keyframes ping {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.5); opacity: 0; }
}



.decor-circle {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 173, 181, 0.15) 0%, rgba(0, 245, 255, 0.05) 100%);
  z-index: 1;
}

.circle-1 {
  width: 300px;
  height: 300px;
  top: -50px;
  right: -50px;
}

.circle-2 {
  width: 180px;
  height: 180px;
  bottom: -40px;
  left: -20px;
}

/* ==========================================================================
   SECTION COMMON STYLES
   ========================================================================== */
section {
  padding: 100px 0;
}

.section-header {
  max-width: 700px;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 4rem;
}

.section-tag {
  color: var(--primary-dark);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
  display: inline-block;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* ==========================================================================
   NEDEN BİZ? SECTION
   ========================================================================== */
.neden-biz-section {
  background-color: var(--white);
}

.trust-card {
  padding: 2.5rem 2rem;
  background-color: var(--light);
  border-radius: var(--border-radius-md);
  transition: all var(--transition-normal);
  border: 1px solid transparent;
}

.trust-card:hover {
  transform: translateY(-8px);
  background-color: var(--white);
  border-color: rgba(0, 173, 181, 0.1);
  box-shadow: var(--shadow-lg);
}

.card-icon-wrapper {
  width: 60px;
  height: 60px;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.card-icon {
  width: 30px;
  height: 30px;
}

.trust-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.trust-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ==========================================================================
   TREATMENTS SECTION
   ========================================================================== */
.treatments-grid {
  row-gap: 3rem;
}

.treatment-card {
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  border: 1px solid var(--text-light);
  display: flex;
  flex-direction: column;
}

.treatment-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 173, 181, 0.2);
}

.treatment-img-placeholder {
  height: 120px;
  background: linear-gradient(135deg, var(--primary-light) 0%, rgba(0, 173, 181, 0.02) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  border-bottom: 1px solid var(--text-light);
}

.treatment-card-content {
  padding: 1.75rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.treatment-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.treatment-card-excerpt {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonial-card {
  padding: 2.5rem;
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--primary);
  display: flex;
  flex-direction: column;
}

.rating {
  margin-bottom: 1.25rem;
  font-size: 1.15rem;
}

.review-text {
  font-style: italic;
  color: var(--text-main);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.review-author {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--text-light);
  padding-top: 1rem;
}

.author-name {
  font-weight: 700;
  color: var(--text-dark);
}

.author-location {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   DOCTORS SECTION
   ========================================================================== */
.doctors-section {
  background-color: var(--white);
}

.doctors-container {
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
  gap: 3rem;
}

.doctor-card {
  background-color: var(--light);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  border: 1px solid var(--text-light);
}

.doctor-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 173, 181, 0.2);
}

.doctor-img-wrapper {
  height: 320px;
  background-color: var(--white);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--text-light);
}

.doctor-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #FFF;
  transition: transform var(--transition-normal);
}

.doctor-card:hover .doctor-img {
  transform: scale(1.03);
}

.doctor-info {
  padding: 2rem;
  text-align: center;
}

.doctor-name {
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}

.doctor-specialty {
  display: inline-block;
  color: var(--primary-dark);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.doctor-bio {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   FAQ SECTION (ACCORDION)
   ========================================================================== */
.faq-section {
  background-color: var(--white);
}

.faq-accordion-container {
  max-width: 800px;
  margin-right: auto;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  border: 1px solid var(--text-light);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  background-color: var(--light);
  transition: all var(--transition-fast);
}

.faq-item.active {
  border-color: rgba(0, 173, 181, 0.3);
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--text-dark);
  text-align: left;
  gap: 1rem;
  transition: all var(--transition-fast);
}

.faq-question:hover {
  color: var(--primary-dark);
}

.faq-icon {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--primary);
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out;
  background-color: transparent;
}

.faq-answer p {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-muted);
  font-size: 1rem;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
  background-color: var(--light);
}

.contact-intro {
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

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

.info-icon {
  width: 44px;
  height: 44px;
  background-color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.info-text strong {
  display: block;
  font-family: var(--font-display);
  color: var(--text-dark);
  font-size: 1rem;
}

.info-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

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

/* Map Placeholder Graphic */
.map-card-placeholder {
  display: block;
  position: relative;
  height: 220px;
  background-color: #E5E7EB;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--text-light);
}

.map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(31, 41, 55, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: background-color var(--transition-fast);
}

.map-card-placeholder:hover .map-overlay {
  background-color: rgba(31, 41, 55, 0.55);
}

.map-btn {
  background-color: var(--white);
  color: var(--dark);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
}

.map-graphic {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.map-street {
  background-color: #D1D5DB;
  position: absolute;
}

.street-h {
  width: 100%;
  height: 16px;
  top: 40%;
  left: 0;
}

.street-v {
  width: 20px;
  height: 100%;
  left: 60%;
  top: 0;
}

.map-marker-point {
  position: absolute;
  top: 40%;
  left: 60%;
  transform: translate(-50%, -50%);
}

.ping-marker {
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(239, 68, 68, 0.3);
  position: absolute;
  top: -10px;
  left: -6px;
  animation: map-ping 2s infinite;
}

.dot-marker {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #EF4444;
  border: 2px solid var(--white);
}

@keyframes map-ping {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(2); opacity: 0; }
}

/* Appointment Form Card */
.form-card {
  padding: 3rem 2.5rem;
}

.form-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.form-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.appointment-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

.form-group label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.form-group input, .form-group select, .form-group textarea {
  border: 1px solid #D1D5DB;
  border-radius: var(--border-radius-sm);
  padding: 0.75rem 1rem;
  background-color: var(--white);
  transition: all var(--transition-fast);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 173, 181, 0.15);
}

.form-disclaimer {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.form-success-message {
  display: none;
  text-align: center;
  padding: 2rem 0;
}

.form-success-message.active {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: fadeUp 0.5s ease forwards;
}

.success-icon {
  width: 60px;
  height: 60px;
  background-color: var(--success-light);
  color: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-weight: bold;
}

@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.main-footer {
  background-color: var(--dark);
  color: var(--text-light);
  padding-top: 80px;
  padding-bottom: 40px;
}

.footer-grid {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 3rem;
  margin-bottom: 2rem;
}

.branding-col .logo-text {
  color: var(--white);
}

.footer-desc {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-col h4 {
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 1.5rem;
  font-family: var(--font-display);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links a {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
  color: var(--secondary);
  padding-left: 0.25rem;
}

.footer-bottom {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   TREATMENT MODAL WINDOW
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(17, 24, 39, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-backdrop.active {
  display: flex;
}

.modal-card {
  background-color: var(--white);
  width: 100%;
  max-width: 600px;
  border-radius: var(--border-radius-md);
  padding: 2.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  position: relative;
  animation: modalPop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes modalPop {
  0% { transform: scale(0.9); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2rem;
  line-height: 1;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--text-dark);
}

.modal-header-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--text-light);
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
}

.modal-icon {
  font-size: 2.25rem;
}

.modal-title {
  font-size: 1.5rem;
}

.modal-body {
  font-size: 1rem;
  color: var(--text-main);
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* ==========================================================================
   SCROLL TO TOP & STICKY ACTION BAR
   ========================================================================== */
.back-to-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-md);
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: bold;
  z-index: 900;
  transition: all var(--transition-fast);
}

.back-to-top-btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.back-to-top-btn.visible {
  display: flex;
  animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.mobile-sticky-action-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: var(--white);
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08);
  z-index: 990;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--text-light);
}

.sticky-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  gap: 0.5rem;
  text-align: center;
  transition: background-color var(--transition-fast);
}

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

.whatsapp-btn:hover {
  background-color: #20ba59;
}

.call-btn {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
}

.call-btn:hover {
  filter: brightness(1.05);
}

.action-icon {
  font-size: 1.2rem;
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVENESS)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 992px) {
  section {
    padding: 80px 0;
  }
  
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .desktop-nav, .header-cta {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .hero-container {
    text-align: center;
    gap: 4rem;
  }
  
  .badge-seo {
    margin-right: auto;
    margin-left: auto;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-visual {
    margin-top: 2rem;
  }
  
  .main-visual-card {
    transform: none;
  }
  
  .main-visual-card:hover {
    transform: none;
  }
  
  .contact-section .grid-2 {
    display: flex;
    flex-direction: column-reverse;
    gap: 4rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  
  .hero-section {
    padding-top: 140px;
    padding-bottom: 70px;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .form-card {
    padding: 2rem 1.5rem;
  }
  
  .mobile-sticky-action-bar {
    display: grid;
  }
  
  /* Prevent floating action bar from overlapping footer content */
  body {
    padding-bottom: 60px;
  }
  
  .back-to-top-btn {
    bottom: 5rem;
  }
  
  .modal-card {
    padding: 1.75rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
