:root {
  --primary: #0B3B6F;
  --primary-dark: #052A52;
  --primary-light: #2563EB;
  --accent: #0EA5E9;
  --accent-dark: #0284C7;
  --accent-light: #38BDF8;
  --accent-soft: #E0F2FE;
  --bg: #F7F9FC;
  --card-bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #F1F5F9;
  --text: #0F172A;
  --muted: #64748B;
  --border: #E2E8F0;
  --border-strong: #CBD5E1;
  --success: #059669;
  --whatsapp: #25d366;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(11, 59, 111, .05), 0 1px 3px rgba(11, 59, 111, .04);
  --shadow: 0 4px 18px rgba(11, 59, 111, .07);
  --shadow-md: 0 10px 28px rgba(11, 59, 111, .09);
  --shadow-lg: 0 22px 48px rgba(11, 59, 111, .12);
  --shadow-hover: 0 26px 56px rgba(11, 59, 111, .16);
  --ring: 0 0 0 4px rgba(37, 99, 235, .18);
  --transition: 200ms cubic-bezier(.4, 0, .2, 1);
}

/* Contact Page Specific Styles */
.contact-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: white;
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(56, 189, 248, 0.18) 0%, transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(37, 99, 235, 0.22) 0%, transparent 55%);
  pointer-events: none;
}

.contact-hero h1 {
  color: white;
  font-size: clamp(40px, 6vw, 72px);
  margin-bottom: 16px;
}

.contact-hero .muted {
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  font-size: 18px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
  margin-top: -60px;
  position: relative;
  z-index: 2;
}

.contact-info-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px;
  background: var(--card-bg) !important;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-light);
}

.contact-card .contact-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--primary);
  border-radius: 12px;
  flex-shrink: 0;
  font-size: 20px;
  transition: all var(--transition);
}

.contact-card:hover .contact-icon {
  background: var(--primary);
  color: white;
}

.contact-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--primary-dark);
}

.contact-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.contact-card a:hover {
  color: var(--primary-light);
  text-decoration: underline;
}

.inquiry-card {
  background: var(--card-bg);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.inquiry-card h2 {
  margin-bottom: 24px;
  font-size: 28px;
  color: var(--primary-dark);
}

.inquiry-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.inquiry-form-grid .full-width {
  grid-column: span 2;
}

.map-container {
  margin-top: 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  height: 400px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  filter: grayscale(0.2) contrast(1.1);
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 20px;
  }

  .contact-hero {
    padding: 80px 0 60px;
  }
}

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

  .inquiry-form-grid .full-width {
    grid-column: span 1;
  }

  .inquiry-card {
    padding: 24px;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ui-icon {
  width: 1.1em;
  height: 1.1em;
  flex: 0 0 auto;
  stroke-width: 2.3;
}

.icon-button-text,
.icon-line {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.icon-line {
  align-items: flex-start;
}

.icon-line .ui-icon {
  margin-top: 0.22em;
  color: #9ec0df;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(11, 59, 111, .04), 0 4px 16px rgba(11, 59, 111, .04);
}

.header::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 60%, var(--accent) 100%);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  color: var(--primary);
  white-space: nowrap;
  text-transform: uppercase;
}

.brand img {
  width: 96px;
  max-height: 64px;
  height: auto;
  object-fit: contain;
}

.links,
.mobile-nav {
  align-items: center;
  gap: 24px;
  font-weight: 800;
  color: #263449;
}

.links {
  display: flex;
}

.links a,
.mobile-nav a {
  transition: color 160ms ease;
}

.links a:hover,
.mobile-nav a:hover {
  color: var(--primary-light);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-nav {
  display: none;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  background: var(--surface-2);
  color: var(--primary);
}

.menu-button .ui-icon {
  width: 22px;
  height: 22px;
}

.menu-close-icon {
  display: none;
}

.menu-button[aria-expanded="true"] .menu-open-icon {
  display: none;
}

.menu-button[aria-expanded="true"] .menu-close-icon {
  display: inline-flex;
}

.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--radius);
  background: var(--primary);
  color: white;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.button:hover,
