/* ---------------------------------------------------------------
   Dentalange – Full Premium Stylesheet (Refined UX/UI)
   ---------------------------------------------------------------
   Palette & Variables
   --------------------------------------------------------------- */
:root {
  /* Colors */
  --primary:        #009B5A;   /* main green */
  --dark:           #005F3C;   /* dark green */
  --light:          #F2FAF6;   /* light green */
  --white:          #FFFFFF;   /* white */
  --text-dark:      #1F2933;   /* dark text */
  --text-secondary:#667085;   /* secondary text */

  /* Spacing */
  --space-xxs: 0.25rem;
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2rem;
  --space-xl:  3rem;
  --space-xxl: 4rem;

  /* Radii */
  --radius-sm:   12px;
  --radius-md:   20px;
  --radius-lg:   28px;
  --radius-pill: 9999px;

  /* Shadows */
  --shadow-sm:   0 2px 6px rgba(0,0,0,0.08);
  --shadow-md:   0 4px 12px rgba(0,0,0,0.12);
  --shadow-lg:   0 8px 20px rgba(0,0,0,0.16);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
}

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

html {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.6;
  min-height: 100vh;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

ul, ol {
  list-style: none;
}

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

/* ------------------------------------------------------------------
   Utility Classes
   ------------------------------------------------------------------ */
.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
}

.text-center { text-align: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.mt-1 { margin-top: var(--space-xs); }
.mt-2 { margin-top: var(--space-sm); }
.mb-1 { margin-bottom: var(--space-xs); }
.mb-2 { margin-bottom: var(--space-sm); }
.p-1  { padding: var(--space-xs); }
.p-2  { padding: var(--space-sm); }

/* ------------------------------------------------------------------
   Header & Navigation
   ------------------------------------------------------------------ */
.header {
  background: var(--white);
  height: 90px;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: background var(--transition-fast);
}

.header-container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 58px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}

.nav {
  display: flex;
  gap: var(--space-sm);
}

.nav a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: color var(--transition-fast);
}

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

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

.nav a:hover::after {
  width: 100%;
}

/* ------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xs) var(--space-md);
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: background var(--transition-medium), color var(--transition-medium), border-color var(--transition-medium), transform var(--transition-medium), box-shadow var(--transition-medium);
  cursor: pointer;
}

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

.btn-primary:hover {
  background: var(--dark);
  border-color: var(--dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
  background: var(--light);
  border-color: var(--dark);
  color: var(--dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ------------------------------------------------------------------
   Hero Section
   ------------------------------------------------------------------ */
.hero {
  background: var(--light);
  padding: var(--space-xxl) var(--space-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

.hero h1 {
  font-size: 2.5rem;
  color: var(--dark);
  margin-bottom: var(--space-sm);
}

.hero p {
  margin-bottom: var(--space-md);
  color: var(--text-secondary);
}

.hero-image {
  width: 100%;
  max-width: 620px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-top: var(--space-lg);
}

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

/* Mini‑cards inside hero (stats) */
.hero-stats {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  flex-wrap: wrap;
  justify-content: center;
}

.hero-stat {
  background: var(--white);
  border: 1px solid var(--light);
  border-radius: var(--radius-sm);
  padding: var(--space-sm) var(--space-md);
  text-align: center;
  min-width: 120px;
  box-shadow: var(--shadow-sm);
}

.hero-stat h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: var(--space-xxs);
}

.hero-stat p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ------------------------------------------------------------------
   Sections – General
   ------------------------------------------------------------------ */
.section {
  padding: var(--space-xxl) var(--space-sm);
}

.section h2 {
  font-size: 2rem;
  color: var(--dark);
  margin-bottom: var(--space-sm);
  text-align: center;
}

.section p {
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto;
}

/* ------------------------------------------------------------------
   Cards – Treatment
   ------------------------------------------------------------------ */
.treatment-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.treatment-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--transition-medium), box-shadow var(--transition-medium), border var(--transition-medium);
  border: 2px solid transparent;
}

.treatment-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

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

.treatment-card .card-body {
  padding: var(--space-sm);
}

.treatment-card .card-title {
  font-size: 1.3rem;
  color: var(--dark);
  margin-bottom: var(--space-xxs);
}

.treatment-card .card-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* ------------------------------------------------------------------
   Cards – Success Cases
   ------------------------------------------------------------------ */
.cases-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.case-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--transition-medium), box-shadow var(--transition-medium), border var(--transition-medium);
  border: 2px solid transparent;
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

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

.case-card .card-body {
  padding: var(--space-sm);
}

