/* ZentraLab — Design System */
:root {
  --color-primary: #0f4c81;
  --color-primary-dark: #0a3559;
  --color-primary-mid: #1565a8;
  --color-accent: #00a896;
  --color-accent-light: #02c39a;
  --color-bg: #f8fafc;
  --color-surface: #ffffff;
  --color-text: #1e293b;
  --color-text-muted: #64748b;
  --color-border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(15, 76, 129, 0.08);
  --shadow-md: 0 4px 20px rgba(15, 76, 129, 0.12);
  --shadow-lg: 0 12px 40px rgba(15, 76, 129, 0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-ta: "Noto Sans Tamil", "Segoe UI", system-ui, sans-serif;
  --max-width: 1140px;
  --header-height: 72px;
  --brand-hero: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-primary-mid) 100%);
  --brand-overlay: linear-gradient(135deg, rgba(10, 53, 89, 0.92) 0%, rgba(15, 76, 129, 0.86) 70%, rgba(21, 101, 168, 0.78) 100%);
  --brand-photo-wash: linear-gradient(160deg, rgba(10, 53, 89, 0.38) 0%, rgba(15, 76, 129, 0.2) 50%, rgba(0, 168, 150, 0.12) 100%);
  --brand-pattern: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--color-accent);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1100;
  background: #fff;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  min-height: var(--header-height);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: var(--header-height);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  position: relative;
  z-index: 2;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-primary);
  flex-shrink: 0;
}

.logo-img {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(15, 76, 129, 0.08);
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-name {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

.logo-name span {
  color: var(--color-accent);
}

.logo-sub {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.footer-brand .logo-img {
  height: 40px;
  filter: brightness(0) invert(1);
}

.site-footer .logo-mark {
  background: rgba(255, 255, 255, 0.12);
}

.site-footer .logo-name {
  color: #fff;
}

.site-footer .logo-name span {
  color: var(--color-accent-light);
}

.site-footer .logo-sub {
  color: rgba(255, 255, 255, 0.7);
}

body.lang-ta {
  font-family: var(--font-ta);
}

.header-inner > nav {
  margin-left: auto;
  display: flex;
  justify-content: flex-end;
  min-width: 0;
  flex: 1 1 auto;
}

.lang-switcher-desktop {
  flex-shrink: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  position: relative;
  z-index: 5;
  background: rgba(255, 255, 255, 0.95);
}

.lang-switcher {
  display: inline-flex;
  gap: 0.15rem;
  background: var(--color-bg);
  border-radius: 8px;
  padding: 0.2rem;
  border: 1px solid var(--color-border);
  flex-shrink: 0;
}

.lang-btn {
  padding: 0.4rem 0.75rem;
  border: none;
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text-muted);
  font-family: var(--font);
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
  line-height: 1.2;
}

.lang-btn:hover {
  color: var(--color-primary);
}

.lang-btn.active {
  background: var(--color-primary);
  color: white;
  box-shadow: var(--shadow-sm);
}

.nav-mobile .lang-switcher {
  margin-bottom: 1rem;
  align-self: flex-start;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 1rem;
  list-style: none;
  flex-wrap: nowrap;
  min-width: 0;
}

.nav-desktop a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.95rem;
  white-space: nowrap;
}

.nav-desktop a.btn {
  flex-shrink: 0;
}

body.lang-ta .nav-desktop {
  gap: 0.55rem;
}

body.lang-ta .nav-desktop a:not(.btn) {
  font-size: 0.8rem;
}

body.lang-ta .nav-desktop a.btn {
  padding: 0.55rem 0.85rem;
  font-size: 0.8rem;
}

.nav-desktop a.active,
.nav-desktop a:hover {
  color: var(--color-primary);
}

.nav-desktop a.active {
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
  font-family: inherit;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary,
a.btn-primary,
a.btn-primary:hover,
a.btn-primary:focus,
a.btn-primary.active,
.nav-desktop a.btn-primary,
.nav-desktop a.btn-primary:hover,
.nav-desktop a.btn-primary.active {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover,
a.btn-primary:hover {
  box-shadow: var(--shadow-md);
  color: #fff;
}

.btn-accent,
a.btn-accent,
a.btn-accent:hover,
a.btn-accent:focus {
  background: var(--color-accent);
  color: #fff;
}

.btn-accent:hover,
a.btn-accent:hover {
  background: var(--color-accent-light);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover,
a.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.menu-toggle {
  display: none;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  cursor: pointer;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--color-primary);
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 3;
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
  display: block;
  pointer-events: none;
}

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

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

.menu-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.menu-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 53, 89, 0.45);
  z-index: 1090;
}

.menu-backdrop.open {
  display: block;
}

.nav-mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  background: #fff;
  padding: 0.75rem 1rem 1.25rem;
  flex-direction: column;
  gap: 0.4rem;
  z-index: 1110;
  border-top: 1px solid var(--color-border);
  box-shadow: 0 16px 32px rgba(15, 76, 129, 0.18);
  max-height: calc(100vh - var(--header-height) - 1rem);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

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

.nav-mobile a {
  display: block;
  padding: 0.95rem 1rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background: #fff;
}

.nav-mobile a:active,
.nav-mobile a.active {
  background: rgba(15, 76, 129, 0.08);
  color: var(--color-primary);
  border-color: rgba(15, 76, 129, 0.2);
}

.nav-mobile a[href="contact.html"] {
  margin-top: 0.35rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff !important;
  text-align: center;
  border-color: transparent;
}

.nav-mobile a[href="contact.html"].active,
.nav-mobile a[href="contact.html"]:active {
  background: var(--color-primary-dark);
  color: #fff !important;
}

body.menu-open {
  overflow: hidden;
}

body.menu-open .zl-chat-root {
  visibility: hidden;
  pointer-events: none;
}

/* Hero */
.hero {
  background: var(--brand-hero);
  color: white;
  padding: 5rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brand-pattern);
  opacity: 0.5;
}

