/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
  /* Color Palette */
  --primary-color: #0B3D91;      /* Azul Profundo (15%) */
  --primary-dark: #072559;
  --primary-light: #1A54B8;
  --secondary-color: #1E5F74;    /* Azul Petróleo (5%) */
  --secondary-light: #2d829e;
  --accent-color: #00B4D8;       /* Turquesa Médico / Resaltes */
  --accent-gold: #E0A96D;        /* Oro Cálido (Botones Agendar / CTAs de Conversión) */
  --accent-gold-hover: #cf9657;
  --bg-light: #F4F6F8;           /* Gris Claro (5%) */
  --bg-white: #FFFFFF;           /* Blanco (70%) */
  
  /* Text Colors */
  --text-main: #1E293B;          /* Pizarra Oscuro */
  --text-muted: #64748B;         /* Slate */
  --text-light: #F8FAFC;
  
  /* Typography */
  --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
  --font-title: 'Outfit', system-ui, -apple-system, sans-serif;
  
  /* Transitions & Shadows */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 8px rgba(11, 61, 145, 0.04);
  --shadow-md: 0 12px 30px -5px rgba(11, 61, 145, 0.08), 0 4px 12px -2px rgba(11, 61, 145, 0.03);
  --shadow-lg: 0 24px 48px -8px rgba(11, 61, 145, 0.12), 0 8px 24px -4px rgba(11, 61, 145, 0.04);
  --border-radius: 16px;
  --border-radius-lg: 24px;
}

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

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

body {
  font-family: var(--font-primary);
  color: var(--text-main);
  background-color: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

/* Utility Layouts */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 96px 0;
}

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

.hidden {
  display: none !important;
}

/* ==========================================================================
   TYPOGRAPHY & BUTTONS
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  color: var(--primary-color);
  font-weight: 600;
  line-height: 1.25;
}

h1 {
  font-weight: 700;
}

p {
  color: var(--text-muted);
}

/* Section Headers */
.section-header {
  margin-bottom: 56px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--secondary-color);
  background-color: rgba(30, 95, 116, 0.08);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 16px;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.btn-primary {
  background-color: var(--accent-gold);
  color: #1e1100;
  box-shadow: 0 4px 14px rgba(224, 169, 109, 0.3);
}

.btn-primary:hover {
  background-color: var(--accent-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(224, 169, 109, 0.4);
}

.btn-secondary {
  background-color: var(--bg-light);
  color: var(--primary-color);
  border: 1px solid rgba(11, 61, 145, 0.15);
}

.btn-secondary:hover {
  background-color: rgba(11, 61, 145, 0.05);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(11, 61, 145, 0.06);
  transition: var(--transition-smooth);
}

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

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

.logo-icon {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.logo-text .doc-name {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--primary-color);
  line-height: 1.2;
}

.logo-text .doc-specialty {
  font-size: 0.75rem;
  color: var(--secondary-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Navigation Links */
.nav-menu ul {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-main);
  padding: 8px 0;
  position: relative;
}

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

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

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

.btn-nav {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* Mobile Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-toggle .bar {
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  border-radius: 4px;
  transition: var(--transition-smooth);
}

/* Mobile Active Header State */
@media (max-width: 992px) {
  .mobile-menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--bg-white);
    transition: var(--transition-smooth);
    padding: 40px 24px;
    border-top: 1px solid rgba(11, 61, 145, 0.05);
    overflow-y: auto;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-menu ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  
  .nav-link {
    font-size: 1.15rem;
    width: 100%;
    display: block;
  }
  
  .btn-nav {
    width: 100%;
    margin-top: 16px;
    text-align: center;
  }
  
  /* Menu Animate Burger */
  .mobile-menu-toggle.open .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .mobile-menu-toggle.open .bar:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-toggle.open .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding-top: 160px;
  padding-bottom: 96px;
  background: radial-gradient(circle at 80% 20%, rgba(30, 95, 116, 0.04) 0%, rgba(255, 255, 255, 0) 60%),
              linear-gradient(180deg, #FFFFFF 0%, #F4F6F8 100%);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 64px;
}

.hero-content {
  max-width: 600px;
}

.hero-tag {
  display: inline-block;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--secondary-color);
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  padding-left: 12px;
  border-left: 3px solid var(--accent-color);
}

.hero-title {
  font-size: 3rem;
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--primary-color);
  letter-spacing: -0.5px;
}

.hero-description {
  font-size: 1.125rem;
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

/* Hero Image Card Styles */
.hero-image-wrapper {
  display: flex;
  justify-content: center;
}

.hero-image-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  background-color: var(--bg-white);
  padding: 12px;
  border: 1px solid rgba(11, 61, 145, 0.05);
}

.hero-image-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--border-radius);
}

.hero-image-badge {
  position: absolute;
  bottom: 32px;
  left: -24px;
  background-color: var(--primary-color);
  color: var(--bg-white);
  padding: 16px 24px;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--accent-color);
}