button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(11, 59, 111, .28);
  background: var(--primary-dark);
}

.button:focus-visible,
button:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}

.button.secondary {
  background: var(--primary-light);
}

.button.secondary:hover {
  background: var(--primary);
  box-shadow: 0 10px 24px rgba(37, 99, 235, .25);
}

.button.accent {
  background: var(--accent);
}

.button.accent:hover {
  background: var(--accent-dark);
  box-shadow: 0 10px 24px rgba(14, 165, 233, .28);
}

.button.ghost {
  color: var(--primary);
  background: white;
  border: 1.5px solid var(--border-strong);
}

.button.ghost:hover {
  color: var(--primary-dark);
  border-color: var(--primary);
  background: var(--accent-soft);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.button.transparent {
  color: white;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(6px);
}

.button.transparent:hover {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .2);
}

.photo-hero {
  position: relative;
  min-height: clamp(560px, 70vh, 760px);
  display: grid;
  align-items: center;
  color: white;
  background:
    linear-gradient(120deg, rgba(5, 42, 82, .9) 0%, rgba(11, 59, 111, .72) 45%, rgba(37, 99, 235, .35) 100%),
    var(--hero-image) center/cover no-repeat;
}

.photo-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(0deg, rgba(5, 42, 82, .45), transparent);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.32);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.08em;
  backdrop-filter: blur(6px);
}

.eyebrow.dark {
  color: var(--primary);
  background: var(--accent-soft);
  border-color: transparent;
}

h1,
h2,
h3 {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin-top: 0;
}

.hero h1 {
  max-width: 720px;
  margin: 0 0 20px;
  font-size: clamp(36px, 5.5vw, 64px);
  text-transform: none;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.hero p {
  max-width: 680px;
  color: #eef4fa;
  font-size: 20px;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 900px;
  margin-top: 70px;
}

.stat {
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(5, 42, 82, 0.45);
  backdrop-filter: blur(12px);
}

.stat strong {
  display: block;
  font-size: 30px;
  font-weight: 800;
  color: var(--accent-light);
  margin-bottom: 2px;
  letter-spacing: -0.02em;
}

section {
  padding: 80px 0;
}

.soft-band {
  background: linear-gradient(180deg, #ffffff 0%, #EFF4FB 100%);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}

.section-head.centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.section-head h2,
.page-title h1,
.split h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  color: var(--primary-dark);
}

.muted {
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

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

.card,
.image-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.card:hover,
.image-card:hover,
.feature-tile:hover {
  transform: translateY(-4px);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-lg);
}

.card,
.image-card,
.blog-card,
.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: var(--card-bg) !important;
  color: var(--primary-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-card {
  animation: rise-in 480ms ease both;
}

.image-card img,
.blog-card img,
.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Unified card image heights */

/* Image card specific headings and text are now handled by content wrappers */

.product-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  padding: 0;
}

.product-media {
  display: grid;
  place-items: center;
  height: 220px;
  background: #fafafa;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
  background: white;
}

.product-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
}

.product-card h3 {
  margin: 0;
  font-size: 16px;
}

.product-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.card-actions {
  margin-top: auto;
  align-items: center;
}

.badge {
  width: fit-content;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.feature-tiles {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.feature-tile {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  border-radius: var(--radius-lg);
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 42, 82, 0) 35%, rgba(5, 42, 82, 0.92) 100%);
  pointer-events: none;
}

.feature-tile > * {
  position: relative;
  z-index: 1;
}

.feature-tile h3 {
  margin: 0 0 10px;
  font-size: 26px;
  color: white;
  z-index: 2;
}

.feature-tile p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  line-height: 1.5;
  z-index: 2;
}

.band {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #1e4a8c 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(56, 189, 248, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 88% 82%, rgba(37, 99, 235, 0.28) 0%, transparent 50%);
  pointer-events: none;
}

.band > * {
  position: relative;
  z-index: 1;
}

.band h2 {
  color: white;
}

.band p {
  color: #c8d4e3;
}

