/* DMG Garage — Clean Clinical Style */
@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,opsz,wght@0,8..60,400;0,8..60,600;0,8..60,700;1,8..60,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
  /* Palette */
  --background: #ffffff;
  --surface: #f7fafa;
  --accent: #0e8a7b;
  --accent-hover: #0ba392;
  --accent-rgb: 14, 138, 123;
  --text: #1a2332;
  --text-muted: #5a6a7a;
  --border: #e2e8f0;
  --bg-rgb: 255, 255, 255;
  --surface-rgb: 247, 250, 250;

  /* Typography */
  --font-heading: 'Source Serif 4', serif;
  --font-body: 'Inter', sans-serif;
  --heading-weight: 600;
  --heading-transform: none;
  --letter-spacing-heading: -0.01em;

  /* Transitions */
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1200px;
  --container-padding: 0 24px;
  --gap: 24px;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--background);
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-hover);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--heading-weight);
  text-transform: var(--heading-transform);
  letter-spacing: var(--letter-spacing-heading);
  line-height: 1.2;
  color: var(--text);
  overflow-wrap: break-word;
  word-break: break-word;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }

p {
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== TEXT SAFETY ===== */
.service-card,
.team-card,
.hero h1,
.section-header h2,
.section-header p {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* ===== CONTAINER ===== */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
  width: 100%;
}

/* ===== SECTION ===== */
.section {
  padding: var(--section-padding);
  position: relative;
}

.section--surface {
  background: var(--surface);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-header h2 {
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* Accent line dividers */
.section-divider {
  height: 1px;
  background: rgba(var(--accent-rgb), 0.15);
  border: none;
  margin: 0;
}

/* ===== HEADER / NAV ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo img {
  height: 52px;
  width: 52px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.logo-text span {
  color: var(--accent);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav a:hover,
.nav a.active {
  color: var(--accent);
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--accent);
  color: #fff !important;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.nav-cta:hover {
  background: var(--accent-hover);
  color: #fff !important;
  transform: translateY(-1px);
}

.nav-cta::after {
  display: none !important;
}

/* Burger Menu */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform var(--transition), opacity var(--transition);
  border-radius: 2px;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav a {
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
}

.mobile-nav a:hover {
  color: var(--accent);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  position: relative;
  overflow: hidden;
  background: var(--background);
}

/* Hero decorative SVG */
.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600'%3E%3Cpath d='M300 80 L300 240 M220 160 L380 160 M300 360 L300 520 M220 440 L380 440 M80 300 L240 300 M160 220 L160 380 M360 300 L520 300 M440 220 L440 380' stroke='%230e8a7b' stroke-width='1.5' fill='none' opacity='0.07'/%3E%3Ccircle cx='300' cy='300' r='200' stroke='%230e8a7b' stroke-width='0.5' fill='none' opacity='0.05'/%3E%3Ccircle cx='300' cy='300' r='280' stroke='%230e8a7b' stroke-width='0.3' fill='none' opacity='0.03'/%3E%3C/svg%3E") center / contain no-repeat;
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(var(--accent-rgb), 0.08);
  border: 1px solid rgba(var(--accent-rgb), 0.15);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  width: fit-content;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.hero-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(var(--accent-rgb), 0.1);
  pointer-events: none;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 36px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  min-height: 52px;
  min-width: 44px;
  line-height: 1;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(var(--accent-rgb), 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: var(--accent);
}

.btn-white:hover {
  background: var(--surface);
  transform: translateY(-2px);
  color: var(--accent);
}

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
}

.service-card {
  background: var(--background);
  border-radius: var(--radius);
  overflow: visible;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  border: 1px solid var(--border);
  border-left: 3px solid transparent;
  position: relative;
}

.service-card:first-child {
  grid-column: 1 / -1;
}

.service-card:first-child .service-card-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.service-card:first-child .service-card-img {
  aspect-ratio: auto;
  height: 100%;
  min-height: 300px;
  border-radius: var(--radius) 0 0 var(--radius);
}

.service-card:first-child .service-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  border-left-color: var(--accent);
}

.service-card-inner {
  height: 100%;
}

.service-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-card-img img {
  transform: scale(1.05);
}

.service-card-body {
  padding: 28px;
}

.service-card-body h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  color: var(--text);
}

.service-card-body p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.service-card-badge {
  display: inline-block;
  margin-top: 12px;
  padding: 5px 14px;
  background: rgba(var(--accent-rgb), 0.08);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: 20px;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent);
}

.service-card-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.service-card:hover .service-card-link svg {
  transform: translateX(4px);
}

