/* =========================
   RESET
   ========================= */

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

html {
  background: #ffffff;
  color: #111111;
  font-family: -apple-system, BlinkMacSystemFont,
    "SF Pro Text", "SF Pro Display",
    Helvetica, Arial, sans-serif;
}

body {
  min-height: 100vh;
  background: #ffffff;
  line-height: 1.45;
}

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

/* =========================
   CONTAINER
   ========================= */

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
}

/* =========================
   HEADER (APPLE STYLE)
   ========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 72px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.header-inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

/* =========================
   LOGO (BIG, CLEAN)
   ========================= */

.site-logo {
  display: flex;
  align-items: center;
  z-index: 2;
}

.site-logo img {
  width: 180px; /* Big, confident */
  height: auto;
  display: block;
}

/* =========================
   NAVIGATION (TRUE CENTER)
   ========================= */

.site-nav {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 15px;
  font-weight: 400;
  color: #111111;
  opacity: 0.85;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.nav-link:hover {
  opacity: 1;
}

/* =========================
   REGION LABEL (EUROPE / EU)
   ========================= */

.site-region{
  position: absolute;
  right: 32px;              /* same as .container padding */
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;

  display: inline-flex;
  align-items: center;
  gap: 0;

  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.55);
  white-space: nowrap;
}

/* Desktop shows EUROPE */
.region-mobile{ display: none; }

/* Mobile shows EU + avoid collision with hamburger */
@media (max-width: 899px){
  .region-desktop{ display: none; }
  .region-mobile{ display: inline; }

  /* move label a bit left so it doesn't sit under the burger */
  .site-region{
    right: 72px;            /* leaves room for the nav-toggle on the edge */
    font-size: 12px;
  }
}

/* optional: if super small screens */
@media (max-width: 420px){
  .site-logo img{ width: 150px; }
}


/* =========================
   DROPDOWNS (APPLE-LIKE)
   ========================= */

.has-dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 260px;
  background: rgba(255,255,255,0.98);
  border-radius: 14px;
  box-shadow:
    0 12px 30px rgba(0,0,0,0.12),
    0 2px 6px rgba(0,0,0,0.08);
  padding: 8px 0;
  display: none;
}

.dropdown li {
  list-style: none;
}

.dropdown a {
  display: block;
  padding: 12px 20px;
  font-size: 14px;
  color: #111111;
  opacity: 0.85;
  transition: background 0.15s ease, opacity 0.15s ease;
}

.dropdown a:hover {
  background: rgba(0,0,0,0.04);
  opacity: 1;
}

/* Desktop hover */
@media (min-width: 900px) {
  .has-dropdown:hover .dropdown {
    display: block;
  }
}

/* =========================
   MOBILE
   ========================= */

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  background: none;
  border: none;
  margin-left: auto;
  z-index: 2;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: #111111;
}

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

  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    transform: none;
    width: 100%;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(16px);
    display: none;
    border-bottom: 1px solid rgba(0,0,0,0.08);
  }

  .site-nav.open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
  }

  .nav-item {
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }

  .nav-link {
    padding: 16px 32px;
    display: block;
    font-size: 16px;
  }

  .dropdown {
    position: static;
    transform: none;
    box-shadow: none;
    border-radius: 0;
    display: none;
  }

  .nav-item.open .dropdown {
    display: block;
  }
}

/* =========================
   PAGE BASE
   ========================= */

main {
  min-height: calc(100vh - 72px);
  background: #ffffff;
}

/* =========================
   FOOTER (OFFICIAL STYLE)
   ========================= */

.site-footer {
  background: #2a2a2a;
  color: #d0d0d0;
  padding-top: 80px;
  position: relative;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
}

.footer-brand img {
  width: 240px;
  margin-bottom: 20px;
}

.footer-tagline {
  max-width: 360px;
  margin-bottom: 24px;
  color: #ffffff;
}

.footer-contact {
  font-size: 14px;
  line-height: 1.6;
}

.footer-contact a {
  color: #d0d0d0;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 16px;
  margin-bottom: 18px;
  position: relative;
}

.footer-col h4::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: #1e90ff;
  margin-top: 10px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  margin-bottom: 12px;
  color: #bdbdbd;
}

.footer-col a:hover {
  color: #ffffff;
}

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0 40px;
  text-align: center;
}

.footer-legal {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-bottom: 16px;
}

.footer-legal a {
  font-size: 14px;
  color: #bdbdbd;
  text-decoration: underline;
}

