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

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

:root { 
  /* NATIONAL GEOGRAPHIC INSPIRED COLOR PALETTE */
  --bg-crema: #F8F4EA; 
  --sage-light: #87A96B;       /* Verde claro principal - reemplaza azul */
  --sage-medium: #6B8E23;     /* Verde medio */
  --sage-dark: #556B2F;       /* Verde oscuro */
  --cream-white: #FFFDF5;     /* Blanco crema */
  --off-white: #f8f4e8;
  --warm-gray: #8B8378;       /* Gris cálido */
  --earth-brown: #8B4513;     /* Marrón tierra */
  --coral-accent: #E2725B;    /* Coral suave */
  --emerald-luxury: var(--sage-medium);    /* Verde sage para botones */
  --editorial-green: #047857; /* Nuevo verde esmeralda para acentos */
  
  /* Neutral Tones */
  --white: #FFFFFF;
  --gray-light: #f5f5f0;
  --text-gray: #5A5A5A;
  
  /* Compatibility Variables */
  --primary: var(--sage-light);
  --secondary: var(--sage-medium);
  --accent-emerald: var(--sage-light);
  --background: var(--bg-crema);
  --surface: var(--cream-white);
  --text-dark: var(--sage-dark);
  --navy-deep: #0A2463;       /* Azul marino oscuro para contraste */
  --success: var(--sage-medium);
  --radius: 8px;              /* Bordes más suaves */
} 

body { 
  background-color: var(--bg-crema) !important; 
  color: var(--sage-dark); 
  font-family: 'Inter', sans-serif; 
  line-height: 1.8; 
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  margin: 0;
} 

html, body { overflow-x: hidden; }

/* Internal link style for consistent visual identification */
.internal-link {
  color: var(--navy-deep);
  text-decoration: underline;
  font-weight: 600;
}
.internal-link:hover {
  color: var(--emerald-luxury);
}

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

/* Small disclosure style for affiliate notes */
.disclosure-small {
    font-size: 0.85rem;
    color: #94a3b8;
    font-style: italic;
    text-align: center;
    margin: 1.5rem auto 2rem auto;
    max-width: 900px;
}

/* Blog card image normalization */
.blog-image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}
.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}



/* Restore ALL card images to full width */
.blog-thumb img, .related-thumb, .destination-card img, .treatment-card img {
    max-width: 100% !important;
    width: 100% !important;
    height: 200px;
    object-fit: cover;
    display: block;
}

h1, h2, h3, h4, h5, h6, .navbar-brand { 
  font-family: 'Playfair Display', serif !important; 
  font-weight: 600; 
  color: var(--sage-dark); 
  letter-spacing: -0.01em; 
  line-height: 1.3;
  margin-bottom: 1rem;
} 

h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--sage-medium);
  margin-top: 3rem;
}