.hero-image-badge .badge-number {
  font-family: var(--font-title);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
}

.hero-image-badge .badge-text {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1.3;
}

@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .hero-tag {
    border-left: none;
    padding-left: 0;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-image-badge {
    left: 20px;
    bottom: -16px;
  }
}

/* ==========================================================================
   ¿CUÁNDO CONSULTAR? SECTION (SYMPTOMS)
   ========================================================================== */
.symptoms-section {
  background-color: var(--bg-white);
}

.symptoms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.symptom-card {
  background-color: var(--bg-white);
  padding: 32px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(11, 61, 145, 0.05);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.symptom-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(11, 61, 145, 0.15);
}

.symptom-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(0, 180, 216, 0.08);
  color: var(--secondary-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.symptom-icon svg {
  width: 24px;
  height: 24px;
}

.symptom-card:hover .symptom-icon {
  background-color: var(--primary-color);
  color: var(--bg-white);
}

.symptom-card h3 {
  font-size: 1.2rem;
  color: var(--primary-color);
  font-weight: 600;
}

.symptom-card p {
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ==========================================================================
   SERVICES SECTION (TABS)
   ========================================================================== */
.services-section {
  background-color: var(--bg-light);
}

.services-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  border-bottom: 2px solid rgba(11, 61, 145, 0.06);
  padding-bottom: 12px;
  flex-wrap: wrap;
}

.tab-btn {
  background: transparent;
  border: none;
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 12px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  transition: var(--transition-smooth);
}

.tab-btn .tab-icon {
  width: 20px;
  height: 20px;
  stroke: var(--text-muted);
}

.tab-btn:hover {
  color: var(--primary-color);
}

.tab-btn.active {
  color: var(--primary-color);
  font-weight: 600;
}

.tab-btn.active .tab-icon {
  stroke: var(--primary-color);
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 4px 4px 0 0;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeIn 0.4s ease-in-out;
}

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

/* Services Cards Layout */
.services-subgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 24px;
}

.service-item-card {
  background-color: var(--bg-white);
  padding: 36px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(11, 61, 145, 0.04);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

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

.service-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.service-card-num {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-color);
  opacity: 0.8;
}

.service-item-card h4 {
  font-size: 1.25rem;
  color: var(--primary-color);
  line-height: 1.3;
}

.service-item-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .services-subgrid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   ABOUT ME SECTION
   ========================================================================== */
.about-section {
  background-color: var(--bg-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.about-image-card {
  position: relative;
  border-radius: var(--border-radius-lg);
  padding: 12px;
  background-color: var(--bg-white);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(11, 61, 145, 0.05);
}

.about-image-card img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--border-radius);
}

.about-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background-color: var(--secondary-color);
  color: var(--bg-white);
  padding: 10px 20px;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  font-size: 0.85rem;
}

.about-content-column {
  max-width: 600px;
}

.about-subtitle {
  font-size: 1.25rem;
  color: var(--secondary-color);
  margin-bottom: 24px;
  line-height: 1.4;
}

.about-bio p {
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.about-action {
  margin-top: 32px;
}

/* Collapsible Profile */
.profile-details-wrapper {
  margin-top: 48px;
  animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
  from { opacity: 0; max-height: 0; overflow: hidden; }
  to { opacity: 1; max-height: 2000px; }
}

.profile-card {
  background-color: var(--bg-light);
  padding: 48px;
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(11, 61, 145, 0.06);
}

.profile-title {
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.profile-intro {
  margin-bottom: 20px;
  font-size: 1rem;
}

.profile-lists-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  margin-top: 32px;
}

.profile-list-col h4 {
  font-size: 1.15rem;
  margin-bottom: 16px;
  border-bottom: 2px solid rgba(11, 61, 145, 0.1);
  padding-bottom: 8px;
  color: var(--secondary-color);
}

.profile-list-col ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: var(--text-main);
}

.profile-list-col ul li::before {
  content: "•";
  color: var(--accent-color);
  font-size: 1.5rem;
  position: absolute;
  left: 0;
  top: -4px;
}

/* Why Choose Dr. Sanchez */
.why-choose-wrapper {
  margin-top: 96px;
}

.why-title {
  font-size: 1.75rem;
  margin-bottom: 48px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}

