/* ============================================================
   BEMA BIO – Double Lifting Organic Skincare
   style.css – Mobile-first, tam responsive
   ============================================================ */

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

:root {
  --plum:       #7a4a6b;
  --plum-light: #9b6b8a;
  --plum-dark:  #5a3350;
  --rose:       #c4889e;
  --cream:      #f7f3ef;
  --warm-white: #faf8f5;
  --dark:       #1a1215;
  --text:       #3a2830;
  --text-light: #7a6570;
  --border:     rgba(122, 74, 107, 0.15);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--warm-white);
  color: var(--text);
  overflow-x: hidden;
}

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

/* ============================================================
   NAV
   ============================================================ */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 300;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw; height: 64px;
  background: rgba(250,248,245,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem; font-weight: 600; letter-spacing: 0.08em;
  color: var(--plum); text-decoration: none;
}
.nav-logo span { font-weight: 300; font-style: italic; }

.nav-links {
  display: flex; gap: 2rem; list-style: none;
}
.nav-links a {
  font-size: 0.62rem; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text-light); text-decoration: none;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--plum); }

/* Nav Right group (lang + hamburger) */
.nav-right {
  display: flex; align-items: center; gap: 1rem;
}

/* ---- Language Switcher ---- */
.lang-switcher {
  display: flex; align-items: center; gap: 0.35rem;
}
.lang-btn {
  display: flex; align-items: center; gap: 0.35rem;
  background: none; border: 1px solid transparent; border-radius: 4px;
  padding: 0.3rem 0.55rem; cursor: pointer;
  transition: background 0.25s, border-color 0.25s;
  line-height: 1;
}
.lang-btn:hover {
  background: var(--cream);
  border-color: var(--border);
}
.lang-btn.active {
  background: var(--plum);
  border-color: var(--plum);
}
.lang-btn .flag { font-size: 1rem; line-height: 1; }
.lang-btn .lang-code {
  font-size: 0.55rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-light);
  transition: color 0.25s;
}
.lang-btn.active .lang-code { color: #fff; }
.lang-btn:hover .lang-code  { color: var(--plum); }
.lang-btn.active:hover .lang-code { color: #fff; }
.lang-divider {
  color: var(--border); font-size: 0.75rem; user-select: none;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 36px; height: 36px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--plum); border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100svh; min-height: 600px;
  overflow: hidden;
  margin-top: 0;
}

.hero-img-layer {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.hero-img-layer img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 15%;
  display: block;
}

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    160deg,
    rgba(90,51,80,0.6) 0%,
    rgba(26,18,21,0.15) 45%,
    rgba(26,18,21,0.65) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative; z-index: 2;
  height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 6vw 10vh;
  max-width: 680px;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(8px); padding: 0.4rem 1rem; border-radius: 50px;
  font-size: 0.58rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.9); margin-bottom: 1.2rem; width: fit-content;
}
.hero-badge::before {
  content: ''; width: 6px; height: 6px;
  border-radius: 50%; background: #a8d5a2; flex-shrink: 0;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 10vw, 6rem);
  font-weight: 300; line-height: 1;
  color: #fff; margin-bottom: 0.8rem;
}
.hero-title em { font-style: italic; color: var(--rose); }

.hero-subtitle {
  font-size: 0.6rem; font-weight: 400; letter-spacing: 0.25em;
  text-transform: uppercase; color: rgba(255,255,255,0.7); margin-bottom: 1rem;
}

.hero-desc {
  font-size: 0.82rem; font-weight: 300; line-height: 1.8;
  color: rgba(255,255,255,0.85); max-width: 460px; margin-bottom: 2rem;
}

.hero-pills { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.pill {
  padding: 0.45rem 1rem;
  border: 1px solid rgba(255,255,255,0.4); border-radius: 50px;
  font-size: 0.58rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.08);
}

.scroll-hint {
  position: absolute; bottom: 2rem; right: 5vw;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.52rem; letter-spacing: 0.2em; text-transform: uppercase; z-index: 2;
}
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.5));
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity:0.4; transform:scaleY(1); }
  50%      { opacity:1;   transform:scaleY(1.2); }
}

/* ============================================================
   TAGLINE BAND
   ============================================================ */
.tagline-band {
  background: var(--plum); color: #fff;
  text-align: center; padding: 2.5rem 6vw;
  position: relative; overflow: hidden;
}
.tagline-band::before {
  content: 'BEMA BIO'; position: absolute;
  font-family: 'Cormorant Garamond', serif; font-size: 10rem; font-weight: 600;
  color: rgba(255,255,255,0.04); top: 50%; left: 50%; transform: translate(-50%,-50%);
  white-space: nowrap; pointer-events: none; user-select: none;
}
.tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 4vw, 2.8rem);
  font-weight: 300; font-style: italic; position: relative;
}
.tagline-sub {
  font-size: 0.6rem; letter-spacing: 0.25em; text-transform: uppercase;
  opacity: 0.7; margin-top: 0.6rem; position: relative;
}