.band .area-list a {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: white;
  backdrop-filter: blur(6px);
  transition: all var(--transition);
}

.band .area-list a:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 46px;
  align-items: center;
}

.rounded-media {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.check-list li::before {
  content: "✓";
  margin-right: 10px;
  color: var(--primary-light);
  font-weight: 900;
}

.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.area-list a,
.tab {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: white;
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  transition: all var(--transition);
}

.area-list a:hover,
.tab:hover {
  border-color: var(--primary-light);
  color: var(--primary-light);
  background: var(--accent-soft);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
}

.page-title {
  padding: 72px 0 36px;
  background: linear-gradient(180deg, #EFF4FB 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}

.page-title h1 {
  color: var(--primary-dark);
}

.detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.78fr);
  gap: 32px;
  align-items: start;
}

.product-image {
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  background: white;
  user-select: none;
}

.product-gallery {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.gallery-main {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 460px;
  background: white;
  overflow: hidden;
  touch-action: pan-y;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: 999px;
  background: white;
  color: var(--primary);
  font-size: 22px;
  line-height: 1;
  box-shadow: var(--shadow-md);
  transform: translateY(-50%);
  border: 1px solid var(--border);
}

.gallery-nav:hover {
  transform: translateY(-50%) scale(1.08);
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 8px 20px rgba(11, 59, 111, .25);
}

.gallery-prev {
  left: 14px;
}

.gallery-next {
  right: 14px;
}

.gallery-count {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(15, 36, 64, 0.9);
  color: white;
  font-size: 12px;
  font-weight: 900;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.gallery-thumbs button {
  display: grid;
  gap: 6px;
  min-height: auto;
  padding: 8px;
  border: 1px solid var(--border);
  background: white;
  color: var(--primary);
  box-shadow: none;
}

.gallery-thumbs button[aria-current="true"] {
  border-color: var(--primary);
  box-shadow: inset 0 0 0 1px var(--primary);
}

.gallery-thumbs img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: white;
}

.gallery-thumbs span {
  font-size: 12px;
}

.product-copy {
  margin-top: 32px;
}

.product-inquiry-card {
  align-self: start;
  min-height: 0;
  position: sticky;
  top: 96px;
}

.product-inquiry-card h1 {
  margin: 12px 0 10px;
}

.product-inquiry-card h2 {
  margin: 22px 0 12px;
}

.product-inquiry-card form {
  margin-bottom: 0;
}

.product-inquiry-card textarea {
  min-height: 96px;
}

.whatsapp-action {
  gap: 8px;
  background: var(--whatsapp);
  color: white;
}

.whatsapp-action:hover {
  background: #1fb85a;
  box-shadow: 0 12px 26px rgba(37, 211, 102, 0.28);
}

.whatsapp-action svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.specs {
  width: 100%;
  border-collapse: collapse;
}

.specs td {
  padding: 10px;
  border-bottom: 1px solid var(--border);
}

form {
  display: grid;
  gap: 12px;
}

input,
textarea,
select {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font: inherit;
  font-size: 15px;
  background: white;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .15);
}

input::placeholder,
textarea::placeholder {
  color: var(--muted);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.blog-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 0;
}

.blog-card-content,
.service-card-content,
.image-card-content,
.product-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
}

.blog-card-content h2,
.blog-card-content h3,
.blog-card-content p,
.service-card-content h2,
.service-card-content p,
.image-card-content h3,
.image-card-content p,
.product-card-content h3,
.product-card-content p {
  margin: 0;
}

/* Push buttons to the bottom only when they are direct children */
.blog-card-content>.button,
.service-card-content>.button,
.image-card-content>.button,
.product-card-content>.button,
.product-inquiry-card .actions {
  margin-top: 30px;
}

.blog-card-content> :last-child:not(.button),
.service-card-content> :last-child:not(.button),
.image-card-content> :last-child:not(.button) {
  margin-bottom: 8px;
  /* Add some bottom spacing for text-only cards */
}

.blog-card-content>.button,
.service-card-content>.button,
.image-card-content>.button {
  align-self: flex-start;
  margin-top: auto;
}

