/* ========================================
   NORDICBYSIGHT — STYLE
   ======================================== */

/* Custom Properties */
:root {
  --bg: #FAFAF8;
  --bg-warm: #F0F4F5;
  --bg-dark: #1A1A1E;
  --bg-dark-soft: #2A2A2E;
  --text: #1A1A18;
  --text-muted: #6B6B65;
  --text-light: #9C9C94;
  --accent: #B22A2A;
  --accent-soft: #C44D4D;
  --accent-glow: rgba(178, 42, 42, 0.10);
  --white: #FFFFFE;
  --border: rgba(26, 26, 24, 0.10);
  --border-strong: rgba(26, 26, 24, 0.12);
  --border-light: rgba(255, 255, 255, 0.08);
  --radius: 8px;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  --space-xs: clamp(0.5rem, 1vw, 0.75rem);
  --space-sm: clamp(0.75rem, 2vw, 1.25rem);
  --space-md: clamp(1.5rem, 4vw, 3rem);
  --space-lg: clamp(3.5rem, 9vw, 7rem);
  --space-xl: clamp(6rem, 14vw, 12rem);

  --text-sm: clamp(0.75rem, 0.85vw, 0.85rem);
  --text-base: clamp(0.9rem, 1vw, 1.05rem);
  --text-lg: clamp(1.05rem, 1.2vw, 1.22rem);
  --text-xl: clamp(1.35rem, 2.2vw, 2.2rem);
  --text-2xl: clamp(1.8rem, 3.5vw, 3.5rem);
  --text-3xl: clamp(2.25rem, 5vw, 5.5rem);
}

/* ========================================
   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: var(--font-body);
  font-weight: 300;
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

::selection {
  background: var(--accent);
  color: var(--white);
}

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

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

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

/* ========================================
   Custom Cursor
   ======================================== */
.cursor {
  position: fixed;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.35s cubic-bezier(0.23, 1, 0.32, 1),
              height 0.35s cubic-bezier(0.23, 1, 0.32, 1),
              background 0.35s ease,
              border-color 0.35s ease;
  background: transparent;
}

.cursor.hover {
  width: 48px;
  height: 48px;
  background: rgba(178, 42, 42, 0.08);
}

.cursor.on-dark {
  border-color: rgba(255, 255, 255, 0.5);
}

.cursor.on-dark.hover {
  border-color: var(--accent-soft);
  background: rgba(178, 42, 42, 0.15);
}

@media (hover: none) {
  .cursor { display: none; }
}

/* ========================================
   Navigation
   ======================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-sm) var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}

.nav.scrolled {
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.nav-logo img {
  height: clamp(34px, 5vw, 54px);
  width: auto;
}

.nav-logo-dark {
  display: none;
}

.nav-logo-light {
  display: block;
}

.nav.scrolled .nav-logo-dark {
  display: block;
}

.nav.scrolled .nav-logo-light {
  display: none;
}

.nav-links {
  display: flex;
  gap: var(--space-md);
  list-style: none;
  font-size: var(--text-sm);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.4s ease;
}

.nav.scrolled .nav-links {
  color: var(--text-muted);
}

.nav-links a {
  position: relative;
  padding: 0.25em 0;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--white);
}

.nav.scrolled .nav-links a:hover {
  color: var(--text);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}

.nav-toggle span {
  width: 28px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.4s ease;
}

.nav.scrolled .nav-toggle span {
  background: var(--text);
}

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

  .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    position: absolute;
    top: 100%;
    right: var(--space-sm);
    background: rgba(250, 250, 248, 0.97);
    backdrop-filter: blur(20px);
    padding: var(--space-sm) var(--space-md);
    gap: var(--space-xs);
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    color: var(--text-muted) !important;
  }

  .nav-links.open a:hover {
    color: var(--text) !important;
  }
}

/* ========================================
   Hero
   ======================================== */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  position: relative;
  overflow: hidden;
  background: var(--bg-dark);
  color: var(--white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 14, 0.55) 0%,
    rgba(10, 10, 14, 0.40) 40%,
    rgba(10, 10, 14, 0.60) 100%
  );
  z-index: 1;
}

