:root {
  --primary: #00a950;
  --primary-dark: #00863f;
  --secondary: #02528a;
  --secondary-dark: #013b66;
  --text: #1f2937;
  --muted: #5b6472;
  --white: #ffffff;
  --soft: #f5f8fb;
  --border: #e8edf3;
  --shadow: 0 18px 45px rgba(2, 82, 138, 0.12);
  --radius: 22px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Montserrat', sans-serif;

  color: var(--text);
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
}

.page {
  max-width: 1440px;
  margin: 0 auto;
  background: var(--white);
  min-height: 100vh;
  overflow: hidden;
  /* override class*/
  width: 100%;
  max-width: none;
  margin: 0;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* =========================
   HEADER / NAVBAR
========================= */

.page {
  width: 100%;
  max-width: none;
  margin: 0;
  background: var(--white);
  min-height: 100vh;
  overflow: hidden;
}

.site-header {
  width: 100%;
  position: relative;
  z-index: 50;
  background: var(--white);
}

.header-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* TOP BAR */

.topbar {
  width: 100%;
  background: var(--secondary);
  color: #ffffff;
}

.topbar-content {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
}

.topbar-left {
  gap: 34px;
}

.topbar-right {
  gap: 24px;
}

.topbar a {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  opacity: 0.95;
  transition: opacity 0.2s ease;
}

.topbar a:hover {
  opacity: 1;
}

.topbar-icon {
  font-size: 12px;
  line-height: 1;
}

.topbar-icon svg {
  width: 20px;
  stroke: white;
  fill: transparent;
}

.topbar-divider {
  width: 1px;
  height: 26px;
  background: rgba(255, 255, 255, 0.35);
  margin-left: auto;
  margin-right: 36px;
}

.search-link {
  padding-right: 4px;
}

.top-bank-btn {
  height: 37px;
  padding: 10px 24px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* MAIN NAVBAR */

.main-navbar {
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #e8edf3;
  box-shadow: 0 4px 14px rgba(2, 82, 138, 0.04);
}

.navbar-content {
  min-height: 78px;
  display: flex;
  align-items: center;
}

/* LOGO */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}

.brand img {
  width: 168px;
}

.brand-icon {
  width: 44px;
  height: 44px;
  background: var(--secondary);
  color: #ffffff;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 19px;
  font-weight: 900;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-text span {
  color: var(--primary);
  font-size: 17px;
  font-weight: 800;
  line-height: 0.9;
}

.brand-text strong {
  color: var(--primary);
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 0.9;
}

/* MENU */

.main-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 56px;
  margin: 0;
  padding: 0;
}

.main-menu li {
  display: flex;
  align-items: center;
}

.main-menu a {
  color: #111827;
  font-size: 1rem;
  font-weight: bold;
  transition: color 0.2s ease;
}

.main-menu a:hover {
  color: var(--primary);
}

/* HAMBURGER GREEN BLOCK */

.hamburger-btn {
  width: 78px;
  min-height: 78px;
  border: 0;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  cursor: pointer;
  gap: 7px;
  margin-left: 42px;
}

.hamburger-btn span {
  width: 27px;
  height: 3px;
  background: white;
  border-radius: 999px;
  display: block;
}

/* RESPONSIVE HEADER */

@media (max-width: 1024px) {
  .topbar-left {
    gap: 18px;
  }

  .main-menu {
    gap: 28px;
  }

  .hamburger-btn {
    margin-left: 26px;
  }
}

@media (max-width: 768px) {
  .header-container {
    width: 100%;
  }

  .topbar {
    display: none;
  }

  .main-navbar {
    background: var(--secondary);
    border-bottom: 0;
  }

  .navbar-content {
    min-height: 72px;
    padding-left: 16px;
  }

  .brand-icon {
    width: 38px;
    height: 38px;
    background: #ffffff;
    color: var(--secondary);
  }

  .brand-text span,
  .brand-text strong {
    color: #ffffff;
  }

  .brand-text span {
    font-size: 13px;
  }

  .brand-text strong {
    font-size: 28px;
  }

  .hamburger-btn {
    width: 72px;
    min-height: 72px;
    margin-left: auto;
    border-radius: 0;
  }

  .main-menu {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #ffffff;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    box-shadow: 0 18px 35px rgba(2, 82, 138, 0.15);
  }

  .main-menu.show {
    display: flex;
  }

  .main-menu li {
    border-bottom: 1px solid #e8edf3;
  }

  .main-menu a {
    display: block;
    width: 100%;
    padding: 18px 22px;
    color: #111827;
  }
}

/* HERO */
/* HERO CAROUSEL */

.hero-carousel {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: var(--white);
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.7s ease,
    visibility 0.7s ease;
}

.carousel-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.carousel-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

.carousel-slide img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center;
}

