/* ============================================================
   DERILA ERGO™ — css/style.css
   Theme: Sky Blue + White (from product image)
   Font: Jost (Google Fonts)
   ============================================================ */

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

:root {
  --blue:        #5b9bd5;
  --blue-dark:   #3a7abf;
  --blue-deeper: #1d5a99;
  --blue-mid:    #4a8fcb;
  --blue-light:  #ddeef9;
  --blue-pale:   #f0f7fd;
  --sky:         #7fb4de;
  --white:       #ffffff;
  --off-white:   #f5f9fd;
  --cream:       #edf4fb;
  --text:        #0d2033;
  --muted:       #415a72;
  --border:      #c2d9ef;
  --radius:      8px;
  --radius-pill: 50px;
  --shadow:      0 4px 20px rgba(91,155,213,0.12);
  --shadow-h:    0 10px 36px rgba(91,155,213,0.22);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  font-size: 18px;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.75;
}

/* ============================================================
   NAVBAR
   ============================================================ */
nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--blue-deeper);
  padding: 0 24px;
  height: 74px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo {
  font-family: 'Jost', sans-serif;
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: #cce2f5;
  text-decoration: none;
  font-family: 'Jost', sans-serif;
  font-size: 0.97rem;
  font-weight: 500;
  transition: color 0.2s;
  white-space: nowrap;
}

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

.btn-nav-order {
  background: var(--blue) !important;
  color: var(--white) !important;
  font-weight: 800 !important;
  font-size: 0.92rem !important;
  letter-spacing: 0.6px;
  padding: 10px 26px !important;
  border-radius: var(--radius-pill) !important;
  border: 2px solid rgba(255,255,255,0.3) !important;
  transition: background 0.2s !important;
  text-transform: uppercase;
}

.btn-nav-order:hover {
  background: var(--blue-dark) !important;
  border-color: rgba(255,255,255,0.5) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: var(--white);
  display: block;
  border-radius: 2px;
  transition: 0.3s;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--blue-deeper);
  position: absolute;
  top: 74px;
  left: 0;
  right: 0;
  padding: 24px 32px;
  gap: 18px;
  z-index: 999;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  color: #cce2f5;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  font-family: 'Jost', sans-serif;
}

.mobile-menu .btn-mob-order {
  background: var(--blue);
  color: var(--white);
  text-align: center;
  padding: 13px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  margin-top: 6px;
  font-size: 1rem;
  text-transform: uppercase;
}

/* ============================================================
   GLOBAL BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-block;
  background: var(--blue-dark);
  color: var(--white);
  font-family: 'Jost', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 15px 34px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 16px rgba(58,122,191,0.28);
}

.btn-primary:hover {
  background: var(--blue-deeper);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--blue-dark);
  font-family: 'Jost', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--blue-dark);
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}

.btn-outline:hover {
  background: var(--blue-dark);
  color: var(--white);
  transform: translateY(-2px);
}

/* ============================================================
   SECTION TITLE BANDS
   ============================================================ */
.sec-title-band {
  background: var(--blue-dark);
  padding: 50px 40px 42px;
  text-align: center;
}

.sec-title-band h2 {
  font-family: 'Jost', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  line-height: 1.2;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: linear-gradient(135deg, var(--blue-pale) 0%, var(--white) 60%);
  padding: 80px 48px;
}

.hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}

.hero-img-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img-wrap a img {
  max-width: 100%;
  max-height: 520px;
  object-fit: contain;
  filter: drop-shadow(0 14px 36px rgba(91,155,213,0.25));
  transition: transform 0.4s ease;
}

.hero-img-wrap a:hover img { transform: scale(1.04) rotate(-1deg); }

.hero-content h1 {
  font-family: 'Jost', sans-serif;
  font-size: 2.9rem;
  font-weight: 900;
  line-height: 1.12;
  color: var(--blue-deeper);
  margin-bottom: 26px;
}

.hero-content p {
  font-size: 1.12rem;
  line-height: 1.82;
  color: var(--muted);
  margin-bottom: 16px;
}

.hero-highlight {
  font-weight: 700;
  color: var(--blue-deeper);
  font-size: 1.1rem;
  background: var(--blue-light);
  border-left: 4px solid var(--blue);
  padding: 12px 18px;
  border-radius: 0 var(--radius) var(--radius) 0;
  display: block;
  margin-top: 8px;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews-section {
  background: var(--off-white);
  padding: 70px 48px;
}

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

.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  text-align: center;
  transition: box-shadow 0.3s, transform 0.3s;
  box-shadow: var(--shadow);
}

.review-card:hover {
  box-shadow: var(--shadow-h);
  transform: translateY(-4px);
}

