@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Roboto:wght@300;400;500;700&display=swap');

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
  --primary: #E86A3F;
  --accent: #F4A1B8;
  --bg: #2E1A2B;
  --surface: #3D2438;
  --text: #FFF3E8;
  --muted: #C9A0A0;

  --font-heading: 'Bebas Neue', sans-serif;
  --font-body: 'Roboto', sans-serif;

  --shadow-offset: 6px 6px 0 var(--primary);
  --shadow-offset-accent: 6px 6px 0 var(--accent);
  --shadow-offset-sm: 4px 4px 0 var(--primary);

  --radius: 0;

  --header-height: 72px;
  --section-padding: 5rem 1.5rem;
  --max-width: 1200px;

  --transition-speed: 0.25s;
}

/* ============================================
   RESET & BASE
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  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-speed) ease;
}

a:hover {
  color: var(--primary);
}

ul,
ol {
  list-style: none;
}

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

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--text);
}

h1 {
  font-size: clamp(3rem, 8vw, 7rem);
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  text-transform: uppercase;
}

h3 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  text-transform: uppercase;
}

h4 {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}

p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 65ch;
}

.lead {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text);
  font-weight: 300;
}

.small-text {
  font-size: 0.875rem;
  color: var(--muted);
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: var(--section-padding);
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-header {
  margin-bottom: 3.5rem;
  max-width: 700px;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.text-center {
  text-align: center;
}

.text-center p {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: background var(--transition-speed) ease,
              border-color var(--transition-speed) ease,
              box-shadow var(--transition-speed) ease;
  height: var(--header-height);
}

.header.scrolled {
  background: rgba(46, 26, 43, 0.97);
  border-bottom-color: var(--surface);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  flex-shrink: 0;
}

.logo:hover {
  color: var(--primary);
}

.nav-menu {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-menu a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color var(--transition-speed) ease;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition-speed) ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--text);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  width: 32px;
  height: 32px;
  position: relative;
  z-index: 1001;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  transition: transform var(--transition-speed) ease,
              opacity var(--transition-speed) ease;
  position: absolute;
  left: 4px;
  right: 4px;
}

.mobile-menu-toggle span:nth-child(1) {
  top: 8px;
}

.mobile-menu-toggle span:nth-child(2) {
  top: 15px;
}

.mobile-menu-toggle span:nth-child(3) {
  top: 22px;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 15px;
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 15px;
}

/* ============================================
   PHOTO BACKGROUND OVERLAY (CRITICAL)
   ============================================ */
.has-photo-bg {
  position: relative;
  isolation: isolate;
}

.has-photo-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.85));
  z-index: 0;
}

.has-photo-bg > * {
  position: relative;
  z-index: 1;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  padding: 4rem 1.5rem;
  background-size: cover;
  background-position: center;
}

.hero-section .hero-content {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.hero-section h1 {
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-section .lead {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  max-width: 550px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary,
.btn-secondary,
.cta-button,
.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition-speed) ease,
              box-shadow var(--transition-speed) ease,
              background var(--transition-speed) ease,
              color var(--transition-speed) ease;
  text-decoration: none;
  line-height: 1.2;
}

.btn-primary {
  background: var(--primary);
  color: var(--text);
  box-shadow: var(--shadow-offset);
}

.btn-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--primary);
  color: var(--text);
}

.btn-primary:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--primary);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--text);
  box-shadow: var(--shadow-offset-accent);
}

.btn-secondary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--accent);
  background: var(--accent);
  color: var(--bg);
}

.btn-secondary:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--accent);
}

.cta-button {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--bg);
  box-shadow: var(--shadow-offset);
  font-weight: 700;
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

.cta-button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--accent);
  color: var(--bg);
}

.cta-button:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--accent);
}

.form-submit {
  background: var(--primary);
  color: var(--text);
  box-shadow: var(--shadow-offset-sm);
  width: auto;
  align-self: flex-start;
}

.form-submit:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--primary);
}

.form-submit:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--primary);
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
  padding: var(--section-padding);
  background: var(--bg);
}

.feature-card {
  background: var(--surface);
  padding: 2.5rem 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-offset);
  transition: transform var(--transition-speed) ease,
              box-shadow var(--transition-speed) ease;
}

.feature-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--primary);
}

.feature-card .feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
  display: block;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  font-size: 0.95rem;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
  padding: var(--section-padding);
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%);
}

.service-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  border-left: 4px solid var(--primary);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-offset-sm);
  transition: transform var(--transition-speed) ease,
              box-shadow var(--transition-speed) ease;
}

.service-item:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--primary);
}

.service-item h3 {
  font-size: 1.5rem;
  color: var(--accent);
}

.service-item p {
  font-size: 0.95rem;
}

.service-price {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--primary);
  margin-top: 0.5rem;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
  padding: var(--section-padding);
  background: var(--bg);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text h2 {
  margin-bottom: 1.5rem;
}

.about-text p {
  margin-bottom: 1.25rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.about-stat {
  text-align: center;
  padding: 1.5rem;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-offset-sm);
}

.about-stat .stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--primary);
  display: block;
}