/* ============================================================
   SECTION SHARED
   ============================================================ */
.section-label {
  font-size: 0.58rem; font-weight: 600; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--plum); margin-bottom: 0.6rem;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 300; color: var(--dark);
  margin-bottom: 2.5rem; line-height: 1.2;
}

/* ============================================================
   INGREDIENTS
   ============================================================ */
.ingredients-section { background: var(--cream); padding: 6rem 6vw; }

.ingredients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.ingredient-card {
  background: var(--warm-white); padding: 2rem;
  transition: all 0.4s ease; cursor: default;
}
.ingredient-card:hover {
  background: var(--plum); transform: translateY(-4px);
  z-index: 1; box-shadow: 0 16px 50px rgba(90,51,80,0.25);
}
.ingredient-card:hover .ing-num,
.ingredient-card:hover .ing-name,
.ingredient-card:hover .ing-latin,
.ingredient-card:hover .ing-desc  { color: #fff; }
.ingredient-card:hover .ing-bar   { background: rgba(255,255,255,0.3); }

.ing-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem; font-weight: 300; color: var(--border);
  line-height: 1; margin-bottom: 0.8rem; transition: color 0.4s;
}
.ing-name {
  font-size: 0.6rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--plum);
  margin-bottom: 0.2rem; transition: color 0.4s;
}
.ing-latin {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 0.88rem; color: var(--text-light);
  margin-bottom: 0.8rem; transition: color 0.4s;
}
.ing-bar {
  width: 28px; height: 1px; background: var(--rose);
  margin-bottom: 0.8rem; transition: background 0.4s;
}
.ing-desc {
  font-size: 0.8rem; line-height: 1.75;
  color: var(--text-light); font-weight: 300; transition: color 0.4s;
}

/* ============================================================
   HA TABLE
   ============================================================ */
.ha-section { padding: 6rem 6vw; background: var(--warm-white); }

.ha-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: start;
}

.ha-table { display: flex; flex-direction: column; gap: 2px; margin-top: 1.5rem; }

.ha-row { display: grid; grid-template-columns: 160px 1fr; gap: 2px; }

.ha-label {
  background: var(--plum); color: #fff; padding: 1.25rem;
  font-size: 0.6rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; line-height: 1.4;
}
.ha-label span {
  display: block; font-size: 0.52rem; font-weight: 300;
  letter-spacing: 0.06em; opacity: 0.8; text-transform: none; margin-top: 0.2rem;
}
.ha-desc {
  background: var(--cream); padding: 1.25rem;
  font-size: 0.78rem; line-height: 1.7; color: var(--text); font-weight: 300;
}

.ha-visual { position: sticky; top: 80px; }
.ha-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 7rem; font-weight: 300; color: var(--border); line-height: 1;
  margin-bottom: -0.5rem;
}
.ha-visual-text {
  font-size: 0.83rem; line-height: 1.9; color: var(--text-light); font-weight: 300;
}

/* ============================================================
   PRODUCTS
   ============================================================ */
.products-section { padding: 6rem 0; background: var(--dark); }

.products-header { padding: 0 6vw 3rem; }
.products-header .section-label { color: var(--rose); }
.products-header .section-title { color: #fff; }

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

/* Card – 1:1 kare, tüm cihazlarda sabit */
.product-card {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  cursor: pointer;
  background: #1a1215;
  display: block;       /* NOT flex – avoids mobile height collapse */
}
.product-card:focus { outline: 2px solid var(--rose); }

/* Image wrapper fills the whole card */
.pcard-img-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.pcard-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.7s ease, filter 0.4s ease;
  filter: brightness(0.88);
  display: block;
}

.product-card:hover .pcard-img-wrap img {
  transform: scale(1.06);
  filter: brightness(0.55);
}

/* Gradient overlay */
.pcard-img-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,18,21,0.92) 0%, transparent 55%);
  transition: background 0.4s;
  pointer-events: none;
}
.product-card:hover .pcard-img-wrap::after {
  background: linear-gradient(to top, rgba(90,51,80,0.97) 0%, rgba(90,51,80,0.45) 55%);
}

/* Text body – always at bottom, above image */
.pcard-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem;
  z-index: 2;
}