.hero-h1 {
  margin: 0;
  padding: 0;
  line-height: 1;
  position: relative;
  z-index: 2;
}

.hero-logo {
  width: clamp(280px, 40vw, 520px);
  height: auto;
  opacity: 0;
  animation: fade-scale 1.2s cubic-bezier(0.23, 1, 0.32, 1) 0.3s forwards;
}

@keyframes fade-scale {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.hero-divider {
  width: 40px;
  height: 1px;
  background: var(--accent);
  margin: var(--space-md) 0;
  position: relative;
  z-index: 2;
  opacity: 0;
  animation: fade-up 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.8s forwards;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  font-style: italic;
  color: #fff;
  position: relative;
  z-index: 2;
  opacity: 0;
  animation: fade-up 0.8s cubic-bezier(0.23, 1, 0.32, 1) 1s forwards;
  max-width: 600px;
}

.hero-services {
  margin-top: var(--space-md);
  font-size: var(--text-sm);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  position: relative;
  z-index: 2;
  opacity: 0;
  animation: fade-up 0.8s cubic-bezier(0.23, 1, 0.32, 1) 1.3s forwards;
  text-align: center;
  line-height: 2;
  max-width: 600px;
}

.hero-services span + span::before {
  content: '•';
  color: var(--accent);
  margin: 0 0.6em;
  font-size: 1.8em;
  vertical-align: middle;
}


.hero-location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  font-size: var(--text-sm);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  margin-top: var(--space-lg);
  position: relative;
  z-index: 2;
  opacity: 0;
  animation: fade-up 0.8s cubic-bezier(0.23, 1, 0.32, 1) 1.6s forwards;
}

.hero-location-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.hero-scroll {
  position: absolute;
  bottom: var(--space-md);
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  z-index: 2;
  opacity: 0;
  animation: fade-up 0.8s cubic-bezier(0.23, 1, 0.32, 1) 1.8s forwards;
}

.hero-scroll-arrow {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========================================
   Image Breaks
   ======================================== */
.img-break {
  width: 100%;
  height: clamp(250px, 35vw, 450px);
  overflow: hidden;
  position: relative;
}

.img-break-src {
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: center;
  display: block;
  position: relative;
  top: -8%;
}

/* ========================================
   Section Base
   ======================================== */
section {
  padding: var(--space-xl) var(--space-md);
}

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

.section-label {
  font-size: var(--text-sm);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-label::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--accent);
}

.section-heading {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-md);
}

/* ========================================
   Scroll Reveal
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1),
              transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

@supports (animation-timeline: view()) {
  .scroll-fade {
    animation: scroll-fi linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 35%;
  }

  @keyframes scroll-fi {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

/* ========================================
   About
   ======================================== */
.about {
  background: var(--bg-warm);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-lg);
  align-items: stretch;
}

.about-text p {
  font-size: var(--text-lg);
  line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.about-right .about-text p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 3.2em;
  float: left;
  line-height: 0.85;
  margin-right: 0.08em;
  margin-top: 0.05em;
  color: var(--accent);
  font-weight: 500;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  min-height: 300px;
}

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

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  padding-top: var(--space-sm);
}