h3 {
  font-size: 1.5rem;
  color: var(--sage-light);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

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

.section {
    padding: 50px 0;
}

/* Limit text width for readability */
p, .card-text, article {
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* --- COMPONENTS: NAVBAR --- */
.navbar { 
  background-color: var(--bg-crema) !important; 
  border-bottom: 1px solid rgba(10, 36, 99, 0.1); 
  height: 80px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

 

.navbar .container {
    padding: 0 1.2rem;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    margin-right: 12px !important;
}
.navbar .logo { text-decoration: none !important; }
.navbar .logo:hover { text-decoration: none !important; }

.logo .ph-tooth {
    color: var(--sage-medium) !important;
    font-size: 1.8rem;
}

.logo span {
    color: var(--sage-dark) !important;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--sage-dark);
    font-size: 1.5rem;
    text-decoration: none;
}

.nav-links {
    flex: 1;
    display: flex;
    justify-content: center;
    gap: 25px;
    align-items: center;
    flex-wrap: nowrap;
}
 
@media (min-width: 992px) {
  .page-blog .nav-links { margin-left: -72px; }
}
.hamburger { margin-left: 40px; }
.nav-content .logo { order: 1; }
.nav-content .nav-links { order: 2; }
.nav-content .hamburger { order: 3; }

.nav-links a {
    text-decoration: none;
    color: var(--sage-dark);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap !important;
    transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--emerald-luxury); }

/* --- COMPONENTS: HERO --- */
.hero {
    text-align: center;
    padding: 6rem 0 4rem;
    background-color: var(--bg-crema);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    color: #4a5568;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.badge {
    display: inline-block;
    background: rgba(10, 36, 99, 0.1);
    color: var(--navy-deep);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0 0.5rem 1rem;
}

/* --- COMPONENTS: CARDS --- */
.card, .related-card, .blog-card, .booking-card { 
  background: var(--cream-white) !important; 
  border: 1px solid #e5e7eb !important; 
  border-top: 4px solid var(--editorial-green) !important;
  border-radius: var(--radius) !important; 
  box-shadow: none !important; 
  transition: all 0.3s ease; 
  overflow: hidden; 
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
} 

.card:hover, .related-card:hover, .blog-card:hover, .booking-card:hover { 
  transform: none;
  box-shadow: 0 10px 40px rgba(0,0,0,0.05) !important;
  border-color: #e5e7eb !important;
}

/* Critical Image Styles for Cards */
.related-thumb, .blog-thumb img {
    height: 200px;
    max-width: 200px;
    width: auto;
    object-fit: cover;
    display: block;
}

/* Card Body Styles */
.card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-family: 'Playfair Display', serif !important;
    font-weight: 600;
    color: var(--sage-dark) !important;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.card-text {
    color: var(--text-gray) !important;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.card-badge {
    background: var(--sage-light) !important;
    color: var(--cream-white) !important;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 1rem;
}

.related-body, .blog-body {
    padding: 1.5rem;
}

.related-title, .blog-title {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.site-footer .footer-text {
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: left !important;
}

.site-footer .footer-brand .logo { 
  flex-wrap: nowrap !important; 
  max-width: none !important; 
}
.site-footer .footer-brand .logo span { 
  white-space: nowrap !important; 
  font-size: 1.4rem !important;
}

/* --- DYNAMIC CARDS (Destinations & Treatments) --- */
.destination-card, .treatment-card {
    background: var(--cream-white) !important;
    border: 1px solid #e5e7eb !important;
    border-top: 4px solid var(--editorial-green) !important;
    border-radius: var(--radius) !important;
    box-shadow: none !important; 
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
    position: relative;
}

.destination-card:hover, .treatment-card:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 40px rgba(0,0,0,0.05) !important;
    border-color: #e5e7eb !important;
}

/* National Geographic Style Card Headers */
.destination-thumb {
    background: var(--sage-medium) !important;
    padding: 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.destination-thumb::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%2387A96B' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E") !important;
    opacity: 0.3;
}

.clinic-card .destination-thumb {
    padding: 0;
    background: transparent !important;
}

.clinic-card .destination-thumb::before {
    display: none;
}

.clinic-card .destination-thumb::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.05), rgba(0,0,0,0.75));
    z-index: 1;
    pointer-events: none;
}

.clinic-card.destination-card {
    border-top: none !important;
    background: transparent !important;
    height: 300px;
    border-radius: 12px !important;
}

.hamburger {
    background: transparent;
    border: none;
    color: var(--sage-dark);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    display: none;
}
.hamburger:focus { outline: 2px solid rgba(85,107,47,0.3); }

/* --- MOBILE & RESPONSIVE 2026 --- */
@media (max-width: 768px) {
  .container {
    max-width: 100%;
    padding: 0 20px;
  }
  .navbar .container { padding: 0 15px !important; }
  .nav-content { padding: 0 15px; }
  .hamburger { margin: 0 !important; }
  .blog-list {
    margin-top: 40px;
  }
  .calc-grid-horizontal { display: grid !important; }
  .calc-results-horizontal { display: flex !important; }
  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--bg-crema);
    flex-direction: column;
    gap: 0;
    padding: 10px 20px;
    display: none;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    z-index: 9999;
  }
  .nav-links.open { display: flex; }
  .hamburger { display: inline-block; }
  .nav-links a {
    display: block;
    padding: 12px 8px;
    min-height: 44px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }
  .hero h1 {
    font-size: 28px;
  }
  .hero p, body, p, .card-text {
    font-size: 16px;
  }
  .calc-grid-horizontal {
    grid-template-columns: 1fr !important;
  }
  select.form-control, .form-control {
    font-size: 16px;
    padding: 12px;
    appearance: auto;
    -webkit-appearance: menulist;
  }
  table, .comparison-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .price-table {
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
    overflow: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  .tooltip-dark {
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    max-width: 85vw !important;
    pointer-events: auto !important;
    text-align: center;
  }
  .tooltip-dark .tooltip-close {
    display: inline-block;
    margin-left: 8px;
    color: #fff;
    background: rgba(255,255,255,0.15);
    padding: 2px 8px;
    border-radius: 6px;
    cursor: pointer;
  }
}