.footer {
  padding: 72px 0 36px;
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #cbd5e1;
  border-top: 3px solid var(--accent);
}

.footer h3,
.footer strong {
  color: white;
}

.footer-logo {
  width: 82px;
  height: auto;
  margin-bottom: 14px;
  padding: 4px;
  border-radius: 6px;
  background: white;
}

.footer .icon-line {
  color: #dbe7f3;
}

.footer .icon-line:hover {
  color: white;
}

.footer-locations {
  margin-top: 28px;
}

.footer-locations h3 {
  margin: 0 0 12px;
}

.footer .area-list a {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
  color: #dbe7f3;
  transition: all var(--transition);
}

.footer .area-list a:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.36);
  color: white;
  transform: translateY(-1px);
  box-shadow: none;
}

.whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  min-width: 58px;
  height: 58px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--whatsapp);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(15, 36, 64, 0.25);
}

.whatsapp .ui-icon {
  width: 20px;
  height: 20px;
}

.contact-section {
  padding-top: 42px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(440px, 1.08fr);
  gap: 34px;
  align-items: start;
}

.contact-info-panel,
.inquiry-card {
  min-height: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card-bg) !important;
  box-shadow: var(--shadow);
}

.contact-info-panel {
  padding: 26px;
}

.contact-info-panel h2,
.inquiry-card h2 {
  margin: 0 0 14px;
  color: var(--primary-dark);
  font-size: clamp(28px, 3vw, 40px);
}

.contact-list {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}

.contact-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fbfdff;
}

.contact-row h3,
.contact-row p {
  margin: 0;
}

.contact-row h3 {
  margin-bottom: 4px;
  font-size: 16px;
}

.contact-row p,
.contact-row a {
  overflow-wrap: anywhere;
  color: var(--text);
}

.contact-icon {
  width: 42px;
  height: 42px;
  padding: 9px;
  border-radius: 999px;
  background: #eaf2fa;
  color: var(--primary);
}