.case-card .card-title {
  font-size: 1.3rem;
  color: var(--dark);
  margin-bottom: var(--space-xxs);
}

.case-card .card-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* ------------------------------------------------------------------
   "Nuestra Esencia" Section
   ------------------------------------------------------------------ */
.essence {
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: var(--space-xxl) var(--space-sm);
  text-align: center;
}

.essence h2 {
  color: var(--dark);
}

.essence p {
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
}

/* ------------------------------------------------------------------
   Values Section
   ------------------------------------------------------------------ */
.values {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.value-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: var(--space-sm);
  text-align: center;
  transition: transform var(--transition-medium), box-shadow var(--transition-medium), border var(--transition-medium);
  border: 2px solid transparent;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.value-card h3 {
  color: var(--dark);
  margin-bottom: var(--space-xxs);
}

.value-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ------------------------------------------------------------------
   Clinical Team Section
   ------------------------------------------------------------------ */
.team {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.team-member {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  text-align: center;
  transition: transform var(--transition-medium), box-shadow var(--transition-medium), border var(--transition-medium);
  border: 2px solid transparent;
}

.team-member:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.team-member img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.team-member .member-info {
  padding: var(--space-sm);
}

.team-member h4 {
  color: var(--dark);
  margin-bottom: var(--space-xxs);
}

.team-member p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ------------------------------------------------------------------
   CTA Final
   ------------------------------------------------------------------ */
.cta-final {
  background: var(--primary);
  color: var(--white);
  padding: var(--space-xxl) var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-box {
  background: var(--white);
  color: var(--dark);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  max-width: 800px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.cta-box h2 {
  margin-bottom: var(--space-sm);
  color: var(--dark);
}

.cta-box p {
  margin-bottom: var(--space-md);
  color: var(--text-secondary);
}

/* ------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------ */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: var(--space-xxl) var(--space-sm);
  text-align: center;
}

.footer a {
  color: var(--light);
  text-decoration: underline;
}

.footer .footer-logo img {
  height: 70px;
  width: auto;
  object-fit: contain;
}

/* ------------------------------------------------------------------
   Hover Premium Effects (global)
   ------------------------------------------------------------------ */
a:hover, .btn:hover, .card:hover {
  /* Individual components already define hover */
}

/* ------------------------------------------------------------------
   Responsive Breakpoints
   ------------------------------------------------------------------ */
@media (min-width: 480px) {
  .hero {
    padding: var(--space-xxl) var(--space-md);
  }
}

@media (min-width: 768px) {
  .hero {
    flex-direction: row;
    text-align: left;
    align-items: center;
    justify-content: space-between;
  }
  .hero-content {
    max-width: 50%;
  }
  .hero-image {
    margin-top: 0;
  }
}

@media (min-width: 1024px) {
  .header-container {
    max-width: var(--max-width);
  }
  .treatment-cards, .cases-cards, .values, .team {
    gap: var(--space-lg);
  }
}

@media (min-width: 1280px) {
  .container {
    width: 85%;
  }
}

/* ------------------------------------------------------------------
   Global link styles
   ------------------------------------------------------------------ */
a {
  color: var(--primary);
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--dark);
}

/* End of Dentalange premium stylesheet */

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 64px;
  height: 64px;
  background: #25D366; /* WhatsApp green */
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  z-index: 9999;
  transition: background var(--transition-medium), transform var(--transition-medium), box-shadow var(--transition-medium);
}
.floating-whatsapp:hover {
  background: #1ebc5c; /* slightly darker */
  transform: scale(1.08);
  box-shadow: var(--shadow-md);
}
.floating-whatsapp svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Compact Treatment Card Styles */
.treatment-card {
  min-height: auto;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.treatment-card img {
  height: 170px;
}

.treatment-card-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
  padding: 18px 22px 22px;
}

.treatment-card h3 {
  font-size: 21px;
  line-height: 1.25;
  margin: 0;
}

.treatment-card p {
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
}

.treatment-price {
  margin: 0;
  font-size: 24px;
}

.treatment-price.free {
  font-size: 26px;
}

.treatment-price small {
  font-size: 12px;
  margin-bottom: 4px;
}

.treatment-card p:last-child {
  margin-top: 0;
  padding-bottom: 0;
}

.treatment-grid {
  align-items: stretch;
  gap: 18px;
}

/* Treatment link style */
.treatment-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition-fast);
}
.treatment-link:hover {
  color: var(--dark);
}
.treatment-link span {
  transition: transform var(--transition-fast);
}
.treatment-link:hover span {
  transform: translateX(4px);
}


/* ---------------------------------------------------------------
   Additional fixes for Header, Hero, Buttons, Features and Responsive
   --------------------------------------------------------------- */