.stat-card {
  padding: var(--space-md) var(--space-sm);
  background: var(--white);
  text-align: center;
  border-radius: var(--radius);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.stat-number {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: 0.5rem;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-image { min-height: 250px; }
}

/* ========================================
   Marquee
   ======================================== */
.marquee-section {
  padding: var(--space-lg) 0;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.marquee-track {
  display: flex;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-item {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  white-space: nowrap;
  padding: 0 var(--space-md);
  color: var(--text);
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.marquee-item .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ========================================
   Services
   ======================================== */
.services {
  background: var(--bg-warm);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.service-card {
  background: var(--white);
  padding: var(--space-lg) var(--space-md);
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.4s ease;
}

.service-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-sm);
  color: var(--accent);
}

.service-number {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 400;
  color: var(--border);
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  line-height: 1;
  transition: color 0.5s ease;
}

.service-card:hover .service-number {
  color: rgba(178, 42, 42, 0.12);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  margin-bottom: var(--space-sm);
  line-height: 1.2;
}

.service-card p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 32ch;
}

.service-tags {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.3rem;
  margin-top: var(--space-sm);
}

.service-tags span {
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3em 0.5em;
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
  border-radius: 4px;
  white-space: nowrap;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.service-card:hover .service-tags span {
  border-color: rgba(178, 42, 42, 0.2);
  color: var(--accent);
}

@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ========================================
   Clients
   ======================================== */
.clients {
  background: var(--bg);
  color: var(--text);
}

.clients-text {
  color: var(--text-muted);
  font-size: var(--text-lg);
  max-width: 600px;
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.clients-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
}

.client-logo-item {
  background: var(--white);
  padding: var(--space-lg) var(--space-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.75rem;
  border-radius: var(--radius);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.4s ease;
}

.client-logo-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.client-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text);
}

.client-type {
  font-size: var(--text-sm);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}

.client-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: 25ch;
}

@media (max-width: 600px) {
  .clients-logos { grid-template-columns: 1fr; }
}

/* ========================================
   Process
   ======================================== */
.process {
  background: var(--bg-warm);
}

.process-timeline {
  margin-top: var(--space-lg);
  position: relative;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border-strong);
}

.process-line-fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 0;
  background: var(--accent);
  transition: height 0.15s linear;
}

.process-step {
  padding-left: var(--space-lg);
  padding-bottom: var(--space-lg);
  position: relative;
}

.process-step::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--bg-warm);
  border: 1.5px solid var(--text-light);
  transition: border-color 0.4s ease, background 0.4s ease;
  z-index: 1;
}

.process-step.active::before {
  border-color: var(--accent);
  background: var(--accent);
}

