/* Cybelerain — Navy + Teal (HomeSync reference layout) */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  --navy-dark: #0a192f;
  --navy-mid: #112240;
  --navy-light: #1d3557;
  --accent-teal: #00ced1;
  --accent-teal-light: #40e0d0;
  --accent-orange: #ff8c42;
  --topbar-yellow: #ffc107;
  --bg-light: #f4f7fb;
  --bg-peach: #fdf0e6;
  --white: #ffffff;
  --text: #1a1a2e;
  --text-muted: #5a6a7e;
  --shadow: 0 10px 40px rgba(10, 25, 47, 0.12);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.3s ease;
  --container: 1200px;
  --header-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
.hero-image img,
.intro-image > img,
.services-side-image img,
.project-showcase img,
.blog-card > img,
.faq-image img,
.app-cta-image img,
.team-card img,
.product-card > img {
  object-fit: cover;
  width: 100%;
}
a { color: var(--accent-teal); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-teal-light); }
ul { list-style: none; }
h1, h2, h3, h4, h5 { color: var(--navy-dark); line-height: 1.3; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin-bottom: 1rem; color: var(--text-muted); }
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-dark { background: var(--navy-dark); color: var(--white); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.8); }
.section-cream { background: var(--bg-light); }
.section-warm { background: linear-gradient(135deg, #fef6f0 0%, var(--bg-peach) 100%); }
.text-center { text-align: center; }
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-teal);
  margin-bottom: 12px;
}

/* Top Yellow Bar */
.top-bar {
  background: var(--topbar-yellow);
  padding: 8px 0;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--navy-dark);
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar a { color: var(--navy-dark); font-weight: 600; }
.top-bar a:hover { color: var(--navy-mid); }

/* Header — merged navy bar like reference */
.site-header {
  background: var(--navy-dark);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: none;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 20px;
}
.logo img { height: 44px; width: auto; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
  margin: 0 16px;
}
.header-inner .logo { flex-shrink: 0; }
.header-cta { flex-shrink: 0; }
.main-nav > li { position: relative; }
.main-nav > li > a {
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 10px 14px;
  display: block;
  border-radius: var(--radius);
}
.main-nav > li > a:hover,
.main-nav > li.active > a { color: var(--accent-teal-light); background: rgba(255,255,255,0.06); }
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  padding: 8px 0;
  z-index: 100;
}
.main-nav > li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  color: var(--text);
  padding: 10px 20px;
  display: block;
  font-size: 0.88rem;
}
.dropdown a:hover { background: var(--bg-light); color: var(--navy-mid); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--accent-teal);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--accent-teal-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 206, 209, 0.45);
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--accent-teal);
  color: var(--accent-teal);
}
.btn-outline:hover { background: var(--accent-teal); color: var(--white); }
.btn-outline-light {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.8);
  color: var(--white);
}
.btn-outline-light:hover { background: var(--white); color: var(--navy-dark); }
.btn-white { background: var(--white); color: var(--navy-dark); }
.btn-white:hover { background: var(--bg-light); }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-mid) 55%, #0d2137 100%);
  padding: 0;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  min-height: 560px;
  max-height: 720px;
}
.hero-content {
  padding: 48px 0;
}
.hero-content h1 { color: var(--white); margin-bottom: 16px; max-width: 540px; }
.hero-content p { color: rgba(255,255,255,0.85); font-size: 1rem; max-width: 480px; margin-bottom: 24px; }
.hero-content .btn-primary { margin-bottom: 8px; }
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 28px;
}
.section-label-light { color: var(--accent-teal-light); }
.section-dark .section-label { color: var(--accent-teal-light); }
.hero-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.9);
  font-size: 0.85rem;
  font-weight: 500;
}
.hero-badge .icon {
  width: 40px;
  height: 40px;
  background: rgba(0, 206, 209, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-teal-light);
  font-size: 1.1rem;
}
.hero-image {
  position: relative;
  height: 100%;
  min-height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hero-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--navy-dark) 0%, transparent 28%);
  z-index: 1;
  pointer-events: none;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 400px;
}

/* Section headers */
.section-head { margin-bottom: 48px; }
.section-head h2 { margin-bottom: 12px; }
.section-head.text-center .section-desc,
.section-desc {
  max-width: 640px;
  margin: 0 auto;
  color: var(--text-muted);
}