/* 1. Header desktop */
.header {
  position: sticky;
  top: 0;
  z-index: 999;
  height: 96px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(0,0,0,.06);
}

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

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav a {
  text-decoration: none;
  color: #1F2933;
  font-weight: 700;
  font-size: 15px;
}

.menu-btn {
  display: none;
}

.header .btn,
.header .whatsapp,
.header a[href*="wa.me"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  background: #009B5A;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(0,155,90,.22);
}

/* 2. Hero buttons */
.hero-buttons,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}

.hero-buttons a,
.hero-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 30px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-buttons a:first-child,
.hero-actions a:first-child {
  background: #009B5A;
  color: #fff;
  box-shadow: 0 12px 28px rgba(0,155,90,.22);
}

.hero-buttons a:first-child:hover,
.hero-actions a:first-child:hover,
.hero-buttons a:first-child:focus-visible,
.hero-actions a:first-child:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(0,155,90,.28);
}

.hero-buttons a:first-child:active,
.hero-actions a:first-child:active {
  transform: translateY(1px);
  box-shadow: 0 10px 20px rgba(0,155,90,.24);
}

.hero-buttons a:last-child,
.hero-actions a:last-child {
  background: #fff;
  color: #005F3C;
  border: 1px solid rgba(0,155,90,.25);
}

.hero-buttons a:last-child:hover,
.hero-actions a:last-child:hover,
.hero-buttons a:last-child:focus-visible,
.hero-actions a:last-child:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0,0,0,.08);
}

.hero-buttons a:last-child:active,
.hero-actions a:last-child:active {
  transform: translateY(1px);
  box-shadow: 0 8px 16px rgba(0,0,0,.06);
}

/* 3. Hero layout */
.hero {
  min-height: 720px;
  padding: 80px 6%;
  background: #F2FAF6;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1px);
  gap: 70px;
  align-items: center;
}

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

.hero h1,
.hero h2 {
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

.hero p {
  font-size: 18px;
  color: #667085;
  max-width: 560px;
}

.hero-image img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  display: block;
  border-radius: 32px;
  box-shadow: 0 28px 70px rgba(0,0,0,.12);
}

/* 4. Beneficios del hero */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 30px 0 0;
  list-style: none;
}

.features div,
.features li {
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.05);
  border: 1px solid rgba(0,155,90,.10);
  font-weight: 700;
}

/* 5. Responsive */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 60px 5%;
  }

  .hero-image img {
    height: 420px;
  }

  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 20px;
    right: 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 14px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0,0,0,.12);
    z-index: 1100;
  }

  .nav.nav-open {
    display: flex;
  }

  .nav a {
    display: block;
    padding: 10px 4px;
    border-bottom: 1px solid rgba(0,0,0,.06);
  }

  .nav a:last-child {
    border-bottom: 0;
  }

  .menu-btn {
    display: block;
    position: relative;
    z-index: 1200;
  }
}


/* ---------------------------------------------------------------
   Premium Header UX/UI Refinements
   --------------------------------------------------------------- */

/* Overall header dimensions */
.header {
  height: 104px; /* increased height for more presence */
  /* keep sticky, background, shadow from previous styles */
}

/* Centered container with wider max-width and side padding */
.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo – larger and spaced from left edge */
.logo {
  margin-left: 28px; /* 24–32px left spacing */
}

.logo img {
  height: 96px; /* ~20–25% larger than previous 78px */
  max-height: 96px;
  width: auto;
  object-fit: contain;
}

/* Navigation spacing */
.nav {
  gap: 48px; /* 40–48px gap as requested */
}

/* Button positioning – move away from right edge */
.header .btn,
.header .whatsapp,
.header a[href*="wa.me"],
.header a[href*="Agendar"],
.header > a:last-child {
  margin-right: 32px; /* 24–40px from right edge */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .header {
    height: 96px; /* keep reasonable height on mobile */
  }
  .logo img {
    height: 58px; /* proportional reduction */
    max-height: 58px;
  }
  .header .btn,
  .header .whatsapp,
  .header a[href*="wa.me"] {
    margin-right: 16px; /* less space on small screens */
  }
}

/* Ensure no subtitle appears – hide any potential subtitle element within header */
.header .logo-subtitle {
  display: none;
}

/* End of premium header refinements */

/* ---------------------------------------------------------------
   Header Refinements
   --------------------------------------------------------------- */

.header {
  height: 96px;
  padding: 0 5%;
}

.header-container,
.header {
  max-width: 1440px;
  margin: 0 auto;
}