.carousel-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
}

.carousel-text {
  max-width: 420px;
}

.carousel-text h1 {
  color: var(--secondary);
  font-size: clamp(46px, 6vw, 76px);
  line-height: 0.95;
  font-weight: bold;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.carousel-text p {
  color: #2e3745;
  font-size: 1.2rem;
  line-height: 1.5;
  margin-bottom: 38px;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(2, 82, 138, 0.9);
  color: var(--white);
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: 0.2s ease;
}

.carousel-arrow:hover {
  background: var(--primary);
}

.carousel-prev {
  left: 24px;
}

.carousel-next {
  right: 24px;
}

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 6;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.dot {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 50%;
  background: rgba(2, 82, 138, 0.28);
  cursor: pointer;
  transition: 0.2s ease;
}

.dot.active {
  width: 30px;
  border-radius: 999px;
  background: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 12px;
  font-weight: bold;
  font-size: 15px;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(0, 169, 80, 0.22);
}

.btn-primary-outline {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  border: 2px solid var(--secondary);
  color: var(--secondary);
  background: var(--white);
}

.btn-secondary:hover {
  border-color: var(--secondary);
  transform: translateY(-2px);
}

.hero-image {
  height: 100%;
  display: flex;
  align-items: stretch;
}

.hero-card-image {
  width: 100%;
  height: 520px;
  border-radius: 0 0 0 80px;
  overflow: hidden;
  position: relative;
}

.hero-card-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.35) 30%, transparent 60%);
  z-index: 1;
}

.hero-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* QUICK */

.quick-wrapper {
  position: relative;
  margin-top: -58px;
  z-index: 4;
}

.quick-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  overflow: hidden;
  border: 1px solid rgba(2, 82, 138, 0.07);
}

.quick-item {
  min-height: 132px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 24px 18px;
  position: relative;
}

.quick-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 24%;
  height: 52%;
  width: 1px;
  background: var(--border);
}

.quick-icon {
  font-size: 32px;
  color: var(--primary);
}

.quick-item span:last-child {
  font-weight: 900;
  color: #2d3440;
}

/* QUICK ACTIONS */

.quick-wrapper {
  position: relative;
  z-index: 8;
  margin-top: -58px;
}

.quick-actions {
  width: 100%;
  background: var(--white);
  border: 1px solid rgba(2, 82, 138, 0.08);
  border-radius: 20px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  overflow: hidden;
}

.quick-action {
  min-height: 126px;
  padding: 22px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  text-align: center;
  position: relative;
  transition: 0.2s ease;
}

.quick-action:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 24%;
  width: 1px;
  height: 52%;
  background: var(--border);
}

.quick-action:hover {
  background: rgba(0, 169, 80, 0.04);
  transform: translateY(-2px);
}

.quick-action-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--secondary);
}

.quick-action-icon svg {
  width: 32px;
  height: 32px;
  display: block;
  stroke: var(--primary);
  fill: none;
}

.quick-action strong {
  color: #111827;
  font-size: 0.9rem;
  font-weight: bold;
  line-height: 1.15;
}

.quick-action small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
}

/* NEEDS */

.needs-section {
  padding: 34px 0 0;
}

.needs-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  border: 1px solid var(--border);
}

