/* ============================================
   MotoFran Express — Modern Theme
   Inspired by RomaTech site pattern
   Colors: Azul médio/escuro, Dourado, Preto
   ============================================ */

/* --- CSS Variables --- */
:root {
  /* Colors - MotoFran palette (from logo: royal blue + gold) */
  --bg-primary: #ffffff;
  --bg-secondary: #f7f8fb;
  --bg-tertiary: #eef1f7;
  --bg-dark-section: #0c1a35;
  --bg-dark-section-card: #142544;
  --text-primary: #0c1a35;
  --text-secondary: #3b4a63;
  --text-tertiary: #6b7a90;
  --text-on-dark: #f0f3f8;
  --text-on-dark-secondary: #9baab8;
  --accent: #2654a3;
  --accent-hover: #1d4485;
  --accent-light: #3a6fc4;
  --gold: #d4a017;
  --gold-hover: #b8880f;
  --gold-light: #e8bd3a;
  --secondary: #d4a017;
  --secondary-hover: #b8880f;
  --border: #dfe4ed;
  --border-light: #eef1f7;
  --shadow-sm: 0 1px 2px rgba(12, 26, 53, 0.04);
  --shadow-md: 0 4px 12px rgba(12, 26, 53, 0.06);
  --shadow-lg: 0 12px 40px rgba(12, 26, 53, 0.08);
  --shadow-xl: 0 20px 60px rgba(12, 26, 53, 0.1);
  --nav-bg: rgba(255, 255, 255, 0.88);
  --nav-border: rgba(12, 26, 53, 0.06);
  --card-bg: #ffffff;
  --card-border: #dfe4ed;
  --card-hover-shadow: 0 8px 30px rgba(12, 26, 53, 0.1);
  --badge-bg: rgba(38, 84, 163, 0.08);
  --badge-text: #2654a3;
  --btn-secondary-bg: rgba(38, 84, 163, 0.06);
  --btn-secondary-text: #2654a3;
  --btn-secondary-border: rgba(38, 84, 163, 0.2);
  --footer-bg: #0c1a35;
  --footer-border: #1a2d50;
  --gradient-hero: radial-gradient(ellipse at 30% 20%, rgba(38, 84, 163, 0.05) 0%, transparent 50%),
                   radial-gradient(ellipse at 70% 80%, rgba(212, 160, 23, 0.04) 0%, transparent 50%);
  --gradient-text: linear-gradient(135deg, #2654a3, #d4a017);
  --gradient-cta: linear-gradient(135deg, #0c1a35 0%, #1a3560 100%);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --transition: 0.3s ease;
}

[data-theme="dark"] {
  --bg-primary: #0b1120;
  --bg-secondary: #111827;
  --bg-tertiary: #1a2332;
  --bg-dark-section: #060d1a;
  --bg-dark-section-card: #0f1a2e;
  --text-primary: #f0f3f8;
  --text-secondary: #9baab8;
  --text-tertiary: #6b7a90;
  --text-on-dark: #f0f3f8;
  --text-on-dark-secondary: #9baab8;
  --accent: #4b8be8;
  --accent-hover: #6ba3f5;
  --accent-light: #5a9af0;
  --gold: #e8bd3a;
  --gold-hover: #f0cc55;
  --gold-light: #f5d96a;
  --secondary: #e8bd3a;
  --secondary-hover: #f0cc55;
  --border: #1e2d42;
  --border-light: #1a2332;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.6);
  --nav-bg: rgba(11, 17, 32, 0.88);
  --nav-border: rgba(255, 255, 255, 0.06);
  --card-bg: #111827;
  --card-border: #1e2d42;
  --card-hover-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  --badge-bg: rgba(75, 139, 232, 0.12);
  --badge-text: #4b8be8;
  --btn-secondary-bg: rgba(75, 139, 232, 0.1);
  --btn-secondary-text: #4b8be8;
  --btn-secondary-border: rgba(75, 139, 232, 0.25);
  --footer-bg: #060d1a;
  --footer-border: #1e2d42;
  --gradient-hero: radial-gradient(ellipse at 30% 20%, rgba(75, 139, 232, 0.08) 0%, transparent 50%),
                   radial-gradient(ellipse at 70% 80%, rgba(232, 189, 58, 0.05) 0%, transparent 50%);
  --gradient-text: linear-gradient(135deg, #4b8be8, #e8bd3a);
  --gradient-cta: linear-gradient(135deg, #060d1a 0%, #0f1a2e 100%);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
  transition: background-color var(--transition), color var(--transition);
}

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

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

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: transparent;
  transition: background-color var(--transition), backdrop-filter var(--transition),
              border-color var(--transition), padding var(--transition);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--nav-border);
  padding: 12px 0;
}

.nav__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
  position: relative;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
  transition: color var(--transition);
}

.nav__logo-img {
  height: 52px;
  width: auto;
  border-radius: 0;
  object-fit: contain;
}

.nav__logo-text {
  display: none;
}

.nav.scrolled .nav__logo-img {
  height: 40px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.nav__link {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background-color var(--transition);
}

.nav__link:hover {
  color: var(--text-primary);
  background-color: var(--bg-secondary);
}

.nav__link--cta {
  background-color: var(--accent);
  color: #ffffff !important;
  font-weight: 600;
  padding: 8px 20px;
}

.nav__link--cta:hover {
  background-color: var(--accent-hover);
}

/* --- Mobile Menu Toggle --- */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  gap: 5px;
  border-radius: 50%;
  transition: background-color var(--transition);
}

/* --- Theme Toggle --- */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--text-secondary);
  transition: color var(--transition), background-color var(--transition);
}