.reviewer-photo {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  display: block;
  border: 3px solid var(--blue);
}

.review-stars {
  height: 22px;
  margin: 0 auto 14px;
  display: block;
}

.review-badge {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 14px;
}

.review-text {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
  font-style: italic;
}

.reviewer-name {
  margin-top: 18px;
  font-weight: 700;
  color: var(--blue-deeper);
  font-size: 0.95rem;
}

/* ============================================================
   WHAT IS SECTION
   ============================================================ */
.what-is-section {
  background: var(--white);
  padding: 70px 48px;
}

.what-is-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  align-items: center;
  gap: 60px;
}

.what-is-img-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.what-is-img-wrap img {
  width: 100%;
  max-width: 440px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(91,155,213,0.18));
  display: block;
}

.what-is-text p {
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 18px;
}

/* ============================================================
   WHY CHOOSE
   ============================================================ */
.why-section {
  background: var(--off-white);
  padding: 70px 48px;
}

.section-prose {
  max-width: 900px;
  margin: 0 auto;
}

.section-prose p {
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 18px;
}

/* ============================================================
   PRICING BAND
   ============================================================ */
.pricing-band {
  background: var(--blue-deeper);
  padding: 48px 40px 16px;
  text-align: center;
}

.pricing-band h3 {
  font-family: 'Jost', sans-serif;
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pricing-band h4 {
  font-family: 'Jost', sans-serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: #a8d0f0;
  margin-bottom: 0;
}

/* ============================================================
   PRICING IMAGE
   ============================================================ */
.price-img-section {
  background: var(--white);
  padding: 48px;
  text-align: center;
}

.price-img-section a img {
  max-width: 900px;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  transition: transform 0.3s;
  box-shadow: var(--shadow);
}

.price-img-section a:hover img { transform: scale(1.01); }

/* ============================================================
   FEATURES
   ============================================================ */
.features-section {
  background: var(--off-white);
  padding: 70px 48px;
}

.features-list {
  max-width: 900px;
  margin: 0 auto;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.features-list li {
  background: var(--white);
  border-left: 5px solid var(--blue);
  border-radius: var(--radius);
  padding: 20px 24px;
  font-size: 1.07rem;
  line-height: 1.78;
  color: var(--muted);
  box-shadow: var(--shadow);
}

.features-list li strong {
  color: var(--blue-deeper);
  font-weight: 800;
  font-size: 1.08rem;
  display: block;
  margin-bottom: 5px;
}

/* ============================================================
   GUARANTEE
   ============================================================ */
.guarantee-section {
  background: var(--white);
  padding: 70px 48px;
}

.guarantee-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  align-items: center;
  gap: 60px;
}

.guarantee-img-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.guarantee-img-wrap img {
  width: 100%;
  max-width: 280px;
  height: auto;
  object-fit: contain;
  display: block;
}

.guarantee-text p {
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 18px;
}

/* ============================================================
   BENEFITS
   ============================================================ */
.benefits-section {
  background: var(--off-white);
  padding: 70px 48px;
}

.benefits-list {
  max-width: 900px;
  margin: 0 auto;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.benefits-list li {
  display: flex;
  gap: 16px;
  font-size: 1.07rem;
  line-height: 1.8;
  color: var(--muted);
  align-items: flex-start;
}

.benefit-icon {
  min-width: 36px;
  height: 36px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 900;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.benefits-list li strong {
  color: var(--blue-deeper);
  font-weight: 700;
}

/* ============================================================
   FAQs
   ============================================================ */
.faq-section {
  background: var(--off-white);
  padding: 70px 48px;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 26px;
  font-family: 'Jost', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue-deeper);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  transition: background 0.2s;
  line-height: 1.4;
}

.faq-question:hover { background: var(--blue-pale); }

.faq-arrow {
  font-size: 1.1rem;
  transition: transform 0.3s;
  color: var(--blue);
  flex-shrink: 0;
}

.faq-answer {
  display: none;
  padding: 0 26px 22px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-arrow  { transform: rotate(180deg); }

/* ============================================================
   HOW TO ORDER
   ============================================================ */
.order-how-section {
  background: var(--white);
  padding: 70px 48px;
}

.order-how-inner {
  max-width: 900px;
  margin: 0 auto;
}

.order-how-inner p {
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 18px;
}

.order-img-wrap {
  text-align: center;
  margin-top: 36px;
}

.order-img-wrap a img {
  max-width: 900px;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  transition: transform 0.3s;
  box-shadow: var(--shadow);
}

.order-img-wrap a:hover img { transform: scale(1.01); }

/* ============================================================
   PRICING DETAILS
   ============================================================ */
.pricing-details {
  background: var(--off-white);
  padding: 48px;
}

.pricing-details-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  border-top: 3px solid var(--blue);
  box-shadow: var(--shadow);
}

.info-block h4 {
  font-family: 'Jost', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--blue-deeper);
  margin-bottom: 12px;
}

.info-block p,
.info-block li {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--muted);
}