.needs-header {
  background: var(--secondary);
  color: var(--white);
  text-align: center;
  padding: 42px 32px 34px;
}

.needs-header h2 {
  font-size: 32px;
  margin-bottom: 20px;
  font-weight: 500;
}

.needs-header p {
  opacity: 0.9;
  margin-bottom: 28px;
}

.chips {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.chip {
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: transparent;
  color: var(--white);
  border-radius: 999px;
  padding: 11px 22px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.2s ease;
}

.chip:hover,
.chip.active {
  background: var(--primary);
  border-color: var(--primary);
}

.rates {
  background: var(--white);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 15px;
}

.rate-item {
  padding: 28px 32px;
  position: relative;
}

.rate-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 28%;
  height: 44%;
  width: 1px;
  background: var(--border);
}

.rate-item h3 {
  color: var(--secondary);
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.rate-item p {
  color: var(--muted);
  margin-bottom: 4px;
}

.rate-item strong {
  color: var(--primary);
}

.rate-link a {
  color: var(--secondary);
  font-weight: bold;
  display: inline-block;
  margin-bottom: 8px;
}

.rate-link small {
  display: block;
  color: #8b96a6;
  font-weight: 500;
}

.rate-currency {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.rate-currency .rate-values {
  display: flex;
  align-items: center;
  gap: 0;
}

.rate-currency .rate-values span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.2;
  white-space: nowrap;
}

.rate-currency .rate-values span:first-child {
  padding-right: 14px;
  margin-right: 14px;
  border-right: 3px solid #cfd8e3;
}
.rate-currency .rate-values strong {
  color: var(--primary);
  font-weight: bold;
}

/* AGENCY */

.agency-section {
  padding: 34px 0 0;
}

.agency-card {
  min-height: 260px;
  background: rgba(0, 169, 80, 0.1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(2, 82, 138, 0.07);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.agency-info {
  padding: 44px 42px;
}

.agency-info h2 {
  color: var(--primary);
  font-size: 30px;
  margin-bottom: 14px;
  font-weight: 600;
}

.agency-info p {
  color: var(--muted);
  line-height: 1.6;
  max-width: 450px;
  margin-bottom: 28px;
}

.agency-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.agency-visual img {
  width: 450px;
}

.phone-map {
  width: min(420px, 100%);
  height: 170px;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(2, 82, 138, 0.08) 25%, transparent 25%) 0 0/44px 44px,
    linear-gradient(225deg, rgba(0, 169, 80, 0.08) 25%, transparent 25%) 0 0/44px 44px,
    #ffffff;
  border: 10px solid #eef3f8;
  box-shadow: 0 22px 45px rgba(2, 82, 138, 0.16);
  transform: rotate(-8deg);
  position: relative;
}

.pin {
  position: absolute;
  top: -38px;
  left: 50%;
  transform: translateX(-50%) rotate(8deg);
  width: 90px;
  height: 90px;
  display: grid;
  place-items: center;
  background: var(--secondary);
  color: var(--white);
  border-radius: 50% 50% 50% 8px;
  font-size: 42px;
  box-shadow: 0 16px 35px rgba(2, 82, 138, 0.24);
}

/* BENEFITS */

.benefits-section {
  padding: 34px 0 54px;
}

.benefits-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(2, 82, 138, 0.06);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  overflow: hidden;
}

.benefit-item {
  min-height: 128px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 22px 14px;
  position: relative;
}

.benefit-item svg {
  width: 30px;
  height: 30px;
  stroke: var(--secondary);
}

.benefit-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 24%;
  height: 52%;
  width: 1px;
  background: var(--border);
}

.benefit-item span {
  font-size: 30px;
  margin-bottom: 10px;
}

.benefit-item p {
  color: #3b4656;
  font-weight: bold;
  font-size: 0.9rem;
  line-height: 1.3;
}

/* CHAT */

.chat-button {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 0;
  background: var(--secondary);
  color: var(--white);
  font-size: 28px;
  box-shadow: 0 15px 30px rgba(2, 82, 138, 0.28);
  cursor: pointer;
  z-index: 30;
}

