/* JeuDérm Greece — Main Stylesheet */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--jd-font);
  font-weight: var(--jd-weight-light);
  color: var(--jd-text-secondary);
  background: var(--jd-background);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

.jd-container { max-width: var(--jd-container-max); margin: 0 auto; padding: 0 32px; }
.jd-section { padding: 80px 0; }
.jd-section--white { background: var(--jd-white); }
.jd-section--tinted { background: var(--jd-background); }

.jd-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--jd-secondary); font-weight: var(--jd-weight-bold); margin-bottom: 16px;
}
.jd-eyebrow::before { content: '✳'; font-size: 13px; }

h1, h2, h3, h4, .jd-heading {
  font-weight: var(--jd-weight-black); color: var(--jd-text-primary);
   letter-spacing: -0.01em; margin: 0 0 20px;
}
h1:first-letter, h2:first-letter, h3:first-letter, h4:first-letter, .jd-heading:first-letter { text-transform: uppercase; }
h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.08; }
h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; }
h3 { font-size: 22px; }
p { font-weight: var(--jd-weight-light); font-size: 17px; color: var(--jd-text-secondary); }

.jd-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px;
  font-weight: var(--jd-weight-bold); font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: all 0.2s ease;
}
.jd-btn::after { content: ''; font-size: 14px; line-height: 1; }
.jd-btn--primary { background: var(--jd-text-primary); color: var(--jd-white); }
.jd-btn--primary:hover { background: var(--jd-secondary); }
.jd-btn--outline { background: transparent; border-color: var(--jd-primary); color: var(--jd-text-primary); }
.jd-btn--outline:hover { background: var(--jd-primary); color: var(--jd-white); }

/* ---------- Header ---------- */
.jd-header {
  position: sticky; top: 0; z-index: 100; width: 100%;
  background: rgba(244,244,244,0.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.jd-header__bar {
  display: flex; align-items: center;
  max-width: var(--jd-container-max); margin: 0 auto; padding: 0 32px;
  min-height: 84px; gap: 40px;
}
.jd-logo {
  flex: 0 0 auto; display: flex; align-items: center;
  font-weight: var(--jd-weight-black); font-size: 24px; color: var(--jd-primary);
  letter-spacing: -0.02em;
}
.jd-logo--image { max-height: 52px; overflow: hidden; }
.jd-logo--image .custom-logo-link { display: flex; align-items: center; line-height: 0; }
.jd-logo--image img, .jd-logo--image img.custom-logo {
  display: block; max-height: 52px; width: auto; height: auto; object-fit: contain;
}
.jd-logo--footer { max-height: 40px; }
.jd-logo--footer img, .jd-logo--footer img.custom-logo { max-height: 40px; }
.jd-logo span.jd-logo__accent { color: var(--jd-text-primary); }
.jd-logo small {
  display: block; font-size: 9px; letter-spacing: 0.18em; font-weight: var(--jd-weight-bold);
  color: var(--jd-primary); text-transform: uppercase;
}

.jd-nav { flex: 0 0 auto; display: flex; }
.jd-nav__list { display: flex; align-items: center; gap: 34px; }
.jd-nav__list > li { position: relative; }
.jd-nav__list > li > a {
  display: block; padding: 30px 0; font-size: 14px; font-weight: var(--jd-weight-bold);
  color: var(--jd-text-secondary); text-transform: uppercase; letter-spacing: 0.04em; white-space: nowrap;
}
.jd-nav__list > li > a:hover, .jd-nav__list > li:hover > a { color: var(--jd-secondary); }

.jd-nav__list .menu-item-has-children > a { display: inline-flex; align-items: center; }
.jd-nav__list .menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 10px;
  height: 6px;
  margin-left: 6px;
  background-color: currentColor;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='black' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='black' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.jd-nav__list .sub-menu .menu-item-has-children > a {
  display: flex; align-items: center; justify-content: space-between;
}

.jd-nav__list .sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 240px;
  background: var(--jd-white); border-radius: 0 0 8px 8px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.12); padding: 10px 0;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: all 0.18s ease; z-index: 20;
}
.menu-item-has-children:hover > .sub-menu, .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.jd-nav__list .sub-menu li { position: relative; }
.jd-nav__list .sub-menu li a {
  display: block; padding: 10px 22px; font-size: 13px; font-weight: var(--jd-weight-regular);
  text-transform: none; letter-spacing: 0; color: var(--jd-text-secondary); white-space: nowrap;
}
.jd-nav__list .sub-menu li a:hover { background: var(--jd-background); color: var(--jd-secondary); }
.jd-nav__list .sub-menu .sub-menu { top: -10px; left: 100%; border-radius: 8px; }