.contact-map {
  width: 100%;
  height: 230px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.inquiry-card {
  padding: 30px;
}

.inquiry-card button[type="submit"] {
  background: var(--primary);
}

.inquiry-card button[type="submit"]:hover {
  background: var(--primary-dark);
  box-shadow: 0 8px 24px rgba(15, 36, 64, .25);
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 88px;
  z-index: 30;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all 250ms cubic-bezier(.4, 0, .2, 1);
  box-shadow: var(--shadow-md);
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.back-to-top .ui-icon,
.back-to-top svg {
  width: 22px;
  height: 22px;
  stroke-width: 3px;
}

.back-to-top[data-visible="true"] {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-bar {
  display: none;
}

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

@media (max-width: 820px) {

  .links,
  .nav-actions .secondary {
    display: none;
  }

  .menu-button {
    display: inline-flex;
  }

  .brand span {
    font-size: 13px;
  }

  .brand img {
    width: 64px;
    max-height: 50px;
  }

  .mobile-nav.open {
    display: grid;
  }

  .mobile-nav {
    position: absolute;
    left: 12px;
    right: 12px;
    top: 82px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: white;
    box-shadow: var(--shadow);
    gap: 6px;
  }

  .mobile-nav a {
    min-height: 42px;
    padding: 9px 10px;
    border-radius: 8px;
  }

  .mobile-nav a:hover {
    background: var(--surface-2);
  }

  .photo-hero {
    min-height: 660px;
  }

  .hero h1 {
    font-size: clamp(36px, 10vw, 54px);
  }

  .hero p {
    font-size: 16px;
  }

  .stats,
  .grid,
  .grid.four,
  .feature-tiles,
  .split,
  .contact-layout,
  .detail {
    grid-template-columns: 1fr;
  }

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

  section {
    padding: 56px 0;
  }

  .product-card {
    min-height: auto;
  }

  .product-media {
    height: 250px;
  }

  .product-card h3,
  .product-card p {
    min-height: auto;
  }

  .image-card img,
  .blog-card img,
  .service-card img {
    height: 160px;
  }

  .blog-card-content,
  .service-card-content {
    padding: 18px;
  }

  .gallery-main {
    min-height: 320px;
  }

  .gallery-nav {
    width: 38px;
    height: 38px;
    min-height: 38px;
    font-size: 24px;
  }

  .gallery-prev {
    left: 8px;
  }

  .gallery-next {
    right: 8px;
  }

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

  .product-inquiry-card {
    position: static;
  }

  .contact-section {
    padding-top: 28px;
  }

  .contact-info-panel,
  .inquiry-card {
    padding: 22px;
  }

  .contact-row {
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 14px;
  }

  .contact-icon {
    width: 38px;
    height: 38px;
    padding: 8px;
  }

  .contact-map {
    height: 240px;
  }

  .whatsapp {
    right: 12px;
    bottom: 14px;
    min-width: 48px;
    height: 48px;
    padding: 0 14px;
    font-size: 12px;
  }

  body:has(.mobile-bar) .whatsapp {
    bottom: 78px;
  }

  .back-to-top {
    right: 12px;
    bottom: 136px;
  }

  .mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 25;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: white;
    border-top: 1px solid var(--border);
  }

  .mobile-bar a {
    padding: 14px 8px;
    text-align: center;
    font-weight: 700;
    color: var(--primary);
    font-size: 14px;
  }

  .mobile-bar a:first-child {
    border-right: 1px solid var(--border);
  }

  .mobile-bar a:last-child {
    border-left: 1px solid var(--border);
  }
}

/* ─── Form Labels ─── */
.form-group {
  display: grid;
  gap: 6px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 520px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ─── Toast Notification ─── */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  z-index: 999;
  transform: translateX(-50%) translateY(120%);
  padding: 14px 28px;
  border-radius: var(--radius);
  background: var(--primary-dark);
  color: white;
  font-weight: 600;
  font-size: 15px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transition: all 350ms cubic-bezier(.4, 0, .2, 1);
  pointer-events: none;
}

.toast.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.toast.success {
  background: var(--success);
}

.toast.error {
  background: #dc2626;
}

/* ─── FAQ Accordion ─── */
details.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: white;
  padding: 0;
  overflow: hidden;
  transition: all var(--transition);
}

details.faq-item+details.faq-item {
  margin-top: 10px;
}

details.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  list-style: none;
  user-select: none;
  transition: background var(--transition);
}

details.faq-item summary::-webkit-details-marker {
  display: none;
}

details.faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--primary-light);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 16px;
}

details.faq-item[open] summary::after {
  transform: rotate(45deg);
}

details.faq-item summary:hover {
  background: var(--surface-2);
}

details.faq-item .faq-answer {
  padding: 0 22px 20px;
  color: var(--muted);
  line-height: 1.7;
}

details.faq-item[open] {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, .12);
}

/* ─── Scroll Reveal ─── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms ease;
}

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

/* ─── Product Price Display ─── */
.price-display {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 8px 0;
}

.price-display .price-amount {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary-dark);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}

.price-display .price-unit {
  font-size: 14px;
  color: var(--muted);
}

.price-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 6px;
  background: #f0fdf4;
  color: var(--success);
  font-size: 13px;
  font-weight: 700;
}

/* ─── Contact Page Polish ─── */
.contact-row:hover {
  border-color: #cbd8e6;
  background: white;
  box-shadow: var(--shadow-sm);
}

/* ─── Section Accent Line ─── */
.section-head h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin-top: 12px;
}

.section-head.centered h2::after {
  margin-left: auto;
  margin-right: auto;
}

/* ─── Improved WhatsApp Button ─── */
.whatsapp svg {
  fill: currentColor;
}

.whatsapp:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 30px rgba(37, 211, 102, .35);
}

/* ─── Product Card Price ─── */
.product-card-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-top: auto;
  padding-top: 4px;
}

.product-card-price span {
  font-weight: 400;
  font-size: 13px;
  color: var(--muted);
}

/* ─── Availability Badge ─── */
.avail-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
}