.footer-copy {
  font-size: 13px;
  color: #9a9a9a;
}

/* Scroll to top */
.to-top {
  position: absolute;
  right: 30px;
  bottom: 30px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.4);
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  font-size: 18px;
}

.to-top:hover {
  background: rgba(255,255,255,0.1);
}

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

  .footer-legal {
    flex-direction: column;
    gap: 16px;
  }
}

/* =========================
   HERO SLIDER
   ========================= */

.hero-slider {
  position: relative;
  height: calc(100vh - 72px);
  overflow: hidden;
  background: #ffffff;
}

.slides {
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.45),
    rgba(0,0,0,0.15),
    rgba(0,0,0,0)
  );
}

.slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 520px;
}

.slide-content h1 {
  font-size: 56px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 16px;
}

.slide-content p {
  font-size: 20px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  padding: 14px 30px;
  background: #ffffff;
  color: #111111;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
}

/* Arrows */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  font-size: 28px;
  cursor: pointer;
  z-index: 5;
}

.slider-btn.prev {
  left: 32px;
}

.slider-btn.next {
  right: 32px;
}

/* Dots */
.slider-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
}

.dot.active {
  background: #ffffff;
}

/* Mobile */
@media (max-width: 900px) {
  .slide-content h1 {
    font-size: 40px;
  }

  .slide-content p {
    font-size: 18px;
  }

  .slider-btn {
    display: none;
  }
}

/* =========================
   MODELS OVERVIEW
   ========================= */

.models-overview {
  padding: 120px 0;
  background: #ffffff;
}

.section-header {
  max-width: 640px;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: 42px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #111111;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 18px;
  color: #555555;
}

/* Grid */
.models-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.model-card {
  display: block;
  text-align: left;
  transition: transform 0.2s ease;
}

.model-card img {
  width: 100%;
  border-radius: 18px;
  margin-bottom: 18px;
  background: #f5f5f7;
}

.model-card h3 {
  font-size: 20px;
  font-weight: 500;
  color: #111111;
  margin-bottom: 6px;
}

.model-card span {
  font-size: 14px;
  color: #666666;
}

.model-card:hover {
  transform: translateY(-4px);
}

/* Tablet */
@media (max-width: 1100px) {
  .models-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 700px) {
  .models-grid {
    grid-template-columns: 1fr;
  }

  .models-overview {
    padding: 80px 0;
  }

  .section-header h2 {
    font-size: 32px;
  }
}

/* =========================
   WHY SKYWORTH
   ========================= */

.why-skyworth {
  padding: 120px 0;
  background: #ffffff;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.why-card {
  background: #f5f5f7;
  border-radius: 18px;
  padding: 26px 22px;
}

.why-mark {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: rgba(0,0,0,0.65);
  background: rgba(0,0,0,0.06);
  margin-bottom: 14px;
}

.why-card h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #111111;
  margin-bottom: 10px;
}

.why-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #555555;
}

/* Tablet */
@media (max-width: 1100px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 700px) {
  .why-skyworth {
    padding: 80px 0;
  }

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

/* =========================
   ENERGY & CHARGING PREVIEW
   ========================= */

.energy-preview {
  padding: 120px 0;
  background: #ffffff;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.energy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.energy-card {
  display: block;
  background: #f5f5f7;
  border-radius: 22px;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.energy-card:hover {
  transform: translateY(-4px);
}

.energy-media img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  background: #ffffff;
}

.energy-content {
  padding: 28px;
}

.energy-content h3 {
  font-size: 22px;
  font-weight: 500;
  color: #111111;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.energy-content p {
  font-size: 15px;
  line-height: 1.6;
  color: #555555;
}

/* Tablet */
@media (max-width: 1100px) {
  .energy-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile */
@media (max-width: 700px) {
  .energy-preview {
    padding: 80px 0;
  }

  .energy-media img {
    height: 220px;
  }
}

/* =========================
   MODEL PAGE TEMPLATE
   ========================= */

.model-page { background: #ffffff; }

.model-hero {
  padding: 80px 0 60px;
  background: #ffffff;
}

.model-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.model-eyebrow {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.55);
  margin-bottom: 10px;
}

.model-title {
  font-size: 54px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #111111;
  margin-bottom: 14px;
}

.model-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: #555555;
  max-width: 520px;
  margin-bottom: 26px;
}

.model-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.model-hero-media img {
  width: 100%;
  border-radius: 22px;
  background: #f5f5f7;
  display: block;
}

.model-section {
  padding: 90px 0;
  background: #ffffff;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.model-section-muted {
  background: #f5f5f7;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.highlight-card {
  background: #f5f5f7;
  border-radius: 18px;
  padding: 22px;
}

.model-section-muted .highlight-card {
  background: #ffffff;
}

.highlight-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #111111;
  margin-bottom: 8px;
}