.jd-header__cta { flex: 0 0 auto; margin-left: auto; white-space: nowrap; }
.jd-menu-toggle { display: none; background: none; border: none; cursor: pointer; flex: 0 0 auto; }

@media (max-width: 1100px) {
  .jd-header__bar { padding: 0 24px; gap: 24px; }
  .jd-nav__list { gap: 22px; }
}
@media (max-width: 900px) {
  .jd-header__bar { min-height: 68px; }
  .jd-nav { display: none; }
  .jd-header__cta { display: none; }
  .jd-menu-toggle { display: block; margin-left: auto; }
  .jd-nav--open {
    display: block; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--jd-background); border-top: 1px solid rgba(0,0,0,0.06);
    padding: 12px 24px 24px; box-shadow: 0 16px 30px rgba(0,0,0,0.08);
  }
  .jd-nav--open .jd-nav__list { flex-direction: column; align-items: flex-start; gap: 4px; }
  .jd-nav--open .jd-nav__list > li { width: 100%; }
  .jd-nav--open .jd-nav__list > li > a { padding: 12px 0; }
  .jd-nav--open .sub-menu {
    position: static; box-shadow: none; opacity: 1; visibility: visible; transform: none;
    display: none; padding-left: 14px; min-width: 0; border-radius: 0;
  }
  .jd-nav--open .menu-item-has-children.jd-submenu-open > .sub-menu { display: block; }
}

/* ---------- Hero: full-bleed, no container constraint on bg/foreground ---------- */
.jd-hero {
  position: relative !important; display: flex; align-items: stretch;
  overflow: hidden; background: var(--jd-primary);
  width: 100vw !important; max-width: 100vw !important;
  margin: 0 !important; padding: 0 !important;
  left: 50% !important; right: 50% !important;
  margin-left: -50vw !important; margin-right: -50vw !important;
}
.jd-hero__bg { position: absolute; inset: 0; z-index: 0; margin: 0; padding: 0; }
.jd-hero__bg video, .jd-hero__bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jd-hero__overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.4) 40%, rgba(0,0,0,0.15) 100%); }
.jd-hero--fg-left .jd-hero__overlay { background: linear-gradient(90deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.55) 45%, rgba(0,0,0,0.7) 100%); }
.jd-hero--fg-right .jd-hero__overlay { background: linear-gradient(270deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.55) 45%, rgba(0,0,0,0.7) 100%); }

/* Model + text now live together inside ONE centered row, capped at the same
   width as the nav bar (var(--jd-container-max)) — neither one reaches the
   true edges of the browser window, matching the boxed reference layout. */
.jd-hero__inner {
  position: relative; z-index: 1; width: 100%;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 40px;
  padding-top: 90px; padding-bottom: 0;
}
.jd-hero__foreground { flex: 0 0 auto; display: flex; align-items: flex-end; pointer-events: none; }
.jd-hero__foreground img { height: 640px; width: auto; max-width: 100%; object-fit: contain; }

.jd-hero__content {
  position: relative; flex: 0 1 520px; color: var(--jd-white); padding-bottom: 90px;
}
.jd-hero--fg-right .jd-hero__inner { flex-direction: row-reverse; }

@media (max-width: 860px) {
  .jd-hero__inner { flex-direction: column; align-items: center; text-align: center; gap: 24px; }
  .jd-hero--fg-right .jd-hero__inner { flex-direction: column; }
  .jd-hero__foreground img { height: 280px; }
}