.pcard-num {
  font-size: 0.55rem; letter-spacing: 0.2em;
  color: rgba(255,255,255,0.45); margin-bottom: 0.3rem;
}
.pcard-tag {
  font-size: 0.52rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--rose); margin-bottom: 0.35rem;
}
.pcard-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 300; color: #fff; line-height: 1.2;
  margin-bottom: 0.5rem;
}
.pcard-excerpt {
  font-size: 0.72rem; line-height: 1.65; color: rgba(255,255,255,0.7);
  font-weight: 300; max-height: 0; overflow: hidden;
  transition: max-height 0.5s ease;
}
.product-card:hover .pcard-excerpt { max-height: 80px; }

/* Price on card */
.pcard-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; font-weight: 400; font-style: italic;
  color: var(--rose); letter-spacing: 0.03em;
  margin-bottom: 0.35rem; min-height: 1.5rem;
  transition: color 0.3s;
}

/* Price in modal */
.modal-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.9rem; font-weight: 300;
  color: var(--plum); letter-spacing: 0.04em;
  margin-top: 0.3rem;
}

.pcard-cta {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 0.75rem;
  font-size: 0.58rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: #fff;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.35s 0.1s, transform 0.35s 0.1s;
}
.product-card:hover .pcard-cta { opacity: 1; transform: translateY(0); }

/* ============================================================
   CERTIFICATIONS



.cert-section { background: var(--cream); padding: 5rem 6vw; text-align: center; }
.cert-section .section-title { margin-bottom: 2.5rem; }

.cert-badges {
  display: flex; justify-content: center; align-items: flex-start;
  gap: 2.5rem; flex-wrap: wrap;
}
.cert-badge { display: flex; flex-direction: column; align-items: center; gap: 0.65rem; }
.cert-icon {
  width: 64px; height: 64px;
  border: 2px solid var(--plum); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
}
.cert-label {
  font-size: 0.58rem; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--plum);
  text-align: center; max-width: 90px; line-height: 1.6;
}


   ============================================================ */



/* ============================================================
   CERTIFICATIONS
   ============================================================ */
.cert-section { background: var(--cream); padding: 5rem 6vw; text-align: center; }
.cert-section .section-title { margin-bottom: 2.5rem; }

.cert-badges {
  display: flex; 
  justify-content: center; 
  align-items: flex-start;
  gap: 2.5rem; 
  flex-wrap: wrap;
}

.cert-badge { 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  gap: 0.65rem; 
}

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

/* SVG veya PNG ikon boyutu */
.cert-icon img{
  width: 64px;
  height: auto;
  object-fit: contain;
}

.cert-label {
  font-size: 0.58rem; 
  font-weight: 600; 
  letter-spacing: 0.15em;
  text-transform: uppercase; 
  color: var(--plum);
  text-align: center; 
  max-width: 90px; 
  line-height: 1.6;
}
/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--dark); color: rgba(255,255,255,0.5);
  padding: 2.5rem 6vw; text-align: center;
  font-size: 0.62rem; letter-spacing: 0.15em; text-transform: uppercase;
}
footer strong { color: rgba(255,255,255,0.8); font-weight: 500; }
.footer-sub { margin-top: 0.4rem; }

/* ============================================================
   MODAL
   ============================================================ */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 400;
  background: rgba(26,18,21,0.82);
  backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s ease;
}
.modal-backdrop.open { opacity: 1; pointer-events: all; }

.modal {
  background: var(--warm-white);
  width: 100%; max-width: 960px;
  max-height: 88vh;
  display: grid; grid-template-columns: 1fr 1fr;
  overflow: hidden;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s ease;
}
.modal-backdrop.open .modal { transform: translateY(0) scale(1); }

/* LEFT – image */
.modal-img-side {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  height: auto;
  max-height: none;
  align-self: start;
}

.modal-img-side img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.modal-img-tag {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 2rem 1.5rem;
  background: linear-gradient(to top, rgba(90,51,80,0.92), transparent);
}
.modal-img-num {
  font-size: 0.55rem; letter-spacing: 0.2em;
  color: rgba(255,255,255,0.6); margin-bottom: 0.25rem;
}
.modal-img-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem; font-weight: 300; color: #fff; line-height: 1.2;
}

/* RIGHT – info */
.modal-info {
  padding: 2.5rem 2rem;
  overflow-y: auto;
  display: flex; flex-direction: column; gap: 1.5rem;
  scrollbar-width: thin; scrollbar-color: var(--plum) transparent;
}

.modal-close {
  position: fixed; top: 1.5rem; right: 1.5rem;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.35);
  color: #fff; font-size: 1.1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(6px);
  transition: background 0.3s;
  z-index: 500;
}
.modal-close:hover { background: var(--plum); }