.about-stat .stat-label {
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
  padding: var(--section-padding);
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item .stat-value {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--bg);
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-item .stat-description {
  font-size: 0.9rem;
  color: var(--bg);
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonial-section {
  padding: var(--section-padding);
  background-size: cover;
  background-position: center;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.testimonial-card {
  background: var(--surface);
  padding: 2.5rem 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-offset);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 5rem;
  color: var(--primary);
  opacity: 0.3;
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
  line-height: 1;
}

.testimonial-card blockquote {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 1.5rem;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-author-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--text);
  flex-shrink: 0;
}

.testimonial-author-info .author-name {
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
}

.testimonial-author-info .author-role {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: 6rem 1.5rem;
  background: linear-gradient(135deg, var(--surface) 0%, var(--bg) 100%);
  text-align: center;
}

.cta-section h2 {
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-section p {
  margin: 0 auto 2.5rem;
  max-width: 500px;
  font-size: 1.1rem;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
  padding: var(--section-padding);
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.contact-info h3 {
  margin-bottom: 1.5rem;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.contact-row .contact-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  width: 1.4rem;
  text-align: center;
  line-height: 1.5;
  color: var(--primary);
}

.contact-row .contact-detail {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.5;
}

.contact-row .contact-detail strong {
  display: block;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

/* ============================================
   FORMS
   ============================================ */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
  width: 100%;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--muted);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition-speed) ease,
              box-shadow var(--transition-speed) ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(232, 106, 63, 0.2);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--muted);
  opacity: 0.6;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #1A0F19;
  padding: 4rem 1.5rem 2rem;
  border-top: 1px solid var(--surface);
}

.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  color: var(--text);
}

.footer-col p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: var(--muted);
  transition: color var(--transition-speed) ease,
              padding-left var(--transition-speed) ease;
}

.footer-col ul li a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 1.1rem;
  transition: background var(--transition-speed) ease,
              color var(--transition-speed) ease,
              transform var(--transition-speed) ease;
}

.footer-social a:hover {
  background: var(--primary);
  color: var(--text);
  transform: translateY(-2px);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--surface);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-bottom-links a:hover {
  color: var(--primary);
}

/* ============================================
   COOKIE POPUP
   ============================================ */
.cookie-popup {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  left: 1.5rem;
  max-width: 420px;
  background: var(--surface);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  box-shadow: var(--shadow-offset);
  padding: 1.5rem;
  z-index: 9999;
  transition: transform var(--transition-speed) ease,
              opacity var(--transition-speed) ease;
}

.cookie-popup.hidden {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}

.cookie-popup h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.cookie-popup p {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cookie-actions button {
  padding: 0.5rem 1.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background var(--transition-speed) ease,
              transform var(--transition-speed) ease;
}

.cookie-accept {
  background: var(--primary);
  color: var(--text);
}

.cookie-accept:hover {
  background: var(--accent);
  color: var(--bg);
}

.cookie-decline {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--muted) !important;
}

.cookie-decline:hover {
  color: var(--text);
  border-color: var(--text) !important;
}

/* ============================================
   POLICY PAGES
   ============================================ */
.policy-page {
  padding: var(--section-padding);
  background: var(--bg);
}

.policy-page .policy-content {
  max-width: 800px;
  margin: 0 auto;
}

.policy-page h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 0.5rem;
}

.policy-page .policy-updated {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 3rem;
  display: block;
}

.policy-page h2 {
  font-size: 1.75rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
  color: var(--accent);
  text-transform: none;
}

.policy-page h3 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  text-transform: none;
}

.policy-page p {
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  line-height: 1.8;
  max-width: none;
}

.policy-page ul {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.policy-page ul li {
  list-style: disc;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 0.4rem;
}

.policy-page a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.policy-page a:hover {
  color: var(--accent);
}

/* ============================================
   DIVIDER / DECORATIVE
   ============================================ */
.gradient-divider {
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
  border: none;
}

/* ============================================
   RESPONSIVE — TABLET (768px+)
   ============================================ */
@media (min-width: 768px) {
  :root {
    --section-padding: 6rem 2rem;
  }

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

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

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

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

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

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

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

  .form-row {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

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

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  .cookie-popup {
    left: auto;
  }

  .hero-section {
    padding: 6rem 2rem;
  }

  .hero-section .lead {
    font-size: 1.35rem;
  }
}

/* ============================================
   RESPONSIVE — DESKTOP (1024px+)
   ============================================ */
@media (min-width: 1024px) {
  :root {
    --section-padding: 8rem 2rem;
  }

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

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

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

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

  .hero-section {
    padding: 8rem 2rem;
  }

  .hero-section .lead {
    font-size: 1.5rem;
  }

  .cta-section {
    padding: 8rem 2rem;
  }

  .service-item {
    padding: 2.5rem;
  }
}

/* ============================================
   RESPONSIVE — MOBILE (max-width: 767px)
   ============================================ */
@media (max-width: 767px) {
  .mobile-menu-toggle {
    display: inline-block;
  }

  .nav-menu {
    display: none;
  }

  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    padding: 1rem;
    border-top: 1px solid var(--muted);
  }

  .nav-menu.open a {
    padding: 0.75rem 0;
    font-size: 1rem;
  }

  h1 {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

  h2 {
    font-size: clamp(2rem, 7vw, 3rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary,
  .hero-actions .cta-button {
    width: 100%;
    text-align: center;
  }

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

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

  .cookie-popup {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--primary);
  color: var(--text);
  padding: 0.75rem 1.5rem;
  z-index: 10000;
  font-weight: 600;
  border-radius: var(--radius);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  .header,
  .footer,
  .cookie-popup,
  .mobile-menu-toggle {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .section {
    padding: 2rem 0;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}