/* ==========================================================================
   Codino Insurance - Stylesheet
   ========================================================================== */

:root {
  --navy-deep: #8c0f24; /* deep Japanese red (enji), primary dark surface + heading colour */
  --navy: #a8172f; /* mid red, for secondary surfaces */
  --navy-soft: #c43a54; /* soft red, for hover / lighter accents */
  --bronze: #d4af37; /* rich gold, classic complement to red in Japanese design */
  --bronze-dark: #b8860b; /* deep goldenrod, for hover states */
  --paper: #f7f6f2;
  --paper-dim: #efede6;
  --ink: #1e2430;
  --ink-soft: #545b68;
  --line: #e4e1d8;
  --white: #ffffff;

  --font-display: "Shippori Mincho", "Noto Serif JP", serif;
  --font-body: "Noto Sans JP", "Inter", sans-serif;

  --radius: 2px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
.font-display {
  font-family: var(--font-display);
  color: var(--navy-deep);
  font-weight: 600;
  letter-spacing: 0.01em;
}

a {
  text-decoration: none;
  color: inherit;
}

.text-bronze {
  color: var(--bronze);
}
.bg-paper {
  background: var(--paper);
}
.bg-paper-dim {
  background: var(--paper-dim);
}
.bg-navy {
  background: var(--navy-deep);
}

/* ---------- Section rhythm ---------- */
.section {
  padding: 5.5rem 0;
}
.section-sm {
  padding: 3.25rem 0;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze-dark);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--bronze);
  display: inline-block;
}

.section-title {
  font-size: clamp(1.7rem, 2.6vw, 2.5rem);
  margin: 0.5rem 0 1rem;
}

.rule {
  width: 56px;
  height: 2px;
  background: var(--bronze);
  margin: 0 0 1.5rem;
  border: none;
}
.rule.center {
  margin-left: auto;
  margin-right: auto;
}

.lede {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 62ch;
}

/* ---------- Seal mark (signature element) ---------- */
.seal {
  width: 56px;
  height: 56px;
  border: 1px solid var(--bronze);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bronze);
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.seal-lg {
  width: 84px;
  height: 84px;
  font-size: 1.1rem;
}

/* ---------- Top utility bar ---------- */
.utility-bar {
  background: var(--navy-deep);
  color: #e3d2d2;
  font-size: 0.82rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.utility-bar a {
  color: #e3d2d2;
}
.utility-bar a:hover {
  color: var(--bronze);
}
.utility-bar .sep {
  opacity: 0.35;
  margin: 0 0.65rem;
}

/* Language switch */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.lang-switch button {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #e3d2d2;
  font-size: 0.76rem;
  padding: 0.15rem 0.55rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  border-radius: 2px;
}
.lang-switch button.active {
  background: var(--bronze);
  color: var(--navy-deep);
  border-color: var(--bronze);
  font-weight: 600;
}
html.is-translating body {
  cursor: progress;
}
html.is-translating .lang-switch button[data-lang="ja"]::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 0.4rem;
  border-radius: 50%;
  background: currentColor;
  animation: codino-pulse 1s ease-in-out infinite;
}
@keyframes codino-pulse {
  0%,
  100% {
    opacity: 0.25;
  }
  50% {
    opacity: 1;
  }
}