.process-step-num {
  font-size: var(--text-sm);
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.process-step h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.process-step p {
  color: var(--text-muted);
  max-width: 50ch;
  line-height: 1.8;
}

/* ========================================
   Contact
   ======================================== */
.contact {
  background: var(--bg);
  color: var(--text);
}

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

.contact .section-label {
  justify-content: center;
}

.contact-heading {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: var(--space-sm);
}

.contact-heading em {
  font-style: italic;
  color: var(--accent);
}

.contact-sub {
  color: var(--text-muted);
  font-size: var(--text-lg);
  margin-bottom: var(--space-lg);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: var(--text-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea {
  font-family: var(--font-body);
  font-size: var(--text-base);
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--border-strong);
  background: var(--white);
  color: var(--text);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(178, 42, 42, 0.15);
}

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

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background 0.4s ease;
  align-self: flex-start;
}

.btn-submit:hover {
  background: var(--accent-soft);
}

.btn-submit svg {
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-submit:hover svg {
  transform: translateX(4px);
}

/* ========================================
   Footer
   ======================================== */
.footer {
  padding: var(--space-md) var(--space-md) var(--space-sm);
  background: url('../img/hero2-bg.webp') center/cover no-repeat;
  color: #000;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-logo img {
  height: clamp(34px, 5vw, 54px);
  width: auto;
  margin-bottom: 0.75rem;
  opacity: 1;
}

.footer-text {
  font-size: var(--text-sm);
  color: #000;
  line-height: 1.8;
}

.footer-text a {
  color: #000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-text a:hover {
  color: var(--text);
}

.footer-links {
  display: flex;
  gap: var(--space-md);
  font-size: var(--text-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links a {
  color: #000;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  max-width: 1200px;
  margin: var(--space-md) auto 0;
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(0, 0, 0, 0.15);
  text-align: center;
  font-size: var(--text-sm);
  color: #000;
}

.footer-credit-link {
  color: #000;
  text-decoration: none;
}

.footer-credit-link:hover {
  color: var(--text);
}

@media (max-width: 768px) {
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; align-items: center; text-align: center; }
}

/* ========================================
   reCAPTCHA badge (hidden, text shown instead)
   ======================================== */
.grecaptcha-badge {
  visibility: hidden !important;
}

.recaptcha-notice {
  font-size: 0.7rem;
  color: var(--text-light);
  margin-top: var(--space-xs);
  line-height: 1.5;
}

.recaptcha-notice a {
  color: var(--text-light);
  text-decoration: underline;
}

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

  .reveal { opacity: 1; transform: none; }
  .hero-logo,
  .hero-divider,
  .hero-tagline,
  .hero-services,
  .hero-location,
  .hero-scroll { opacity: 1; transform: none; }
}

/* ========================================
   Cookie Consent Banner
   ======================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  pointer-events: none;
  background: #f5f5f3;
  border-top: 1px solid var(--border);
  box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.08);
  padding: 1rem var(--space-md);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.cookie-banner.visible {
  transform: translateY(0);
  pointer-events: auto;
}

.cookie-title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.cookie-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.cookie-banner-text {
  flex: 1;
}

.cookie-text {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.5;
}

.cookie-text a {
  color: var(--text);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius);
  font-size: var(--text-sm);
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

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

.cookie-btn-accept:hover {
  background: #333;
}

.cookie-btn-decline {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-strong);
}

.cookie-btn-decline:hover {
  color: var(--text);
  border-color: var(--text-muted);
}

.cookie-btn-settings {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-strong);
}

.cookie-btn-settings:hover {
  color: var(--text);
  border-color: var(--text-muted);
}

/* Settings panel */
.cookie-settings {
  display: none;
  max-width: 1100px;
  margin: 0 auto;
}

.cookie-settings.visible {
  display: block;
}

.cookie-settings-inner {
  text-align: left;
}

.cookie-category {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
}

.cookie-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-category-header strong {
  color: var(--text);
  font-size: var(--text-base);
}

.cookie-category-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 0.25rem;
  margin-bottom: 0;
}

.cookie-toggle-always {
  font-size: var(--text-sm);
  color: var(--text-light);
  white-space: nowrap;
}

/* Toggle switch */
.cookie-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle-slider {
  position: absolute;
  inset: 0;
  background: #ccc;
  border-radius: 24px;
  cursor: pointer;
  transition: background 0.2s;
}

.cookie-toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  bottom: 3px;
  background: var(--white);
  border-radius: 50%;
  transition: transform 0.2s;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
  background: var(--accent);
}

.cookie-toggle input:checked + .cookie-toggle-slider::before {
  transform: translateX(20px);
}

.cookie-settings-buttons {
  display: flex;
  gap: 0.5rem;
  margin-top: var(--space-sm);
}

@media (max-width: 768px) {
  .cookie-banner-inner {
    flex-direction: column;
    text-align: center;
  }

  .cookie-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .cookie-settings-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .cookie-category-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

/* Footer policy link */
.footer-policy-link {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  font-size: var(--text-sm);
}

.footer-policy-link:hover {
  color: rgba(255, 255, 255, 0.7);
}

.footer-dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: middle;
  margin: 0 0.4rem;
}

/* ========================================
   iOS Install Banner
   ======================================== */
.ios-install-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  pointer-events: none;
  background: #f5f5f3;
  border-top: 1px solid var(--border);
  box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.08);
  padding: 0.75rem var(--space-md);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.ios-install-banner.visible {
  pointer-events: auto;
  transform: translateY(0);
}

.ios-install-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.ios-install-inner p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.ios-share-icon {
  font-size: 1.1em;
}

.ios-install-close {
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--text-light);
  cursor: pointer;
  padding: 0 0.25rem;
  flex-shrink: 0;
}

.ios-install-close:hover {
  color: var(--text);
}
