/* ============================================================
   RUBIKS INTERVENTION — Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Inter:wght@400;500;600&display=swap');

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

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
ul { list-style: none; }

/* ---- Design Tokens ---- */
:root {
  --primary:       #1a7068;
  --primary-dark:  #12514c;
  --primary-light: #e4f4f2;
  --accent:        #f07850;
  --accent-dark:   #d96038;
  --accent-light:  #fef0ea;
  --bg:            #fafaf8;
  --bg-alt:        #f0f7f5;
  --bg-dark:       #0f3d38;
  --text:          #253532;
  --text-muted:    #5c7370;
  --white:         #ffffff;
  --border:        #d6e8e5;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 7rem;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;

  --shadow-sm: 0 2px 10px rgba(26,112,104,.08);
  --shadow-md: 0 6px 28px rgba(26,112,104,.12);
  --shadow-lg: 0 12px 52px rgba(26,112,104,.18);

  --transition: .3s ease;

  --container: 1160px;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5 {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.15rem; font-weight: 700; }
p  { color: var(--text-muted); line-height: 1.8; }

.section-label {
  display: inline-block;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-xs);
}

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section { padding: var(--space-xl) 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--bg-dark); }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-lg);
}
.section-header p { margin-top: var(--space-sm); font-size: 1.1rem; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: .85rem 2rem;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(240,120,80,.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
  color: var(--white);
}
.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-dark:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-sm { padding: .6rem 1.4rem; font-size: .9rem; }

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: var(--shadow-md); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: var(--space-md);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--primary);
  flex-shrink: 0;
}
.nav__logo:hover { color: var(--primary-dark); }
.nav__logo-icon {
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav__logo-icon svg { width: 26px; height: 26px; fill: white; }

.nav__links {
  display: flex;
  align-items: center;
  gap: .25rem;
  flex: 1;
  justify-content: center;
}
.nav__links a {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  color: var(--text);
  padding: .5rem .85rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav__links a:hover,
.nav__links a.active { color: var(--primary); background: var(--primary-light); }

.nav__actions { display: flex; align-items: center; gap: var(--space-sm); flex-shrink: 0; }

/* hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* mobile nav */
@media (max-width: 900px) {
  .nav__links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: var(--space-md);
    border-bottom: 1px solid var(--border);
    gap: .25rem;
    align-items: flex-start;
    box-shadow: var(--shadow-md);
  }
  .nav__links.open { display: flex; }
  .nav__links a { width: 100%; padding: .75rem 1rem; }
  .nav__toggle { display: flex; }
  .nav__actions .btn { display: none; }
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-dark);
  padding-top: 72px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .3;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,61,56,.92) 0%, rgba(26,112,104,.75) 60%, rgba(15,61,56,.65) 100%);
}

.hero__shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero__shape {
  position: absolute;
  border-radius: 50%;
  opacity: .08;
  background: white;
}
.hero__shape--1 { width: 600px; height: 600px; top: -150px; right: -100px; }
.hero__shape--2 { width: 300px; height: 300px; bottom: 50px; left: -80px; }

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}
.hero h1 { color: var(--white); margin: var(--space-sm) 0; }
.hero p  {
  color: rgba(255,255,255,.85);
  font-size: 1.2rem;
  margin-bottom: var(--space-md);
  max-width: 560px;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(240,120,80,.2);
  border: 1px solid rgba(240,120,80,.4);
  color: #ffb89a;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: .85rem;
  padding: .4rem 1rem;
  border-radius: 50px;
  margin-bottom: var(--space-sm);
}
.hero__badge-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(1.4); }
}

/* ---- Page Hero (subpages) ---- */
.page-hero {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary) 100%);
  padding: calc(72px + 4rem) 0 4rem;
  text-align: center;
}
.page-hero h1 { color: var(--white); }
.page-hero p  { color: rgba(255,255,255,.75); margin-top: 1rem; font-size: 1.15rem; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ---- Stats bar ---- */
.stats-bar {
  background: var(--primary);
  padding: 2rem 0;
}
.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-md);
  text-align: center;
}
.stat__number {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 2.2rem;
  color: var(--white);
  display: block;
}
.stat__label {
  font-size: .9rem;
  color: rgba(255,255,255,.75);
}