/* Discreet links inside tables */
table td a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dashed transparent;
}
table td a:hover {
  text-decoration: underline;
}

.article-content a {
  color: inherit;
  text-decoration: none;
}
.article-content a:hover {
  text-decoration: underline;
}
.clinic-card .clinic-overlay {
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 14px;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.45);
}

.clinic-card .clinic-tags {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
    margin-bottom: 0.55rem;
}

.clinic-card .clinic-tag {
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.22);
    color: rgba(255,255,255,0.95);
    padding: 0.28rem 0.6rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1;
}

.clinic-card .clinic-name {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: #ffffff;
    line-height: 1.15;
}

.clinic-card .clinic-location {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.9);
    margin-top: 0.25rem;
}

.clinic-card .destination-thumb {
    height: 100%;
}

.clinic-card img {
    height: 100% !important;
}

.clinics-disclaimer {
    margin-top: 12px;
    font-size: 12px;
    color: #9ca3af;
    text-align: center;
    line-height: 1.4;
}

.treatment-thumb {
    background-color: var(--sage-medium);
    padding: 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.treatment-thumb::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%236B8E23' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E") !important;
    opacity: 0.3;
}

.destination-thumb {
    background-color: var(--sage-medium);
}

.treatment-thumb {
    background-color: var(--sage-medium);
}

.city-title, .treatment-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    line-height: 1.2;
    color: white !important;
}

.city-sub, .treatment-sub {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
}

.destination-body, .treatment-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    color: var(--navy-deep) !important; /* Asegurar contraste */
}

.meta-chips {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.meta-chip {
    background: var(--bg-crema);
    color: var(--navy-deep);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    flex-grow: 1;
}

.feature-list li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.4;
}

.feature-list li::before {
    content: "•";
    color: var(--emerald-luxury);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.card-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px dashed rgba(10, 36, 99, 0.1);
}

.card-footer.dual {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.cta-link {
    color: var(--navy-deep);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

.cta-link:hover {
    color: var(--emerald-luxury);
}

.section-icon {
    font-style: normal;
}

/* --- COMPONENTS: BUTTONS --- */
.btn-primary, .btn-primary-sm, .btn-action-primary, button.btn-primary { 
  background-color: var(--emerald-luxury) !important; 
  border: none !important; 
  padding: 12px 25px !important; 
  font-family: 'Inter', sans-serif; 
  font-weight: 600; 
  text-transform: uppercase; 
  letter-spacing: 1px; 
  border-radius: 6px !important; 
  color: white;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
} 

/* Force unified label for the green menu button across all pages */
.nav-links .btn-primary-sm { font-size: 0 !important; color: #ffffff !important; }
.nav-links .btn-primary-sm::after { content: 'GET FREE QUOTE'; font-size: 0.9rem; color: #ffffff; }

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--navy-deep);
    color: var(--navy-deep);
    padding: 10px 25px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background-color: var(--navy-deep);
    color: white;
}

/* --- COMPONENTS: CALCULATOR --- */
.calculator-card {
    background: var(--off-white);
    border: 1px solid var(--sage-medium);
    border-radius: 12px;
    padding: 1.5rem; /* Reduced padding for compact look */
    text-align: center;
    margin: 2rem auto; /* Centered */
    max-width: 800px; /* Narrower width */
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.calculator-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.calculator-card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--sage-dark);
    font-size: 1.8rem;
    margin: 0 0 1rem;
}

.calculator-card p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 1.6rem;
}

.calc-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.calc-header h2 {
    font-size: 2.2rem;
    color: var(--sage-dark);
    margin-bottom: 0.75rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
}

.calc-header p {
    color: var(--text-gray);
    font-size: 1.15rem;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

.calc-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 968px) {
    .calc-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .calculator-card {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
}

.calc-inputs {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.calc-results {
    background: linear-gradient(135deg, #f8faf9 0%, #f0f7f4 100%);
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid rgba(90, 143, 123, 0.1);
    position: relative;
    overflow: hidden;
}

.calc-results::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--sage-light), var(--sage-medium));
}