.info-block ul { list-style: none; padding: 0; }
.info-block ul li { padding: 4px 0; }
.info-block ul li::before {
  content: "→ ";
  color: var(--blue);
  font-weight: 800;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta-final {
  background: linear-gradient(135deg, var(--blue-pale) 0%, var(--white) 100%);
  padding: 80px 48px;
  text-align: center;
  border-top: 3px solid var(--blue);
  border-bottom: 3px solid var(--blue);
}

.cta-final h2 {
  font-family: 'Jost', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--blue-deeper);
  margin-bottom: 36px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-product-img {
  max-width: 420px;
  margin: 0 auto 32px;
}

.cta-product-img a img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 32px rgba(91,155,213,0.22));
  transition: transform 0.4s;
}

.cta-product-img a:hover img { transform: scale(1.05); }

.cta-regular-price {
  font-size: 1.2rem;
  color: var(--muted);
  text-decoration: line-through;
  display: block;
  margin-bottom: 6px;
}

.cta-current-price {
  font-family: 'Jost', sans-serif;
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--blue-deeper);
  display: block;
  margin-bottom: 30px;
  letter-spacing: 1px;
}

/* ============================================================
   FOOTER — NEW STYLE: Multi-column grid with icons
   ============================================================ */
footer {
  background: var(--blue-deeper);
  padding: 60px 48px 0;
}

/* Top footer grid - 4 columns */
.footer-top {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand h3 {
  font-family: 'Jost', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.93rem;
  color: #8ab4d4;
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  font-family: 'Jost', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  color: #8ab4d4;
  text-decoration: none;
  font-size: 0.93rem;
  font-family: 'Jost', sans-serif;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul li a:hover { color: var(--white); }

.footer-col ul li a::before {
  content: "›";
  color: var(--blue);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
}

/* Trust badges row */
.footer-trust {
  max-width: 1160px;
  margin: 0 auto;
  padding: 32px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #8ab4d4;
  font-size: 0.9rem;
  font-family: 'Jost', sans-serif;
  font-weight: 600;
}

.trust-badge .badge-icon {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Footer bottom bar */
.footer-bottom {
  max-width: 1160px;
  margin: 0 auto;
  padding: 24px 0 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer-copy {
  font-size: 0.87rem;
  color: #4d7a9e;
  font-family: 'Jost', sans-serif;
}

.footer-copy a { color: #6898b8; text-decoration: none; }
.footer-copy a:hover { color: var(--white); }

.footer-legal-text {
  max-width: 1160px;
  margin: 0 auto;
  padding-bottom: 28px;
}

.footer-legal-text p {
  font-size: 0.82rem;
  color: #3d6080;
  line-height: 1.7;
  margin-bottom: 8px;
  text-align: center;
}

/* ============================================================
   FADE-UP ANIMATION
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-content h1    { font-size: 2.3rem; }
  .what-is-inner      { grid-template-columns: 1fr 1.3fr; gap: 40px; }
  .footer-top         { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  .hero-inner         { grid-template-columns: 1fr; gap: 40px; }
  .reviews-grid       { grid-template-columns: 1fr 1fr; }
  .what-is-inner      { grid-template-columns: 1fr; }
  .guarantee-inner    { grid-template-columns: 1fr; text-align: center; }
  .guarantee-img-wrap { justify-content: center; }
  .footer-top         { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  nav                 { padding: 0 18px; }
  .nav-links          { display: none; }
  .hamburger          { display: flex; }
  .hero               { padding: 44px 20px; }
  .hero-content h1    { font-size: 1.95rem; }
  .sec-title-band     { padding: 40px 20px 34px; }
  .sec-title-band h2  { font-size: 1.65rem; }
  .reviews-grid       { grid-template-columns: 1fr; }
  .reviews-section,
  .what-is-section,
  .why-section,
  .features-section,
  .guarantee-section,
  .benefits-section,
  .faq-section,
  .order-how-section  { padding: 44px 20px; }
  .pricing-details,
  .price-img-section  { padding: 32px 20px; }
  .cta-final          { padding: 60px 20px; }
  .cta-final h2       { font-size: 1.85rem; }
  .cta-current-price  { font-size: 2.3rem; }
  footer              { padding: 44px 20px 0; }
  .footer-top         { grid-template-columns: 1fr; gap: 28px; }
  .footer-trust       { gap: 20px; }
  .footer-bottom      { flex-direction: column; align-items: center; text-align: center; }
}