.jd-hero__content::before {
  content: ''; position: absolute; inset: -20px -28px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.15) 60%, transparent 100%);
  border-radius: 24px; z-index: -1;
}
.jd-hero__content h1 { color: var(--jd-white); text-shadow: 0 2px 16px rgba(0,0,0,0.7), 0 1px 3px rgba(0,0,0,0.9); }
.jd-hero__content p { color: rgba(255,255,255,0.92); font-size: 19px; margin-bottom: 32px; text-shadow: 0 1px 8px rgba(0,0,0,0.6); }
.jd-hero__content .jd-eyebrow { color: var(--jd-secondary); text-shadow: 0 1px 6px rgba(0,0,0,0.6); }
.jd-hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.jd-hero__actions .jd-btn--outline { border-color: rgba(255,255,255,0.6); color: var(--jd-white); }
.jd-hero__actions .jd-btn--outline:hover { background: var(--jd-white); color: var(--jd-text-primary); }

@media (max-width: 860px) {
  .jd-hero { min-height: 560px; }
}

/* ---------- Banner cards: floating rounded card, inset in the page, left-aligned (Philosophy + CTA) ---------- */
.jd-banner-section { padding: 64px 0; }
.jd-philosophy-banner {
  background: #EAE7E3;
  color: var(--jd-text-primary);
  padding: 56px 64px;
  border-radius: 20px;
  box-shadow: 0 20px 44px rgba(0,0,0,0.08);
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}
.jd-philosophy-banner h2 { color: var(--jd-text-primary); max-width: 560px; margin-left: auto; margin-right: auto; }
.jd-philosophy-banner p { color: var(--jd-text-secondary); margin-bottom: 16px; max-width: 560px; margin-left: auto; margin-right: auto; }
.jd-philosophy-banner .jd-btn--outline { border-color: var(--jd-primary); color: var(--jd-text-primary); margin-top: 16px; }
.jd-philosophy-banner .jd-btn--outline:hover { background: var(--jd-primary); color: var(--jd-white); }
@media (max-width: 640px) { .jd-philosophy-banner { padding: 36px 28px; } }