.logo img {
  height: 72px;
  max-height: 72px;
  max-width: 260px;
  width: auto;
  object-fit: contain;
}

.header .btn,
.header .whatsapp,
.header a[href*="wa.me"],
.header a[href*="Agendar"],
.header > a:last-child {
  margin-right: 24px;
  height: 52px;
  padding: 0 34px;
  border-radius: 999px;
}

.nav {
  gap: 42px;
}

@media (max-width: 768px) {
  .header {
    padding: 0 5%;
  }

  .logo img {
    height: 58px;
    max-height: 58px;
  }

  .header .btn.btn-primary {
    display: none;
  }

  .header .btn,
  .header .whatsapp,
  .header a[href*="wa.me"] {
    margin-right: 0;
  }
}

/* ---------------------------------------------------------------
   Updated Footer Styles for new structure
   --------------------------------------------------------------- */

.footer {
  background: #005F3C;
  color: #FFFFFF;
  padding: 80px 6% 28px;
  font-family: var(--font-family, 'Inter', Arial, sans-serif);
}

.footer .footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  align-items: flex-start;
}

.footer .footer-brand img {
  height: 72px;
  width: auto;
  object-fit: contain;
  margin-bottom: 20px;
}

.footer .footer-brand p {
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.8;
}

.footer .footer-column h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
  color: #FFFFFF;
}

.footer .footer-column p,
.footer .footer-column a {
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.8;
  color: rgba(255,255,255,.82);
  text-decoration: none;
  display: block;
}

.footer .footer-column a {
  transition: color 0.3s, transform 0.3s;
}

.footer .footer-column a:hover {
  color: #F2FAF6; /* light green/white */
  transform: translateX(4px);
}

.footer .footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.15);
  font-size: 14px;
  opacity: 0.75;
  text-align: left;
}

.footer .footer-bottom a {
  color: #FFFFFF;
  text-decoration: underline;
  opacity: 0.9;
  margin: 0 4px;
}

/* Responsive Footer */
@media (max-width: 900px) {
  .footer .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    text-align: center;
  }
  .footer .footer-bottom {
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .footer {
    padding: 60px 5% 24px;
    text-align: center;
  }
  .footer .footer-container {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .footer .footer-brand img {
    margin-left: auto;
    margin-right: auto;
  }
}

/* ---------------------------------------------------------------
   Premium Footer Styles
   --------------------------------------------------------------- */

.footer {
  background: #005F3C;
  color: #FFFFFF;
  padding: 80px 0; /* ample vertical padding */
  font-family: var(--font-family, 'Inter', Arial, sans-serif);
}

.footer .container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer .col {
  display: flex;
  flex-direction: column;
}

.footer .col h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
  opacity: 0.9;
}

.footer .col p,
.footer .col span,
.footer .col a {
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.8;
}

.footer .logo {
  /* expects existing logo styling; ensure size */
  margin-bottom: 20px;
}

.footer .logo img {
  height: 58px;
  width: auto;
}

.footer .col a {
  color: #FFFFFF;
  text-decoration: none;
  position: relative;
  display: inline-block;
  transition: color 0.3s, transform 0.3s;
}

.footer .col a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: rgba(255,255,255,0.3);
  transition: background 0.3s;
}

.footer .col a:hover {
  color: #F2FAF6; /* lighter green/white */
  transform: translateX(4px);
}

.footer .col a:hover::after {
  background: rgba(255,255,255,0.6);
}

.footer .icon-text {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  opacity: 0.8;
}

.footer .icon-text i {
  color: #F2FAF6;
  transition: color 0.3s;
}

.footer .icon-text:hover i {
  color: #FFFFFF;
}

.footer .divider {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin: 40px 0;
}

.footer .bottom {
  font-size: 14px;
  text-align: left;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  opacity: 0.8;
}

.footer .bottom a {
  color: #FFFFFF;
  text-decoration: underline;
  opacity: 0.9;
}

/* Responsive footer */
@media (max-width: 900px) {
  .footer .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }
  .footer .bottom {
    justify-content: center;
    text-align: center;
  }
}

/* End of footer styles */

/* ---------------------------------------------------------------
   Stats, Testimonials, and CTA section styles
   --------------------------------------------------------------- */