.result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(90, 143, 123, 0.1);
    transition: all 0.3s ease;
}

.result-row:hover {
    background: rgba(90, 143, 123, 0.03);
    border-radius: 8px;
    padding: 1rem;
    margin: 0 -0.5rem;
}

.result-row:last-child {
    border-bottom: none;
}

.result-row.highlight {
    background: linear-gradient(135deg, rgba(90, 143, 123, 0.1) 0%, rgba(90, 143, 123, 0.05) 100%);
    margin: 1rem -1rem;
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid rgba(90, 143, 123, 0.15);
    box-shadow: 0 4px 15px rgba(90, 143, 123, 0.1);
.result-row.highlight .label {
    font-weight: 800;
    color: #ffffff;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
}

.result-row .value {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.result-row.highlight .value.success {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(90, 143, 123, 0.2);
}

#savingsDisplay {
    color: var(--sage-medium) !important;
    font-weight: 800 !important;
    font-size: 1.3rem !important;
}

.result-row .value.danger {
    color: #dc3545;
}

.savings-meter {
    height: 12px;
    background: rgba(90, 143, 123, 0.1);
    border-radius: 6px;
    margin: 1.5rem 0;
    overflow: hidden;
    position: relative;
}

.savings-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--sage-light), var(--sage-medium));
    border-radius: 6px;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    width: 0%;
    box-shadow: 0 2px 8px rgba(90, 143, 123, 0.3);
}

.btn-toggle-details {
    background: rgba(90, 143, 123, 0.1);
    border: 2px solid var(--sage-light);
    color: var(--sage-medium);
    font-weight: 600;
    cursor: pointer;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

.btn-toggle-details:hover {
    background: var(--sage-light);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(90, 143, 123, 0.3);
}

.breakdown-details {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    border: 2px solid rgba(90, 143, 123, 0.15);
    display: none;
    backdrop-filter: blur(10px);
}

.breakdown-details.visible {
    display: block;
    animation: fadeInUp 0.4s ease;
}

.bd-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(90, 143, 123, 0.1);
    font-size: 0.95rem;
}

.bd-row:last-child {
    border-bottom: none;
}

.bd-row span:first-child {
    color: var(--sage-dark);
    font-weight: 500;
}

.bd-row span:last-child {
    color: var(--text-dark);
    font-weight: 600;
}

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

/* --- CALCULATOR ENHANCEMENTS --- */
.calc-cta {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(90, 143, 123, 0.1) 0%, rgba(90, 143, 123, 0.05) 100%);
    border: 2px solid rgba(90, 143, 123, 0.2);
    border-radius: 16px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.calc-cta.visible {
    opacity: 1;
    transform: translateY(0);
}

.cta-icon {
    font-size: 2rem;
    background: var(--sage-light);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(90, 143, 123, 0.3);
}

.cta-content h4 {
    color: var(--sage-dark);
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.cta-content p {
    color: var(--text-gray);
    margin: 0;
    font-size: 0.95rem;
}

.calc-cta .btn-primary {
    white-space: nowrap;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .calc-cta {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }
    
    .cta-icon {
        margin: 0 auto;
    }
}

/* Error Handling */
.calc-error {
    background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 100%);
    border: 2px solid #feb2b2;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.calc-error.visible {
    opacity: 1;
    transform: translateY(0);
}

.error-icon {
    font-size: 1.5rem;
    color: #e53e3e;
}

.error-message {
    color: #742a2a;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Savings Display Enhancements */
.savings-amount {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--sage-medium) !important;
}

.savings-percent {
    font-size: 1rem;
    color: var(--sage-dark);
    font-weight: 600;
    margin-left: 0.5rem;
}

/* Form Improvements */
.form-group {
    position: relative;
}

.form-group select:focus,
.form-group input:focus {
    border-color: var(--sage-medium);
    box-shadow: 0 0 0 3px rgba(90, 143, 123, 0.1);
}

/* Loading States */
.calculator-card.loading {
    opacity: 0.7;
    pointer-events: none;
}

.calculator-card.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.calculator-card.loading::before {
    content: '⏳';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    z-index: 11;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.form-group {
    margin-bottom: 1.75rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--sage-dark);
    font-size: 0.95rem;
    letter-spacing: 0.01em;
}