/* ---------- Navbar ---------- */
.navbar-codino {
  background: var(--white);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
}
.navbar-codino.is-sticky {
  position: sticky;
  top: 0;
  z-index: 1030;
  box-shadow: 0 6px 18px rgba(140, 15, 36, 0.1);
}
.brand-mark {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.brand-mark .seal {
  width: 42px;
  height: 42px;
  font-size: 0.65rem;
}
.brand-text {
  font-family: var(--font-display);
  line-height: 1.05;
}
.brand-text .en {
  display: block;
  font-size: 1rem;
  color: var(--navy-deep);
  letter-spacing: 0.02em;
  font-weight: 600;
}
.brand-text .jp {
  display: block;
  font-size: 0.6rem;
  color: var(--ink-soft);
  letter-spacing: 0.08em;
  font-family: var(--font-body);
}

.navbar-codino .nav-link {
  color: var(--navy-deep);
  font-weight: 500;
  font-size: 0.82rem;
  padding: 0.4rem 0.6rem !important;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.navbar-codino .nav-link:hover,
.navbar-codino .nav-link.active {
  color: var(--bronze-dark);
}

/* Navbar dropdown toggle */
.navbar-codino .dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.4rem;
  vertical-align: middle;
  content: "";
  border-top: 0.3rem solid;
  border-right: 0.3rem solid transparent;
  border-bottom: 0;
  border-left: 0.3rem solid transparent;
  font-size: 0.7rem;
}

/* Nested dropdown (sub-menu) */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: 0;
  margin-left: 0;
  min-width: 220px;
}

.dropdown-submenu .dropdown-toggle::after {
  display: inline-block;
  margin-left: auto;
  content: "";
  border-top: 0.3rem solid transparent;
  border-bottom: 0.3rem solid transparent;
  border-left: 0.3rem solid;
  float: right;
  margin-top: 0.4rem;
}

/*
  Show nested dropdown on hover (desktop).
  Triggers on EITHER a native :hover OR a JS-applied .show class, so the
  flyout is controlled by the hover-intent script in js/script.js (with a
  short close-delay) rather than relying on brittle pure-CSS :hover, and
  is fully decoupled from Bootstrap's click-driven Dropdown component.
  This means the <a> tags keep their normal href and still navigate
  normally on click; hover only handles reveal/dismiss of the flyout.
*/
@media (min-width: 992px) {
  .dropdown-submenu:hover > .dropdown-menu,
  .dropdown-submenu.show > .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .dropdown-submenu > .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.15s ease,
      visibility 0.15s ease;
  }

  .dropdown-submenu > a.dropdown-toggle {
    cursor: pointer;
  }
}

/* Mobile nested dropdown - click to expand */
@media (max-width: 991.98px) {
  .dropdown-submenu .dropdown-menu {
    background: transparent;
    border: none;
    box-shadow: none;
    padding-left: 1rem;
    padding-top: 0;
    padding-bottom: 0;
    position: static;
    min-width: auto;
    left: 0;
    opacity: 1;
    visibility: visible;
    display: none;
  }

  .dropdown-submenu .dropdown-menu.show {
    display: block;
  }

  .dropdown-submenu .dropdown-toggle::after {
    float: right;
    margin-top: 0.3rem;
    border-left: 0.3rem solid transparent;
    border-right: 0.3rem solid transparent;
    border-top: 0.3rem solid;
    border-bottom: 0;
  }

  .dropdown-submenu.show > .dropdown-menu {
    display: block;
  }
}

/* Wide dropdown for large menus */
.dropdown-menu-wide {
  min-width: 280px;
}

/*
  Dropdown hover for main menu items (desktop).
  Same hover-or-.show pattern as .dropdown-submenu above, driven by the
  same JS controller.
*/
@media (min-width: 992px) {
  .dropdown-hover:hover > .dropdown-menu,
  .dropdown-hover.show > .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .dropdown-hover > .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.15s ease,
      visibility 0.15s ease;
    margin-top: 0;
  }

  .dropdown-hover > a.dropdown-toggle {
    cursor: pointer;
  }
}

