/* ============================================================
   VIMAL KITCHEN APPLIANCES - style.css
   1. Reset  2. Variables  3. Global  4. Header  5. Hero
   6. About  7. Services  8. Products  9. Gallery  10. Contact
   11. Footer  12. Modal  13. Lightbox  14. Responsive
   ============================================================ */

/* ---------- 1. RESET ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

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

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea {
  font-family: inherit;
}

/* ---------- 2. VARIABLES ---------- */
:root {
  --navy-dark: #071426;
  --navy: #0d2745;
  --blue: #2563eb;
  --teal: #0f9d8a;
  --bg-light: #f3f8fa;
  --white: #ffffff;
  --text-dark: #14213d;
  --text-muted: #667085;

  --font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;

  --shadow-sm: 0 2px 8px rgba(7, 20, 38, 0.06);
  --shadow-md: 0 8px 24px rgba(7, 20, 38, 0.1);
  --shadow-lg: 0 18px 48px rgba(7, 20, 38, 0.18);

  --transition: 0.25s ease;
  --header-h: 78px;
}

/* ---------- 3. GLOBAL ---------- */
body {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--bg-light);
}

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head-row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(15, 157, 138, 0.1);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.label-light {
  color: #7ef0dd;
  background: rgba(126, 240, 221, 0.12);
}

.section-title {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.02rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  background: #1d4fd7;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.45);
}

.btn-whatsapp {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(15, 157, 138, 0.35);
}

.btn-whatsapp:hover {
  background: #0c8a79;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(15, 157, 138, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.45);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border: 2px solid rgba(20, 33, 61, 0.35);
}

.btn-outline-dark:hover {
  background: rgba(20, 33, 61, 0.06);
  border-color: var(--navy);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: currentColor;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 4. HEADER ---------- */
[hidden] {
  display: none !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid #e6edf3;
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}

.brand-name {
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  color: var(--navy);
  white-space: nowrap;
}

.brand-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.nav-list {
  display: flex;
  gap: 34px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: width var(--transition);
}

.nav-link:hover {
  color: var(--blue);
}

.nav-link:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 8px;
}

.hamburger span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ---------- 5. HERO ---------- */
.hero {
  background: url("../assets/hero/hero.jpg") center / cover no-repeat;
  color: var(--text-dark);
  padding: 70px 0 120px;
  overflow: hidden;
}

.hero .container {
  padding-left: 8px;
}

.hero-grid {
  display: block;
}

.hero-content {
  max-width: 620px;
}

.hero-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.3);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: 0.01em;
  margin-bottom: 22px;
}

.hero-desc {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 28px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.hero-tags li {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid rgba(20, 33, 61, 0.22);
  color: var(--navy);
  box-shadow: 0 3px 10px rgba(7, 20, 38, 0.1);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero .btn-outline {
  color: var(--navy);
  border-color: rgba(20, 33, 61, 0.4);
}

.hero .btn-outline:hover {
  background: rgba(20, 33, 61, 0.07);
  border-color: var(--navy);
}

/* ---------- 6. ABOUT ---------- */
.card-grid {
  display: grid;
  gap: 24px;
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.info-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e8f0f5;
  transition: var(--transition);
}

.info-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.info-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(15, 157, 138, 0.12));
  margin-bottom: 18px;
}

.info-icon svg {
  width: 26px;
  height: 26px;
  fill: var(--blue);
}

.info-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.info-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ---------- 7. SERVICES ---------- */
.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e8f0f5;
  border-top: 4px solid var(--teal);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.1);
  margin-bottom: 18px;
}

.service-icon svg {
  width: 26px;
  height: 26px;
  fill: var(--blue);
}

.service-card h3 {
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ---------- 8. PRODUCTS ---------- */
.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e8f0f5;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.product-img-wrap {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #e9f1f6;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.product-body {
  padding: 22px 22px 26px;
}

.product-body h3 {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.product-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ---------- 9. GALLERY ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
  padding: 0;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(7, 20, 38, 0.45));
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.07);
}

.gallery-item:hover::after {
  opacity: 1;
}