.form-control {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(135, 169, 107, 0.2);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    background: var(--white);
    color: var(--sage-dark);
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(86, 107, 47, 0.05);
}

.form-control:focus {
    outline: none;
    border-color: var(--sage-light);
    box-shadow: 0 0 0 3px rgba(135, 169, 107, 0.15);
    transform: translateY(-1px);
}

.value, .price, .savings-amount {
    font-family: 'JetBrains Mono', monospace !important;
    font-weight: 700;
    color: var(--sage-medium) !important;
}

/* Savings Bar - National Geographic Style */
.savings-meter {
    height: 12px;
    background: rgba(135, 169, 107, 0.15);
    border-radius: 999px;
    margin: 2rem 0;
    overflow: hidden;
    position: relative;
}

.savings-meter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        rgba(135, 169, 107, 0.1) 0%, 
        rgba(107, 142, 35, 0.2) 50%, 
        rgba(86, 107, 47, 0.3) 100%);
    border-radius: 999px;
}

.savings-bar {
    height: 100%;
    background: linear-gradient(90deg, 
        var(--sage-light) 0%, 
        var(--sage-medium) 50%, 
        var(--sage-dark) 100%);
    width: 0%;
    transition: width 1s ease-out;
    border-radius: 999px;
    position: relative;
    z-index: 2;
}

.highlight {
    background: linear-gradient(135deg, var(--sage-light) 0%, var(--sage-medium) 100%) !important;
    color: var(--cream-white) !important;
    padding: 1.5rem;
    border-radius: var(--radius);
    margin: 1.5rem 0;
    text-align: center;
}



