/* ===== Onsight — Style Sheet ===== */

/* --- Design Tokens --- */
:root {
  --primary: #0a2a5e;
  --primary-light: #1a4a8e;
  --primary-dark: #061a3e;
  --accent: #c89b3c;
  --accent-light: #e0b85c;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --bg-dark: #0a2a5e;
  --text: #1a1a2e;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --border: #e5e7eb;
  --white: #ffffff;
  --success: #10b981;
  --danger: #ef4444;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 2px 12px rgba(10,42,94,0.08);
  --shadow-lg: 0 8px 32px rgba(10,42,94,0.15);
  --container: 1140px;
  --transition: 0.3s ease;
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul {
  list-style: none;
}

/* --- Container --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Section --- */
.section {
  padding: 4rem 0;
}

.section-light {
  background: var(--bg-alt);
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.text-center { text-align: center; }

/* --- Navbar --- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 0.75rem 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.navbar-brand {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.brand-icon {
  font-size: 1.5rem;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-links a {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  border-bottom-color: var(--accent);
}

/* --- Nav CTA (For Business / Contact) --- */
.nav-cta {
  display: inline-block;
  background: var(--primary);
  color: var(--white) !important;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.55rem 1.15rem;
  border-radius: 50px;
  white-space: nowrap;
  transition: all var(--transition);
}

.nav-cta:hover {
  background: var(--accent);
  border-bottom-color: transparent;
}

/* --- Language Toggle Button --- */
.lang-toggle {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 0.8rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  line-height: 1.4;
}

.lang-toggle:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: all var(--transition);
}

/* --- Hero --- */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M0 0h60v60H0z' fill='none'/%3E%3Cpath d='M30 10l20 35H10z' fill='%23ffffff' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
}

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

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
}

.hero-sub {
  font-size: 1.2rem;
  max-width: 680px;
  margin: 0 auto 2rem;
  opacity: 0.9;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1rem;
}

.hero-badge {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50px;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  backdrop-filter: blur(4px);
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.7rem 1.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-align: center;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(200,155,60,0.4);
}

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

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

.btn-lg {
  padding: 0.9rem 2.25rem;
  font-size: 1.05rem;
}

.btn-block {
  display: block;
  width: 100%;
}

.btn-whatsapp {
  background: #25d366;
  color: var(--white);
}

.btn-whatsapp:hover {
  background: #1da851;
  color: var(--white);
  transform: translateY(-2px);
}

.btn-pay {
  background: #f4c544;
  color: #1a1a1a;
  border: 1px dashed #b89530;
  cursor: not-allowed;
  position: relative;
}

.btn-pay:hover {
  background: #f4c544;
  color: #1a1a1a;
  transform: none;
  box-shadow: none;
}

.btn-pay::after {
  content: "🔒";
  margin-left: 0.5rem;
  opacity: 0.7;
}

.disabled-link {
  pointer-events: none;
  opacity: 0.85;
}

/* --- Service Cards --- */
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

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

.card-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1rem;
}

.card-tag {
  display: inline-block;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

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

.service-card p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 0.95rem;
  flex-grow: 1;
}

.card-price {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

.card-price small {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-muted);
}

.card-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.card-link:hover {
  color: var(--accent);
}

/* --- Service Detail Page --- */
.service-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 3.5rem 0 3rem;
}

.service-hero .container {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.service-hero-content {
  flex: 1;
  min-width: 300px;
}

.service-hero h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.service-hero .service-tag {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50px;
  padding: 0.3rem 1rem;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.service-hero .price-box {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  text-align: center;
  min-width: 200px;
}

.service-hero .price-box .price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-light);
}

.service-hero .price-box .price-label {
  font-size: 0.85rem;
  opacity: 0.8;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  margin-top: -2rem;
  position: relative;
  z-index: 2;
}