/* ---------- About / Feature split ---------- */
.jd-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.jd-split__media { border-radius: 12px; overflow: hidden; }
.jd-split__media img { width: 100%; }
.jd-stat-row { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
.jd-stat {
  background: var(--jd-white);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  border-radius: 10px;
  padding: 20px 24px;
  flex: 1 1 140px;
}
.jd-stat strong { display: block; font-size: 30px; font-weight: var(--jd-weight-black); color: var(--jd-secondary); }
.jd-stat span { font-size: 13px; color: var(--jd-text-secondary); }
.jd-stat::before {
  content: ''; display: block; width: 26px; height: 26px; margin-bottom: 10px;
  background-color: var(--jd-secondary);
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.jd-stat:nth-child(1)::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.5 2.5 3.5 6 3.5 9s-1 6.5-3.5 9c-2.5-2.5-3.5-6-3.5-9s1-6.5 3.5-9z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.5 2.5 3.5 6 3.5 9s-1 6.5-3.5 9c-2.5-2.5-3.5-6-3.5-9s1-6.5 3.5-9z'/%3E%3C/svg%3E"); }
.jd-stat:nth-child(2)::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='9' r='5'/%3E%3Cpath d='M9 13.5 7 21l5-3 5 3-2-7.5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='9' r='5'/%3E%3Cpath d='M9 13.5 7 21l5-3 5 3-2-7.5'/%3E%3C/svg%3E"); }
.jd-stat:nth-child(3)::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
@media (max-width: 860px) { .jd-split { grid-template-columns: 1fr; } }

/* ---------- Feature grid ---------- */
.jd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.jd-card {
  background: var(--jd-white); border-radius: 10px; padding: 28px 26px;
  border: 1px solid rgba(0,0,0,0.06); box-shadow: 0 4px 14px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.jd-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(0,0,0,0.09); }
.jd-card__icon {
  width: 55px; height: 55px; border-radius: 50%; background: var(--jd-secondary); margin-bottom: 18px;
  position: relative;
}
.jd-card__icon::after {
  content: ''; position: absolute; inset: 11px;
  background-color: var(--jd-white);
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
}
/* 9 generic original icon glyphs, cycled across the "Γιατί μας εμπιστεύονται" grid */
#features .jd-card:nth-child(1) .jd-card__icon::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 21s-8-4.5-8-11a8 8 0 0 1 16 0c0 6.5-8 11-8 11z'/%3E%3Cpath d='M12 8v6M9 11h6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 21s-8-4.5-8-11a8 8 0 0 1 16 0c0 6.5-8 11-8 11z'/%3E%3Cpath d='M12 8v6M9 11h6'/%3E%3C/svg%3E"); }
#features .jd-card:nth-child(2) .jd-card__icon::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4 3.5-7 8-7s8 3 8 7'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4 3.5-7 8-7s8 3 8 7'/%3E%3C/svg%3E"); }
#features .jd-card:nth-child(3) .jd-card__icon::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 3C7 8 5 10 5 14a7 7 0 0 0 14 0c0-4-2-6-7-11z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 3C7 8 5 10 5 14a7 7 0 0 0 14 0c0-4-2-6-7-11z'/%3E%3C/svg%3E"); }
#features .jd-card:nth-child(4) .jd-card__icon::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M13 2 4 14h6l-1 8 9-12h-6l1-8z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M13 2 4 14h6l-1 8 9-12h-6l1-8z'/%3E%3C/svg%3E"); }
#features .jd-card:nth-child(5) .jd-card__icon::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M9 3h6l1 5-4 4-4-4 1-5z'/%3E%3Cpath d='M7 12l-2 9h14l-2-9'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M9 3h6l1 5-4 4-4-4 1-5z'/%3E%3Cpath d='M7 12l-2 9h14l-2-9'/%3E%3C/svg%3E"); }
#features .jd-card:nth-child(6) .jd-card__icon::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='6'/%3E%3Cpath d='M20 20l-4-4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='6'/%3E%3Cpath d='M20 20l-4-4'/%3E%3C/svg%3E"); }
#features .jd-card:nth-child(7) .jd-card__icon::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M4 12a8 8 0 0 1 16 0'/%3E%3Cpath d='M12 12l4-3'/%3E%3Cpath d='M4 20h16'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M4 12a8 8 0 0 1 16 0'/%3E%3Cpath d='M12 12l4-3'/%3E%3Cpath d='M4 20h16'/%3E%3C/svg%3E"); }
#features .jd-card:nth-child(8) .jd-card__icon::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 3v3M6 6l8 8M6 14l8-8M4 21h16'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 3v3M6 6l8 8M6 14l8-8M4 21h16'/%3E%3C/svg%3E"); }
#features .jd-card:nth-child(9) .jd-card__icon::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='4' y='7' width='16' height='13' rx='1'/%3E%3Cpath d='M9 7V5a3 3 0 0 1 6 0v2'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='4' y='7' width='16' height='13' rx='1'/%3E%3Cpath d='M9 7V5a3 3 0 0 1 6 0v2'/%3E%3C/svg%3E"); }
/* 3 generic icons for the Skin Care 3-card grid */
#skincare-features .jd-card:nth-child(1) .jd-card__icon::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E"); }
#skincare-features .jd-card:nth-child(2) .jd-card__icon::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E"); }
#skincare-features .jd-card:nth-child(3) .jd-card__icon::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Cpath d='M3 9h18'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Cpath d='M3 9h18'/%3E%3C/svg%3E"); }
.jd-card h3 { font-size: 18px; margin-bottom: 10px; }
.jd-card p { font-size: 15px; margin: 0; }
@media (max-width: 900px) { .jd-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .jd-grid { grid-template-columns: 1fr; } }

/* ---------- Products ---------- */
.jd-products { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 56px; }
.jd-product-card {
  position: relative; display: flex; flex-direction: column;
  border-radius: 10px; overflow: hidden;
  background: var(--jd-white); border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.jd-product-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(0,0,0,0.09); }
.jd-product-card img { aspect-ratio: 3/4; width: 100%; height: auto; object-fit: cover; }
.jd-product-card__label { position: static; background: none; padding: 18px 16px 22px; text-align: center; }
.jd-product-card__label h3 { color: var(--jd-text-primary); font-size: 16px; margin: 0; }
.jd-product-card__label span {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 10px; font-size: 13px; font-weight: var(--jd-weight-bold); color: var(--jd-secondary);
}
.jd-product-card__label span::after { content: '↗'; }
@media (max-width: 1000px) { .jd-products { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .jd-products { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Blog / News ---------- */
.jd-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; }
.jd-post-card { background: var(--jd-white); border-radius: 10px; overflow: hidden; border: 1px solid rgba(0,0,0,0.05); }
.jd-post-card__img { aspect-ratio: 16/10; overflow: hidden; }
.jd-post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.jd-post-card__body { padding: 22px; }
.jd-post-card time { font-size: 13px; color: var(--jd-primary); }
.jd-post-card h3 { font-size: 17px; margin: 8px 0; text-transform: none; }
@media (max-width: 860px) { .jd-posts { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.jd-cta {
  background: #EAE7E3;
  color: var(--jd-text-primary); padding: 56px 64px;
  border-radius: 20px;
  box-shadow: 0 20px 44px rgba(0,0,0,0.08);
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}
.jd-cta h2 { color: var(--jd-text-primary); max-width: 560px; margin-left: auto; margin-right: auto; }
.jd-cta p { color: var(--jd-text-secondary); max-width: 560px; margin: 0 auto 32px; }
.jd-cta .jd-btn--primary { background: var(--jd-text-primary); color: var(--jd-white); }
@media (max-width: 640px) { .jd-cta { padding: 36px 28px; } }

/* ---------- Footer ---------- */
.jd-footer { background: #1c1c1c; color: #b8b8b8; padding: 72px 0 28px; }
.jd-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.jd-footer h4 { color: var(--jd-white); font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 18px; }
.jd-footer ul li { margin-bottom: 10px; font-size: 14px; }
.jd-footer a:hover { color: var(--jd-secondary); }
.jd-footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-size: 13px; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .jd-footer__grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Page / Single ---------- */
.jd-page-header { padding: 64px 0 40px; text-align: center; }
.jd-content { padding: 32px 0 96px; }
.jd-content .jd-container { max-width: 1200px; }
.jd-content img { border-radius: 10px; margin: 24px 0; }

/* ---------- Category intro box + framed product cards ---------- */
.jd-category-intro {
  background: var(--jd-background); border: 1px solid rgba(0,0,0,0.06); border-radius: 12px;
  padding: 48px; margin-bottom: 56px; text-align: center;
}
.jd-category-intro h1 { margin-bottom: 12px; }
.jd-category-intro p { max-width: 620px; margin: 0 auto; }

.jd-products-framed { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 24px; }
.jd-product-frame {
  display: block; background: var(--jd-white); border: 1px solid rgba(0,0,0,0.08); border-radius: 12px;
  overflow: hidden; transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.jd-product-frame:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(0,0,0,0.08); }
.jd-product-frame__media { aspect-ratio: 4/3; overflow: hidden; background: var(--jd-primary); }
.jd-product-frame__media img { width: 100%; height: 100%; object-fit: cover; }
.jd-product-frame__body { padding: 22px; }
.jd-product-frame__body h3 { font-size: 17px; margin-bottom: 8px; }
.jd-product-frame__body p { font-size: 14px; margin-bottom: 14px; }
.jd-product-frame__link { font-size: 13px; font-weight: var(--jd-weight-bold); color: var(--jd-secondary); }
@media (max-width: 900px) { .jd-products-framed { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .jd-products-framed { grid-template-columns: 1fr; } }

/* ---------- Spec-sheet product listing ---------- */
.jd-spec-sheet-list { display: flex; flex-direction: column; gap: 72px; }
.jd-spec-sheet {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start;
  padding: 8px 0 64px; border-bottom: 1px solid rgba(0,0,0,0.08);
}
.jd-spec-sheet:last-child { border-bottom: none; padding-bottom: 0; }
.jd-spec-sheet--reverse { direction: rtl; }
.jd-spec-sheet--reverse > * { direction: ltr; }
.jd-spec-sheet__media {
  background: var(--jd-background); border-radius: 12px; padding: 32px;
  display: flex; align-items: center; justify-content: center; min-height: 420px;
}
.jd-spec-sheet__media img { max-height: 460px; width: auto; max-width: 100%; object-fit: contain; }
.jd-spec-sheet__body h2 { margin-bottom: 8px; font-size: clamp(26px, 3vw, 34px); text-transform: none; }
.jd-spec-sheet__subtitle { color: var(--jd-primary); font-size: 16px; margin-bottom: 20px; }
.jd-spec-sheet__body p { margin: 0 0 10px; font-size: 15px; }
.jd-spec-sheet__body p strong { color: var(--jd-text-primary); }
.jd-spec-sheet__desc { margin: 16px 0; }
.jd-spec-sheet__desc p { font-weight: var(--jd-weight-light); }
@media (max-width: 860px) { .jd-spec-sheet, .jd-spec-sheet--reverse { grid-template-columns: 1fr; direction: ltr; } }

/* ---------- Contact page top image band ---------- */
.jd-contact-band { width: 100%; height: 220px; overflow: hidden; }
.jd-contact-band img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.7); }

/* ---------- Contact page + Contact Form 7 styling ---------- */
.jd-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.jd-contact-info h1 { margin-bottom: 16px; }
.jd-contact-info > p { margin-bottom: 32px; max-width: 460px; }

.jd-contact-info-item { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid rgba(0,0,0,0.06); }
.jd-contact-info-item:last-child { border-bottom: none; }
.jd-contact-info-item__icon {
  flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%;
  background: var(--jd-secondary); color: var(--jd-white);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.jd-contact-info-item h4 { font-size: 16px; margin-bottom: 6px; text-transform: none; }
.jd-contact-info-item p, .jd-contact-info-item a { font-size: 15px; margin: 0; display: block; }
.jd-contact-info-item a:hover { color: var(--jd-secondary); }

.jd-contact-form-card {
  background: var(--jd-background); border-radius: 20px; padding: 48px;
  border: 1px solid rgba(0,0,0,0.06); box-shadow: 0 20px 44px rgba(0,0,0,0.06);
}
.jd-contact-form-card h2 { text-align: center; font-size: 24px; margin-bottom: 28px; text-transform: none; }

/* Contact Form 7 field styling — targets CF7's default markup so it
   matches the theme regardless of which fields you've configured. */
.wpcf7-form p { margin-bottom: 24px; }
.wpcf7-form label { display: block; font-size: 14px; font-weight: var(--jd-weight-bold); color: var(--jd-text-primary); margin-bottom: 8px; }
.wpcf7-form .wpcf7-form-required { color: var(--jd-secondary); margin-left: 2px; }
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%; padding: 15px 18px; border: 1px solid rgba(0,0,0,0.12);
  border-radius: 12px; background: var(--jd-white); font-family: var(--jd-font);
  font-size: 15px; color: var(--jd-text-primary); transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.wpcf7-form input:focus, .wpcf7-form select:focus, .wpcf7-form textarea:focus {
  outline: none; border-color: var(--jd-secondary);
  box-shadow: 0 0 0 4px rgba(216,167,177,0.25);
}
.wpcf7-form textarea { min-height: 130px; resize: vertical; }
.wpcf7-form input[type="submit"] {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--jd-text-primary); color: var(--jd-white);
  border: none; border-radius: 999px; padding: 14px 32px;
  font-family: var(--jd-font); font-weight: var(--jd-weight-bold); font-size: 15px;
  cursor: pointer; transition: background 0.2s ease;
}
.wpcf7-form input[type="submit"]:hover { background: var(--jd-secondary); }
.wpcf7-form .wpcf7-not-valid-tip { color: #c0392b; font-size: 13px; margin-top: 4px; }
.wpcf7-form .wpcf7-response-output { border-radius: 8px; margin-top: 20px; padding: 12px 16px; font-size: 14px; }

/* Two-field-per-row layout: wrap a pair of CF7 fields in a <span class="jd-field-row"> in the form editor (a shortcode-level HTML wrapper CF7 allows) to sit them side by side. */
.jd-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .jd-field-row { grid-template-columns: 1fr; } }

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

/* ---------- Utility ---------- */
.jd-text-center { text-align: center; }
.jd-mb-0 { margin-bottom: 0; }
.jd-max-560 { max-width: 560px; margin-left: auto; margin-right: auto; }