.stats {
  margin: 70px auto;
  max-width: 1180px;
  padding: 34px 40px;
  background: linear-gradient(135deg, #F2FAF6, #FFFFFF);
  border: 1px solid rgba(0,155,90,.12);
  border-radius: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  box-shadow: 0 18px 45px rgba(0,0,0,.06);
}

.stats div {
  text-align: center;
  padding: 12px;
}

.stats strong {
  display: block;
  font-size: 34px;
  color: #009B5A;
  margin-bottom: 6px;
}

.stats span {
  display: block;
  color: #667085;
  font-size: 15px;
  font-weight: 600;
}

.testimonials {
  padding: 90px 6%;
  background: #FFFFFF;
}

.testimonials .center-title {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 52px;
}

.testimonials .center-title h2 {
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.1;
  color: #1F2933;
}

.testimonial-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-grid article {
  background: #FFFFFF;
  border: 1px solid rgba(0,155,90,.12);
  border-radius: 24px;
  padding: 34px;
  box-shadow: 0 14px 35px rgba(0,0,0,.06);
  transition: .3s ease;
}

.testimonial-grid article:hover {
  transform: translateY(-6px);
  border-color: #009B5A;
  box-shadow: 0 22px 50px rgba(0,155,90,.16);
}

.stars {
  color: #F5A400;
  letter-spacing: 3px;
  font-size: 20px;
  margin-bottom: 18px;
}

.testimonial-grid p {
  color: #667085;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 22px;
}

.testimonial-grid strong {
  color: #1F2933;
  font-size: 16px;
}

.cta {
  max-width: 1180px;
  margin: 80px auto 0;
  background: linear-gradient(135deg, #005F3C, #009B5A);
  color: #FFFFFF;
  border-radius: 32px;
  padding: 70px 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,95,60,.25);
}

.cta h2 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.1;
  margin-bottom: 16px;
}

.cta p {
  font-size: 18px;
  opacity: .9;
  margin-bottom: 28px;
}

.cta .btn,
.cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 30px;
  border-radius: 999px;
  background: #FFFFFF;
  color: #005F3C;
  text-decoration: none;
  font-weight: 800;
}

.cta img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 24px;
  display: block;
}

@media (max-width: 900px) {
  .stats,
  .testimonial-grid,
  .cta {
    grid-template-columns: 1fr;
  }

  .stats {
    margin: 50px 5%;
  }

  .cta {
    margin: 60px 5% 0;
    padding: 44px 28px;
  }
}

@media (max-width: 600px) {
  .stats {
    grid-template-columns: 1fr;
  }

  .testimonials {
    padding: 60px 5%;
  }
}


/* ---------------------------------------------------------------
   Styles for "Why choose Dentalange" and "Our star treatments" sections
   --------------------------------------------------------------- */

.why,
.treatments {
  padding: 90px 6%;
  background: #FFFFFF;
}

.why {
  display: grid;
  grid-template-columns: 0.8fr 1.4fr;
  gap: 56px;
  align-items: start;
}

.section-intro h2,
.center-title h2 {
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.1;
  color: #1F2933;
  margin-bottom: 16px;
}

.section-intro p,
.center-title p {
  font-size: 18px;
  color: #667085;
  line-height: 1.7;
}

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