/* Dropdown menu styles */
.navbar-codino .dropdown-menu {
  background: var(--navy-deep);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 0.5rem 0;
  min-width: 240px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  margin-top: 0;
}
.navbar-codino .dropdown-item {
  color: #d6c2c2;
  font-size: 0.85rem;
  padding: 0.45rem 1.2rem;
  border-radius: 0;
  transition: all 0.2s ease;
}
.navbar-codino .dropdown-item:hover {
  background: rgba(212, 175, 55, 0.08);
  color: var(--bronze);
}
.navbar-codino .dropdown-item.fw-bold {
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
}
.navbar-codino .dropdown-item.fw-bold:hover {
  color: var(--bronze);
}
.navbar-codino .dropdown-item.ps-4 {
  padding-left: 2rem;
  font-size: 0.8rem;
}
.navbar-codino .dropdown-divider {
  border-color: rgba(255, 255, 255, 0.05);
  margin: 0.25rem 0;
}

.navbar-codino .dropdown-submenu > .dropdown-toggle {
  position: relative;
}

/* Scroll for large dropdowns on small screens */
@media (max-height: 600px) {
  .navbar-codino .dropdown-menu {
    max-height: 60vh;
    overflow-y: auto;
  }
}

/* Navbar toggle */
.navbar-toggler {
  border: 1px solid var(--navy-deep);
  border-radius: var(--radius);
  padding: 0.4rem 0.6rem;
}
.navbar-toggler:focus {
  box-shadow: 0 0 0 0.15rem rgba(140, 15, 36, 0.15);
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(140, 15, 36, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Buttons */
.btn-bronze {
  background: var(--bronze);
  border: 1px solid var(--bronze);
  color: var(--white) !important;
  font-size: 0.82rem;
  padding: 0.4rem 1rem;
  letter-spacing: 0.03em;
  border-radius: var(--radius);
  font-weight: 600;
  white-space: nowrap;
}
.btn-bronze:hover {
  background: var(--bronze-dark);
  border-color: var(--bronze-dark);
  color: #fff;
}
.btn-sm {
  font-size: 0.78rem;
  padding: 0.35rem 0.9rem;
}

.btn-outline-navy {
  border: 1px solid var(--navy-deep);
  color: var(--navy-deep) !important;
  font-size: 0.88rem;
  padding: 0.55rem 1.3rem;
  letter-spacing: 0.03em;
  border-radius: var(--radius);
  font-weight: 600;
  background: transparent;
}
.btn-outline-navy:hover {
  background: var(--navy-deep);
  color: var(--white) !important;
}

.btn-outline-light-line {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: var(--white) !important;
  font-size: 0.88rem;
  padding: 0.55rem 1.3rem;
  letter-spacing: 0.03em;
  border-radius: var(--radius);
  font-weight: 600;
  background: transparent;
}
.btn-outline-light-line:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* ---------- Hero slider (home) ---------- */
.hero-slider {
  position: relative;
}
.hero-slide {
  height: 84vh;
  min-height: 560px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
}
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(140, 15, 36, 0.62);
}
.hero-slide .container {
  position: relative;
  z-index: 2;
}
.hero-eyebrow {
  color: #e0c468;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.hero-eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: #e0c468;
}
.hero-title {
  color: var(--white);
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  max-width: 15ch;
  margin: 1rem 0 1.1rem;
}
.hero-copy {
  color: #f0e4e1;
  max-width: 52ch;
  font-size: 1.05rem;
  margin-bottom: 2rem;
}
.hero-slider .carousel-indicators {
  margin-bottom: 2rem;
}
.hero-slider .carousel-indicators [data-bs-target] {
  width: 34px;
  height: 3px;
  background: rgba(255, 255, 255, 0.4);
  border: 0;
}
.hero-slider .carousel-indicators .active {
  background: var(--bronze);
}

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
  height: 340px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
}
.page-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(140, 15, 36, 0.68);
}
.page-banner .container {
  position: relative;
  z-index: 2;
  padding-bottom: 2.4rem;
}
.page-banner h1 {
  color: #fff;
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  margin-bottom: 0.6rem;
}
.breadcrumb-line {
  color: #e3d2d2;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}
.breadcrumb-line a {
  color: #e3d2d2;
}
.breadcrumb-line a:hover {
  color: var(--bronze);
}
.breadcrumb-line .sep {
  margin: 0 0.5rem;
  opacity: 0.6;
}

/* ---------- Cards ---------- */
.card-codino {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.1rem 1.8rem;
  height: 100%;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease;
}
.card-codino:hover {
  border-color: var(--bronze);
  transform: translateY(-4px);
}
.card-codino .seal {
  margin-bottom: 1.2rem;
}
.card-codino h3 {
  font-size: 1.18rem;
  margin-bottom: 0.7rem;
}
.card-codino p {
  color: var(--ink-soft);
  font-size: 0.94rem;
  margin-bottom: 1.1rem;
}
.card-link {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--bronze-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.card-link:hover {
  color: var(--navy-deep);
}

.solution-card {
  background: var(--navy-deep);
  color: #ecdfdf;
  padding: 2.4rem 2rem;
  border-radius: var(--radius);
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.solution-card h3 {
  color: #fff;
  font-size: 1.3rem;
  margin: 1rem 0 0.8rem;
}
.solution-card p {
  color: #d6c2c2;
  font-size: 0.93rem;
}
.solution-card .num {
  font-family: var(--font-display);
  color: var(--bronze);
  font-size: 1rem;
  letter-spacing: 0.1em;
}

/* ---------- Stat strip ---------- */
.stat-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  text-align: center;
  padding: 2.2rem 1rem;
  border-right: 1px solid var(--line);
}
.stat:last-child {
  border-right: 0;
}
.stat .num {
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--navy-deep);
}
.stat .label {
  font-size: 0.82rem;
  color: var(--ink-soft);
  letter-spacing: 0.03em;
  margin-top: 0.3rem;
}

/* ---------- FAQ ---------- */
.accordion-codino .accordion-item {
  border: 1px solid var(--line);
  border-radius: var(--radius) !important;
  margin-bottom: 0.8rem;
  overflow: hidden;
}
.accordion-codino .accordion-button {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy-deep);
  background: var(--white);
  font-size: 1rem;
  padding: 1.15rem 1.4rem;
}
.accordion-codino .accordion-button:not(.collapsed) {
  background: var(--paper-dim);
  color: var(--bronze-dark);
  box-shadow: none;
}
.accordion-codino .accordion-button:focus {
  box-shadow: none;
  border-color: var(--line);
}
.accordion-codino .accordion-button::after {
  filter: none;
}
.accordion-codino .accordion-body {
  color: var(--ink-soft);
  font-size: 0.95rem;
  padding: 0 1.4rem 1.4rem;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy-deep);
  padding: 4rem 0;
  position: relative;
}
.cta-band h2 {
  color: #fff;
}
.cta-band p {
  color: #d6c2c2;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: #d2bfbf;
  padding-top: 4rem;
}
.site-footer h5 {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.02rem;
  margin-bottom: 1.1rem;
}
.site-footer a {
  color: #d2bfbf;
  font-size: 0.92rem;
}
.site-footer a:hover {
  color: var(--bronze);
}
.site-footer .footer-brand .en {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.2rem;
}
.site-footer .footer-brand .jp {
  color: #a28e8e;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}
.site-footer p {
  font-size: 0.92rem;
  color: #b8a0a0;
}
.site-footer .foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 3rem;
  padding: 1.3rem 0;
  font-size: 0.8rem;
  color: #8f7a7a;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer li {
  margin-bottom: 0.6rem;
}
.site-footer .social-icons a {
  color: #d6c2c2;
  transition: color 0.2s ease;
}
.site-footer .social-icons a:hover {
  color: var(--bronze) !important;
}