.service-detail-main {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.service-detail-main h2 {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
  margin-top: 2rem;
}

.service-detail-main h2:first-child {
  margin-top: 0;
}

.service-detail-main p {
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.service-detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

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

.sidebar-card ul li {
  padding: 0.4rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  position: relative;
  padding-left: 1.5rem;
}

.sidebar-card ul li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

.service-nav {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.service-nav h3 {
  font-size: 0.95rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-nav ul li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.service-nav ul li:last-child {
  border-bottom: none;
}

.service-nav ul li a {
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.service-nav ul li a.active {
  color: var(--accent);
  font-weight: 600;
}

/* --- Delivery Promise Banner --- */
.delivery-banner {
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  text-align: center;
  margin: 2rem 0;
}

.delivery-banner p {
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.6;
}

.delivery-banner strong {
  color: var(--accent-light);
}

/* --- Values Strip (Professional · Neutral · On-site · Transparent) --- */
.values-strip {
  background: var(--primary);
  padding: 1.5rem 0;
}

.values-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  text-align: center;
}

.values-strip-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.5rem;
  position: relative;
}

.values-strip-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255,255,255,0.15);
}

.vs-icon {
  font-size: 1.8rem;
  line-height: 1;
}

.vs-label {
  color: rgba(255,255,255,0.95);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.vs-sub {
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  line-height: 1.4;
  max-width: 160px;
}

/* --- Team Structure Section --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  text-align: center;
  transition: all var(--transition);
}

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

.team-card .team-icon {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

.team-card h3 {
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.team-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- Process Grid --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.process-step {
  text-align: center;
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.process-step h4 {
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --- Coverage Section --- */
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  text-align: center;
}

.coverage-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.coverage-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.coverage-item .city-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.coverage-item h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.coverage-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- Cases Gallery --- */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.case-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 1px solid var(--border);
}

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

.case-image {
  width: 100%;
  height: 220px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.case-card:hover .case-image img {
  transform: scale(1.05);
}

.case-image .placeholder {
  font-size: 3rem;
  color: var(--text-light);
}

.case-body {
  padding: 1.5rem;
}

.case-body .case-tag {
  display: inline-block;
  background: var(--bg-alt);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}

.case-body h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.case-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.video-section {
  margin-top: 3rem;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.video-card {
  width: 100%;
  max-width: 340px;
  text-align: center;
}

.video-embed-vertical {
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(10, 42, 94, 0.15);
}

.video-embed-vertical iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.video-card-title {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
}

.video-card-desc {
  margin-top: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.video-facade {
  position: relative;
  display: block;
  background: var(--primary-dark);
  text-decoration: none;
}

.video-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: rgba(200, 155, 60, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
  pointer-events: none;
  transition: transform 0.3s ease, background 0.3s ease;
  z-index: 2;
}

.video-facade:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.15);
  background: rgba(200, 155, 60, 1);
}

.video-watch-link {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #c89b3c;
  text-decoration: none;
  transition: color 0.2s ease;
}

.video-watch-link:hover {
  color: var(--primary);
}

.video-placeholder {
  background: var(--primary-dark);
  border-radius: var(--radius);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: rgba(255,255,255,0.5);
  position: relative;
  overflow: hidden;
}

.video-placeholder .play-icon {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  opacity: 0.6;
}

.video-placeholder p {
  font-size: 0.9rem;
}

.video-embed {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
}

.video-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* --- About Page --- */
.about-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 4rem 0 3rem;
  text-align: center;
}

.about-hero h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.about-hero p {
  font-size: 1.1rem;
  opacity: 0.85;
  max-width: 580px;
  margin: 0 auto;
}

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

.about-text h2 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
  margin-top: 1.5rem;
}

.about-text h2:first-child {
  margin-top: 0;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.about-visual {
  background: var(--bg-alt);
  border-radius: var(--radius);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}

.about-visual .placeholder {
  text-align: center;
  color: var(--text-light);
}

.about-visual .placeholder span {
  font-size: 4rem;
  display: block;
  margin-bottom: 0.5rem;
}

.team-photo-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(10, 42, 94, 0.12);
  border: 1px solid var(--border);
}

.team-photo-card img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--bg-alt);
}

.team-photo-caption {
  padding: 1.25rem 1.5rem;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}

.team-photo-caption p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  text-align: center;
  transition: all var(--transition);
}

.value-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.value-card .value-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

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

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

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