.theme-toggle:hover {
  color: var(--text-primary);
  background-color: var(--bg-secondary);
}

.theme-toggle__icon--sun {
  display: none;
}

[data-theme="dark"] .theme-toggle__icon--moon {
  display: none;
}

[data-theme="dark"] .theme-toggle__icon--sun {
  display: block;
}

.nav__toggle:hover {
  background-color: var(--bg-secondary);
}

.nav__toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav__toggle.active span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav__toggle.active span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* --- Mobile Menu --- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background-color: var(--bg-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu__link {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  transition: color var(--transition), background-color var(--transition);
}

.mobile-menu__link:hover {
  color: var(--accent);
  background-color: var(--bg-secondary);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  background-color: var(--bg-primary);
  background-image: var(--gradient-hero);
  overflow: hidden;
  transition: background-color var(--transition);
}

.hero__container {
  max-width: 800px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero__badge {
  display: inline-block;
  padding: 8px 20px;
  background-color: var(--badge-bg);
  color: var(--badge-text);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 100px;
  margin-bottom: 32px;
}

.hero__title {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.hero__title--accent {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 40px;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.hero__gradient {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(38, 84, 163, 0.06) 0%, transparent 70%);
  filter: blur(60px);
}

[data-theme="dark"] .hero__gradient {
  background: radial-gradient(circle, rgba(75, 139, 232, 0.1) 0%, transparent 70%);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-xl);
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn--primary {
  background-color: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(26, 95, 180, 0.25);
}

.btn--primary:hover {
  background-color: var(--accent-hover);
  box-shadow: 0 6px 20px rgba(26, 95, 180, 0.35);
  transform: translateY(-1px);
}

.btn--gold {
  background-color: var(--gold);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(200, 149, 46, 0.25);
}

.btn--gold:hover {
  background-color: var(--gold-hover);
  box-shadow: 0 6px 20px rgba(200, 149, 46, 0.35);
  transform: translateY(-1px);
}

.btn--secondary {
  background-color: var(--btn-secondary-bg);
  color: var(--btn-secondary-text);
  border: 1px solid var(--btn-secondary-border);
}

.btn--secondary:hover {
  background-color: rgba(26, 95, 180, 0.1);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--text-on-dark);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 12px 28px;
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

.btn--large {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn--whatsapp {
  background-color: #25d366;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
}

.btn--whatsapp:hover {
  background-color: #1fb855;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  transform: translateY(-1px);
}

/* --- Sections --- */
.section {
  padding: 120px 24px;
  background-color: var(--bg-primary);
  transition: background-color var(--transition);
}

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

.section--dark {
  background-color: var(--bg-dark-section);
}

.section--cta {
  background: var(--gradient-cta);
}

.section__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}

.section__label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section__label--gold {
  color: var(--gold);
}

.section__label--light {
  color: var(--gold-light);
}

.section__title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section__title--light {
  color: #ffffff;
}

.section__description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.section__description--light {
  color: rgba(255, 255, 255, 0.7);
}

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

.services-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.service-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: transform var(--transition), box-shadow var(--transition),
              background-color var(--transition), border-color var(--transition);
  text-decoration: none;
  color: inherit;
  display: block;
}

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

.service-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--bg-secondary);
  color: var(--accent);
  margin-bottom: 20px;
}

.service-card__icon--gold {
  color: var(--gold);
  background-color: rgba(212, 160, 23, 0.08);
}

.service-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.service-card__text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* --- Stats Grid --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.stat__number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.02em;
}

.stat__label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* --- Feature Section (alternating text + image) --- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature--reverse {
  direction: rtl;
}

.feature--reverse > * {
  direction: ltr;
}

