:root {
      --brand: #295f98;
      --brand-2: #f4b860;
      --dark: #122033;
      --soft: #f7f9fc;
      --muted: #6b7280;
      --success-soft: #eaf8ef;
      --danger-soft: #fff0f0;
      --radius-xl: 1.5rem;
      --shadow-soft: 0 20px 50px rgba(18, 32, 51, 0.08);
    }

    body {
      font-family: 'Inter', sans-serif;
      color: var(--dark);
      background: #ffffff;
    }

    .navbar {
      backdrop-filter: blur(10px);
      background: rgba(255,255,255,0.92);
      border-bottom: 1px solid rgba(0,0,0,0.04);
    }

    .brand-galleria {
      color: var(--brand);
      font-family: 'Montserrat', sans-serif;
      font-weight: 900;
      letter-spacing: 0.02em;
    }

    .brand-furniture { color: var(--brand-2); }

    .btn-brand {
      background: var(--brand);
      color: #fff;
      border: none;
      border-radius: 999px;
      padding: 0.8rem 1.35rem;
      font-weight: 600;
    }

    .btn-brand:hover {
      background: #204b79;
      color: #fff;
    }

    .btn-soft {
      background: #fff;
      color: var(--dark);
      border: 1px solid rgba(18, 32, 51, 0.1);
      border-radius: 999px;
      padding: 0.8rem 1.35rem;
      font-weight: 600;
    }

    .hero {
      padding: 7rem 0 4rem;
      background:
        radial-gradient(circle at top right, rgba(244,184,96,0.18), transparent 25%),
        radial-gradient(circle at top left, rgba(41,95,152,0.12), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    }

    .hero-card {
      background: #fff;
      border-radius: 2rem;
      box-shadow: var(--shadow-soft);
      overflow: hidden;
      border: 1px solid rgba(18, 32, 51, 0.06);
    }

    .hero-badge, .section-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      border-radius: 999px;
      background: rgba(41,95,152,0.08);
      color: var(--brand);
      padding: 0.45rem 0.9rem;
      font-weight: 700;
      font-size: 0.9rem;
    }

    .hero-title {
      font-size: clamp(2.2rem, 5vw, 4.3rem);
      line-height: 1.05;
      font-weight: 800;
      letter-spacing: -0.04em;
    }

    .hero-text {
      color: var(--muted);
      font-size: 1.08rem;
      max-width: 600px;
    }

    .floating-stat {
      background: #fff;
      border-radius: 1.25rem;
      box-shadow: var(--shadow-soft);
      padding: 1rem 1.1rem;
      border: 1px solid rgba(18, 32, 51, 0.06);
    }

    .feature-box,
    .product-card,
    .post-card,
    .testimonial-card,
    .cta-card {
      border: 1px solid rgba(18, 32, 51, 0.06);
      border-radius: var(--radius-xl);
      box-shadow: var(--shadow-soft);
      background: #fff;
    }

    .feature-box {
      padding: 1.4rem;
      height: 100%;
    }

    .icon-wrap {
      width: 52px;
      height: 52px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 16px;
      background: rgba(41,95,152,0.1);
      color: var(--brand);
      font-size: 1.3rem;
      margin-bottom: 1rem;
    }

    .section-padding {
      padding: 5rem 0;
    }

    .section-title {
      font-weight: 800;
      letter-spacing: -0.03em;
      font-size: clamp(1.8rem, 3vw, 3rem);
    }

    .section-text {
      color: var(--muted);
      max-width: 680px;
    }

    .product-card {
      overflow: hidden;
      transition: transform 0.25s ease, box-shadow 0.25s ease;
      height: 100%;
      display: flex;
      flex-direction: column;
      border-radius: 1.35rem;
    }

    .product-card:hover,
    .post-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 20px 40px rgba(18, 32, 51, 0.12);
    }

    .product-image,
    .post-image,
    .hero-image {
      background: linear-gradient(135deg, #f1f6ff, #fff4e6);
      min-height: 240px;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      overflow: hidden;
    }

    .product-card .product-image {
      aspect-ratio: 4 / 3;
      width: 100%;
      min-height: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      overflow: hidden;
      background: linear-gradient(135deg, #f1f6ff, #fff4e6);
      text-decoration: none;
      cursor: pointer;
    }

    .product-card .product-image img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.35s ease;
    }

    .product-card .product-image:hover img {
      transform: scale(1.05);
    }

    .product-title-link {
      color: inherit;
      text-decoration: none;
      transition: color 0.2s ease;
    }

    .product-title-link:hover {
      color: var(--brand);
    }

    .post-card .post-image {
      aspect-ratio: 16 / 10;
      width: 100%;
      min-height: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      overflow: hidden;
      background: linear-gradient(135deg, #f1f6ff, #fff4e6);
      text-decoration: none;
      cursor: pointer;
    }

    .post-card .post-image img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.35s ease;
    }

    .post-card:hover .post-image img,
    .post-card .post-image:hover img {
      transform: scale(1.05);
    }

    .post-title-link {
      color: inherit;
      text-decoration: none;
      transition: color 0.2s ease;
    }

    .post-title-link:hover {
      color: var(--brand);
    }

    .hero-image {
      min-height: 0;
      height: clamp(280px, 45vw, 560px);
    }

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

    .mattress-illustration {
      width: 82%;
      max-width: 360px;
      aspect-ratio: 16 / 10;
      border-radius: 2rem;
      background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
      box-shadow:
        0 32px 70px rgba(18, 32, 51, 0.12),
        inset 0 -12px 30px rgba(41,95,152,0.06);
      position: relative;
      border: 1px solid rgba(18, 32, 51, 0.06);
    }

    .mattress-illustration::before {
      content: '';
      position: absolute;
      inset: 12% 8% 48% 8%;
      border-radius: 1.4rem;
      background: linear-gradient(135deg, #ffffff, #eef5ff);
      border: 1px solid rgba(18, 32, 51, 0.05);
    }

    .mattress-illustration::after {
      content: '';
      position: absolute;
      inset: 54% 10% 14% 10%;
      border-radius: 0 0 1.5rem 1.5rem;
      background: linear-gradient(135deg, #dfeaf8, #f9e6c3);
    }

    .spring-lines {
      position: absolute;
      left: 14%;
      right: 14%;
      bottom: 18%;
      height: 26%;
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      gap: 8px;
    }

    .spring-lines span {
      border: 2px solid rgba(41,95,152,0.2);
      border-top: none;
      border-bottom: none;
      border-radius: 999px;
    }

    .discount-badge,
    .save-badge,
    .tag-badge {
      position: absolute;
      top: 1rem;
      left: 1rem;
      border-radius: 999px;
      padding: 0.45rem 0.8rem;
      font-size: 0.82rem;
      font-weight: 800;
      letter-spacing: 0.02em;
      z-index: 2;
    }

    .discount-badge {
      background: var(--danger-soft);
      color: #cf3d3d;
    }

    .save-badge {
      background: var(--success-soft);
      color: #16824f;
    }

    .tag-badge {
      background: rgba(255,255,255,0.9);
      color: var(--dark);
      right: 1rem;
      left: auto;
    }

    .price-row {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      flex-wrap: wrap;
    }

    .new-price {
      font-size: 1.45rem;
      font-weight: 800;
      color: var(--brand);
    }

    .old-price {
      color: #9ca3af;
      text-decoration: line-through;
      font-weight: 600;
    }

    .mini-pill {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      border-radius: 999px;
      padding: 0.35rem 0.7rem;
      background: #f5f7fb;
      color: #495466;
      font-size: 0.83rem;
      font-weight: 600;
    }

    .post-card {
      overflow: hidden;
      height: 100%;
      transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

    .post-meta {
      color: var(--muted);
      font-size: 0.92rem;
    }

    .testimonial-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 1.25rem;
    }

    .testimonial-image {
      display: block;
      aspect-ratio: 4 / 5;
      overflow: hidden;
      border-radius: var(--radius-xl);
      background: #e8edf3;
      box-shadow: var(--shadow-soft);
    }

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

    @media (max-width: 991.98px) {
      .testimonial-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }
    }

    .cta-card {
      background: linear-gradient(135deg, #1d3557, #295f98);
      color: #fff;
      padding: 2rem;
      overflow: hidden;
      position: relative;
    }

    .cta-card::after {
      content: '';
      position: absolute;
      width: 240px;
      height: 240px;
      right: -60px;
      top: -60px;
      background: rgba(255,255,255,0.08);
      border-radius: 50%;
    }

    .footer {
      background: #0f1b2b;
      color: rgba(255,255,255,0.8);
      padding: 2rem 0;
    }

    .footer a {
      color: rgba(255,255,255,0.8);
      text-decoration: none;
    }

    .footer a:hover {
      color: #fff;
    }

    @media (max-width: 991.98px) {
      .hero {
        padding-top: 6rem;
      }

      .hero-image {
        height: clamp(260px, 75vw, 480px);
      }
    }

    @media (max-width: 575.98px) {
      .testimonial-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.9rem;
      }
    }

    /* Mobile phone (2 columns): screen < 768px */
    @media (max-width: 767.98px) {
      .product-card {
        border-radius: 1.1rem;
      }

      .discount-badge,
      .save-badge,
      .tag-badge {
        top: 0.45rem;
        font-size: 0.65rem;
        padding: 0.2rem 0.45rem;
        font-weight: 700;
      }

      .discount-badge,
      .save-badge {
        left: 0.45rem;
      }

      .tag-badge {
        right: 0.45rem;
        max-width: 50%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }

      .product-card-body {
        padding: 0.85rem 0.75rem !important;
      }

      .product-title {
        font-size: 0.95rem !important;
        margin-bottom: 0.3rem !important;
        line-height: 1.25 !important;
      }

      .product-summary {
        font-size: 0.76rem !important;
        margin-bottom: 0.55rem !important;
        line-height: 1.35 !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
      }

      .price-row {
        gap: 0.35rem;
        margin-bottom: 0.55rem !important;
      }

      .new-price {
        font-size: 1.02rem !important;
      }

      .old-price {
        font-size: 0.75rem !important;
      }

      .product-features {
        gap: 0.25rem;
        margin-bottom: 0.75rem !important;
      }

      .mini-pill {
        font-size: 0.66rem !important;
        padding: 0.18rem 0.42rem !important;
      }

      .product-card .btn {
        font-size: 0.78rem !important;
        padding: 0.45rem 0.75rem !important;
      }
    }

    /* Tablet (3 columns): 768px <= screen < 992px */
    @media (min-width: 768px) and (max-width: 991.98px) {
      .discount-badge,
      .save-badge,
      .tag-badge {
        top: 0.65rem;
        font-size: 0.72rem;
        padding: 0.25rem 0.55rem;
      }

      .discount-badge,
      .save-badge {
        left: 0.65rem;
      }

      .tag-badge {
        right: 0.65rem;
        max-width: 48%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }

      .product-title {
        font-size: 1.05rem !important;
      }

      .new-price {
        font-size: 1.15rem !important;
      }

      .product-card .btn {
        font-size: 0.85rem;
        padding: 0.55rem 0.9rem;
      }
    }