.cards article,
.cards .card {
  background: #FFFFFF;
  border: 1px solid rgba(0,155,90,.12);
  border-radius: 24px;
  padding: 32px 26px;
  box-shadow: 0 14px 35px rgba(0,0,0,.06);
  transition: .3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.cards article:hover,
.cards .card:hover {
  transform: translateY(-6px);
  border-color: #009B5A;
  box-shadow: 0 22px 50px rgba(0,155,90,.16);
}

.cards article .icon-badge,
.cards .card .icon-badge,
.cards article span,
.cards .card span {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #EAF8F1;
  color: #009B5A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}

.cards article .icon-badge i,
.cards .card .icon-badge i {
  font-size: 24px;
}

.cards article h3,
.cards .card h3 {
  font-size: 21px;
  color: #1F2933;
  margin: 0;
}

.cards article p,
.cards .card p {
  color: #667085;
  line-height: 1.6;
  font-size: 15px;
  margin: 0;
}

.center-title {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

.treatment-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.treatment-card {
  background: #FFFFFF;
  border: 1px solid rgba(0,155,90,.12);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 14px 35px rgba(0,0,0,.06);
  transition: .3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.treatment-card:hover {
  transform: translateY(-6px);
  border-color: #009B5A;
  box-shadow: 0 22px 50px rgba(0,155,90,.16);
}

.treatment-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.treatment-card h3 {
  margin: 20px 20px 10px;
  font-size: clamp(1.25rem, 1.5vw, 1.7rem);
  line-height: 1.18;
  font-weight: 700;
  color: #1F2933;
}

.treatment-card > p {
  margin: 0 22px 14px;
  font-size: clamp(0.95rem, 1vw, 1.08rem);
  line-height: 1.55;
  color: #667085;
}

.treatment-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid rgba(0,155,90,.25);
  color: #005F3C;
  text-decoration: none;
  font-weight: 700;
  margin-bottom: 24px;
}

.treatment-card a:hover {
  background: #009B5A;
  color: #FFFFFF;
}

@media (max-width: 1100px) {
  .why {
    grid-template-columns: 1fr;
  }
  .cards,
  .treatment-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .why,
  .treatments {
    padding: 60px 5%;
  }
  .cards,
  .treatment-grid {
    grid-template-columns: 1fr;
  }
}


/* Treatment price styling */
.treatment-price {
  margin: 6px 20px 10px;
  font-size: clamp(1.15rem, 1.25vw, 1.4rem);
  font-weight: 700;
  color: #667085;
  text-align: center;
  line-height: 1.25;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.treatment-price small {
  display: block;
  font-size: 0.78em;
  font-weight: 500;
  letter-spacing: .08em;
  color: #667085;
  text-transform: uppercase;
  margin-bottom: 0;
  line-height: 1.2;
}
.treatment-price.free {
  color: #667085;
  font-size: clamp(1.3rem, 1.5vw, 1.65rem);
  font-weight: 700;
  letter-spacing: .01em;
}

/* Grid layout fix for treatments */
.treatments,
.treatments-page,
section.treatments {
  width: 100% !important;
  max-width: none !important;
  padding: 90px 6% !important;
  margin: 0 auto !important;
  background: #FFFFFF;
}

.treatment-grid {
  width: 100% !important;
  max-width: 1400px !important;
  margin: 0 auto !important;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
  justify-content: center !important;
}

.treatment-card {
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  min-height: auto !important;
  display: flex !important;
  flex-direction: column !important;
  background: #FFFFFF;
  border: 1px solid rgba(0,155,90,.14);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 14px 35px rgba(0,0,0,.06);
}

.treatment-card img {
  width: 100% !important;
  height: 170px !important;
  object-fit: cover !important;
  display: block !important;
}

.treatment-card a,
.treatment-link {
  display: none !important;
}

@media (max-width: 1200px) {
  .treatment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .treatment-grid {
    grid-template-columns: 1fr;
  }
}

/* Price color override for all treatment cards */
.treatment-price,
.treatment-price strong,
.treatment-card .price,
.treatment-card .price strong {
    color: #667085 !important;
}

.treatment-card h3 {
  min-height: auto !important;
  font-size: clamp(1.25rem, 1.5vw, 1.7rem) !important;
  line-height: 1.18 !important;
  font-weight: 700 !important;
  margin: 20px 20px 10px !important;
}

.treatment-card > p,
.treatment-card p {
  font-size: clamp(0.95rem, 1vw, 1.08rem) !important;
  line-height: 1.55 !important;
  margin: 0 22px 14px !important;
  color: #667085 !important;
}

.treatment-price {
  font-size: clamp(1.15rem, 1.25vw, 1.4rem) !important;
  font-weight: 700 !important;
  color: #667085 !important;
  margin: 6px 20px 10px !important;
  line-height: 1.25 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 2px !important;
}

.treatment-price small {
  font-size: 0.78em !important;
  letter-spacing: .08em !important;
  color: #667085 !important;
  margin-bottom: 0 !important;
  line-height: 1.2 !important;
}

.treatment-price.free {
  font-size: clamp(1.3rem, 1.5vw, 1.65rem) !important;
  color: #667085 !important;
}

.treatment-card ul {
  margin: 0 20px 22px !important;
  padding: 0 !important;
  list-style: none !important;
}

.treatment-card li {
  font-size: clamp(0.95rem, 1vw, 1.08rem) !important;
  line-height: 1.5 !important;
  color: #667085 !important;
}

/* Privacy page */
.privacy-page {
  padding: 72px 24px;
  background: #fff;
}

.privacy-hero,
.privacy-content {
  width: min(100%, 900px);
  margin-inline: auto;
}

.privacy-hero {
  margin-bottom: 40px;
  text-align: center;
}

.privacy-hero h1 {
  margin-bottom: 10px;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.1;
  color: #1F2933;
}

.privacy-hero p {
  color: #667085;
}

.privacy-content h2 {
  margin: 36px 0 12px;
  font-size: 1.45rem;
  color: #1F2933;
}

.privacy-content p,
.privacy-content li {
  color: #5f6878;
  font-size: 1rem;
  line-height: 1.75;
}

.privacy-content ul {
  padding-left: 24px;
}

.privacy-content a {
  color: #009f68;
  font-weight: 600;
  text-decoration: none;
}

.privacy-content a:hover {
  text-decoration: underline;
}

/* Cases section */
.cases-section {
  padding: 80px 6%;
  background: #FFFFFF;
}

.cases-section .center-title {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.cases-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 28px !important;
  align-items: start !important;
}

.case-card {
  background: #FFFFFF;
  border: 1px solid rgba(0,155,90,.14);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 14px 35px rgba(0,0,0,.06);
  transition: .3s ease;
}

.case-card:hover {
  transform: translateY(-6px);
  border-color: #009B5A;
  box-shadow: 0 22px 50px rgba(0,155,90,.16);
}

.case-card img {
  width: 100% !important;
  height: 280px !important;
  object-fit: cover !important;
  display: block !important;
}

.case-content {
  padding: 26px;
  text-align: center;
}

.case-content h3 {
  font-size: 22px;
  color: #1F2933;
  margin-bottom: 10px;
}

.case-content p {
  font-size: 15px;
  color: #667085;
  line-height: 1.6;
}

@media (max-width: 1000px) {
  .cases-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 600px) {
  .cases-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Premium – Nosotros */
.nosotros-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-xxl) var(--space-sm);
  background: var(--light);
  border-radius: var(--radius-lg);
}
@media (min-width: 768px) {
  .nosotros-hero { flex-direction: row; text-align: left; }
}
.nosotros-hero-left { max-width: 560px; }
.nosotros-hero-right .hero-image {
  width: 100%;
  max-width: 560px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}
.nosotros-hero .hero-buttons {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
}
.nosotros-card.stat-card {
  background: var(--white);
  padding: var(--space-sm);
  text-align: center;
  border: 1px solid var(--light);
  border-radius: var(--radius-md);
}
.nosotros-essence {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-top: var(--space-xxl);
}
@media (min-width: 768px) {
  .nosotros-essence { flex-direction: row; }
}
.essence-left, .essence-right { flex: 1; }
.benefits-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-md);
}
.benefit-content h4 {
  margin-bottom: var(--space-xs);
  color: var(--dark);
}
.benefit-content p {
  color: var(--text-secondary);
}
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}
.nosotros-mvv .nosotros-card {
  background: var(--white);
  padding: var(--space-sm);
  text-align: center;
  border: 1px solid var(--light);
  border-radius: var(--radius-md);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}