.highlight-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #555555;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.spec-item {
  background: #ffffff;
  border-radius: 16px;
  padding: 18px 18px;
  border: 1px solid rgba(0,0,0,0.06);
}

.spec-label {
  font-size: 12px;
  color: rgba(0,0,0,0.55);
  margin-bottom: 8px;
}

.spec-value {
  font-size: 18px;
  font-weight: 600;
  color: #111111;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.gallery-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 18px;
  background: #f5f5f7;
  display: block;
}

.model-cta {
  padding: 80px 0;
  background: #ffffff;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.model-cta-inner {
  background: #f5f5f7;
  border-radius: 22px;
  padding: 40px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.model-cta-inner h2 {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #111111;
  margin-bottom: 8px;
}

.model-cta-inner p {
  color: #555555;
}

.model-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Buttons reused from your homepage slider */
.btn-primary {
  display: inline-block;
  padding: 14px 30px;
  background: #111111;
  color: #ffffff;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
}

.btn-primary:hover { background: #000000; }

.btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border: 1px solid rgba(0,0,0,0.25);
  color: #111111;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
}

.btn-secondary:hover { background: rgba(0,0,0,0.04); }

/* Responsive */
@media (max-width: 1100px) {
  .model-hero-inner { grid-template-columns: 1fr; }
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
  .specs-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid img { height: 240px; }
  .model-cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 700px) {
  .model-title { font-size: 40px; }
  .model-section { padding: 70px 0; }
  .specs-grid { grid-template-columns: 1fr; }
  .highlights-grid { grid-template-columns: 1fr; }
}

/* =========================
   GENERIC PAGE TEMPLATE
   ========================= */

.page { background: #ffffff; }

.page-hero {
  padding: 80px 0 60px;
  background: #ffffff;
}

.page-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.page-eyebrow {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.55);
  margin-bottom: 10px;
}

.page-title {
  font-size: 54px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #111111;
  margin-bottom: 14px;
}

.page-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: #555555;
  max-width: 520px;
  margin-bottom: 26px;
}

.page-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.page-hero-media img {
  width: 100%;
  border-radius: 22px;
  background: #f5f5f7;
  display: block;
}

.page-section {
  padding: 90px 0;
  background: #ffffff;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.page-section-muted {
  background: #f5f5f7;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.info-card {
  background: #f5f5f7;
  border-radius: 18px;
  padding: 22px;
}

.page-section-muted .info-card {
  background: #ffffff;
}

.info-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #111111;
  margin-bottom: 8px;
}

.info-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #555555;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.step {
  background: #ffffff;
  border-radius: 18px;
  padding: 22px;
  border: 1px solid rgba(0,0,0,0.06);
  display: flex;
  gap: 14px;
}

.page-section-muted .step {
  background: #ffffff;
}

.step-num {
  font-size: 12px;
  color: rgba(0,0,0,0.55);
  letter-spacing: 0.06em;
  min-width: 34px;
}

.step h3 {
  font-size: 16px;
  font-weight: 600;
  color: #111111;
  margin-bottom: 6px;
}

.step p {
  font-size: 14px;
  color: #555555;
  line-height: 1.6;
}

.faq {
  margin-top: 22px;
  display: grid;
  gap: 10px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  padding: 14px 16px;
}

.page-section-muted .faq-item {
  background: #ffffff;
}

.faq-item summary {
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: #111111;
  list-style: none;
}

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

.faq-item p {
  margin-top: 10px;
  font-size: 14px;
  color: #555555;
  line-height: 1.6;
}

.page-cta {
  padding: 80px 0;
  background: #ffffff;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.page-cta-inner {
  background: #f5f5f7;
  border-radius: 22px;
  padding: 40px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.page-cta-inner h2 {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #111111;
  margin-bottom: 8px;
}

.page-cta-inner p {
  color: #555555;
}

.page-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 1100px) {
  .page-hero-inner { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .page-cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 700px) {
  .page-title { font-size: 40px; }
  .page-section { padding: 70px 0; }
}

/* =========================
   FEATURED VEHICLES (COMMERCIAL)
   ========================= */

.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 28px;
}