/* ---- About section ---- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}
.about__image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.about__image-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.about__badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: .75rem;
}
.about__badge-icon {
  width: 44px; height: 44px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.about__badge-text { font-family: 'Nunito', sans-serif; font-weight: 700; font-size: .9rem; color: var(--text); }
.about__badge-text small { display: block; font-weight: 400; color: var(--text-muted); font-size: .8rem; }

.about__content p { margin-top: var(--space-sm); }
.about__content .btn { margin-top: var(--space-md); }

.about__values {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}
.about__value {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}
.about__value-icon {
  width: 36px; height: 36px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: .1rem;
}
.about__value-text h4 { color: var(--text); margin-bottom: .15rem; }
.about__value-text p  { font-size: .95rem; margin: 0; }

/* ---- Services ---- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { transform: scaleX(1); }
.service-card.featured { border-color: var(--primary); }
.service-card.featured::before { transform: scaleX(1); }

.service-card__icon {
  width: 64px; height: 64px;
  background: var(--primary-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}
.service-card h3 { margin-bottom: .75rem; }
.service-card p   { font-size: .97rem; }
.service-card .btn { margin-top: 1.5rem; }

/* ---- Specialist section ---- */
.specialist {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  position: relative;
  overflow: hidden;
}
.specialist::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  background: rgba(255,255,255,.05);
  border-radius: 50%;
}
.specialist::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 350px; height: 350px;
  background: rgba(255,255,255,.04);
  border-radius: 50%;
}
.specialist__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
  position: relative;
  z-index: 1;
}
.specialist .section-label { color: #ffb89a; }
.specialist h2 { color: var(--white); }
.specialist p  { color: rgba(255,255,255,.82); margin-top: var(--space-sm); }
.specialist__list {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  margin-top: var(--space-md);
}
.specialist__list-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  color: rgba(255,255,255,.9);
  font-size: .97rem;
}
.specialist__list-item::before {
  content: '✓';
  width: 22px; height: 22px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
  margin-top: .15rem;
}
.specialist .btn { margin-top: var(--space-md); }
.specialist__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.specialist__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
}

/* ---- Why choose us ---- */
.why__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-md);
}
.why-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.why-card__icon {
  width: 72px; height: 72px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.25rem;
}
.why-card h3 { margin-bottom: .75rem; }
.why-card p  { font-size: .95rem; }

/* ---- Team ---- */
.team__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-md);
}
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  text-align: center;
  transition: all var(--transition);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-card__photo {
  aspect-ratio: 3/4;
  overflow: hidden;
}
.team-card__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
}
.team-card__body { padding: 1.25rem 1rem 1.5rem; }
.team-card h4 { color: var(--text); margin-bottom: .2rem; }
.team-card p  { font-size: .85rem; color: var(--text-muted); margin: 0; }

/* ---- Location ---- */
.location__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}
.location__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.location__map iframe {
  width: 100%; height: 100%;
  border: none;
  display: block;
}
.location__info h2 { margin-bottom: var(--space-sm); }
.location-item {
  display: flex;
  gap: 1rem;
  margin-top: var(--space-md);
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.location-item__icon {
  width: 48px; height: 48px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.location-item h4 { color: var(--text); margin-bottom: .25rem; }
.location-item p  { font-size: .92rem; margin: 0; }

/* ---- Testimonials ---- */
.testimonials { background: var(--bg-dark); }
.testimonials .section-label { color: #ffb89a; }
.testimonials .section-header h2 { color: var(--white); }
.testimonials .section-header p { color: rgba(255,255,255,.7); }

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
}
.testimonial-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
}
.testimonial-card:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); }
.testimonial-card__quote {
  font-size: 3rem;
  color: var(--accent);
  font-family: Georgia, serif;
  line-height: 1;
  margin-bottom: .5rem;
}
.testimonial-card p {
  color: rgba(255,255,255,.85);
  font-size: .97rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.testimonial-card__author-icon {
  width: 40px; height: 40px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: white;
  flex-shrink: 0;
}
.testimonial-card__name {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  color: var(--white);
  font-size: .9rem;
}

/* ---- News ---- */
.news__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-md);
}
.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.news-card__image {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.news-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.news-card:hover .news-card__image img { transform: scale(1.05); }
.news-card__body { padding: 1.75rem; }
.news-card__tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: .8rem;
  padding: .3rem .85rem;
  border-radius: 50px;
  margin-bottom: .85rem;
}
.news-card h3 { font-size: 1.2rem; margin-bottom: .75rem; }
.news-card p  { font-size: .93rem; }
.news-card__link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1.25rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  color: var(--primary);
  font-size: .95rem;
}
.news-card__link:hover { gap: .7rem; }

