
/* =========================================
   DIETLAYA
   Warm, natural, responsive design
   ========================================= */

/* ---------- 1. Design system ---------- */

:root {
  --cream: #f8f5ed;
  --ivory: #fffdf8;
  --beige: #eee4d4;
  --sand: #dfcfb8;
  --sage: #dce7d8;
  --sage-dark: #a9bea3;
  --green: #28513e;
  --green-dark: #193a2c;
  --green-light: #edf3e9;
  --text: #343c34;
  --muted: #70776e;
  --white: #ffffff;
  --border: #e5e2d8;
  --shadow: 0 14px 40px rgba(40, 65, 45, 0.09);
  --shadow-hover: 0 20px 48px rgba(40, 65, 45, 0.15);
  --radius: 18px;
  --radius-large: 28px;
  --content-width: 1160px;
  --transition: 220ms ease;
}

/* ---------- 2. Reset and base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: "Noto Sans", "Noto Sans Devanagari",
    Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
select,
textarea {
  font-family: "Noto Sans", "Noto Sans Devanagari",
    Arial, sans-serif;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--green);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--green-dark);
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 16px;
  color: var(--green-dark);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.3rem);
}

h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0 0 18px;
}

ul,
ol {
  padding-left: 24px;
}

li {
  margin-bottom: 8px;
}

::selection {
  background: var(--sage);
  color: var(--green-dark);
}

:focus-visible {
  outline: 3px solid var(--sage-dark);
  outline-offset: 4px;
}

/* ---------- 3. Reusable layout ---------- */

.container,
.nav-container,
.hero-container,
.footer-container {
  width: min(var(--content-width), calc(100% - 48px));
  margin-inline: auto;
}

section {
  padding: 84px 0;
}

.section-heading {
  max-width: 740px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 15px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.muted,
.text-muted {
  color: var(--muted);
}

.text-center {
  text-align: center;
}

.rounded-image {
  width: 100%;
  border-radius: var(--radius-large);
  object-fit: cover;
}

.hidden {
  display: none !important;
}

/* ---------- 4. Navigation ---------- */

.navbar {
  position: sticky;
  z-index: 1000;
  top: 0;
  width: 100%;
  background: rgba(255, 253, 248, 0.96);
  border-bottom: 1px solid rgba(40, 81, 62, 0.09);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav-container {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo,
.navbar .logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green-dark);
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.logo img,
.navbar .logo img {
  width: auto;
  height: 48px;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.site-footer .logo-footer {
  display: inline-block;
  background: #fbf8ef;
  border-radius: 18px;
  padding: 14px 18px;
}

.site-footer .logo-footer img {
  height: auto;
  width: 170px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2vw, 27px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links li {
  margin: 0;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text);
  font-size: 0.91rem;
  font-weight: 600;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--green);
}

.nav-links a.active {
  box-shadow: inset 0 -2px var(--green);
}

/* Language selector: style works with a select or button */

.language-switcher,
.language-select,
#language-switcher,
#languageSwitcher {
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--ivory);
  color: var(--green-dark);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}

.language-switcher:hover,
.language-select:hover,
#language-switcher:hover,
#languageSwitcher:hover {
  border-color: var(--sage-dark);
  background: var(--green-light);
}

/* ---------- 5. Buttons ---------- */

.btn,
.button,
button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.btn:hover,
.button:hover,
button.btn:hover {
  transform: translateY(-2px);
  background: var(--green-dark);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(25, 58, 44, 0.15);
}

.btn-secondary {
  border-color: var(--green);
  background: transparent;
  color: var(--green);
}

.btn-secondary:hover {
  background: var(--green);
  color: var(--white);
}

.btn-light {
  background: var(--ivory);
  color: var(--green-dark);
}

.btn-light:hover {
  background: var(--sage);
  color: var(--green-dark);
}

.btn-whatsapp {
  background: #287c4b;
  color: var(--white);
}

.btn-whatsapp:hover {
  background: #1d633a;
  color: var(--white);
}

.btn-email {
  border-color: var(--green);
  background: transparent;
  color: var(--green);
}