.gallery-item img {
  border-radius: var(--radius-md);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}
.nosotros-cta .cta-content {
  text-align: center;
  background: var(--primary);
  color: var(--white);
  padding: var(--space-xxl) var(--space-sm);
  border-radius: var(--radius-lg);
}
.nosotros-cta .cta-content .btn {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--primary);
}
/* ===========================
   Premium Nosotros Fix
=========================== */

.nosotros-page{
    background:#fff;
    padding:60px 0 90px;
}

.nosotros-container{
    max-width:1200px;
    width:92%;
    margin:0 auto;
}

.nosotros-hero-clean {
  max-width: 1280px;
  margin: 48px auto 72px;
  padding: 90px 70px;
  text-align: center;
  background: linear-gradient(135deg, #F2FAF6, #FFFFFF);
  border: 1px solid rgba(0,155,90,.12);
  border-radius: 36px;
  box-shadow: 0 22px 60px rgba(0,0,0,.045);
}

.nosotros-hero-clean span {
  display: inline-block;
  color: #009B5A;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.nosotros-hero-clean h1 {
  max-width: 920px;
  margin: 0 auto 24px;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: #1F2933;
}

.nosotros-hero-clean p {
  max-width: 760px;
  margin: 0 auto 36px;
  color: #667085;
  font-size: 19px;
  line-height: 1.75;
}

.nosotros-actions {
  justify-content: center;
}

.nosotros-actions .btn:first-child {
  display: none;
}

.nosotros-actions .btn,
.nosotros-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 34px;
  border-radius: 999px;
  border: 1px solid rgba(0,155,90,.25);
  color: #005F3C;
  background: #FFFFFF;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0,0,0,.04);
  transition: .25s ease;
}

.nosotros-actions .btn:hover,
.nosotros-actions a:hover {
  transform: translateY(-3px);
  border-color: #009B5A;
}

.nosotros-stats-clean{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    max-width:1200px;
    margin:0 auto 70px;
}

.nosotros-card-clean{
    background:#fff;
    border-radius:22px;
    padding:28px 24px;
    text-align:center;
    border:1px solid rgba(0,155,90,.10);
    box-shadow:0 12px 35px rgba(0,0,0,.05);
    transition:.30s;
}

.nosotros-card-clean h3{
    font-size:20px;
}

.nosotros-card-clean p{
    font-size:16px;
}