/* RESPONSIVE */

@media (max-width: 1024px) {
  .topbar-links {
    gap: 16px;
  }

  .nav-menu {
    gap: 28px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    padding: 54px 0 90px;
  }

  .hero {
    min-height: auto;
  }

  .hero-text {
    max-width: 620px;
  }

  .hero-image {
    display: none;
  }

  .quick-card,
  .rates,
  .benefits-card {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-item:nth-child(2)::after,
  .quick-item:nth-child(4)::after,
  .benefit-item:nth-child(2)::after,
  .benefit-item:nth-child(4)::after {
    display: none;
  }

  .agency-card {
    grid-template-columns: 1fr;
  }

  .agency-visual {
    min-height: 240px;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .hero-carousel {
    width: min(100% - 28px, 1180px);
  }

  .topbar {
    display: none;
  }

  .nav-content {
    min-height: 72px;
  }

  .logo-icon {
    width: 38px;
    height: 38px;
  }

  .logo-text {
    font-size: 14px;
  }

  .logo-text strong {
    font-size: 27px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 72px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
    overflow: hidden;
  }

  .nav-menu.show {
    display: flex;
  }

  .nav-menu li {
    border-bottom: 1px solid var(--border);
  }

  .nav-menu li:last-child {
    border-bottom: 0;
  }

  .nav-menu a {
    display: block;
    padding: 18px 20px;
  }

  .hero {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.82)),
      linear-gradient(135deg, rgba(0, 169, 80, 0.13), rgba(2, 82, 138, 0.11));
  }

  .hero-content {
    min-height: auto;
    padding: 56px 0 96px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero p {
    font-size: 17px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .quick-wrapper {
    margin-top: -54px;
  }

  .quick-card {
    grid-template-columns: repeat(3, 1fr);
  }

  .quick-item {
    min-height: 112px;
    padding: 18px 10px;
  }

  .quick-item span:last-child {
    font-size: 13px;
  }

  .quick-item:nth-child(3)::after {
    display: none;
  }

  .quick-item:nth-child(2)::after,
  .quick-item:nth-child(4)::after {
    display: block;
  }

  .quick-item:nth-child(5) {
    grid-column: span 3;
  }

  .needs-header {
    text-align: left;
    padding: 34px 24px;
  }

  .needs-header h2 {
    font-size: 28px;
  }

  .chips {
    justify-content: flex-start;
  }

  .chip {
    padding: 10px 16px;
    font-size: 13px;
  }

  .rates {
    grid-template-columns: 1fr;
  }

  .rate-item::after {
    display: none;
  }

  .rate-item {
    border-bottom: 1px solid var(--border);
  }

  .rate-item:last-child {
    border-bottom: 0;
  }

  .agency-info {
    padding: 34px 24px;
  }

  .agency-info h2 {
    font-size: 26px;
  }

  .benefits-card {
    grid-template-columns: 1fr;
  }

  .benefit-item {
    min-height: 104px;
    border-bottom: 1px solid var(--border);
  }

  .benefit-item:last-child {
    border-bottom: 0;
  }

  .benefit-item::after {
    display: none;
  }

  .chat-button {
    width: 56px;
    height: 56px;
    right: 18px;
    bottom: 18px;
  }
}

@media (max-width: 430px) {
  .quick-card {
    grid-template-columns: repeat(3, 1fr);
  }

  .quick-icon {
    font-size: 25px;
  }

  .quick-item {
    min-height: 102px;
  }

  .quick-item:nth-child(4),
  .quick-item:nth-child(5) {
    grid-column: auto;
  }

  .quick-item:nth-child(5) {
    grid-column: span 2;
  }

  .hero h1 {
    font-size: 42px;
  }
}
.svg-sprite {
  display: none;
}

/* ============================================================
   FOOTER
============================================================ */

.site-footer {
  background: var(--primary);
  color: #fff;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  padding: 68px 0 34px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 220px 1fr 260px;
  gap: 58px;
  align-items: start;
}

.footer-brand img {
  width: 174px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 46px;
}

.site-footer h3 {
  margin: 0 0 20px;
  font-size: 1.3rem;
  line-height: 1;
  font-weight: bold;
}

.site-footer a {
  display: block;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 10px;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 12px;
  margin: 0 0 30px;
}

.social-links svg {
  width: 24px;
  height: 24px;
}

.social-links a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.78);
  margin: 0;
  font-size: 18px;
}