.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  font-weight: 800;
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.92;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-actions .btn-outline {
  border-color: white;
  color: white;
}

.hero-actions .btn-outline:hover {
  background: white;
  color: var(--color-primary);
}

.hero-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.stat-item {
  text-align: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-accent-light);
}

.stat-label {
  font-size: 0.85rem;
  opacity: 0.85;
  margin-top: 0.25rem;
}

/* Sections */
section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  color: var(--color-primary-dark);
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

.section-label {
  display: inline-block;
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(15, 76, 129, 0.1), rgba(0, 168, 150, 0.15));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  margin: 0;
}

.card.has-photo {
  position: relative;
  padding: 0 0 1.5rem;
}

.card.has-photo::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 180px;
  background: linear-gradient(160deg, rgba(10, 53, 89, 0.28) 0%, rgba(15, 76, 129, 0.12) 50%, rgba(0, 168, 150, 0.1) 100%);
  pointer-events: none;
  z-index: 1;
}

.card.has-photo h3 {
  margin: 1.15rem 1.5rem 0.75rem;
  position: relative;
  z-index: 2;
}

.card.has-photo p {
  margin: 0 1.5rem 0.75rem;
  position: relative;
  z-index: 2;
}

.card.has-photo .card-link,
.card.has-photo .service-list {
  margin: 0.5rem 1.5rem 0;
  position: relative;
  z-index: 2;
}

.card.has-photo .service-list {
  margin-bottom: 0;
}

.photo-panel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 280px;
  box-shadow: var(--shadow-md);
}

.photo-panel img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
}

.photo-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brand-photo-wash);
  pointer-events: none;
}

.photo-panel-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(10, 53, 89, 0.92));
  color: white;
  z-index: 1;
}

.photo-panel-caption h3 {
  margin-bottom: 0.35rem;
  font-size: 1.2rem;
}

.photo-panel-caption p {
  margin: 0;
  opacity: 0.9;
  font-size: 0.9rem;
}

.hero-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 320px;
  position: relative;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

.hero-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 53, 89, 0.35), rgba(0, 168, 150, 0.12) 55%, transparent 75%);
  pointer-events: none;
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: var(--color-primary-dark);
}

.card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Industries strip */
.industries-strip {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 3rem 0;
}

.industry-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.industry-tag {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  padding: 0.6rem 1.25rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
}

/* CTA band */
.cta-band {
  background: var(--brand-hero);
  color: white;
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brand-pattern);
  opacity: 0.45;
  pointer-events: none;
}

.cta-band .container {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
}

.cta-band p {
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* Page hero (inner pages) — same blue brand tone as Home */
.page-hero {
  background: var(--brand-hero);
  color: white;
  padding: 3.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brand-pattern);
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}

.page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 0.75rem;
}

.page-hero p {
  opacity: 0.92;
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.page-hero.has-bg {
  background: var(--brand-hero);
  padding: 4.5rem 0;
}

/* Photo stays as light texture; blue tone matches Home hero */
.page-hero.has-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  mix-blend-mode: soft-light;
  z-index: 0;
}

.page-hero.has-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brand-pattern);
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}

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