.featured-card {
  display: grid;
  grid-template-columns: 1fr;
  background: #ffffff;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.2s ease;
}

.featured-card:hover {
  transform: translateY(-4px);
}

.featured-media img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  background: #f5f5f7;
}

.featured-content {
  padding: 22px 22px 20px;
}

.featured-content h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #111111;
  margin-bottom: 8px;
}

.featured-content p {
  font-size: 14px;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 14px;
}

.featured-link {
  font-size: 14px;
  color: rgba(0,0,0,0.75);
  text-decoration: underline;
}

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

/* =========================
   TIMELINE (HISTORY PAGE)
   ========================= */

.timeline {
  margin-top: 28px;
  display: grid;
  gap: 14px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  padding: 18px;
  border-radius: 18px;
  background: #f5f5f7;
}

.timeline-year {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: rgba(0,0,0,0.55);
}

.timeline-body h3 {
  font-size: 16px;
  font-weight: 600;
  color: #111111;
  margin-bottom: 6px;
}

.timeline-body p {
  font-size: 14px;
  line-height: 1.6;
  color: #555555;
}

.page-note {
  margin-top: 18px;
  font-size: 13px;
  color: rgba(0,0,0,0.6);
}

@media (max-width: 700px) {
  .timeline-item {
    grid-template-columns: 1fr;
  }
}

/* =========================
   NEWSROOM
   ========================= */

.news-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-top: 10px;
}

.news-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  border: 1px solid rgba(0,0,0,0.12);
  background: #ffffff;
  color: rgba(0,0,0,0.8);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 14px;
  cursor: pointer;
}

.chip.active {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}

.news-search {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.news-search input {
  width: min(420px, 100%);
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.12);
  background: #ffffff;
  font-size: 14px;
}

.news-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.news-card {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.news-card:hover {
  transform: translateY(-4px);
}

.news-media img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  background: #f5f5f7;
}

.news-body {
  padding: 18px 18px 20px;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 12px;
  color: rgba(0,0,0,0.6);
}

.news-tag {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.06);
  color: rgba(0,0,0,0.75);
}

.news-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #111111;
  margin-bottom: 8px;
}

.news-excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 14px;
}

.news-link {
  font-size: 14px;
  color: rgba(0,0,0,0.8);
  text-decoration: underline;
}

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

  .news-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .news-search {
    justify-content: flex-start;
  }
}

/* =========================================
   CONTACT FORM (contact.html) — Apple style
   Targets: <form class="form"> .form-grid ...
   ========================================= */

.form {
  max-width: 980px;
  margin: 0 auto;
}

/* Turn the grid into a clean 12-col layout */
.form .form-grid{
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  align-items: start;

  /* Apple-ish card */
  padding: clamp(18px, 3vw, 28px);
  border-radius: 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(12, 11, 11, 0.1);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 34px rgba(0,0,0,0.28);
}

/* Each label acts like a field block */
.form .form-grid > label{
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

/* The span inside label is your "label text" */
.form .form-grid > label > span{
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(0, 0, 0, 0.85);
}

/* Inputs */
.form input,
.form textarea{
  width: 100%;
  min-width: 0;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 15px;
  line-height: 1.2;

  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(0, 0, 0, 0.14);
  color: rgba(22, 19, 19, 0.92);

  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.form input::placeholder,
.form textarea::placeholder{
  color: rgba(255,255,255,0.45);
}

/* Focus ring (Apple clean) */
.form input:focus,
.form textarea:focus{
  border-color: rgba(46,125,255,0.55);
  box-shadow: 0 0 0 4px rgba(46,125,255,0.22);
}

/* Full width message field */
.form .form-grid > label.full{
  grid-column: 1 / -1;
}

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

/* Button stays INSIDE grid and aligns right */
.form .form-grid > button{
  grid-column: 1 / -1;
  justify-self: end;

  /* If your .btn-primary has styles already, these
     keep it looking Apple-like without breaking theme */
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  letter-spacing: 0.01em;

  box-shadow: 0 10px 22px rgba(0,0,0,0.25);
}

/* Responsive */
@media (max-width: 900px){
  .form .form-grid > label{ grid-column: span 6; }
}

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

  .form .form-grid > label,
  .form .form-grid > label.full,
  .form .form-grid > button{
    grid-column: 1 / -1;
  }
}