.store-links {
  gap: 8px;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.store-links a {
  margin: 0;
}

.footer-bottom {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, 0.75);
  margin-top: 42px;
  padding-top: 18px;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-bottom a {
  margin: 0;
  font-size: 13px;
}

.footer-bottom span {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.75);
}
.rate-link-text {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  margin-bottom: 5px;
}

.rate-link-text svg {
  width: 24px;
  height: 24px;
  stroke: var(--secondary);
}

.rate-link-text a {
  margin: 0;
}

/* ============================================================
   FIX FINAL: STICKY NAVBAR + RESPONSIVE + CAROUSEL
============================================================ */

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  background: #f4f8fb;
}

img,
svg {
  max-width: 100%;
}

.page {
  width: 100%;
  max-width: none;
  margin: 0;
  overflow: visible !important;
}

/* NAVBAR FIJO */

.site-header {
  position: sticky !important;
  top: 0;
  z-index: 9999;
  width: 100%;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(2, 82, 138, 0.08);
}

.navbar-content {
  position: relative;
}

.brand img {
  width: 168px;
  max-width: 100%;
  height: auto;
  display: block;
}

.hamburger-btn {
  flex-shrink: 0;
}

.hamburger-btn.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

.hamburger-btn span {
  transition: 0.2s ease;
}

/* HERO CAROUSEL */

.hero-carousel {
  width: min(1180px, calc(100% - 40px)) !important;
  height: clamp(420px, 44vw, 520px);
  min-height: unset !important;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  background: var(--white);
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.7s ease,
    visibility 0.7s ease;
}

.carousel-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.carousel-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
}

.carousel-text {
  width: min(430px, 100%);
}

.carousel-text h1 {
  font-size: clamp(2.3rem, 4vw, 4.75rem);
}

.carousel-text p {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
}

.carousel-dots {
  z-index: 5;
}

/* QUICK ACTIONS */