/* Intro Split */
.section-intro { padding-top: 100px; padding-bottom: 100px; }
.intro-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.intro-image {
  position: relative;
  padding: 16px;
  overflow: visible;
}
.intro-image > img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.intro-float {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  padding: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.intro-float img { border-radius: 4px; width: 100%; height: auto; }
.intro-float.top-right { top: 0; right: 0; width: 90px; }
.intro-float.bottom-left { bottom: 0; left: 0; width: 110px; }
.intro-content .section-label { margin-bottom: 8px; }
.intro-content h2 { margin-bottom: 20px; }
.intro-content p:last-of-type { margin-bottom: 28px; }

/* Feature Cards Dark */
.section-dark .feature-cards { padding: 8px 0; }
.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.feature-card p { flex: 1; }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature-card .icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: rgba(0, 206, 209, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--accent-teal);
}
.feature-card h3 { margin-bottom: 12px; color: var(--navy-dark); }
.feature-card p { font-size: 0.9rem; margin: 0; color: var(--text-muted); }

/* Services Grid */
.section-services .section-head { margin-bottom: 40px; }
.services-grid-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.services-grid-wrap { display: flex; flex-direction: column; gap: 28px; }
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.service-box {
  padding: 22px;
  border-radius: var(--radius);
  transition: var(--transition);
  border: 1px solid #e8ecf0;
  background: var(--white);
}
.services-side-image img {
  border-radius: var(--radius-lg);
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.service-box:hover {
  border-color: var(--accent-teal);
  box-shadow: var(--shadow);
}
.service-box .icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 206, 209, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--accent-teal);
  margin-bottom: 16px;
}
.service-box:nth-child(even) .icon {
  background: rgba(255, 140, 66, 0.12);
  color: var(--accent-orange);
}
.service-box h4 { margin-bottom: 8px; font-size: 1rem; }
.service-box p { font-size: 0.88rem; margin: 0; line-height: 1.6; }

/* Testimonials */
.testimonials-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}
.testimonial-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.testimonial-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.testimonial-card .quote { flex: 1; }
.testimonial-card .quote {
  font-size: 0.95rem;
  font-style: italic;
  color: rgba(255,255,255,0.9);
  margin-bottom: 24px;
  line-height: 1.8;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}
.testimonial-author img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent-teal);
}
.testimonial-author h5 { color: var(--white); font-size: 1rem; margin-bottom: 2px; }
.testimonial-author span { font-size: 0.85rem; color: var(--accent-teal-light); }

/* Pricing */
.section-pricing .section-head { margin-bottom: 40px; }
.pricing-tabs-wrap {
  max-width: 920px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  grid-template-columns: 200px 1fr;
}
.pricing-panels {
  position: relative;
  min-height: 380px;
}
.pricing-tabs {
  background: var(--bg-light);
  padding: 24px 0;
}
.pricing-tab {
  display: block;
  width: 100%;
  padding: 16px 24px;
  text-align: left;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-left: 4px solid transparent;
  transition: var(--transition);
}
.pricing-tab.active,
.pricing-tab:hover {
  color: var(--navy-dark);
  background: var(--white);
  border-left-color: var(--accent-teal);
}
.pricing-panel {
  display: none;
  padding: 40px 44px;
  background: var(--navy-dark);
  color: var(--white);
  height: 100%;
}
.pricing-panel.active { display: flex; flex-direction: column; justify-content: center; }
.pricing-panel p { color: rgba(255,255,255,0.8); margin-bottom: 0; }
.pricing-price {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent-teal-light);
  margin-bottom: 8px;
}
.pricing-price span { font-size: 1rem; font-weight: 400; color: rgba(255,255,255,0.7); }
.pricing-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 28px 0;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
}
.pricing-features li::before {
  content: '✓';
  color: var(--accent-teal);
  font-weight: 700;
}

/* Projects */
.section-projects .section-head { margin-bottom: 32px; }
.project-panels { position: relative; }
.project-panel { display: none; }
.project-panel.active { display: block; }
.project-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.project-tab {
  padding: 10px 20px;
  background: var(--bg-light);
  border: none;
  border-radius: 50px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text);
}
.project-tab.active,
.project-tab:hover {
  background: var(--navy-dark);
  color: var(--white);
}
.project-showcase {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.project-showcase img { width: 100%; height: 480px; object-fit: cover; }
.project-overlay-card {
  position: absolute;
  bottom: 40px;
  left: 40px;
  max-width: 420px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}
.project-overlay-card h3 { margin-bottom: 12px; }
.project-overlay-card ul {
  margin: 16px 0;
  padding-left: 0;
}
.project-overlay-card ul li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 4px 0;
  padding-left: 20px;
  position: relative;
}
.project-overlay-card ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent-teal);
}