.avail-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
}

/* ─── Blog Date ─── */
.blog-meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}
/* ─── Blog Post Detail ─── */
.blog-post {
  padding: 60px;
  background: var(--card-bg) !important;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.05);
  margin-bottom: 40px;
  line-height: 1.8;
  font-size: 17px;
}

.blog-post-media {
  margin-bottom: 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.blog-post-media img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
}

.blog-post h2, .blog-post h3 {
  color: var(--primary-dark);
  margin: 1.5em 0 0.8em;
}

.blog-post p {
  margin-bottom: 1.5em;
}

.blog-post ul, .blog-post ol {
  margin-bottom: 1.5em;
  padding-left: 20px;
}

.blog-post li {
  margin-bottom: 0.8em;
}

.blog-actions {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  gap: 16px;
}

@media (max-width: 768px) {
  .blog-post {
    padding: 30px 20px;
    font-size: 16px;
  }
  
  .blog-actions {
    flex-direction: column;
    gap: 12px;
  }
}

/* ─── Card Typography Overrides ─── */
.card h1, .card h2, .card h3, .card h4 {
  color: var(--primary-dark) !important;
}

.card p, .card span, .card li {
  color: #4a5568 !important;
}

.card .muted {
  color: #718096 !important;
}

/* Buttons inside cards must keep their own text colors */
.card .button,
.card .button span,
.card button,
.card button span {
  color: white !important;
}

.card .button.ghost,
.card .button.ghost span {
  color: var(--primary) !important;
}

.card .button.ghost:hover,
.card .button.ghost:hover span {
  color: var(--primary-dark) !important;
}

/* ─── Mobile Header Fix ─── */
@media (max-width: 576px) {
  .nav {
    gap: 8px;
    min-height: 64px;
  }
  .brand {
    font-size: 1.1rem;
    gap: 8px;
  }
  .brand img {
    width: 32px; /* Small icon only */
  }
  .nav-actions {
    gap: 8px;
  }
}

@media (max-width: 420px) {
  .brand span {
    display: none; /* Hide company name on very small phones, keep logo */
  }
  .nav-actions a.button span {
    display: none; /* Hide 'Call Now' text, keep icon */
  }
  .nav-actions a.button {
    padding: 10px;
    min-width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* ─── Refined Mobile Header Logic ─── */
@media (max-width: 992px) {
  /* On all mobile/tablets, keep Call button as Icon only */
  .nav-actions a.button span {
    display: none !important;
  }
  .nav-actions a.button {
    padding: 0;
    width: 42px;
    height: 42px;
    min-width: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%; /* Make it a nice circle icon button */
  }
  .nav-actions a.button svg {
    margin: 0 !important;
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .brand {
    font-size: 1rem;
  }
  .brand img {
    width: 32px;
  }
}

@media (max-width: 360px) {
  /* On extremely narrow screens, hide the Call button to prioritize the Company Name */
  .nav-actions a.button:not(.menu-button) {
    display: none !important;
  }
  .brand {
    font-size: 0.9rem;
  }
}

/* ─── Mobile Logo Size Adjustment ─── */
@media (max-width: 768px) {
  .brand img {
    width: 110px !important;
    max-height: 48px;
  }
  .brand {
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .brand img {
    width: 100px !important;
  }
  .brand span {
    font-size: 0.85rem;
    max-width: 140px;
    white-space: normal;
    line-height: 1.1;
  }
}

/* ─── Ensuring Brand Name Visibility ─── */
@media (max-width: 576px) {
  .brand span {
    display: block !important; /* Force visibility as requested */
  }
}

/* ─── All Locations Page Styles ─── */
.all-locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin: 60px 0 100px;
}

.location-group h3 {
  border-bottom: 2px solid var(--accent);
  padding-bottom: 12px;
  margin-bottom: 24px;
  color: var(--primary);
  font-size: 1.5rem;
}

@media (max-width: 992px) {
  .all-locations-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 576px) {
  .all-locations-grid {
    grid-template-columns: 1fr;
  }
}