.quick-actions {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.quick-action {
  min-width: 0;
}

.quick-action strong {
  word-break: normal;
}

/* RATES */

.rates {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rate-item {
  min-width: 0;
}

.rate-currency .rate-values {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
}

.rate-currency .rate-values span {
  white-space: nowrap;
}

/* AGENCY */

.agency-visual img {
  width: min(450px, 100%);
  height: auto;
}

/* FOOTER */

.store-links img {
  width: 130px !important;
  max-width: 130px;
  height: auto;
  display: block;
}

.social-links svg {
  width: 22px;
  height: 22px;
}

/* ============================================================
   RESPONSIVE TABLET
============================================================ */

@media (max-width: 1200px) {
  .header-container,
  .container {
    width: min(100% - 32px, 1180px);
  }

  .main-menu {
    gap: 28px;
  }

  .main-menu a {
    font-size: 0.92rem;
  }

  .brand img {
    width: 150px;
  }

  .hamburger-btn {
    width: 72px;
    min-height: 72px;
    margin-left: 28px;
  }

  .quick-actions {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .quick-action:nth-child(4)::after {
    display: none;
  }

  .quick-action:nth-child(7) {
    grid-column: span 2;
  }

  .rates {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rate-item:nth-child(2)::after {
    display: none;
  }

  .benefits-card {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-columns {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ============================================================
   RESPONSIVE MOBILE / TABLET SMALL
============================================================ */

@media (max-width: 900px) {
  .topbar {
    display: none;
  }

  .header-container {
    width: 100%;
  }

  .main-navbar {
    background: white;
    border-bottom: 0;
  }

  .navbar-content {
    min-height: 72px;
    padding-left: 16px;
  }

  .brand {
    background: #ffffff;
    padding: 6px 10px;
    border-radius: 10px;
  }

  .brand img {
    width: 132px;
  }

  .hamburger-btn {
    width: 72px;
    min-height: 72px;
    margin-left: auto;
    border-radius: 0;
    background: var(--primary);
  }

  .main-menu {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    width: 100%;
    background: #ffffff;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    box-shadow: 0 18px 35px rgba(2, 82, 138, 0.16);
  }

  .main-menu.show {
    display: flex;
  }

  .main-menu li {
    border-bottom: 1px solid var(--border);
  }

  .main-menu li:last-child {
    border-bottom: 0;
  }

  .main-menu a {
    width: 100%;
    display: block;
    padding: 18px 22px;
    color: #111827;
    font-size: 0.95rem;
  }

  .hero-carousel {
    width: min(100% - 28px, 1180px) !important;
    height: 500px;
  }

  .carousel-content {
    align-items: flex-start;
    padding-top: 46px;
  }

  .carousel-text {
    width: min(380px, calc(100% - 20px));
  }

  .carousel-text h1 {
    font-size: clamp(2.2rem, 10vw, 3.4rem);
    margin-bottom: 18px;
  }

  .carousel-text p {
    font-size: 1rem;
    margin-bottom: 24px;
  }

  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: min(280px, 100%);
  }

  .btn {
    width: 100%;
    min-height: 46px;
  }

  .quick-wrapper {
    margin-top: -44px;
  }

  .quick-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-action {
    min-height: 108px;
    padding: 18px 12px;
    border-bottom: 1px solid var(--border);
  }

  .quick-action::after {
    display: none;
  }

  .quick-action:nth-child(odd)::after {
    display: block;
    content: '';
    position: absolute;
    right: 0;
    top: 22%;
    width: 1px;
    height: 56%;
    background: var(--border);
  }

  .quick-action:nth-child(7) {
    grid-column: span 2;
    border-bottom: 0;
  }

  .needs-header {
    text-align: left;
    padding: 34px 24px;
  }

  .chips {
    justify-content: flex-start;
  }

  .rates {
    grid-template-columns: 1fr;
  }

  .rate-item {
    border-bottom: 1px solid var(--border);
  }

  .rate-item::after {
    display: none !important;
  }

  .rate-item:last-child {
    border-bottom: 0;
  }

  .agency-card {
    grid-template-columns: 1fr;
  }

  .agency-info {
    padding: 34px 24px;
  }

  .agency-visual {
    padding: 0 24px 30px;
  }

  .benefits-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .benefit-item {
    border-bottom: 1px solid var(--border);
  }

  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer-bottom span {
    display: none;
  }
}

/* ============================================================
   RESPONSIVE MOBILE SMALL
============================================================ */

@media (max-width: 520px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .brand img {
    width: 120px;
  }

  .hero-carousel {
    width: min(100% - 24px, 1180px) !important;
    height: 520px;
  }

  .carousel-content {
    padding-top: 38px;
  }

  .carousel-text {
    width: 100%;
  }

  .carousel-text h1 {
    font-size: 2.45rem;
  }

  .carousel-text p {
    max-width: 290px;
  }

  .carousel-dots {
    bottom: 18px;
  }

  .quick-action {
    min-height: 92px;
    border-bottom: 1px solid var(--border);
  }

  .quick-action:nth-child(odd)::after {
    display: none;
  }

  .quick-action:nth-child(7) {
    grid-column: auto;
  }

  .rate-currency .rate-values {
    flex-wrap: wrap;
    gap: 8px;
  }

  .rate-currency .rate-values span:first-child {
    border-right: 2px solid #cfd8e3;
    padding-right: 12px;
    margin-right: 4px;
  }

  .footer-columns {
    grid-template-columns: 1fr;
  }

  .store-links {
    flex-wrap: wrap;
  }

  .chat-button {
    width: 54px;
    height: 54px;
    right: 16px;
    bottom: 16px;
  }
}