.nosotros-card-clean:hover{
    transform:translateY(-6px);
    box-shadow:0 22px 45px rgba(0,155,90,.12);
}

.nosotros-essence-grid,
.nosotros-mvv-grid{
    max-width:1200px;
    margin:0 auto 70px;
    gap:20px;
}


.nosotros-icon{
    width:74px;
    height:74px;
    margin:0 auto 20px;
    border-radius:50%;
    background:#009B5A;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:32px;
    font-weight:700;
}

.nosotros-card-clean h3{
    font-size:23px;
    color:#1F2937;
    margin-bottom:12px;
}

.nosotros-card-clean p{
    color:#667085;
    line-height:1.7;
}

.nosotros-section-title{
    text-align:center;
    max-width:760px;
    margin:0 auto 50px;
}

.nosotros-section-title span{
    color:#009B5A;
    font-weight:700;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.nosotros-section-title h2{
    font-size:44px;
    color:#1F2937;
    margin:12px 0 18px;
}

.nosotros-section-title p{
    color:#667085;
    line-height:1.8;
}

.nosotros-essence-grid,
.nosotros-mvv-grid,
.nosotros-why-grid{
    display:grid;
    gap:24px;
    margin-bottom:80px;
}

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

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

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

.nosotros-cta-clean{
    margin-top:20px;
    padding:70px;
    text-align:center;
    background:#009B5A;
    color:#fff;
    border-radius:30px;
}

.nosotros-cta-clean h2{
    font-size:46px;
    margin-bottom:16px;
}

.nosotros-cta-clean p{
    font-size:18px;
    opacity:.92;
    margin-bottom:30px;
}

.nosotros-cta-clean .btn{
    background:#fff;
    color:#009B5A;
}

@media(max-width:1100px){

.nosotros-hero-clean{
grid-template-columns:1fr;
}

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

.nosotros-mvv-grid{
grid-template-columns:1fr;
}

}

@media(max-width:768px){

.nosotros-stats-clean,
.nosotros-essence-grid,
.nosotros-why-grid{
grid-template-columns:1fr;
}

.nosotros-hero-clean,
.nosotros-cta-clean{
padding:40px 28px;
}

} 

/* ===========================
   Premium Contact Cards (Contact Page)
   =========================== */

.contact-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 24px 28px;
}

.contact-section .center-title {
  text-align: center;
  margin-bottom: 28px;
}

.contact-section .center-title h2 {
  font-size: 2rem;
  color: #1F2937;
  margin-bottom: 10px;
}

.contact-section .center-title p {
  color: #667085;
  max-width: 700px;
  margin: 0 auto;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0 auto 24px;
}

.contact-card {
  background: #fff;
  border: 1px solid rgba(0,155,90,.10);
  border-radius: 22px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 12px 35px rgba(0,0,0,.05);
  transition: transform .3s, box-shadow .3s;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 45px rgba(0,155,90,.12);
}

.contact-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,155,90,.08);
  border-radius: 50%;
}

.contact-icon i {
  font-size: 1.5rem;
  color: #009B5A;
}

.contact-card h3 {
  font-size: 20px;
  color: #1F2937;
  margin-bottom: 12px;
}

.contact-card p {
  font-size: 16px;
  color: #667085;
  margin-bottom: 16px;
  line-height: 1.5;
  flex-grow: 1;
}

.contact-card .btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  font-size: 14px;
  color: #009B5A;
  border: 1px solid #009B5A;
  border-radius: 999px;
  text-decoration: none;
  transition: background-color .2s, color .2s;
}

.contact-card .btn-outline:hover {
  background-color: #009B5A;
  color: #fff;
}

.contact-location-section {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 20px;
  margin-top: 8px;
}

.contact-location-map,
.contact-location-hours {
  background: #fff;
  border: 1px solid rgba(0,155,90,.10);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 12px 35px rgba(0,0,0,.05);
}

.contact-location-map h3,
.contact-location-hours h3 {
  font-size: 1.25rem;
  color: #1F2937;
  margin-bottom: 16px;
}

.map-wrapper {
  border-radius: 16px;
  overflow: hidden;
}

.map-wrapper iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
}

.contact-location-hours p {
  color: #667085;
  font-size: 16px;
  line-height: 1.8;
}

.contact-page {
  padding-top: 30px;
  padding-bottom: 0;
}

@media (max-width: 1024px) {
  .contact-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-location-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: 24px 18px 20px;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .contact-location-map,
  .contact-location-hours {
    padding: 20px;
  }

  .map-wrapper iframe {
    min-height: 280px;
  }
}
