/* =========================================================
   ezipay — Company Site Stylesheet
   Design: solid accent #0f4c81, neutral #f3f5f7 palette
   ========================================================= */

/* ── Custom properties ── */
:root {
  --accent: #0f4c81;
  --accent-hover: #0a3860;
  --accent-light: #e8f0fc;
  --bg: #f3f5f7;
  --surface: #ffffff;
  --surface-soft: #eef2f7;
  --text: #0d1b2a;
  --muted: #4b5c6b;
  --border: #d6dde6;
  --border-strong: #b8c4d0;
  --shadow-sm:
    0 1px 3px rgba(13, 27, 42, 0.06), 0 4px 14px rgba(13, 27, 42, 0.05);
  --shadow-md:
    0 4px 12px rgba(13, 27, 42, 0.08), 0 12px 32px rgba(13, 27, 42, 0.07);
  --shadow-lg:
    0 8px 24px rgba(13, 27, 42, 0.1), 0 24px 64px rgba(13, 27, 42, 0.09);
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.125rem;
  --space-1: 0.5rem;
  --space-2: 0.875rem;
  --space-3: 1.25rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.5rem;
  --font: "Inter", "Segoe UI", system-ui, sans-serif;
  --transition: 0.2s ease;
}

/* ── Reset & base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

ul,
ol {
  list-style: none;
}

/* ── Utility ── */
.shell {
  width: min(1180px, 92vw);
  margin-inline: auto;
}

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

.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}

h1,
h2,
h3,
h4 {
  line-height: 1.2;
  font-weight: 800;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  margin-bottom: 0.5rem;
}
h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  margin-bottom: var(--space-2);
}
h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

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

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: var(--radius-md);
  padding: 0.7rem 1.35rem;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(15, 76, 129, 0.3);
}
.btn-accent:hover,
.btn-accent:focus-visible {
  background: var(--accent-hover);
  box-shadow: 0 6px 20px rgba(15, 76, 129, 0.4);
}

.btn-ghost {
  border-color: var(--border-strong);
  color: var(--text);
  background: var(--surface);
}
.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.83rem;
}

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.75rem;
  gap: var(--space-3);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.brand-sub {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  display: block;
  letter-spacing: 0;
}

/* Mobile hamburger */
.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.55rem;
  border: 1.5px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color var(--transition);
}
.menu-toggle:hover {
  border-color: var(--accent);
}
.menu-toggle span {
  height: 2px;
  background: var(--text);
  width: 100%;
  border-radius: 2px;
  transition:
    transform var(--transition),
    opacity var(--transition);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Nav — mobile */
.site-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: none;
  flex-direction: column;
  gap: 0.15rem;
  padding: var(--space-2) 4vw var(--space-3);
  box-shadow: var(--shadow-md);
}
.site-nav.open {
  display: flex;
}

.site-nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  padding: 0.5rem 0.25rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition);
}
.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent);
}

.site-nav .btn-accent {
  color: #fff;
  margin-top: 0.5rem;
}

/* ── HERO ── */
.hero {
  background: var(--surface);
  padding: var(--space-6) 0 var(--space-5);
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  gap: var(--space-5);
  align-items: center;
}

.hero-tag {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  margin-bottom: var(--space-2);
}

.hero h1 {
  color: var(--text);
}
.hero .hero-sub {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--muted);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.hero .lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 52ch;
  margin-bottom: var(--space-1);
}

.key-list {
  margin: var(--space-3) 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.key-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--muted);
  font-size: 0.93rem;
}

.key-list li::before {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l2.5 2.5L9 1' stroke='white' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: var(--space-3);
}

.hero-media {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #f8fafd;
}

/* ── STRIP (highlights) ── */
.strip {
  padding: var(--space-5) 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-3);
}

.highlight-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-3);
  box-shadow: var(--shadow-sm);
  transition:
    box-shadow var(--transition),
    border-color var(--transition),
    transform var(--transition);
  position: relative;
  overflow: hidden;
}
.highlight-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--accent);
  opacity: 0;
  transition: opacity var(--transition);
}
.highlight-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
  transform: translateY(-2px);
}
.highlight-card:hover::before {
  opacity: 1;
}

.highlight-card h3 {
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  color: var(--text);
}
.highlight-card p {
  font-size: 0.88rem;
}

/* ── SECTIONS ── */
.section {
  padding: var(--space-6) 0;
}

.section-soft {
  background: var(--surface-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-dark {
  background: #0a2036;
  color: #fff;
  border-top: 1px solid #1a3a56;
  border-bottom: 1px solid #1a3a56;
}
.section-dark p {
  color: #9db4ca;
}
.section-dark h2 {
  color: #fff;
}

.section-header {
  margin-bottom: var(--space-4);
}

/* ── TWO-COL ── */
.two-col {
  display: grid;
  gap: var(--space-5);
  align-items: center;
}

.media-card {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #f8fafd;
}

/* ── CARD GRID (solutions) ── */
.card-grid {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-3);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition:
    box-shadow var(--transition),
    border-color var(--transition),
    transform var(--transition);
}
.info-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
  transform: translateY(-3px);
}