/* App CTA */
.app-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.app-cta-image img { border-radius: var(--radius-lg); }
.app-buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
.app-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background: var(--navy-dark);
  color: var(--white);
  border-radius: var(--radius);
  font-size: 0.85rem;
  transition: var(--transition);
}
.app-btn:hover { background: var(--navy-mid); color: var(--white); transform: translateY(-2px); }
.app-btn strong { display: block; font-size: 1rem; }

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: var(--transition);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.blog-card img { height: 220px; width: 100%; object-fit: cover; }
.blog-card-body { padding: 24px; }
.blog-meta {
  display: flex;
  gap: 12px;
  font-size: 0.8rem;
  margin-bottom: 12px;
}
.blog-tag {
  background: var(--bg-light);
  color: var(--navy-mid);
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 600;
}
.blog-card h3 { font-size: 1.1rem; margin-bottom: 12px; }
.blog-card h3 a { color: var(--navy-dark); }
.blog-card h3 a:hover { color: var(--accent-teal); }
.read-more {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent-teal);
}

/* FAQ */
.section-faq { padding-top: 90px; padding-bottom: 90px; }
.faq-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.faq-content-col { max-width: 560px; }
.faq-image img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.accordion-item {
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 0;
}
.accordion-header {
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  text-align: left;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.accordion-header::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--accent-teal);
  flex-shrink: 0;
  transition: var(--transition);
}
.accordion-item.active .accordion-header::after { content: '−'; }
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.accordion-body-inner {
  padding: 0 0 20px;
  font-size: 0.95rem;
  color: var(--text-muted);
}
/* Newsletter */
.newsletter {
  background: linear-gradient(rgba(10, 25, 47, 0.9), rgba(10, 25, 47, 0.94)),
    url('../images/newsletter-bg.jpg') center/cover;
  padding: 80px 0;
  text-align: center;
}
.newsletter h2 { color: var(--white); margin-bottom: 12px; }
.newsletter p { color: rgba(255,255,255,0.8); margin-bottom: 32px; }
.newsletter-form {
  display: flex;
  max-width: 520px;
  margin: 0 auto;
  gap: 0;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
  align-items: stretch;
}
.newsletter-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.newsletter-form input {
  width: 100%;
  padding: 16px 24px;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  background: transparent;
}
.newsletter-field .form-error {
  padding: 0 24px 8px;
  font-size: 0.75rem;
}
.newsletter-form .btn {
  border-radius: 0;
  padding: 16px 32px;
  flex-shrink: 0;
  align-self: stretch;
}

/* Footer */
.site-footer { background: var(--white); }
.footer-main {
  padding: 60px 0 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-about p { font-size: 0.9rem; }
.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 20px;
  color: var(--navy-dark);
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: var(--text-muted); font-size: 0.9rem; }
.footer-col ul a:hover { color: var(--accent-teal); }
.social-links { display: flex; gap: 12px; margin-top: 16px; }
.social-links a {
  width: 40px;
  height: 40px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-mid);
  font-size: 0.9rem;
  transition: var(--transition);
}
.social-links a:hover {
  background: var(--accent-teal);
  color: var(--white);
}
.footer-bottom {
  background: var(--navy-dark);
  padding: 18px 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}
.footer-bottom a { color: rgba(255,255,255,0.85); margin-left: 20px; }
.footer-bottom a:hover { color: var(--accent-teal-light); }
.footer-bottom-links { display: flex; flex-wrap: wrap; gap: 4px; }

/* Page Hero (inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-mid) 100%);
  padding: 80px 0 60px;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.8); max-width: 600px; margin: 0 auto; }
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 0.88rem;
}
.breadcrumb a { color: var(--accent-teal-light); }
.breadcrumb span { color: rgba(255,255,255,0.5); }

/* Forms */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--navy-dark);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-teal);
  box-shadow: 0 0 0 3px rgba(0, 206, 209, 0.2);
}
.form-group input.error,
.form-group select.error,
.form-group textarea.error { border-color: #c0392b; }
.form-error {
  color: #c0392b;
  font-size: 0.82rem;
  margin-top: 6px;
  display: none;
}
.form-group.has-error .form-error { display: block; }
.form-success {
  background: #d4edda;
  color: #155724;
  padding: 16px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  display: none;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* Products */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: var(--transition);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.product-card img { height: 240px; width: 100%; object-fit: cover; }
.product-card-body { padding: 24px; }
.product-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.product-card .price {
  color: var(--accent-teal);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 12px;
}
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.product-detail-gallery img { border-radius: var(--radius-lg); }
.product-specs {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 24px;
}
.product-specs li {
  padding: 10px 0;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}
.product-specs li:last-child { border-bottom: none; }

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.team-card { text-align: center; }
.team-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
}
.team-card h4 { margin-bottom: 4px; }
.team-card span { font-size: 0.88rem; color: var(--accent-teal); font-weight: 500; }

/* Legal content */
.legal-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px 80px;
}
.legal-content h2 {
  font-size: 1.4rem;
  margin: 40px 0 16px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}