.form-wrapper {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.form-wrapper h2 {
  color: var(--primary);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.form-sub {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.form-success {
  display: none;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  color: #065f46;
}

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

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

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

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.required {
  color: var(--danger);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--white);
  color: var(--text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(10,42,94,0.1);
}

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

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.contact-card h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.contact-card a {
  font-size: 0.95rem;
  font-weight: 600;
}

.contact-card .contact-icon {
  font-size: 1.3rem;
}

.contact-detail {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0.5rem 0 1rem;
  letter-spacing: 0.02em;
}

.contact-detail a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
}

.contact-detail a:hover {
  text-decoration: underline;
}

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

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

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

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

.faq-icon {
  font-size: 1.3rem;
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 1rem;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 1.25rem;
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 0 1.25rem 1rem;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- Why Choose Us Comparison Table --- */
.yg-compare-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 1rem;
}

.yg-compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-width: 640px;
}

.yg-compare-table th,
.yg-compare-table td {
  padding: 1rem 0.9rem;
  text-align: left;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.5;
}

.yg-compare-table thead th {
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.yg-compare-table thead th.yg-col-us {
  background: var(--accent);
  color: var(--white);
}

.yg-compare-table tbody tr:nth-child(even) {
  background: var(--bg-alt);
}

.yg-compare-table tbody td:first-child {
  font-weight: 700;
  color: var(--primary);
}

.yg-compare-table .yg-us {
  background: rgba(200,155,60,0.10);
  color: var(--primary);
}

.yg-compare-table .yg-us strong {
  color: var(--accent);
}

@media (max-width: 768px) {
  .yg-compare-table th,
  .yg-compare-table td {
    padding: 0.75rem 0.6rem;
    font-size: 0.8rem;
  }
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 3.5rem 0;
  text-align: center;
}

.cta-section h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.cta-section p {
  font-size: 1.05rem;
  opacity: 0.85;
  margin-bottom: 1.5rem;
}

/* --- Page Header (generic) --- */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 4rem 0 3rem;
  text-align: center;
}

.page-header h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.page-header p {
  font-size: 1.1rem;
  opacity: 0.85;
  max-width: 580px;
  margin: 0 auto;
}

.breadcrumb {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: rgba(255,255,255,0.8);
}

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

.breadcrumb span {
  margin: 0 0.5rem;
}

/* --- Legal / Privacy Page --- */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 0;
}

.legal-content h2 {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
  margin-top: 2rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
  margin-top: 1.5rem;
}

.legal-content p {
  margin-bottom: 0.75rem;
  color: var(--text);
  line-height: 1.8;
}

.legal-content ul,
.legal-content ol {
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-content ul li {
  list-style: disc;
  padding: 0.25rem 0;
}

.legal-content ol li {
  list-style: decimal;
  padding: 0.25rem 0;
}

.legal-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 1.5rem;
}

/* --- Footer --- */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.8);
  padding: 3rem 0 1.5rem;
}

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

.footer-brand h3 {
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

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

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

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

.footer-contact p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.3rem;
}

.footer-contact a {
  color: rgba(255,255,255,0.85);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.25rem;
}

/* --- Breadcrumb (sub-pages) --- */
.sub-breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.sub-breadcrumb a {
  color: var(--primary);
}

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

.sub-breadcrumb span {
  margin: 0 0.5rem;
  color: var(--text-light);
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .service-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow-lg);
    gap: 0;
  }

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

  .nav-links a {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    width: 100%;
  }

  .hero {
    padding: 3rem 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .form-wrapper {
    padding: 1.5rem;
  }

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

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

  .page-header h1,
  .about-hero h1,
  .service-hero h1 {
    font-size: 1.6rem;
  }

  .service-hero .container {
    flex-direction: column;
    text-align: center;
  }

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

  .video-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .video-card {
    max-width: 320px;
  }
}

@media (max-width: 600px) {
  .values-strip-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 0.5rem;
  }
  .values-strip-item:not(:last-child)::after {
    display: none;
  }
  .values-strip {
    padding: 1.75rem 0;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.7rem;
  }

  .hero-badges {
    flex-direction: column;
    align-items: center;
  }

  .hero-badge {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

/* ===== Blog Styles ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

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

.blog-card-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 1.5rem;
  color: var(--white);
}

.blog-card-tag {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50px;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  margin-bottom: 0.75rem;
}

.blog-card-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.4;
}

.blog-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
}

.blog-card-meta {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.blog-card-link {
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  font-size: 0.9rem;
}

.blog-card-link:hover {
  color: var(--accent);
}

/* --- Single Article Page --- */
.article-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 2.5rem 0;
}

.article-header {
  margin-bottom: 2rem;
}

.article-header .article-tag {
  display: inline-block;
  background: var(--bg-alt);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.article-header h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.article-meta {
  font-size: 0.85rem;
  color: var(--text-light);
}

.article-body {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text);
}