.why-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.why-icon {
  font-size: 1.25rem;
  background-color: rgba(0, 180, 216, 0.08);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-item h5 {
  font-size: 1.15rem;
  color: var(--primary-color);
  margin-bottom: 6px;
}

.why-item p {
  font-size: 0.9rem;
  line-height: 1.5;
}

@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .about-image-card {
    max-width: 440px;
    margin: 0 auto;
  }
  
  .about-image-card img {
    height: 400px;
  }
  
  .profile-lists-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ==========================================================================
   CASES & TESTIMONIALS SECTION
   ========================================================================== */
.cases-section {
  background-color: var(--bg-light);
}

.case-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.case-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.case-tag {
  color: var(--accent-color);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.case-info h4 {
  font-size: 1.75rem;
}

.case-desc {
  font-size: 1rem;
}

.case-metrics {
  display: flex;
  gap: 24px;
  margin-top: 16px;
  border-top: 1px solid rgba(11, 61, 145, 0.08);
  padding-top: 24px;
}

.metric {
  flex: 1;
}

.metric-val {
  display: block;
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 4px;
}

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

.case-gallery {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.case-image-container {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background-color: var(--bg-light);
}

.case-img-box {
  position: relative;
}

.img-label {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: rgba(11, 61, 145, 0.85);
  color: var(--bg-white);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  z-index: 2;
}

.case-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.case-testimonial-quote {
  border-left: 3px solid var(--accent-color);
  padding-left: 20px;
}

.case-testimonial-quote blockquote {
  font-style: italic;
  color: var(--text-main);
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.case-testimonial-quote cite {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-color);
}

@media (max-width: 992px) {
  .case-card {
    grid-template-columns: 1fr;
    padding: 32px;
    gap: 32px;
  }
}

/* ==========================================================================
   BLOG SECTION
   ========================================================================== */
.blog-section {
  background-color: var(--bg-white);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
  margin-bottom: 56px;
}

.blog-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(11, 61, 145, 0.05);
  transition: var(--transition-smooth);
}

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

.blog-card-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.blog-card-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--accent-color);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.blog-card-content h3 {
  font-size: 1.25rem;
  color: var(--primary-color);
}

.blog-card-content p {
  font-size: 0.9rem;
  line-height: 1.5;
}

.blog-read-more {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--secondary-color);
  margin-top: 8px;
}

.blog-list-topics {
  border-top: 1px solid rgba(11, 61, 145, 0.06);
  padding-top: 36px;
}

.blog-list-topics h4 {
  font-size: 1.15rem;
  margin-bottom: 16px;
  color: var(--primary-color);
}

.topics-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.topic-tag {
  background-color: var(--bg-light);
  color: var(--secondary-color);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
}

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

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-lead {
  font-size: 1.125rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 16px 0;
}

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

.c-icon {
  width: 44px;
  height: 44px;
  background-color: rgba(11, 61, 145, 0.06);
  color: var(--primary-color);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.c-icon svg {
  width: 20px;
  height: 20px;
}

.contact-detail-item h6 {
  font-size: 0.95rem;
  color: var(--primary-color);
  margin-bottom: 4px;
}

.contact-detail-item p {
  font-size: 0.9rem;
  color: var(--text-main);
}

.contact-detail-item p a:hover {
  color: var(--primary-color);
}

.social-channels h6 {
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  background-color: var(--bg-white);
  border: 1px solid rgba(11, 61, 145, 0.1);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--secondary-color);
}

.social-link:hover {
  background-color: var(--secondary-color);
  color: var(--bg-white);
}

/* Contact Form Card styling */
.form-card {
  background-color: var(--bg-white);
  padding: 48px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(11, 61, 145, 0.05);
}

.form-card h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.form-card p {
  font-size: 0.9rem;
  margin-bottom: 32px;
}

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

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

label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 6px;
}

input, select, textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid rgba(11, 61, 145, 0.15);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  background-color: var(--bg-white);
  color: var(--text-main);
  transition: var(--transition-smooth);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(30, 95, 116, 0.1);
}

textarea {
  resize: vertical;
}

/* Form Message */
.form-message {
  margin-top: 16px;
  padding: 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  display: none;
  text-align: center;
}

.form-message.success {
  display: block;
  background-color: rgba(40, 167, 69, 0.1);
  color: #155724;
  border: 1px solid rgba(40, 167, 69, 0.2);
}

.form-message.error {
  display: block;
  background-color: rgba(220, 53, 69, 0.1);
  color: #721c24;
  border: 1px solid rgba(220, 53, 69, 0.2);
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .form-card {
    padding: 32px;
  }
}

@media (max-width: 480px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.main-footer {
  background-color: var(--primary-dark);
  color: var(--bg-light);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 64px;
  margin-bottom: 48px;
}

.footer-col-about {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.footer-logo img {
  filter: brightness(0) invert(1);
}

.footer-logo span {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--bg-white);
}

.footer-col-about p {
  font-size: 0.9rem;
  color: rgba(244, 246, 248, 0.7);
  line-height: 1.6;
}

.footer-col-links h6, .footer-col-legal h6 {
  font-family: var(--font-title);
  color: var(--bg-white);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col-links ul, .footer-col-legal ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col-links ul a, .footer-col-legal ul a {
  font-size: 0.9rem;
  color: rgba(244, 246, 248, 0.7);
}

.footer-col-links ul a:hover, .footer-col-legal ul a:hover {
  color: var(--bg-white);
  padding-left: 4px;
}

.licence-text {
  font-size: 0.8rem;
  color: rgba(244, 246, 248, 0.4);
  margin-top: 16px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(244, 246, 248, 0.5);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