.modal-cert {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(122,74,107,0.08); border: 1px solid var(--border);
  padding: 0.35rem 0.75rem; border-radius: 4px;
  font-size: 0.52rem; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--plum); width: fit-content;
}

.modal-tag-line {
  font-size: 0.58rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--rose); margin-bottom: 0.3rem;
}
.modal-product-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 300; color: var(--dark); line-height: 1.15;
}
.modal-subtitle {
  font-size: 0.78rem; color: var(--text-light); font-weight: 300; font-style: italic;
  margin-top: 0.35rem;
}

.modal-divider { height: 1px; background: var(--border); }

.modal-section-title {
  font-size: 0.58rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--plum); margin-bottom: 0.6rem;
}
.modal-desc {
  font-size: 0.82rem; line-height: 1.9; color: var(--text); font-weight: 300;
}

.modal-benefits { display: flex; flex-direction: column; gap: 0.45rem; }
.benefit-item {
  display: flex; align-items: center; gap: 0.7rem;
  font-size: 0.78rem; color: var(--text); font-weight: 300; line-height: 1.5;
}
.benefit-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--plum); flex-shrink: 0;
}

.modal-for-box {
  background: var(--cream); padding: 1rem 1.25rem;
  border-left: 3px solid var(--plum);
}
.modal-for-label {
  font-size: 0.52rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--plum); margin-bottom: 0.3rem;
}
.modal-for-text {
  font-size: 0.8rem; color: var(--text); font-weight: 300; line-height: 1.6;
}

/* ============================================================
   ANIMATION
   ============================================================ */
.fade-up { opacity: 1; transform: translateY(0); transition: opacity 0.75s ease, transform 0.75s ease; }
.js-ready .fade-up { opacity: 0; transform: translateY(28px); }
.js-ready .fade-up.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE – Tablet  (max 900px)
   ============================================================ */
@media (max-width: 900px) {
  .ingredients-grid { grid-template-columns: repeat(2, 1fr); }
  .ha-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .ha-visual { display: block; position: static; order: -1; }
  #alluse .ha-visual { order: 1; }
  .ha-row { grid-template-columns: 130px 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .modal { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   RESPONSIVE – Mobile  (max 640px)
   ============================================================ */
@media (max-width: 640px) {
  /* Nav */
  .nav-hamburger { display: flex; }
  .nav-links {
    position: fixed; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: rgba(250,248,245,0.98);
    border-bottom: 1px solid var(--border);
    max-height: 0; overflow: hidden;
    transition: max-height 0.35s ease;
    z-index: 250;
  }
  .nav-links.open { max-height: 300px; }
  .nav-links li { border-bottom: 1px solid var(--border); }
  .nav-links a { display: block; padding: 1rem 6vw; }
  /* Slider labels smaller on mobile */
  .slider-label { padding: 0.3rem 0.65rem; font-size: 0.52rem; }
  .label-before { left: 0.8rem; }
  .label-after  { right: 0.8rem; }
  .slider-instruction { font-size: 0.5rem; bottom: 5rem; }

  /* Hero */
  .hero-content { padding: 0 6vw 12vw; }
  .hero-desc { display: none; }
  .scroll-hint { display: none; }

  /* Sections */
  .ingredients-section,
  .ha-section,
  .cert-section { padding: 4rem 5vw; }
  .products-header { padding: 0 5vw 2rem; }

  .ingredients-grid { grid-template-columns: 1fr; }
  .ha-row { grid-template-columns: 1fr; }
  .ha-label { border-bottom: none; }

  .products-grid { grid-template-columns: 1fr; }

  /* Card on mobile: slightly taller ratio */
  /* Card stays 1:1 square on mobile too */

  /* Modal – stack vertically on mobile */
  .modal-backdrop { padding: 0; align-items: flex-end; }
  .modal {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    max-height: 96svh;
    max-width: 100%;
    border-radius: 16px 16px 0 0;
    overflow-y: auto;
    transform: translateY(100%);
  }
  .modal-backdrop.open .modal { transform: translateY(0); }

  .modal-img-side {
    aspect-ratio: 1 / 1;
    height: auto;
    width: 100%;
  }

  .modal-info { padding: 1.75rem 1.25rem; gap: 1.25rem; }
  .modal-close { top: 1rem; right: 1rem; }

  .cert-badges { gap: 1.5rem; }
}

/* ============================================================
   RESPONSIVE – Small mobile  (max 380px)
   ============================================================ */
@media (max-width: 380px) {
  .hero-title { font-size: 2.4rem; }
}