.calc-result {
    background: rgba(135, 169, 107, 0.08);
    border: 1px solid rgba(135, 169, 107, 0.12);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.calc-result-title {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--sage-dark);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.calc-amount {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 1.75rem;
    color: var(--sage-medium);
    margin: 0.5rem 0;
}

/* --- COMPONENTS: FOOTER --- */
.site-footer {
    background: linear-gradient(135deg, var(--sage-dark) 0%, var(--sage-medium) 100%) !important;
    color: var(--cream-white);
    padding: 4rem 0 2rem;
    margin-top: 6rem;
    border-top: 4px solid var(--sage-light);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23FFFDF5' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
}

.footer-bottom {
    background: rgba(86, 107, 47, 0.3);
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 253, 245, 0.1);
    position: relative;
    z-index: 2;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-bottom span {
    color: rgba(255, 253, 245, 0.8);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: rgba(255, 253, 245, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    padding: 0.5rem 0;
}

.footer-bottom a:hover {
    color: var(--cream-white);
    transform: translateY(-1px);
}

.footer-bottom .footer-bottom-content > div {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.footer-top {
    display: grid;
    grid-template-columns: minmax(460px, 1.5fr) 1fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
    align-items: start;
}

.footer-brand {
    min-width: 380px;
}

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

.site-footer .logo span { white-space: nowrap !important; }
.logo span { white-space: nowrap; }

.footer-brand .logo { 
    color: var(--cream-white) !important; 
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.8rem;
}

.footer-text {
    color: rgba(255, 253, 245, 0.9);
    line-height: 1.6;
    margin-top: 1rem;
}

.footer-col h4 {
    color: var(--cream-white);
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-list { 
    list-style: none; 
    padding: 0; 
}

.footer-list li { 
    margin-bottom: 0.8rem; 
}

.footer-list a { 
    color: rgba(255, 253, 245, 0.8); 
    text-decoration: none; 
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-list a:hover { 
    color: var(--cream-white); 
    transform: translateX(5px);
}

/* --- COMPONENTS: HOW IT WORKS --- */
.step-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0;
    border-bottom: 1px solid rgba(135, 169, 107, 0.15);
}

.step-detail:last-child {
    border-bottom: none;
}

.step-content {
    padding: 2rem;
}

.step-number {
    display: inline-block;
    background: linear-gradient(135deg, var(--sage-light) 0%, var(--sage-medium) 100%);
    color: var(--cream-white);
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.5rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    box-shadow: 0 8px 25px rgba(86, 107, 47, 0.2);
}

.step-content h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--sage-dark);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.step-content p {
    color: var(--warm-gray);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.step-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: 0 20px 40px rgba(86, 107, 47, 0.15);
}

.step-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.step-image:hover img {
    transform: scale(1.05);
}

/* --- COMPONENTS: BOOKING --- */
.booking-card { text-align: center; padding: 2rem; }
.booking-icon { font-size: 2.5rem; margin-bottom: 1rem; }

/* --- COMPONENTS: BLOG POSTS --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.blog-card {
    background: var(--cream-white);
    border: 1px solid rgba(135, 169, 107, 0.1);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(86, 107, 47, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(86, 107, 47, 0.15);
}

.blog-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--warm-gray);
}

.blog-category {
    background: linear-gradient(135deg, var(--sage-light) 0%, var(--sage-medium) 100%);
    color: var(--cream-white);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.75rem;
}

.blog-title {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--sage-dark);
    font-size: 1.4rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    text-decoration: none;
}

.blog-excerpt {
    color: var(--warm-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.blog-read-more {
    color: var(--sage-medium);
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    margin-top: auto;
}

.blog-read-more:hover {
    color: var(--sage-dark);
    gap: 0.8rem;
}

/* Blog link styles for old blog cards */
.blog-link {
    color: var(--sage-medium) !important;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    margin-top: 1rem;
}

.blog-link:hover {
    color: var(--sage-dark) !important;
    gap: 0.8rem;
}

/* Conversion Banner Styles */
.conversion-banner {
    background: linear-gradient(135deg, rgba(135, 169, 107, 0.1) 0%, rgba(107, 142, 35, 0.15) 100%);
    border: 2px solid rgba(135, 169, 107, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    margin: 1.5rem 0;
    box-shadow: 0 5px 20px rgba(86, 107, 47, 0.1);
    backdrop-filter: blur(5px);
}

.conversion-banner h2 {
    color: var(--sage-dark);
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.conversion-banner p {
    color: var(--warm-gray);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.conversion-banner .btn-cta-large {
    background: linear-gradient(135deg, var(--sage-medium) 0%, var(--sage-dark) 100%);
    color: white !important;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 8px 30px rgba(86, 107, 47, 0.3);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.conversion-banner .btn-cta-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(86, 107, 47, 0.4);
}

/* Transparency box styles */
.transparency-box {
    background: rgba(135, 169, 107, 0.05);
    border-left: 4px solid var(--sage-medium);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0 1rem 0;
    font-style: italic;
    color: var(--warm-gray);
    font-size: 0.95rem;
}

.transparency-box::before {
    content: '✓';
    color: var(--sage-medium);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Floating CTA Button Styles */
.floating-cta {
    display: block;
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, var(--sage-medium) 0%, var(--sage-dark) 100%);
    color: white !important;
    text-decoration: none;
    padding: 1.2rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 8px 30px rgba(86, 107, 47, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    text-align: center;
    min-width: 280px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.floating-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(86, 107, 47, 0.4);
    background: linear-gradient(135deg, var(--sage-light) 0%, var(--sage-medium) 100%);
}

/* Related Articles Section Improvements */
.related-header {
    text-align: center;
    margin-bottom: 3rem;
}

.related-header h3 {
    font-size: 2.2rem;
    color: var(--sage-dark);
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
}

.related-header h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--sage-light), var(--sage-medium));
    margin: 1rem auto 0;
    border-radius: 2px;
}

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

.related-card {
    background: var(--cream-white) !important;
    border: 1px solid rgba(135, 169, 107, 0.15) !important;
    border-radius: var(--radius) !important;
    box-shadow: 0 4px 20px rgba(86, 107, 47, 0.08) !important;
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(86, 107, 47, 0.15) !important;
    border-color: var(--sage-light) !important;
}

.related-thumb {
    height: 220px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-card:hover .related-thumb {
    transform: scale(1.05);
}

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

.related-card h4 {
    font-size: 1.3rem;
    color: var(--sage-dark);
    margin-bottom: 0.8rem;
    font-family: 'Playfair Display', serif;
    line-height: 1.3;
}

.related-card p {
    color: var(--text-gray);
    margin-bottom: 1.2rem;
    flex-grow: 1;
    line-height: 1.5;
}

.related-card .blog-link {
    margin-top: auto;
    align-self: flex-start;
}

/* Related link styles for You Might Also Like section */
.related-link {
    color: var(--sage-medium) !important;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    margin-top: 1rem;
}

.related-link:hover {
    color: var(--sage-dark) !important;
    gap: 0.8rem;
}

/* Mobile Responsive for Floating CTA */
@media (max-width: 768px) {
    .floating-cta {
        bottom: 1.5rem;
        right: 1.5rem;
        left: 1.5rem;
        min-width: auto;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .related-thumb {
        height: 200px;
    }
}

.article-header {
    background: linear-gradient(135deg, rgba(135, 169, 107, 0.05) 0%, rgba(107, 142, 35, 0.1) 100%);
    padding: 5rem 0;
    text-align: center;
    border-bottom: 1px solid rgba(135, 169, 107, 0.1);
}

.article-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.article-meta {
    margin-bottom: 1rem;
    color: var(--text-gray);
    font-family: 'Inter', sans-serif;
}

.article-image {
    max-width: 600px !important;
    width: 100% !important;
    height: auto;
    border-radius: 12px;
    margin: 2rem auto;
    display: block;
    box-shadow: 0 10px 30px -12px rgba(10, 36, 99, 0.15);
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.125rem;
    color: #334155;
}

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

.article-content h2, .article-content h3 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

/* --- COMPONENTS: FAQ --- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(10, 36, 99, 0.1);
    margin-bottom: 1rem;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1rem 0;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--navy-deep);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding-bottom: 1rem;
    color: var(--text-gray);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 1000px;
    opacity: 1;
    transform: translateY(0);
    padding: 1rem 0;
}

/* --- COMPONENTS: MODAL --- */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 36, 99, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--white);
    margin: 10% auto;
    padding: 2rem;
    border: 1px solid #888;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover {
    color: var(--navy-deep);
}

/* --- COMPONENTS: ADS --- */
.ad-banner {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    margin-top: 2rem;
    font-family: 'Inter', sans-serif;
    color: #94a3b8;
}

/* --- RESPONSIVE --- */
@media (max-width: 1200px) {
    .step-detail {
        gap: 3rem;
        padding: 3rem 0;
    }
    
    .step-content h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 900px) {
    .footer-top { grid-template-columns: 1fr 1fr; }
    .calc-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.5rem; }
    .article-title { font-size: 2rem; }
    
    .step-detail {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .step-image {
        order: -1;
    }
    
    .step-number {
        margin: 0 auto 2rem auto;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: left;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-bottom .footer-bottom-content > div {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .step-content {
        padding: 1rem;
    }
    
    .step-content h2 {
        font-size: 1.6rem;
    }
    
    .step-image img {
        height: 300px;
    }
    
    .blog-image {
        height: 200px;
    }
    
    .blog-title {
        font-size: 1.2rem;
    }
    
    .card-title {
        font-size: 1.2rem;
        line-height: 1.4;
    }
    
    .guide-content h3 {
        font-size: 1.2rem;
    }
    
    p, .card-text {
        line-height: 1.7;
        overflow-wrap: break-word;
    }
    
    .destination-card img,
    .treatment-card img {
        width: 100%;
        height: auto;
        object-fit: cover;
        display: block;
    }
    
    .guide-card img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
}

@media (max-width: 600px) {
    .footer-top { grid-template-columns: 1fr; }
    
    .step-detail {
        padding: 2rem 0;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .step-content h2 {
        font-size: 1.4rem;
    }
    
    .step-content p {
        font-size: 1rem;
    }
    
    .step-image img {
        height: 250px;
    }
    
    .blog-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .article-header {
        padding: 3rem 0;
    }
}
/* Travel Tools in Calculator */
.travel-tools-container {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.travel-tools-header {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 0.8rem;
    text-align: center;
    font-weight: 500;
}

.travel-tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
}

.tool-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 0.8rem 0.5rem;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.05);
    text-decoration: none;
    transition: all 0.2s ease;
}

.tool-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border-color: var(--sage-light);
}

.tool-icon {
    font-size: 1.4rem;
    margin-bottom: 0.4rem;
}

.tool-name {
    font-size: 0.75rem;
    color: var(--text-dark);
    font-weight: 500;
}

/* Mobile adjustment for Travel Tools */
@media (max-width: 480px) {
    .travel-tools-grid {
        gap: 0.5rem;
    }
    .tool-card {
        padding: 0.6rem 0.3rem;
    }
    .tool-icon {
        font-size: 1.2rem;
    }
    .tool-name {
        font-size: 0.7rem;
    }
}

/* --- MASTER BUTTONS --- */
.master-btn-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    padding-top: 1rem;
}

.btn-master {
    background-color: transparent;
    border: 2px solid var(--sage-medium);
    color: var(--sage-medium);
    padding: 14px 30px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.btn-master:hover {
    background-color: var(--sage-medium);
    color: var(--cream-white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(107, 142, 35, 0.2);
}

.btn-master::after {
    content: '→';
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.btn-master:hover::after {
    transform: translateX(5px);
}

/* Compact Booking Cards for Calculator */
.compact-card {
    padding: 1rem !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: auto !important;
    min-height: 0 !important;
}

.compact-icon {
    font-size: 1.5rem !important;
    margin-bottom: 0.5rem !important;
}

.compact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.compact-title {
    font-size: 0.9rem !important;
    margin-bottom: 0.5rem !important;
    font-weight: 600 !important;
    color: var(--sage-dark);
}

.btn-compact {
    background: transparent;
    border: 1px solid var(--sage-medium);
    color: var(--sage-medium);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    width: 100%;
    text-align: center;
}

/* --- FORCED MOBILE RESPONSIVENESS (OVERRIDE) --- */
@media (max-width: 768px) {
    /* 1. Force Single Column Grid */
    .grid-3, 
    .blog-grid, 
    .related-grid, 
    .destinations-grid,
    .clinics-grid,
    #clinicsGrid {
        display: grid !important;
        width: 100% !important;
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    /* 2. Card Width & Spacing */
    .card, 
    .destination-card, 
    .treatment-card, 
    .clinic-card, 
    .guide-card, 
    .blog-card,
    .booking-card {
        width: 100% !important;
        min-width: 0 !important; /* Reset any min-width */
        max-width: none !important;
        margin-bottom: 20px !important;
        height: auto !important; /* Allow height to grow */
        display: flex !important;
        flex-direction: column !important;
    }

    /* 3. Image Handling */
    .destination-card img,
    .treatment-card img,
    .clinic-card img,
    .guide-card img,
    .blog-card img,
    .destination-thumb img {
        width: 100% !important;
        height: 250px !important;
        object-fit: cover !important;
        display: block !important;
    }
    
    /* Clinic card specific overlay fix */
    .clinic-card .destination-thumb {
        height: 250px !important;
        padding: 0 !important;
    }

    /* 4. Text Readability & Container Padding */
    .card-body, 
    .guide-content, 
    .blog-content,
    .clinic-overlay {
        padding: 20px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Prevent text collapse */
    p, h3, h4, .card-text, .clinic-name, .clinic-location {
        white-space: normal !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
    }

    /* Font Sizes for Mobile */
    h3, .card-title, .guide-content h3 {
        font-size: 1.3rem !important;
        line-height: 1.4 !important;
    }
    
    p, .card-text {
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }

    /* 5. Container Margins */
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

.btn-compact:hover {
    background: var(--sage-medium);
    color: white;
}

@media (max-width: 640px) {
    .grid-3 {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    .compact-card {
        padding: 0.5rem !important;
    }
    .compact-icon {
        font-size: 1.2rem !important;
    }
    .compact-title {
        font-size: 0.75rem !important;
    }
    .btn-compact {
        padding: 0.2rem 0.4rem;
        font-size: 0.7rem;
    }
}

/* COMPACT CALCULATOR OVERRIDE */
.calculator-card {
    max-width: 800px;
    margin: 2rem auto;
    padding: 1.5rem;
}

.calculator-card .calc-results-horizontal {
    max-width: 700px;
    margin: 0.75rem auto 0;
}

.calculator-card .calc-grid-horizontal {
    max-width: 900px;
    margin: 0 auto;
}

.calculator-card .result-item .label {
    font-size: 0.9rem;
    color: var(--text-gray);
}

.calculator-card .result-item .value {
    font-size: 1.15rem;
}

.fab-calculator {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    background-color: #06A77D;
    color: white;
    border-radius: 50px;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fab-calculator:hover {
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .fab-calculator {
        width: 56px;
        height: 56px;
        padding: 0;
        border-radius: 50%;
        justify-content: center;
        gap: 0;
    }
    .fab-calculator span {
        display: none;
    }
}