.info-card h3 {
  color: var(--text);
  font-size: 1rem;
}

.card-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-sm);
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-2);
  font-size: 1.2rem;
}

.info-card .btn {
  margin-top: auto;
  padding-top: var(--space-3);
  align-self: flex-start;
}

/* ── PRODUCTS DETAIL GRID ── */
.details-grid {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.detail-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  box-shadow: var(--shadow-sm);
}

.detail-block h3 {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: var(--space-2);
  padding-bottom: var(--space-1);
  border-bottom: 2px solid var(--accent-light);
}

.detail-block ul {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.detail-block ul li {
  position: relative;
  padding-left: 1.2rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.detail-block ul li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.media-only img {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

/* ── IMAGE FEATURE SECTIONS (image5/6/7) ── */
.feature-section {
  display: grid;
  gap: var(--space-4);
  align-items: start;
}

.feature-image-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--surface);
}

.feature-grid {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  margin-top: var(--space-3);
}

.feature-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  box-shadow: var(--shadow-sm);
  transition:
    box-shadow var(--transition),
    transform var(--transition);
}
.feature-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.feature-item h4 {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 0.35rem;
}
.feature-item p {
  font-size: 0.87rem;
}

.feature-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}
.badge-blue {
  background: var(--accent-light);
  color: var(--accent);
}
.badge-green {
  background: #e6f6ef;
  color: #1a7a47;
}

/* ── HOW IT WORKS — step rows ── */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.step-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  align-items: center;
}

.step-row-reverse {
  direction: rtl;
}
.step-row-reverse > * {
  direction: ltr;
}

.step-img {
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2);
  max-width: 340px;
  width: 100%;
}

.step-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  max-height: 160px;
}

.step-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.step-number {
  display: inline-block;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 2.5rem;
  text-align: center;
  flex-shrink: 0;
  margin-bottom: 0.25rem;
}

.step-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.step-body p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 640px) {
  .step-row,
  .step-row-reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .step-row-reverse > * {
    direction: ltr;
  }
  .step-img {
    max-width: 320px;
    margin: 0 auto;
  }
}

/* ── PRICING ── */
.pricing-cards {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-bottom: var(--space-4);
}

.pricing-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition:
    box-shadow var(--transition),
    border-color var(--transition),
    transform var(--transition);
}
.pricing-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
  transform: translateY(-3px);
}
.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.pricing-card-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-2);
}
.pricing-card-icon img {
  width: 1.8rem;
  height: 1.8rem;
  object-fit: contain;
}

.pricing-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.pricing-card p {
  font-size: 0.88rem;
}

/* Plan comparison */
.plan-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: var(--space-4);
}

.plan-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.plan-header {
  background: var(--surface-soft);
  padding: var(--space-3);
  border-bottom: 1px solid var(--border);
}
.plan-header.featured {
  background: var(--accent);
}
.plan-header.featured h3,
.plan-header.featured p {
  color: #fff;
}
.plan-header.featured p {
  opacity: 0.85;
}

.plan-header h3 {
  font-size: 1.15rem;
  color: var(--text);
}
.plan-body {
  padding: var(--space-3);
}