/* ---------- Contact ---------- */
.info-line {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.6rem;
  align-items: flex-start;
}
.info-line .seal {
  width: 44px;
  height: 44px;
  font-size: 0.6rem;
}
.info-line h4 {
  font-size: 0.98rem;
  margin-bottom: 0.2rem;
}
.info-line p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin: 0;
}

.form-control,
.form-select {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 0.7rem 0.9rem;
  font-size: 0.93rem;
}
.form-control:focus,
.form-select:focus {
  border-color: var(--bronze);
  box-shadow: 0 0 0 0.18rem rgba(212, 175, 55, 0.18);
}
.map-embed {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
  display: block;
}

/* ---------- Company detail table ---------- */
.detail-table {
  width: 100%;
  border-collapse: collapse;
}
.detail-table tr {
  border-bottom: 1px solid var(--line);
}
.detail-table td {
  padding: 1rem 0.5rem;
  vertical-align: top;
}
.detail-table td:first-child {
  width: 220px;
  font-weight: 600;
  color: var(--navy-deep);
  font-family: var(--font-display);
}
.detail-table td:last-child {
  color: var(--ink-soft);
}

/* ---------- Team ---------- */
.team-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  text-align: center;
  height: 100%;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease;
}
.team-card:hover {
  border-color: var(--bronze);
  transform: translateY(-4px);
}
.team-avatar {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  margin: 0 auto 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: #fff;
  background: var(--navy-deep);
  border: 3px solid var(--paper);
  outline: 1px solid var(--bronze);
}
.team-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}
.team-role {
  color: var(--bronze-dark);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  display: block;
}
.team-card p {
  color: var(--ink-soft);
  font-size: 0.88rem;
  margin-bottom: 0;
}
.dept-row {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
}
.dept-row:last-child {
  border-bottom: 0;
}
.dept-row .seal {
  flex-shrink: 0;
}
.dept-row h4 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}
.dept-row p {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin: 0;
}
.list-check {
  list-style: none;
  padding: 0;
  margin: 0;
}
.list-check li {
  padding-left: 1.7rem;
  position: relative;
  margin-bottom: 0.85rem;
  color: var(--ink-soft);
}
.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 9px;
  height: 9px;
  border: 1.5px solid var(--bronze);
  transform: rotate(45deg);
}