/* ---- CTA Banner ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  text-align: center;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -80px; left: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -60px; right: -60px;
  width: 250px; height: 250px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.cta-banner h2 { color: var(--white); position: relative; z-index: 1; }
.cta-banner p  { color: rgba(255,255,255,.85); margin: 1rem auto 2rem; max-width: 520px; font-size: 1.1rem; position: relative; z-index: 1; }
.cta-banner .btn-white {
  background: var(--white);
  color: var(--accent-dark);
  border: 2px solid var(--white);
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  position: relative; z-index: 1;
}
.cta-banner .btn-white:hover {
  background: transparent;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}

/* ---- Footer ---- */
.footer { background: var(--text); color: rgba(255,255,255,.75); }
.footer__top {
  padding: 4rem 0 3rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-lg);
}
.footer__brand .nav__logo { color: var(--white); }
.footer__brand .nav__logo:hover { color: rgba(255,255,255,.8); }
.footer__brand p { margin-top: 1rem; font-size: .93rem; line-height: 1.7; }
.footer__col h5 {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1.25rem;
  font-size: 1rem;
}
.footer__col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer__col ul a {
  color: rgba(255,255,255,.65);
  font-size: .93rem;
  transition: color var(--transition);
}
.footer__col ul a:hover { color: var(--white); }
.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .93rem;
  margin-bottom: .6rem;
}
.footer__contact-item span:first-child { font-size: 1rem; flex-shrink: 0; margin-top: .1rem; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .88rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__bottom a { color: rgba(255,255,255,.5); }
.footer__bottom a:hover { color: var(--white); }

/* ---- Contact Form ---- */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}
.contact-info h2 { margin-bottom: var(--space-sm); }
.contact-info p { margin-bottom: var(--space-md); }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.contact-detail__icon {
  width: 46px; height: 46px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.contact-detail h4 { color: var(--text); margin-bottom: .2rem; }
.contact-detail p, .contact-detail a { font-size: .93rem; margin: 0; }
.contact-detail a { color: var(--primary); }

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}
.contact-form-wrap h3 { margin-bottom: .5rem; }
.contact-form-wrap > p { margin-bottom: 1.75rem; font-size: .95rem; }

.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: .92rem;
  color: var(--text);
  margin-bottom: .4rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .85rem 1.1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: .97rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--primary); background: var(--white); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .9rem;
  color: var(--text-muted);
  cursor: pointer;
  margin-top: .25rem;
}
.form-checkbox input { width: auto; margin-top: .2rem; }
.form-checkbox a { color: var(--primary); }

.form-submit { width: 100%; margin-top: 1.5rem; justify-content: center; }
.form-submit svg { width: 18px; height: 18px; }

.form-notice {
  text-align: center;
  font-size: .85rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  font-size: .95rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
}
.alert-success { background: #e8f5e9; border: 1px solid #a5d6a7; color: #2e7d32; }
.alert-error   { background: #ffebee; border: 1px solid #ef9a9a; color: #c62828; }

/* ---- News Article ---- */
.news-article {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--border);
}
.news-article:last-child { border-bottom: none; }
.news-article:nth-child(even) { direction: rtl; }
.news-article:nth-child(even) > * { direction: ltr; }
.news-article__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
}
.news-article__image img { width: 100%; height: 100%; object-fit: cover; }
.news-article__content .news-card__tag { margin-bottom: 1rem; }
.news-article__content h2 { font-size: 1.6rem; margin-bottom: .75rem; }
.news-article__content p { margin-bottom: 1rem; }

/* ---- Legal / Privacy prose ---- */
.prose {
  max-width: 820px;
  margin: 0 auto;
}
.prose h2 {
  font-size: 1.5rem;
  margin: 2.5rem 0 .75rem;
  color: var(--primary);
}
.prose h3 { font-size: 1.2rem; margin: 2rem 0 .5rem; }
.prose p  { margin-bottom: 1rem; color: var(--text-muted); }
.prose ul { margin: .75rem 0 1rem 1.5rem; list-style: disc; }
.prose ul li { color: var(--text-muted); margin-bottom: .4rem; }
.prose .info-box {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.prose .info-box p { margin: 0; color: var(--primary-dark); }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .about__grid, .specialist__grid, .location__grid { grid-template-columns: 1fr; gap: var(--space-md); }
  .specialist__image { aspect-ratio: 16/9; order: -1; }
  .about__image-wrap { aspect-ratio: 16/9; }
}

@media (max-width: 768px) {
  :root { --space-lg: 3rem; --space-xl: 4.5rem; }
  .contact-section { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .news-article { grid-template-columns: 1fr; }
  .news-article:nth-child(even) { direction: ltr; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .team__grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials__grid { grid-template-columns: 1fr; }
}