/* ---------- 6. Homepage split hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 76px;
  background:
    radial-gradient(
      circle at 8% 15%,
      rgba(220, 231, 216, 0.72),
      transparent 35%
    ),
    var(--cream);
}

.hero-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 6vw, 76px);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 570px;
}

.hero-content h1 {
  margin-bottom: 24px;
}

.hero-content h1 span,
.hero h1 span {
  color: var(--green);
}

.hero-content p,
.hero p {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.85;
}

.hero-buttons,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.hero-image,
.hero-visual {
  position: relative;
  min-width: 0;
}

.hero-image img,
.hero-visual img {
  width: 100%;
  min-height: 390px;
  max-height: 540px;
  border-radius: var(--radius-large);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.hero-image::before,
.hero-visual::before {
  position: absolute;
  z-index: 0;
  top: -16px;
  right: -16px;
  width: 46%;
  height: 40%;
  border-radius: var(--radius-large);
  background: var(--sage);
  content: "";
}

.hero-image img,
.hero-visual img {
  position: relative;
  z-index: 1;
}

/* Optional hero label */

.hero-badge,
.hero-note {
  position: absolute;
  z-index: 2;
  right: -12px;
  bottom: 24px;
  max-width: 230px;
  padding: 15px 19px;
  border: 1px solid rgba(40, 81, 62, 0.08);
  border-radius: 16px;
  background: var(--ivory);
  color: var(--green-dark);
  box-shadow: var(--shadow);
  font-size: 0.9rem;
  font-weight: 700;
}

/* ---------- 7. General page banners ---------- */

.page-header,
.page-hero {
  padding: 76px 0;
  background:
    radial-gradient(
      circle at 85% 20%,
      rgba(220, 231, 216, 0.8),
      transparent 32%
    ),
    var(--beige);
  text-align: center;
}

.page-header h1,
.page-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(2.3rem, 4.5vw, 3.6rem);
}

.page-header p,
.page-hero p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.05rem;
}

/* ---------- 8. Cards and grids ---------- */

.services-grid,
.service-grid,
.plans-grid,
.plan-grid,
.features-grid,
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.service-card,
.plan-card,
.feature-card,
.card {
  min-width: 0;
  padding: 30px;
  border: 1px solid rgba(40, 81, 62, 0.08);
  border-radius: var(--radius);
  background: var(--ivory);
  box-shadow: 0 6px 24px rgba(40, 65, 45, 0.035);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.service-card:hover,
.plan-card:hover,
.feature-card:hover,
.card:hover {
  transform: translateY(-5px);
  border-color: var(--sage-dark);
  box-shadow: var(--shadow);
}

.service-card h3,
.plan-card h3,
.feature-card h3,
.card h3 {
  margin-top: 12px;
}

.service-card p,
.plan-card p,
.feature-card p,
.card p {
  color: var(--muted);
}

.card-icon,
.service-icon,
.feature-icon {
  display: inline-grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 16px;
  background: var(--green-light);
  color: var(--green);
  font-size: 1.5rem;
}

.card a,
.service-card a,
.plan-card a {
  font-weight: 700;
}

/* ---------- 9. About section ---------- */

.about-section,
.about-content {
  background: var(--ivory);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(35px, 6vw, 76px);
}

.about-image img,
.about-photo {
  width: 100%;
  min-height: 340px;
  border-radius: var(--radius-large);
  object-fit: cover;
}

.about-text p {
  color: var(--muted);
}

.about-points {
  display: grid;
  gap: 12px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.about-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
}

.about-points li::before {
  display: inline-grid;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  place-items: center;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--green-dark);
  content: "✓";
  font-size: 0.8rem;
  font-weight: 800;
}

/* ---------- 10. Plans and pricing ---------- */

.plans-section {
  background: var(--cream);
}

.plan-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px;
}

.plan-card.featured,
.plan-card.popular {
  border: 2px solid var(--green);
  background: var(--green-light);
}

.plan-price,
.price {
  margin: 10px 0 18px;
  color: var(--green-dark);
  font-size: 2.15rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.plan-price small,
.price small {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0;
}

.plan-card ul {
  margin: 12px 0 28px;
  padding-left: 20px;
  color: var(--muted);
}

.plan-card .btn,
.plan-card .button {
  width: 100%;
  margin-top: auto;
}

.popular-label,
.plan-label {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--sage);
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 800;
}

/* ---------- 11. Forms and contact ---------- */

.contact-section {
  background: var(--ivory);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: 48px;
}

.contact-info {
  padding: 12px 0;
}

.contact-info p {
  color: var(--muted);
}

.contact-info a {
  overflow-wrap: anywhere;
}