.side-nav {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.6rem;
}
.side-nav a {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
  color: var(--ink);
  border-left: 2px solid transparent;
}
.side-nav a:hover,
.side-nav a.active {
  color: var(--bronze-dark);
  border-left-color: var(--bronze);
  background: var(--paper-dim);
}

.back-to-top {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy-deep);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
  z-index: 1040;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  background: var(--bronze);
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .stat {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .stat:last-child {
    border-bottom: 0;
  }
  .hero-slide {
    height: auto;
    min-height: 520px;
    padding: 5rem 0;
  }
  .navbar-codino {
    padding: 0.5rem 0;
  }
  .navbar-codino .nav-link {
    padding: 0.5rem 0 !important;
    font-size: 0.9rem;
    white-space: normal;
  }
  .navbar-nav {
    gap: 0;
    padding: 0.5rem 0;
  }
  .navbar-codino .dropdown-menu {
    /* background: transparent; */
    background: var(--navy-deep);
    border: none;
    box-shadow: none;
    padding-left: 1rem;
    padding-top: 0;
    padding-bottom: 0;
    min-width: auto;
    max-height: none;
    overflow-y: visible;
    position: static;
  }
  .navbar-codino .dropdown-item {
    color: #d6c2c2;
    padding: 0.35rem 0;
    font-size: 0.85rem;
  }
  .navbar-codino .dropdown-item:hover {
    background: transparent;
    color: var(--bronze);
  }
  .navbar-codino .dropdown-item.fw-bold {
    color: #fff;
    font-size: 0.9rem;
  }
  .navbar-codino .dropdown-divider {
    border-color: rgba(255, 255, 255, 0.05);
    margin: 0.25rem 0;
  }
  .navbar-codino .dropdown-toggle::after {
    display: none;
  }
  .btn-bronze.btn-sm {
    margin-top: 0.5rem;
    width: 100%;
    text-align: center;
  }
  .site-footer .foot-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
  .site-footer .social-icons {
    justify-content: center;
  }
  .dropdown-menu-wide {
    min-width: auto;
  }
}