/* ===== ADVANTAGES / USP ===== */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.advantage-card {
  text-align: center;
  padding: 40px 28px;
  border-radius: var(--radius);
  background: var(--background);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.advantage-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.advantage-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--accent-rgb), 0.08);
  border-radius: 16px;
}

.advantage-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
}

.advantage-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.advantage-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ===== TEAM ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  justify-items: center;
}

.team-card {
  background: var(--background);
  border-radius: var(--radius-lg);
  overflow: visible;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
  max-width: 400px;
  width: 100%;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.team-card-img {
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.team-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card-body {
  padding: 28px;
  text-align: center;
  overflow-wrap: break-word;
  word-break: break-word;
}

.team-card-body h3 {
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.team-card-role {
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 4px;
}

.team-card-spec {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.3), transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item-caption {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  z-index: 1;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition);
}

.gallery-item:hover .gallery-item-caption {
  opacity: 1;
  transform: translateY(0);
}

/* Gallery full-width hero image */
.gallery-hero {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 21/9;
  margin-bottom: var(--gap);
  position: relative;
}

.gallery-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== CTA SECTIONS ===== */
.cta-section {
  background: var(--accent);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  color: #fff;
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 500px;
  margin: 0 auto 32px;
  font-size: 1.1rem;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Inline CTA */
.cta-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  gap: 32px;
}

.cta-inline h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.cta-inline p {
  font-size: 0.95rem;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--accent-rgb), 0.08);
  border-radius: 12px;
}

.contact-item-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
}

.contact-item h4 {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 4px;
  font-family: var(--font-body);
}

.contact-item p,
.contact-item a {
  font-size: 1.05rem;
  color: var(--text);
  font-weight: 500;
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--surface);
  border: 1px solid var(--border);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand .logo-text {
  color: #fff;
  font-size: 1.3rem;
}

.footer-brand .logo-text span {
  color: var(--accent);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  max-width: 320px;
}

.footer h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.5);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.footer-social a svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ===== COUNTER ===== */
.counter-section {
  padding: 60px 0;
  background: var(--surface);
  border-top: 1px solid rgba(var(--accent-rgb), 0.1);
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.1);
}

.counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  text-align: center;
}

.counter-item h3 {
  font-size: 2.5rem;
  color: var(--accent);
  font-weight: 700;
  line-height: 1;
}

.counter-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  padding: 140px 0 60px;
  background: var(--surface);
  text-align: center;
  position: relative;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(var(--accent-rgb), 0.15);
}

.page-hero h1 {
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== SERVICES PAGE - Full list ===== */
.services-full-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
}

.service-full-card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: visible;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  border-left: 3px solid transparent;
}

.service-full-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  border-left-color: var(--accent);
}

.service-full-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}

.service-full-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-full-card:hover .service-full-card-img img {
  transform: scale(1.05);
}

.service-full-card-body {
  padding: 28px;
  overflow-wrap: break-word;
  word-break: break-word;
}

.service-full-card-body h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.service-full-card-body p {
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-inner {
    gap: 40px;
  }

  .services-grid {
    gap: 20px;
  }

  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 70px 0;
  }

  .nav {
    display: none;
  }

  .burger {
    display: flex;
  }

  .mobile-nav {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding: 100px 0 60px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-content {
    text-align: center;
    align-items: center;
  }

  .hero-image {
    max-width: 400px;
    margin: 0 auto;
  }

  .hero-stats {
    justify-content: center;
    gap: 28px;
  }

  .hero-actions {
    justify-content: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card:first-child .service-card-inner {
    grid-template-columns: 1fr;
  }

  .service-card:first-child .service-card-img {
    aspect-ratio: 16/10;
    min-height: auto;
    border-radius: var(--radius) var(--radius) 0 0;
  }

  .service-card:first-child .service-card-body {
    padding: 28px;
  }

  .services-full-grid {
    grid-template-columns: 1fr;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-hero {
    aspect-ratio: 16/10;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cta-inline {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }

  .counter-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .page-hero {
    padding: 110px 0 40px;
  }
}

@media (max-width: 480px) {
  :root {
    --section-padding: 56px 0;
    --container-padding: 0 16px;
  }

  .header-inner {
    padding: 0 16px;
  }

  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.5rem; }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 20px;
  }

  .btn {
    padding: 14px 28px;
    font-size: 0.9rem;
    width: 100%;
    justify-content: center;
  }

  .counter-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

/* ===== ANIMATIONS FALLBACK (visible without JS) ===== */
[data-reveal] {
  opacity: 1;
}

/* ===== UTILITY ===== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