/* ── READ MORE ── */
.read-more-content {
  max-height: 7rem;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.read-more.expanded .read-more-content {
  max-height: 9999px;
}

.link-btn {
  border: 0;
  background: transparent;
  color: var(--accent);
  padding: 0;
  margin-top: 0.4rem;
  font-family: var(--font);
  font-size: 0.87rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: color var(--transition);
}
.link-btn:hover {
  color: var(--accent-hover);
}

/* ── TABLES ── */
.tables-header {
  margin-bottom: var(--space-4);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

caption {
  text-align: left;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--muted);
  padding: var(--space-2) var(--space-3);
  border-bottom: 1px solid var(--border);
}

thead tr {
  background: var(--accent);
}
thead th {
  color: #fff;
  font-weight: 700;
  font-size: 0.83rem;
  letter-spacing: 0.03em;
  text-align: left;
  padding: 0.75rem var(--space-2);
  position: sticky;
  top: 0;
  z-index: 2;
}
thead th:first-child {
  border-radius: 0;
}

tbody td {
  padding: 0.7rem var(--space-2);
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
tbody tr:last-child td {
  border-bottom: 0;
}
tbody tr:nth-child(even) {
  background: #f5f8fc;
}
tbody tr:hover {
  background: var(--accent-light);
}

.table-icon {
  max-height: 24px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.3rem;
}

.table-section-row td {
  background: var(--accent-light);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.rate-chip {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 999px;
  padding: 0.18rem 0.6rem;
  font-size: 0.82rem;
  font-weight: 700;
}

/* ── GALLERY ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: var(--space-2);
}

.gallery-item {
  margin: 0;
}

.gallery-btn {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0;
  background: var(--surface);
  cursor: pointer;
  overflow: hidden;
  transition:
    box-shadow var(--transition),
    border-color var(--transition),
    transform var(--transition);
}
.gallery-btn:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
  transform: translateY(-3px);
}

.gallery-btn img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: contain;
  background: #f8fafd;
  display: block;
}

.gallery-item figcaption {
  margin-top: 0.4rem;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}

/* ── FAQ ACCORDION ── */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.accordion-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  text-align: left;
  transition: background var(--transition);
}
.accordion-trigger:hover {
  background: var(--accent-light);
}
.accordion-trigger:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.accordion-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 400;
  transition:
    transform var(--transition),
    background var(--transition);
  line-height: 1;
}
.accordion-item.open .accordion-icon {
  transform: rotate(45deg);
  background: var(--accent);
  color: #fff;
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.3s ease,
    padding 0.3s ease;
}
.accordion-item.open .accordion-panel {
  max-height: 1200px;
}
.accordion-panel-inner {
  padding: 0 var(--space-3) var(--space-2);
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ── CTA STRIP ── */
.cta-strip {
  background: var(--accent);
  color: #fff;
  padding: var(--space-5) 0;
  text-align: center;
}
.cta-strip h2 {
  color: #fff;
  margin-bottom: var(--space-1);
}
.cta-strip p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-3);
}
.cta-strip .btn-ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  background: transparent;
}
.cta-strip .btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.cta-actions-center {
  display: flex;
  gap: var(--space-2);
  justify-content: center;
  flex-wrap: wrap;
}

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  gap: var(--space-4);
}

.contact-info {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
}
.contact-info h2 {
  margin-bottom: var(--space-2);
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin: var(--space-3) 0;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.contact-method-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-sm);
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-method-icon img {
  width: 1.4rem;
  height: 1.4rem;
  object-fit: contain;
}
.contact-method-text strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text);
}
.contact-method-text span {
  font-size: 0.82rem;
  color: var(--muted);
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-row {
  display: grid;
  gap: var(--space-2);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.form-group label {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--surface);
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.12);
}

/* ── BACK TO TOP ── */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 150;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(15, 76, 129, 0.35);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity var(--transition),
    transform var(--transition),
    background var(--transition);
  font-size: 1.2rem;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--accent-hover);
}

/* ── LIGHTBOX ── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 35, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-3);
  z-index: 300;
}
.lightbox.open {
  display: flex;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.lightbox figure {
  margin: 0;
  max-width: min(1000px, 100%);
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.lightbox img {
  max-height: 78vh;
  width: 100%;
  object-fit: contain;
  background: #f8fafd;
  display: block;
}

.lightbox figcaption {
  padding: var(--space-2) var(--space-3);
  font-size: 0.88rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition:
    background var(--transition),
    border-color var(--transition);
}
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #fff;
}

/* ── FOOTER ── */
.site-footer {
  background: #0a1c2e;
  color: #c9d5e0;
  padding: var(--space-5) 0 var(--space-3);
  border-top: 1px solid #152436;
}

.footer-grid {
  display: grid;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.footer-brand img {
  width: 56px;
  margin-bottom: var(--space-2);
  border-radius: var(--radius-sm);
}

.footer-brand p {
  font-size: 0.85rem;
  color: #7a95ab;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: var(--space-2);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-links a {
  font-size: 0.87rem;
  color: #8fa8bc;
  transition: color var(--transition);
}
.footer-links a:hover,
.footer-links a:focus-visible {
  color: #9cc2e4;
}

.footer-bottom {
  border-top: 1px solid #1a3248;
  padding-top: var(--space-2);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: #506070;
}
.footer-legal {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}
.footer-legal a {
  font-size: 0.8rem;
  color: #506070;
  text-decoration: underline;
}
.footer-legal a:hover {
  color: #9cc2e4;
}

/* ── RESPONSIVE (≥ 768px) ── */
@media (min-width: 768px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr 1.25fr;
    align-items: start;
  }
}

/* ── RESPONSIVE (≥ 900px) ── */
@media (min-width: 900px) {
  .menu-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    border: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    box-shadow: none;
  }

  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
  .two-col {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 0.7fr 0.7fr 1fr;
  }

  .feature-section {
    grid-template-columns: 1fr 1fr;
  }
}

/* ── RESPONSIVE (≥ 1100px) ── */
@media (min-width: 1100px) {
  .site-nav {
    gap: 0.75rem;
  }
}

/* ── Focus styles ── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