.feature__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature__label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.feature__title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text-primary);
}

.feature__text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.feature__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.feature__image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

/* --- About / Team --- */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-content--centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.about-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Team Cards --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.team-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.team-card__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 3px solid var(--bg-tertiary);
}

.team-card__name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.team-card__role {
  font-size: 0.9rem;
  color: var(--text-tertiary);
}

/* --- Contact Section --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info {
  background: var(--gradient-cta);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: var(--text-on-dark);
}

.contact-info__item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-info__item:last-child {
  margin-bottom: 0;
}

.contact-info__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--gold-light);
  flex-shrink: 0;
}

.contact-info__text {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-on-dark);
}

.contact-info__label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form__input,
.contact-form__textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  transition: border-color var(--transition), box-shadow var(--transition),
              background-color var(--transition), color var(--transition);
}

.contact-form__input:focus,
.contact-form__textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(26, 95, 180, 0.1);
}

.contact-form__textarea {
  min-height: 140px;
  resize: vertical;
}

/* --- Map --- */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 48px;
}

.map-container iframe {
  width: 100%;
  height: 350px;
  border: 0;
}

/* --- CTA Section --- */
.cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta__title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta__text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
}

.cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- Footer --- */
.footer {
  background-color: var(--footer-bg);
  padding: 60px 24px 32px;
  color: var(--text-on-dark);
}

.footer__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--footer-border);
  margin-bottom: 24px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__logo {
  height: 40px;
  width: auto;
  border-radius: 0;
  object-fit: contain;
}

.footer__name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
}

.footer__links {
  display: flex;
  gap: 24px;
}

.footer__links a {
  font-size: 0.9rem;
  color: var(--text-on-dark-secondary);
  transition: color var(--transition);
}

.footer__links a:hover {
  color: #ffffff;
}

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--text-on-dark-secondary);
  transition: background-color var(--transition), color var(--transition);
}

.footer__social a:hover {
  background-color: var(--gold);
  color: #ffffff;
}

.footer__bottom {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-on-dark-secondary);
}

.footer__bottom p {
  margin-bottom: 4px;
}

/* --- Scroll Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .feature--reverse {
    direction: ltr;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

@media (max-width: 768px) {
  .nav__links {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__container {
    justify-content: space-between;
  }

  .nav__logo {
    flex: 1;
    justify-content: center;
  }

  .nav__logo-img {
    height: 44px;
  }

  .nav.scrolled .nav__logo-img {
    height: 36px;
  }

  .nav__toggle {
    position: absolute;
    right: 16px;
  }

  .theme-toggle {
    position: absolute;
    right: 56px;
  }

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

  .services-grid--2 {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .stat__number {
    font-size: 1.8rem;
  }

  .stat__label {
    font-size: 0.8rem;
  }

  .hero {
    padding: 120px 20px 60px;
    min-height: auto;
  }

  .hero__title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .hero__badge {
    font-size: 0.7rem;
    padding: 6px 14px;
  }

  .section {
    padding: 80px 20px;
  }

  .section__header {
    margin-bottom: 40px;
  }

  .section__title {
    font-size: 1.6rem;
  }

  .section__description {
    font-size: 1rem;
  }

  .footer__content {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .footer__links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer__social {
    justify-content: center;
  }

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

  .hero__actions .btn {
    justify-content: center;
  }

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

  .cta__actions .btn {
    justify-content: center;
  }

  .feature__image img {
    height: 220px;
  }

  .feature__title {
    font-size: 1.5rem;
  }

  .contact-info {
    padding: 28px;
  }

  .contact-form__input,
  .contact-form__textarea {
    padding: 12px 14px;
  }

  .service-card {
    padding: 24px;
  }

  .about-image img {
    height: 280px !important;
  }

  .mobile-menu__link {
    font-size: 1.3rem;
  }
}

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

  .stat__number {
    font-size: 1.5rem;
  }

  .stat__label {
    font-size: 0.7rem;
  }

  .hero__title {
    font-size: 1.8rem;
  }

  .btn--large {
    padding: 14px 24px;
    font-size: 0.95rem;
  }

  .section {
    padding: 60px 16px;
  }

  .container {
    padding: 0 16px;
  }

  .nav__container {
    padding: 0 16px;
  }

  .service-card {
    padding: 20px;
  }

  .service-card__title {
    font-size: 1rem;
  }

  .service-card__text {
    font-size: 0.88rem;
  }

  .cta__title {
    font-size: 1.5rem;
  }

  .cta__text {
    font-size: 0.95rem;
  }

  .feature__text {
    font-size: 0.95rem;
  }

  .about-text {
    font-size: 0.95rem;
  }
}