.legal-content h2:first-of-type { border-top: none; margin-top: 0; }
.legal-content h3 { font-size: 1.1rem; margin: 24px 0 12px; }
.legal-content p, .legal-content li {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--text-muted);
}
.legal-content ul { list-style: disc; padding-left: 24px; margin-bottom: 16px; }
.legal-content ul li { margin-bottom: 8px; }

/* Contact layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.contact-info-card {
  background: var(--navy-dark);
  color: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
}
.contact-info-card h3 { color: var(--white); margin-bottom: 24px; }
.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-item .icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 206, 209, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-teal-light);
  flex-shrink: 0;
}
.contact-form-wrap {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

/* Stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.stat-item h3 {
  font-size: 2.5rem;
  color: var(--accent-teal);
  margin-bottom: 4px;
}
.stat-item p { margin: 0; font-size: 0.9rem; }

/* Home page spacing */
.page-home .section { padding: 90px 0; }
.page-home .section-dark { padding: 90px 0; }
.page-home .testimonials-header h2 { color: var(--white); }
.page-home .section-blog .section-head { margin-bottom: 40px; }
.page-home .blog-grid { margin-bottom: 40px; }

/* Utilities */
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 40px; }
.mb-4 { margin-bottom: 40px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }

/* Responsive */
@media (max-width: 1100px) {
  .main-nav > li > a { padding: 10px 10px; font-size: 0.85rem; }
  .btn-sm { padding: 10px 16px; font-size: 0.8rem; }
}

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; min-height: auto; max-height: none; gap: 0; }
  .hero-content { padding: 48px 0 32px; text-align: center; }
  .hero-content h1, .hero-content p { max-width: none; margin-left: auto; margin-right: auto; }
  .hero-badges { justify-content: center; }
  .hero-image { min-height: 320px; border-radius: 0; }
  .hero-image img { min-height: 320px; }
  .intro-split, .services-grid-section, .app-cta, .faq-section,
  .contact-layout, .product-detail { grid-template-columns: 1fr; }
  .services-side-image { order: -1; }
  .services-side-image img { max-height: 400px; }
  .intro-float { display: none; }
  .feature-cards, .blog-grid, .products-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .pricing-tabs-wrap { grid-template-columns: 1fr; }
  .pricing-tabs { display: flex; padding: 12px; overflow-x: auto; }
  .pricing-tab { border-left: none; border-bottom: 3px solid transparent; white-space: nowrap; }
  .pricing-tab.active { border-bottom-color: var(--accent-teal); border-left: none; }
  .testimonial-cards { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--navy-dark);
    flex-direction: column;
    padding: 20px;
    transform: translateX(100%);
    transition: var(--transition);
    height: calc(100vh - var(--header-h));
    overflow-y: auto;
    align-items: stretch;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav > li > a { padding: 14px; }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(0,0,0,0.2);
    margin: 0 0 8px 16px;
    display: none;
  }
  .main-nav > li.dropdown-open .dropdown { display: block; }
  .dropdown a { color: rgba(255,255,255,0.85); }
  .header-cta { display: none; }
  .feature-cards, .blog-grid, .products-grid, .services-grid,
  .form-grid, .grid-2 { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .project-overlay-card { position: relative; bottom: auto; left: auto; margin: 16px 16px 0; max-width: none; }
  .project-showcase img { height: 320px; }
  .hero-inner { min-height: auto; }
  .page-home .section { padding: 60px 0; }
  .newsletter-form { flex-direction: column; border-radius: var(--radius); }
  .newsletter-form .btn { border-radius: var(--radius); }
  .section { padding: 50px 0; }
  .pricing-features { grid-template-columns: 1fr; }
}
