/* RESET */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f4f6f9;
  color: #1f2937;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

/* LAYOUT */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 40px 20px;
}

/* HEADER */
.site-header {
  position: relative;
  z-index: 100;
  background: #0f172a;
  color: #ffffff;
}

.site-header .header-flex {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 0;
  padding-bottom: 0;
}

.site-logo,
.footer-logo {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
}

.primary-navigation {
  margin-left: auto;
}

.nav-list,
.dropdown-menu,
.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-item__row {
  display: flex;
  align-items: center;
}

.nav-list a,
.submenu-toggle {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: #ffffff;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.nav-list > .nav-item > a,
.nav-list > .nav-item > .submenu-toggle,
.nav-item__row > a {
  padding: 0 10px;
}

.nav-item__row > a {
  padding-right: 4px;
}

.submenu-toggle--compact {
  width: 36px;
  min-height: 44px;
  padding: 0;
}

.submenu-toggle svg,
.nav-toggle svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-left: 5px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.submenu-toggle--compact svg {
  margin-left: 0;
}

.nav-list a:hover,
.submenu-toggle:hover,
.nav-list a[aria-current="page"] {
  color: #38bdf8;
}

.nav-list a[aria-current="page"] {
  box-shadow: inset 0 -3px #38bdf8;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 110;
  display: none;
  min-width: 250px;
  padding: 8px;
  border: 1px solid #26334a;
  background: #111c31;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

.dropdown-menu a {
  justify-content: flex-start;
  min-height: 42px;
  padding: 6px 10px;
  line-height: 1.35;
}

.nav-item:hover > .dropdown-menu,
.nav-item:focus-within > .dropdown-menu,
.nav-item.submenu-open > .dropdown-menu {
  display: block;
}

.site-header a:focus-visible,
.site-header button:focus-visible,
.site-footer a:focus-visible {
  outline: 3px solid #38bdf8;
  outline-offset: 3px;
}

.breadcrumb.container {
  max-width: none;
  padding-block: 1px;
  padding-inline: max(20px, calc((100% - 1060px) / 2));
  background: #14213b;
  color: #94a3b8;
  font-size: 13px;
  line-height: 18px;
}

.breadcrumb a {
  color: #cbd5e1;
  margin-left: 0;
  text-decoration: none;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: #e2e8f0;
  text-decoration: underline;
}

.breadcrumb a:focus-visible {
  outline: 2px solid #94a3b8;
  outline-offset: 3px;
}

/* HERO */
.hero {
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  color: white;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-size: 42px;
  line-height: 1.18;
  margin-bottom: 15px;
}

.hero p {
  opacity: 0.9;
}

.hero-image {
  min-width: 0;
}

.hero-image img {
  display: block;
  width: 100%;
  height: auto;
}

.hero img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* BUTTON */
.cta {
  display: inline-block;
  background: #38bdf8;
  color: #0f172a;
  padding: 12px 22px;
  margin-top: 15px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.cta:hover {
  background: #0ea5e9;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(14, 165, 233, 0.28);
}

/* SECTIONS */
.section {
  background: white;
  margin: 20px 0;
}

.section.alt {
  background: #f1f5f9;
}

.section > .container > p {
  max-width: 800px;
}

/* HEADINGS */
h2 {
  font-size: 28px;
  margin-bottom: 20px;
  border-left: 4px solid #38bdf8;
  padding-left: 10px;
}

/* GRID */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

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

.grid-7 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

/* CARDS */
.card {
  background: white;
  padding: 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

/* CTA SECTION */
.cta-section {
  background: #0f172a;
  color: white;
  text-align: center;
  padding: 60px 20px;
}

.cta-section .container {
  padding-top: 0;
  padding-bottom: 0;
}

.cta-section h2 {
  margin-top: 0;
}

/* FOOTER */
.site-footer {
  background: #0f172a;
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 1fr 1fr 1fr 1.25fr;
  gap: 24px;
  padding-top: 48px;
  padding-bottom: 36px;
}

.footer-heading {
  margin: 0 0 12px;
  color: #bae6fd;
  font-size: 15px;
  font-weight: 700;
}

.footer-links li + li {
  margin-top: 8px;
}

.footer-links a {
  color: #e2e8f0;
  line-height: 1.4;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.footer-links a:hover {
  color: #38bdf8;
}

.footer-contact-number {
  display: block;
  color: #94a3b8;
  font-size: 14px;
}

.footer-bottom {
  border-top: 1px solid #334155;
  color: #cbd5e1;
  text-align: center;
}

.footer-bottom .container {
  padding-top: 20px;
  padding-bottom: 20px;
}

/* Missing layout classes */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
  border-color: rgba(56, 189, 248, 0.4);
}

.faq-section .card + .card {
  margin-top: 14px;
}

.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-wrapper table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.5;
}

.table-wrapper th,
.table-wrapper td {
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  text-align: left;
  vertical-align: top;
}

.table-wrapper thead th {
  background: #1e3a5f;
  color: #ffffff;
  font-weight: 700;
}

.table-wrapper tbody th {
  width: 30%;
  background: #f8fafc;
  color: #1f2937;
}

/* DIRECT CONTACT */
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.cta--whatsapp {
  background: #16794a;
  color: #ffffff;
}

.cta--whatsapp:hover {
  background: #0f603a;
}

.contact-methods {
  margin-top: 24px;
}

.contact-link {
  color: #1e3a8a;
  font-weight: bold;
  overflow-wrap: anywhere;
}

.contact-information {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #cbd5e1;
}

.contact-information__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 28px;
  padding-left: 20px;
}

.floating-contact {
  position: fixed;
  right: 20px;
  bottom: 88px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.floating-contact__button {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.28);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.floating-contact__button svg {
  width: 25px;
  height: 25px;
}

.floating-contact__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 24px rgba(15, 23, 42, 0.34);
}

.floating-contact__button:focus-visible {
  outline: 3px solid #f8fafc;
  outline-offset: 3px;
  box-shadow: 0 0 0 5px #0f172a;
}

.floating-contact__button--whatsapp {
  background: #16794a;
}

.floating-contact__button--whatsapp:hover {
  background: #0f603a;
}

.floating-contact__button--email {
  background: #1e3a8a;
}

.floating-contact__button--email:hover {
  background: #172f70;
}

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-7 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

/* Mobile responsive adjustments */
@media (max-width: 900px) {
  .container {
    padding: 28px 16px;
  }

  .breadcrumb.container {
    padding-inline: max(16px, calc((100% - 1068px) / 2));
  }

  .site-header .header-flex {
    min-height: 64px;
    flex-wrap: wrap;
    gap: 0;
  }

  .nav-toggle {
    display: inline-grid;
    width: 44px;
    height: 44px;
    place-items: center;
    margin-left: auto;
    border: 1px solid #475569;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
  }

  .nav-toggle svg {
    width: 24px;
    height: 24px;
    margin-left: 0;
  }

  .primary-navigation {
    display: none;
    width: 100%;
    margin-left: 0;
    padding: 8px 0 16px;
  }

  .primary-navigation.is-open {
    display: block;
  }

  .nav-list {
    display: block;
  }

  .nav-list > .nav-item > a,
  .nav-list > .nav-item > .submenu-toggle,
  .nav-item__row > a {
    width: 100%;
    min-height: 48px;
    justify-content: flex-start;
    box-sizing: border-box;
    padding: 0 8px;
    text-align: left;
  }

  .nav-item__row > a {
    flex: 1 1 auto;
  }

  .submenu-toggle--compact {
    width: 48px;
    min-height: 48px;
    border-left: 1px solid #334155;
  }

  .nav-list a[aria-current="page"] {
    box-shadow: inset 3px 0 #38bdf8;
  }

  .dropdown-menu {
    position: static;
    display: none;
    min-width: 0;
    padding: 4px 0 8px 16px;
    border: 0;
    border-left: 1px solid #334155;
    background: #111c31;
    box-shadow: none;
  }

  .nav-item:hover > .dropdown-menu,
  .nav-item:focus-within > .dropdown-menu {
    display: none;
  }

  .nav-item.submenu-open > .dropdown-menu {
    display: block;
  }

  .dropdown-menu a {
    min-height: 44px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
    padding-top: 36px;
    padding-bottom: 28px;
  }

  .hero-grid,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero h1 {
    font-size: 28px;
    line-height: 1.2;
  }

  .card {
    padding: 16px;
  }

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

  .floating-contact {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(20px, env(safe-area-inset-bottom));
  }

  .floating-contact__button {
    width: 48px;
    height: 48px;
  }

  .cta-section {
    padding: 40px 16px;
  }

  .footer-bottom .container {
    padding-top: 18px;
    padding-bottom: 18px;
  }
}

@media (max-width: 900px) {
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-actions .cta {
    display: flex;
    width: min(100%, 320px);
    min-height: 50px;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    text-align: center;
    white-space: nowrap;
  }
}

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

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