.contact-details {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-item strong {
  display: block;
  color: var(--green-dark);
}

.contact-item p {
  margin: 2px 0 0;
}

.form-container,
.contact-form,
form {
  min-width: 0;
}

.form-container,
.contact-form {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  background: var(--cream);
  box-shadow: var(--shadow);
}

.form-container form,
.contact-form form {
  display: grid;
  gap: 18px;
}

.form-group,
.form-container .form-group {
  display: grid;
  gap: 7px;
}

label {
  color: var(--green-dark);
  font-size: 0.92rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  padding: 13px 15px;
  border: 1px solid #d9d9ce;
  border-radius: 12px;
  background: var(--ivory);
  color: var(--text);
  outline: none;
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}

input::placeholder,
textarea::placeholder {
  color: #93978e;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(40, 81, 62, 0.1);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input[type="checkbox"],
input[type="radio"] {
  width: auto;
  accent-color: var(--green);
}

.form-container button,
.contact-form button,
form button[type="submit"] {
  justify-self: start;
}

.form-note,
.form-message {
  color: var(--muted);
  font-size: 0.86rem;
}

.form-message {
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--green-light);
}

/* ---------- 12. Disclaimer and text pages ---------- */

.content-section {
  background: var(--ivory);
}

.prose,
.legal-content,
.disclaimer-content {
  width: min(850px, calc(100% - 48px));
  margin: 0 auto;
  padding: 56px 0 76px;
}

.prose h2,
.legal-content h2,
.disclaimer-content h2 {
  margin-top: 36px;
  font-size: 1.55rem;
}

.prose h2:first-child,
.legal-content h2:first-child,
.disclaimer-content h2:first-child {
  margin-top: 0;
}

.prose p,
.legal-content p,
.disclaimer-content p {
  color: #565e55;
}

.prose li,
.legal-content li,
.disclaimer-content li {
  color: #565e55;
}

/* ---------- 13. Call-to-action section ---------- */

.cta-section {
  padding: 64px 0;
  background: var(--sage);
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(28px, 5vw, 50px);
  border-radius: var(--radius-large);
  background: var(--green);
  color: var(--white);
}

.cta-box h2,
.cta-box h3 {
  color: var(--white);
}

.cta-box p {
  max-width: 620px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.83);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 14. Footer ---------- */

footer,
.site-footer {
  padding: 58px 0 24px;
  background: #18372b;
  color: #e8eee7;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 44px;
}

footer h3,
footer h4,
.site-footer h3,
.site-footer h4 {
  margin-bottom: 18px;
  color: var(--white);
  font-size: 1.05rem;
}

footer p,
.site-footer p {
  color: #c4d0c4;
  font-size: 0.92rem;
}

.footer-brand .logo,
footer .logo,
.site-footer .logo {
  margin-bottom: 16px;
  color: var(--white);
}

.footer-links,
.footer-nav {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-links a,
.footer-nav a,
footer a,
.site-footer a {
  width: fit-content;
  color: #d4dfd3;
  font-size: 0.92rem;
}

.footer-links a:hover,
.footer-nav a:hover,
footer a:hover,
.site-footer a:hover {
  color: var(--white);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.social-links a {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
}

.social-links a:hover {
  background: rgba(255, 255, 255, 0.12);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.82rem;
}

/* ---------- 15. Small decorative details ---------- */

hr {
  height: 1px;
  margin: 28px 0;
  border: 0;
  background: var(--border);
}

blockquote {
  margin: 24px 0;
  padding: 18px 22px;
  border-left: 4px solid var(--sage-dark);
  border-radius: 0 12px 12px 0;
  background: var(--green-light);
  color: var(--green-dark);
}

.badge {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--sage);
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 700;
}

/* ---------- 16. Responsive layout ---------- */

@media (max-width: 980px) {
  .nav-container {
    flex-wrap: wrap;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 6px 18px;
  }

  .hero-container {
    gap: 34px;
  }

  .hero-image img,
  .hero-visual img {
    min-height: 330px;
  }

  .services-grid,
  .service-grid,
  .plans-grid,
  .plan-grid,
  .features-grid,
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  html {
    scroll-padding-top: 135px;
  }

  .container,
  .nav-container,
  .hero-container,
  .footer-container {
    width: min(100% - 32px, var(--content-width));
  }

  section {
    padding: 60px 0;
  }

  .nav-container {
    align-items: center;
    gap: 10px;
  }

  .logo,
  .navbar .logo {
    font-size: 1.02rem;
  }

  .logo img,
  .navbar .logo img {
    width: auto;
    height: 38px;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    gap: 4px 16px;
  }

  .nav-links a {
    min-height: 36px;
    font-size: 0.85rem;
  }

  .hero {
    padding: 48px 0 58px;
  }

  .hero-container,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-container {
    gap: 36px;
  }

  .hero-content {
    max-width: none;
  }

  .hero-content h1 {
    font-size: clamp(2.35rem, 10vw, 3.5rem);
  }

  .hero-content p,
  .hero p {
    font-size: 1rem;
  }

  .hero-image img,
  .hero-visual img {
    min-height: 260px;
    max-height: 410px;
  }

  .hero-image::before,
  .hero-visual::before {
    top: -10px;
    right: -8px;
  }

  .hero-badge,
  .hero-note {
    right: 8px;
    bottom: 12px;
    max-width: 190px;
  }

  .section-heading {
    margin-bottom: 30px;
    text-align: left;
  }

  .services-grid,
  .service-grid,
  .plans-grid,
  .plan-grid,
  .features-grid,
  .card-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .service-card,
  .plan-card,
  .feature-card,
  .card {
    padding: 25px;
  }

  .about-image img,
  .about-photo {
    min-height: 260px;
  }

  .contact-grid {
    gap: 30px;
  }

  .form-container,
  .contact-form {
    padding: 22px;
  }

  .page-header,
  .page-hero {
    padding: 54px 0;
  }

  .cta-box {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 400px) {
  .container,
  .nav-container,
  .hero-container,
  .footer-container {
    width: calc(100% - 24px);
  }

  .hero-buttons,
  .hero-actions,
  .cta-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-buttons .btn,
  .hero-actions .btn,
  .cta-actions .btn {
    width: 100%;
  }

  .nav-links {
    gap: 2px 12px;
  }

  .nav-links a {
    font-size: 0.8rem;
  }
}

/* ---------- 17. Reduced motion accessibility ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* ==========================================================
   DIETLAYA — DESIGN ENHANCEMENTS
   Append to the END of the existing style.css
   ========================================================== */

:root {
  --accent-italic-font: "Cormorant Garamond", Georgia, serif;
  --section-space: clamp(3.5rem, 7vw, 6rem);
  --card-hover-lift: translateY(-5px);
}

/* Consistent section rhythm */
section {
  scroll-margin-top: 100px;
}

.section-padding {
  padding-block: var(--section-space);
}

.section-heading {
  max-width: 760px;
  margin-inline: auto;
}

.section-heading p {
  max-width: 650px;
  margin-inline: auto;
  line-height: 1.85;
}

/* Restrained editorial accents */
.italic-accent,
.script-accent {
  font-family: var(--accent-italic-font);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* More polished card interactions */
.service-card,
.plan-card,
.feature-card,
.card,
.nutrition-card,
.blog-card,
.fact-card {
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.service-card:hover,
.feature-card:hover,
.nutrition-card:hover,
.blog-card:hover,
.fact-card:hover {
  transform: var(--card-hover-lift);
}

/* Image treatment — preserve the original imagery */
.rounded-image,
.content-image,
.nutrition-card img,
.blog-card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.rounded-image,
.content-image {
  border-radius: 22px;
}

/* Reliable image fallback for interactive content */
.image-fallback {
  display: grid;
  min-height: 180px;
  place-items: center;
  padding: 1.5rem;
  border-radius: 18px;
  background: var(--sage, #dce7d8);
  color: var(--green, #28513e);
  text-align: center;
}

.image-fallback[hidden] {
  display: none;
}

/* Reusable responsive card grids */
.nutrition-grid,
.facts-grid,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.nutrition-card,
.fact-card,
.blog-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border, #e5e2d8);
  border-radius: 20px;
  background: var(--ivory, #fffdf8);
}

.nutrition-card-content,
.fact-card-content,
.blog-card-content {
  padding: 1.4rem;
}

.nutrition-card h3,
.fact-card h3,
.blog-card h3 {
  color: var(--green-dark, #193a2c);
  line-height: 1.4;
}

.nutrition-card p,
.fact-card p,
.blog-card p {
  line-height: 1.75;
}

/* Nutrition figures */
.nutrition-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.nutrition-stat {
  padding: 0.85rem;
  border-radius: 12px;
  background: var(--green-light, #edf3e9);
}

.nutrition-stat strong {
  display: block;
  color: var(--green-dark, #193a2c);
  font-size: 1.15rem;
}

.nutrition-stat span {
  color: var(--muted, #70776e);
  font-size: 0.85rem;
}

/* Food explorer filters and search */
.nutrition-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.nutrition-controls input,
.nutrition-controls select {
  min-height: 46px;
  max-width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border, #e5e2d8);
  border-radius: 10px;
  background: var(--ivory, #fffdf8);
  color: var(--text, #343c34);
  font: inherit;
}

/* Interactive facts */
.fact-card {
  display: flex;
  flex-direction: column;
  min-height: 220px;
}

.fact-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
}

.fact-card .fact-category {
  color: var(--green, #28513e);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.fact-card button {
  margin-top: auto;
}

/* Blog cards */
.blog-card a {
  color: var(--green, #28513e);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.blog-card a:hover {
  color: var(--green-dark, #193a2c);
}

/* Consistent form controls */
input,
select,
textarea,
button {
  font: inherit;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--sage-dark, #a9bea3);
  outline-offset: 3px;
}

/* Footer language control */
.footer-language {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1rem;
  color: inherit;
  font-size: 0.9rem;
}

.footer-language select {
  max-width: 100%;
  padding: 0.45rem 0.7rem;
  border: 1px solid currentColor;
  border-radius: 8px;
  background: transparent;
  color: inherit;
}

.footer-language option {
  background: var(--ivory, #fffdf8);
  color: var(--text, #343c34);
}

/* Blog article readability */
.article-content {
  width: min(100% - 2rem, 760px);
  margin-inline: auto;
}

.article-content p,
.article-content li {
  line-height: 1.9;
}

.article-content h2,
.article-content h3 {
  margin-top: 2rem;
  color: var(--green-dark, #193a2c);
  line-height: 1.4;
}

.article-content a {
  color: var(--green, #28513e);
  text-underline-offset: 4px;
}

/* Accessible FAQ details */
details {
  padding: 1rem 1.15rem;
  border: 1px solid var(--border, #e5e2d8);
  border-radius: 12px;
  background: var(--ivory, #fffdf8);
}

details + details {
  margin-top: 0.8rem;
}

details summary {
  color: var(--green-dark, #193a2c);
  cursor: pointer;
  font-weight: 700;
}

details summary:focus-visible {
  outline: 3px solid var(--sage-dark, #a9bea3);
  outline-offset: 4px;
}

/* Responsive layout */
@media (max-width: 900px) {
  .nutrition-grid,
  .facts-grid,
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .nutrition-grid,
  .facts-grid,
  .blog-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .nutrition-card-content,
  .fact-card-content,
  .blog-card-content {
    padding: 1.1rem;
  }

  .nutrition-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .nutrition-controls input,
  .nutrition-controls select {
    width: 100%;
  }
}

/* Respect visitors' motion preferences */
@media (prefers-reduced-motion: reduce) {
  .service-card,
  .feature-card,
  .nutrition-card,
  .blog-card,
  .fact-card {
    transition: none;
  }

  .service-card:hover,
  .feature-card:hover,
  .nutrition-card:hover,
  .blog-card:hover,
  .fact-card:hover {
    transform: none;
  }
}



/* STYLE UPDATE VERSION 2.0 */

/* ========================================
   PRICING SECTION — PREMIUM WELLNESS STYLE
======================================== */

.section-padding:has(.pricing-grid) {
  padding-top: clamp(60px, 8vw, 100px);
  padding-bottom: clamp(60px, 8vw, 100px);
  background: linear-gradient(180deg, #f7faf6 0%, #ffffff 100%);
}

/* Section heading */
.section-padding:has(.pricing-grid) .section-heading {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-padding:has(.pricing-grid) .section-heading .eyebrow {
  display: inline-block;
  padding: 8px 16px;
  margin-bottom: 12px;
  border-radius: 50px;
  background: #e5f1e3;
  color: #477744;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
}

.section-padding:has(.pricing-grid) .section-heading h2 {
  margin-bottom: 16px;
  color: #203c2b;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.2;
  letter-spacing: -1px;
}

.section-padding:has(.pricing-grid) .section-heading > p:last-child {
  max-width: 620px;
  margin: 0 auto;
  color: #68776c;
  font-size: 16px;
  line-height: 1.8;
}

/* Pricing grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 26px;
  margin-top: 45px;
}

/* Pricing cards */
.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(25px, 3vw, 36px);
  overflow: hidden;

  background: #ffffff;
  border: 1px solid #e5ebe3;
  border-radius: 22px;

  box-shadow: 0 8px 25px rgba(34, 65, 39, 0.05);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

/* Decorative top accent */
.pricing-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: #b8d7b0;
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: #b7d5b1;
  box-shadow: 0 20px 45px rgba(34, 65, 39, 0.11);
}

.pricing-card:hover::before {
  transform: scaleX(1);
}

/* Card heading */
.pricing-card-header .eyebrow {
  margin-bottom: 14px;
  color: #5d8b56;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.pricing-card-header h3 {
  margin: 0 0 13px;
  color: #263d2c;
  font-size: clamp(21px, 2vw, 25px);
  line-height: 1.35;
}

.pricing-card-header > p:last-child {
  margin: 0;
  color: #718075;
  font-size: 14px;
  line-height: 1.8;
}

/* Price display */
.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-top: 30px;
  padding-top: 23px;
  border-top: 1px solid #edf1eb;
}

.price-currency {
  color: #52794b;
  font-size: 17px;
  font-weight: 700;
}

.price-value {
  color: #203c2b;
  font-size: clamp(34px, 3.3vw, 43px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  font-variant-numeric: tabular-nums;
}

/* Duration note */
.pricing-note {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 8px;
  margin: 18px 0 28px;
  padding: 8px 12px;
  border-radius: 8px;
  background: #f2f6f0;
  color: #5e715f;
  font-size: 12px;
  font-weight: 600;
}

.pricing-note::before {
  content: "";
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #77a56d;
}

/* Buttons */
.pricing-card > .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 49px;
  margin-top: auto;
  padding: 13px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease;
}

.pricing-card > .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(42, 82, 46, 0.14);
}

.pricing-card > .btn-secondary {
  background: #ffffff;
  border: 1px solid #cdddc9;
  color: #416a3d;
}

.pricing-card > .btn-secondary:hover {
  background: #f0f6ed;
}

/* Featured middle card */
.pricing-card-featured {
  background: linear-gradient(155deg, #f0f7ed 0%, #ffffff 70%);
  border: 2px solid #8db785;
  box-shadow: 0 14px 38px rgba(57, 99, 51, 0.11);
  transform: translateY(-8px);
}

.pricing-card-featured::before {
  height: 5px;
  background: #568c4e;
  transform: scaleX(1);
}

.pricing-card-featured .pricing-card-header .eyebrow {
  color: #3e793a;
}

.pricing-card-featured .pricing-amount {
  border-top-color: #dce9d8;
}

.pricing-card-featured > .btn:not(.btn-secondary) {
  box-shadow: 0 6px 16px rgba(48, 91, 44, 0.15);
}

.pricing-card-featured:hover {
  transform: translateY(-12px);
  box-shadow: 0 24px 48px rgba(48, 91, 44, 0.16);
}

/* Disclaimer */
.pricing-disclaimer {
  max-width: 850px;
  margin: 35px auto 0;
  padding: 18px 22px;
  border: 1px solid #e7ece4;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
  color: #788279;
  font-size: 12px;
  line-height: 1.9;
  text-align: center;
}

/* Tablet */
@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .pricing-card-featured {
    transform: none;
  }

  .pricing-card-featured:hover {
    transform: translateY(-8px);
  }

  .pricing-card:last-child {
    grid-column: 1 / -1;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .section-padding:has(.pricing-grid) .section-heading {
    margin-bottom: 30px;
  }

  .pricing-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    margin-top: 30px;
  }

  .pricing-card,
  .pricing-card-featured {
    grid-column: auto;
    padding: 25px;
    border-radius: 18px;
    transform: none;
  }

  .pricing-card:hover,
  .pricing-card-featured:hover {
    transform: translateY(-4px);
  }

  .price-value {
    font-size: 38px;
  }

  .pricing-disclaimer {
    margin-top: 25px;
    padding: 16px;
    text-align: left;
  }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .pricing-card,
  .pricing-card::before,
  .pricing-card > .btn {
    transition: none;
  }

  .pricing-card:hover,
  .pricing-card-featured:hover,
  .pricing-card > .btn:hover {
    transform: none;
  }
}

/* ===================================
   DIETLAYA BLOG IMAGE ENHANCEMENTS
=================================== */

/* Blog introduction layout */
.blog-hero .blog-hero-container {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: clamp(30px, 5vw, 70px);
}

.blog-hero-content {
  min-width: 0;
}

.blog-hero-image {
  position: relative;
  min-width: 0;
  padding: 10px;
  border-radius: 24px;
  background: #edf2e8;
}

.blog-hero-image img {
  display: block;
  width: 100%;
  aspect-ratio: 6 / 5;
  object-fit: cover;
  border-radius: 17px;
  box-shadow: 0 15px 35px rgba(39, 60, 40, 0.10);
  transition: transform 0.35s ease;
}

.blog-hero-image:hover img {
  transform: scale(1.015);
}

/* Small caption under the hero image */
.blog-image-caption {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 14px 8px 5px;
  color: #526b50;
  font-size: 13px;
  font-weight: 600;
}

.blog-image-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #78a66e;
}

/* Editorial note layout */
.editorial-section {
  overflow: hidden;
}

.editorial-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(28px, 5vw, 65px);
}

.editorial-image {
  overflow: hidden;
  border-radius: 22px;
  background: #f0f3e9;
}

.editorial-image img {
  display: block;
  width: 100%;
  aspect-ratio: 6 / 5;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.editorial-image:hover img {
  transform: scale(1.035);
}

/* Keep the text card comfortable */
.editorial-content {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid #e7ece2;
  border-radius: 20px;
  background: #fbfcf8;
  box-shadow: 0 12px 32px rgba(39, 60, 40, 0.05);
}

.editorial-content .eyebrow {
  margin-bottom: 12px;
  color: #62825b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.editorial-content h2 {
  margin-bottom: 16px;
  color: #263d2c;
  line-height: 1.3;
}

.editorial-content > p:not(.eyebrow) {
  color: #68766a;
  font-size: 15px;
  line-height: 1.85;
}

.editorial-content .text-link {
  display: inline-block;
  margin-top: 10px;
}

/* Tablet */
@media (max-width: 850px) {
  .blog-hero .blog-hero-container {
    grid-template-columns: 1fr 0.85fr;
    gap: 25px;
  }

  .editorial-layout {
    gap: 25px;
  }
}

/* Mobile */
@media (max-width: 650px) {
  .blog-hero .blog-hero-container,
  .editorial-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .blog-hero-image {
    max-width: 100%;
    padding: 7px;
    border-radius: 18px;
  }

  .blog-hero-image img,
  .editorial-image img {
    aspect-ratio: 5 / 4;
  }

  .editorial-content {
    padding: 25px;
  }
}

/* Accessible motion preferences */
@media (prefers-reduced-motion: reduce) {
  .blog-hero-image img,
  .editorial-image img {
    transition: none;
  }

  .blog-hero-image:hover img,
  .editorial-image:hover img {
    transform: none;
  }
}

/* ==========================================
   DIETLAYA SERVICES — IMAGE ENHANCEMENTS
========================================== */

/* Hero layout */
.services-hero .services-hero-container {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  align-items: center;
  gap: clamp(30px, 5vw, 65px);
}

.services-hero-content {
  min-width: 0;
}

/* Main lifestyle image */
.services-hero-image {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 9px;
  overflow: hidden;
  border-radius: 24px;
  background: #edf3e9;
}

.services-hero-image img {
  display: block;
  width: 100%;
  aspect-ratio: 6 / 5;
  object-fit: cover;
  border-radius: 17px;
  transition: transform 0.4s ease;
}

.services-hero-image:hover img {
  transform: scale(1.025);
}

.services-hero-image figcaption {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 15px 9px 6px;
  color: #526b50;
  font-size: 13px;
  line-height: 1.6;
}

.service-image-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #76a36c;
}

/* Wide heart-health feature */
.services-feature-image {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 30px;
  margin: 40px 0 35px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid #e4ebdf;
  border-radius: 22px;
  background: #f5f8f1;
}

.services-feature-image img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 15px;
  transition: transform 0.4s ease;
}

.services-feature-image:hover img {
  transform: scale(1.02);
}

.services-feature-caption {
  padding: 20px clamp(8px, 2vw, 28px);
}

.services-feature-caption .eyebrow,
.process-image-caption .eyebrow {
  margin-bottom: 12px;
  color: #64865b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
}

.services-feature-caption h3,
.process-image-caption h3 {
  margin: 0 0 14px;
  color: #263d2c;
  font-size: clamp(23px, 2.6vw, 32px);
  line-height: 1.35;
}

.services-feature-caption > p:last-child {
  margin: 0;
  color: #68766a;
  font-size: 14px;
  line-height: 1.85;
}

/* Process consultation image */
.process-image {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 28px;
  margin: 35px 0;
  padding: 16px;
  overflow: hidden;
  border: 1px solid rgba(94, 125, 83, 0.16);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
}

.process-image img {
  display: block;
  width: 100%;
  height: 290px;
  object-fit: cover;
  border-radius: 15px;
  transition: transform 0.4s ease;
}

.process-image:hover img {
  transform: scale(1.02);
}

.process-image-caption {
  padding: 20px;
}

.process-image-caption h3 {
  margin-bottom: 0;
}

/* Tablet layout */
@media (max-width: 850px) {
  .services-hero .services-hero-container {
    grid-template-columns: 1fr 0.85fr;
    gap: 25px;
  }

  .services-feature-image,
  .process-image {
    gap: 18px;
  }

  .services-feature-image img,
  .process-image img {
    height: 240px;
  }

  .services-feature-caption,
  .process-image-caption {
    padding: 12px;
  }
}

/* Mobile layout */
@media (max-width: 650px) {
  .services-hero .services-hero-container {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .services-hero-image {
    padding: 7px;
    border-radius: 19px;
  }

  .services-hero-image img {
    aspect-ratio: 5 / 4;
    border-radius: 13px;
  }

  .services-feature-image,
  .process-image {
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 28px 0;
    padding: 12px;
    border-radius: 18px;
  }

  .services-feature-image img,
  .process-image img {
    height: auto;
    aspect-ratio: 5 / 4;
    border-radius: 12px;
  }

  .services-feature-caption,
  .process-image-caption {
    padding: 15px 10px 12px;
  }

  .services-feature-caption h3,
  .process-image-caption h3 {
    font-size: 25px;
  }
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
  .services-hero-image img,
  .services-feature-image img,
  .process-image img {
    transition: none;
  }

  .services-hero-image:hover img,
  .services-feature-image:hover img,
  .process-image:hover img {
    transform: none;
  }
}

/* One shared box for image and contact details */
.contact-info {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 32px;
  padding: 32px;
  background: #fff;
  border: 1px solid #e6ebdf;
  border-radius: 24px;
  box-shadow: 0 12px 35px rgba(42, 67, 39, 0.06);
  overflow: hidden;
}

/* Square image inside the shared box */
.contact-info .contact-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  min-height: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #edf3e9;
}

.contact-info .contact-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: center;
}

/* Keep everything together on smaller screens */
@media (max-width: 850px) {
  .contact-info {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 22px;
  }

  .contact-info .contact-image {
    max-width: 360px;
    margin-inline: auto;
  }
}

/* Reduce height and spacing of the three nutrition columns */
.nutrition-knowledge-grid {
  align-items: start;
  gap: 18px;
}

.nutrition-knowledge-grid .compact-panel {
  padding: 18px;
  min-height: 0;
}

.nutrition-knowledge-grid .compact-panel-intro {
  margin-bottom: 12px;
}

.nutrition-knowledge-grid .food-carousel {
  max-height: 393px;
  overflow: hidden;
}

.nutrition-knowledge-grid .food-carousel-image {
  width: 100%;
  height: 393px;
  object-fit: cover;
}

.nutrition-knowledge-grid .nutrition-label-row {
  padding-top: 6px;
  padding-bottom: 6px;
}



/* Footer social media icons */
.footer-social {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #f8f5ed;
  border: 1px solid rgba(248, 245, 237, 0.35);
  border-radius: 50%;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.footer-social a svg {
  display: block;
  width: 19px;
  height: 19px;
}

.footer-social a:hover {
  color: #203f32;
  background-color: #dce7d9;
  border-color: #dce7d9;
  transform: translateY(-2px);
}

.footer-social a:focus-visible {
  outline: 2px solid #dce7d9;
  outline-offset: 4px;
}