.page-hero.bg-industries::before { background-image: url("../images/industries/office.jpg"); }
.page-hero.bg-about::before { background-image: url("../images/about/workspace.jpg"); }
.page-hero.bg-contact::before { background-image: url("../images/contact/handshake.jpg"); }
.page-hero.bg-services::before { background-image: url("../images/services/managed-it.jpg"); }

/* Services detail */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem 0;
  border-bottom: 1px solid var(--color-border);
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail:nth-child(even) {
  direction: rtl;
}

.service-detail:nth-child(even) > * {
  direction: ltr;
}

.service-detail-content h3 {
  font-size: 1.5rem;
  color: var(--color-primary-dark);
  margin-bottom: 1rem;
}

.service-detail-content p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.service-list {
  list-style: none;
  margin-top: 1rem;
}

.service-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--color-text);
  font-size: 0.95rem;
}

.service-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

.service-detail-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 280px;
  background: linear-gradient(135deg, rgba(15, 76, 129, 0.08), rgba(0, 168, 150, 0.12));
  box-shadow: var(--shadow-md);
}

.service-detail-visual img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  max-height: 360px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.service-detail:hover .service-detail-visual img {
  transform: scale(1.04);
}

.service-detail-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brand-photo-wash);
  pointer-events: none;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-visual {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: var(--radius-lg);
  padding: 3rem;
  color: white;
  text-align: center;
}

.about-visual .logo-mark {
  width: 80px;
  height: 80px;
  font-size: 1.75rem;
  margin: 0 auto 1.5rem;
  background: rgba(255, 255, 255, 0.2);
}

.about-visual.about-visual-photo {
  padding: 0;
  background: none;
  text-align: left;
  overflow: hidden;
  position: relative;
  min-height: 320px;
}

.about-visual.about-visual-photo img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

.about-visual.about-visual-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brand-photo-wash);
  pointer-events: none;
}

.about-visual.about-visual-photo .about-visual-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(10, 53, 89, 0.94));
  color: white;
  text-align: center;
  z-index: 1;
}

.contact-side-photo {
  margin-top: 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}

.contact-side-photo img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.contact-side-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brand-photo-wash);
  pointer-events: none;
}

.industry-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 2rem;
}

.industry-preview {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.industry-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.industry-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 76, 129, 0.2), rgba(10, 53, 89, 0.78));
  pointer-events: none;
}

.industry-preview span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.6rem 0.75rem;
  background: transparent;
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 1;
}

@media (max-width: 900px) {
  .industry-preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.value-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--color-surface);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

.value-card .card-icon {
  margin: 0 auto 1rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.contact-info h3 {
  color: var(--color-primary-dark);
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  background: rgba(15, 76, 129, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.contact-form {
  background: var(--color-surface);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.15);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

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

.form-success {
  display: none;
  background: rgba(0, 168, 150, 0.1);
  border: 1px solid var(--color-accent);
  color: var(--color-primary-dark);
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.form-success.show {
  display: block;
}

/* FAQ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover {
  background: var(--color-bg);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-icon {
  font-size: 1.25rem;
  transition: transform 0.2s;
  color: var(--color-accent);
}

/* Footer */
.site-footer {
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.85);
  margin-top: auto;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  color: white;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  opacity: 0.8;
  max-width: 280px;
}

.footer-col h4 {
  color: white;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--color-accent-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* Quote CTA */
.quote-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 900px) {
  .hero .container,
  .about-grid,
  .contact-grid,
  .service-detail,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-detail:nth-child(even) {
    direction: ltr;
  }

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

  .hero-photo img {
    min-height: 220px;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Phones only: hamburger menu */
@media (max-width: 767px) {
  .header-inner > nav {
    display: none !important;
  }

  .nav-desktop {
    display: none !important;
  }

  .menu-toggle {
    display: inline-flex !important;
  }

  .header-actions {
    margin-left: auto;
    gap: 0.45rem;
  }

  .logo-sub {
    display: none;
  }

  .logo-name {
    font-size: 1.05rem;
  }

  .logo-mark {
    width: 36px;
    height: 36px;
  }

  .lang-btn {
    padding: 0.35rem 0.55rem;
    font-size: 0.75rem;
  }

  .nav-mobile .lang-switcher {
    display: none;
  }

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

/* Tablet & desktop: full tabs, no hamburger */
@media (min-width: 768px) {
  .header-inner > nav {
    display: flex !important;
  }

  .nav-desktop {
    display: flex !important;
  }

  .menu-toggle {
    display: none !important;
  }

  .nav-mobile {
    display: none !important;
  }
}

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

  .hero {
    padding: 3.5rem 0 4rem;
  }

  section {
    padding: 3.5rem 0;
  }
}