@media (max-width: 1199.98px) {
  .navbar-codino .nav-link {
    font-size: 0.78rem;
    padding: 0.35rem 0.5rem !important;
  }
  .brand-text .en {
    font-size: 0.9rem;
  }
  .brand-text .jp {
    font-size: 0.55rem;
  }
  .btn-bronze {
    font-size: 0.78rem;
    padding: 0.35rem 0.8rem;
  }
}

@media (max-width: 575.98px) {
  .brand-text .en {
    font-size: 0.8rem;
  }
  .brand-text .jp {
    font-size: 0.5rem;
  }
  .brand-mark .brand-logo {
    height: 32px !important;
  }
  .navbar-toggler {
    padding: 0.3rem 0.4rem;
  }
  .navbar-toggler-icon {
    width: 1.2rem;
    height: 1.2rem;
  }
}

/* ---------- Industry Tags ---------- */
.industry-tag {
  background: var(--navy-deep);
  color: #d6c2c2;
  padding: 0.6rem 1rem;
  border-radius: 2px;
  font-size: 0.75rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  font-weight: 500;
  letter-spacing: 0.3px;
}
.industry-tag:hover {
  background: var(--bronze);
  color: #fff;
  border-color: var(--bronze);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

/* ---------- Product Cards ---------- */
.product-card {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  border-radius: 2px;
  overflow: hidden;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}
.product-image {
  transition: transform 0.5s ease;
}
.product-card:hover .product-image {
  transform: scale(1.02);
}

/* ---------- Insight Cards ---------- */
.insight-card {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  border-radius: 2px;
  overflow: hidden;
}
.insight-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

/* ---------- Claims Section ---------- */
.claims-section .btn-outline-light-line {
  border-color: rgba(255, 255, 255, 0.3);
}
.claims-section .btn-outline-light-line:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

/* ---------- CTA Final ---------- */
.cta-final .btn-lg {
  padding: 0.8rem 2.5rem;
  font-size: 1.05rem;
}

/* ---------- Product Tags ---------- */
.product-tag {
  background: rgba(212, 175, 55, 0.12);
  color: var(--bronze);
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid rgba(212, 175, 55, 0.2);
  white-space: nowrap;
}
.product-tag-light {
  background: rgba(255, 255, 255, 0.08);
  color: #d6c2c2;
  border-color: rgba(255, 255, 255, 0.1);
}

/* ---------- Responsive Adjustments ---------- */
@media (max-width: 768px) {
  .page-banner h1 {
    font-size: 2.2rem !important;
  }
  .cta-final h2 {
    font-size: 2rem !important;
  }
  .claims-section h2 {
    font-size: 1.8rem !important;
  }
  .industry-tag {
    font-size: 0.7rem;
    padding: 0.4rem 0.8rem;
  }
}

/* ---------- Additional Mobile Fix for Nested Dropdowns ---------- */
@media (max-width: 991.98px) {
  .dropdown-submenu .dropdown-menu {
    background: transparent;
    border: none;
    box-shadow: none;
    padding-left: 1rem;
    padding-top: 0;
    padding-bottom: 0;
    position: static;
    min-width: auto;
    left: 0;
    opacity: 1;
    visibility: visible;
    display: none;
  }

  .dropdown-submenu .dropdown-menu.show {
    display: block;
  }

  .dropdown-submenu .dropdown-toggle::after {
    float: right;
    margin-top: 0.3rem;
    border-left: 0.3rem solid transparent;
    border-right: 0.3rem solid transparent;
    border-top: 0.3rem solid;
    border-bottom: 0;
  }

  .dropdown-submenu.show > .dropdown-menu {
    display: block;
  }
}