.article-body h2 {
  font-size: 1.4rem;
  color: var(--primary);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body h3 {
  font-size: 1.15rem;
  color: var(--primary);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.article-body p {
  margin-bottom: 1rem;
}

.article-body ul,
.article-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.article-body ul li {
  list-style: disc;
  padding: 0.3rem 0;
}

.article-body ol li {
  list-style: decimal;
  padding: 0.3rem 0;
}

.article-body a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 2px;
}

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

.article-body strong {
  color: var(--primary);
}

.article-body blockquote {
  border-left: 4px solid var(--accent);
  background: var(--bg-alt);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--text-muted);
}

.article-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  margin-top: 2.5rem;
  text-align: center;
}

.article-cta h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.article-cta p {
  opacity: 0.85;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.article-nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}

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

@media (max-width: 768px) {
  .article-header h1 {
    font-size: 1.5rem;
  }
  .article-body {
    font-size: 0.95rem;
  }
}

/* ===== WhatsApp Floating Button ===== */
.wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
  background: #22c55e;
}

.wa-float svg {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.wa-float-label {
  display: none;
  position: absolute;
  right: 64px;
  white-space: nowrap;
  background: #0a2a5e;
  color: #fff;
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.wa-float-label::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: #0a2a5e;
}

.wa-float:hover .wa-float-label {
  opacity: 1;
  display: block;
}

/* WhatsApp pulse animation */
.wa-float::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #25d366;
  opacity: 0;
  animation: wa-pulse 2s infinite;
  z-index: -1;
}

@keyframes wa-pulse {
  0% {
    transform: scale(1);
    opacity: 0.4;
  }
  70% {
    transform: scale(1.5);
    opacity: 0;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* ===== Mobile Responsive Fixes ===== */
@media (max-width: 768px) {
  .wa-float {
    bottom: 1rem;
    right: 1rem;
    width: 52px;
    height: 52px;
  }

  .wa-float svg {
    width: 28px;
    height: 28px;
  }

  .service-cards {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    min-width: 44px;
    min-height: 44px;
  }

  .lang-toggle {
    min-height: 44px;
    padding: 0.5rem 1rem;
  }

  .btn {
    min-height: 44px;
    font-size: 0.95rem;
  }

  .btn-lg {
    padding: 0.75rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .wa-float {
    bottom: 0.75rem;
    right: 0.75rem;
  }

  .navbar-brand {
    font-size: 1rem;
  }

  .nav-links {
    padding: 0.75rem 1rem;
  }

  .nav-links a {
    font-size: 0.95rem;
    padding: 0.65rem 0;
  }

  .card-price {
    font-size: 1.75rem;
  }

  .card-price small {
    font-size: 0.75rem;
  }

  .faq-question {
    font-size: 0.9rem;
    padding: 0.85rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

/* ===== Custom Magnets Promo Button (2026-08-24) ===== */
.btn-upsell {
  background: linear-gradient(135deg, #ff6b6b 0%, #e8434e 100%);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(232, 67, 78, 0.45);
  animation: upsell-glow 2.8s ease-in-out infinite;
}

.btn-upsell:hover {
  background: linear-gradient(135deg, #ff7d7d 0%, #ef5560 100%);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-upsell .upsell-price {
  opacity: 0.85;
  font-weight: 400;
  font-size: 0.85em;
  margin-left: 0.15rem;
}

@keyframes upsell-glow {
  0%, 100% { box-shadow: 0 4px 18px rgba(232, 67, 78, 0.4); }
  50% { box-shadow: 0 4px 28px rgba(232, 67, 78, 0.85); }
}

/* Navbar upsell pill */
.nav-upsell-btn {
  background: linear-gradient(135deg, #ff6b6b 0%, #e8434e 100%);
  color: var(--white) !important;
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  border-bottom: none !important;
  transition: all var(--transition);
}

.nav-upsell-btn:hover,
.nav-upsell-btn.active {
  color: var(--white) !important;
  border-bottom: none !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(232, 67, 78, 0.45);
}

@media (max-width: 768px) {
  .nav-upsell-btn {
    display: inline-block;
    width: auto;
    align-self: flex-start;
    margin: 0.75rem 0;
    text-align: center;
    border-radius: 50px;
  }
}