/* ---------- 10. CONTACT ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.contact-card {
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: var(--shadow-md);
}

.contact-card-light {
  background: var(--white);
  border: 1px solid #e8f0f5;
}

.contact-card-dark {
  background: linear-gradient(140deg, var(--navy-dark), var(--navy) 55%, #0b4a44);
  color: var(--white);
}

.contact-title {
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 18px;
}

.contact-biz {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--blue);
  margin-bottom: 18px;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.94rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.contact-list .icon {
  color: var(--teal);
  margin-top: 2px;
}

.contact-list a {
  color: var(--text-dark);
  font-weight: 600;
  word-break: break-word;
}

.contact-list a:hover {
  color: var(--blue);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.contact-dark-desc {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

.social-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
  font-weight: 600;
  font-size: 0.92rem;
  transition: var(--transition);
}

.social-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.social-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

/* ---------- 11. FOOTER ---------- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 70px 0 34px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 44px;
}

.footer-brand {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  margin-bottom: 14px;
}

.footer-desc {
  font-size: 0.92rem;
  max-width: 340px;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: var(--transition);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
  fill: var(--white);
}

.footer-social a:hover {
  background: var(--blue);
  transform: translateY(-2px);
}

.footer-heading {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 10px;
  font-size: 0.92rem;
}

.footer-links a,
.footer-contact a {
  transition: color var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--white);
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 26px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-legal {
  display: flex;
  gap: 22px;
}

.footer-legal a {
  transition: color var(--transition);
}

.footer-legal a:hover {
  color: var(--white);
}

/* ---------- 12. MODAL ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(7, 20, 38, 0.65);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px 32px;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.25s ease;
}

.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
}

.modal h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.modal-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--text-muted);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--bg-light);
  color: var(--text-dark);
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #d8e2ea;
  border-radius: 10px;
  font-size: 0.92rem;
  color: var(--text-dark);
  background: #fbfdfe;
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.form-group input.invalid,
.form-group textarea.invalid {
  border-color: #e11d48;
}

.form-error {
  display: block;
  font-size: 0.78rem;
  color: #e11d48;
  margin-top: 5px;
  min-height: 1em;
}

.form-success {
  text-align: center;
  padding: 30px 10px 10px;
}

.success-icon {
  width: 56px;
  height: 56px;
  fill: var(--teal);
  margin: 0 auto 16px;
}

.form-success p {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
}

/* ---------- 13. LIGHTBOX ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(4, 10, 20, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-img {
  max-width: 88vw;
  max-height: 84vh;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  object-fit: contain;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 2;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox-close {
  top: 22px;
  right: 26px;
  width: 46px;
  height: 46px;
  font-size: 1.7rem;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 1.4rem;
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

/* ---------- FLOATING CONTACT BUTTONS ---------- */
.float-contact {
  position: fixed;
  bottom: 26px;
  left: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 900;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 8px 20px rgba(7, 20, 38, 0.3);
  transition: var(--transition);
}

.float-btn svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.float-call {
  position: fixed;
  bottom: 26px;
  right: 26px;
  background: var(--blue);
}

.float-call:hover {
  background: #1d4fd7;
  transform: translateY(-3px);
}

.float-wa {
  background: #25d366;
}

.float-wa:hover {
  background: #1eb857;
  transform: translateY(-3px);
}

/* ---------- 14. RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 860px) {
  .section {
    padding: 72px 0;
  }

  .hamburger {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid #e6edf3;
    box-shadow: var(--shadow-md);
    transform: translateY(-130%);
    transition: transform 0.3s ease;
    z-index: 999;
  }

  .main-nav.open {
    transform: translateY(0);
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
    padding: 10px 24px 20px;
  }

  .nav-list li {
    border-bottom: 1px solid #eef3f7;
  }

  .nav-list li:last-child {
    border-bottom: none;
  }

  .nav-link {
    display: block;
    padding: 14px 0;
  }

  .nav-link::after {
    display: none;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .section-head-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .hero {
    padding: 64px 0 72px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .contact-actions .btn {
    flex: 1 1 100%;
  }

  .social-buttons {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 32px 24px;
  }

  .brand-name {
    font-size: 0.82rem;
    white-space: normal;
  }

  .brand-sub {
    font-size: 0.7rem;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .lightbox-prev,
  .lightbox-next {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }

  .modal {
    padding: 30px 22px;
  }
}

/* ---------- 15. INNER PAGES ---------- */
.page-hero {
  background:
    radial-gradient(700px 320px at 85% 0%, rgba(15, 157, 138, 0.25), transparent 60%),
    linear-gradient(135deg, var(--navy-dark), var(--navy) 60%, #0a3a52);
  color: var(--white);
  padding: 72px 0;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 10px;
}

.breadcrumb {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a {
  color: #8fd8ff;
  font-weight: 600;
}

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

.breadcrumb span {
  margin: 0 6px;
  opacity: 0.6;
}

/* Active nav state */
.nav-link.active {
  color: var(--blue);
}

.nav-link.active::after {
  width: 100%;
}

/* Explore cards (home page) */
.explore-card {
  display: block;
  color: inherit;
}

.explore-arrow {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue);
  transition: var(--transition);
}

.explore-card:hover .explore-arrow {
  transform: translateX(4px);
}

/* CTA band (home page) */
.cta-band {
  background:
    radial-gradient(600px 300px at 90% 20%, rgba(15, 157, 138, 0.3), transparent 60%),
    linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: var(--white);
  padding: 64px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.cta-title {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 800;
  margin-bottom: 8px;
}

.cta-desc {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.98rem;
}

.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Legal pages (privacy / terms) */
.legal-content {
  max-width: 820px;
  margin: 0 auto;
}

.legal-updated {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 26px;
}

.legal-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 30px 0 10px;
}

.legal-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 14px;
}

.legal-content ul li {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 7px;
}

.legal-content a {
  color: var(--blue);
  font-weight: 600;
}

.legal-content a:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .cta-actions .btn {
    flex: 1 1 100%;
  }

  .page-hero {
    padding: 56px 0;
  }

  .hero {
    padding: 70px 0 80px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
}
