/* =============================================================================
   BARK TO THE FUTURE LTD — Stylesheet
   New World Digital Media
   =============================================================================

   TABLE OF CONTENTS
   1.  Custom Properties (Root Variables)
   2.  Reset & Base
   3.  Typography
   4.  Layout Utilities
   5.  Header & Navigation
   6.  Hero
   7.  Sections & Backgrounds
   8.  Cards
   9.  Buttons
   10. Forms
   11. Gallery
   12. Map
   13. Footer
   14. Back to Top
   15. Page-Specific: Services
   16. Page-Specific: About
   17. Page-Specific: Contact
   18. Page-Specific: Success / Failure
   19. Page-Specific: Privacy
   20. Media Queries

   ============================================================================= */


/* =============================================================================
   1. CUSTOM PROPERTIES
   ============================================================================= */
@view-transition (navigation: auto);

:root {

  /* Colours */
  --colour-bg:           #0d0d1a;
  --colour-bg-card:      #13132b;
  --colour-bg-alt:       #1a1a35;
  --colour-accent-pink:  #e8006f;
  --colour-accent-purple:#7b2fff;
  --colour-accent-cyan:  #00d4ff;
  --colour-text:         #f0eee8;
  --colour-text-muted:   #c1bddc;
  --colour-border:       rgba(123, 47, 255, 0.3);

  /* Gradient colours (logo orange) */
  --colour-grad-1: #e36b2f;
  --colour-grad-2: #ed651b;
  --colour-grad-3: #f7c004;

  /* Gradients */
  --gradient-heading: linear-gradient(-30deg, var(--colour-grad-1), var(--colour-grad-2), var(--colour-grad-3), var(--colour-grad-2), var(--colour-grad-1));
  --gradient-pink-purple: linear-gradient(135deg, var(--colour-accent-pink), var(--colour-accent-purple));
  --gradient-card-border: linear-gradient(135deg, var(--colour-accent-pink), var(--colour-accent-purple));

  /* Glow shadows */
  --glow-pink:   0 0 20px rgba(232, 0, 111, 0.4);
  --glow-purple: 0 0 20px rgba(123, 47, 255, 0.4);
  --glow-cyan:   0 0 20px rgba(0, 212, 255, 0.4);

  /* Typography */
  --font-heading: 'Squada One', sans-serif;
  --font-body:    'Nunito', sans-serif;

  /* Type scale */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1.0625rem;
  --text-lg:   1.25rem;
  --text-xl:   1.5rem;
  --text-2xl:  2rem;
  --text-3xl:  2.5rem;
  --text-4xl:  3.8rem;
  --text-5xl:  4.5rem;

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;

  /* Layout */
  --container-max: 1200px;
  --section-pad:   80px;
  --header-height: 80px;

  /* Borders */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  /* Transitions */
  --transition: 0.25s ease;
}


/* =============================================================================
   2. RESET & BASE
   ============================================================================= */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--colour-bg);
  color: var(--colour-text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--colour-accent-cyan);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--colour-accent-pink);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: var(--font-body);
  border: none;
  background: none;
}

input, textarea, select {
  font-family: var(--font-body);
}


/* =============================================================================
   3. TYPOGRAPHY
   ============================================================================= */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transform: skewX(-5deg);

}

h1 {
  font-size: var(--text-5xl);
}

h2 {
  font-size: var(--text-4xl);
}

h3 {
  font-size: var(--text-2xl);
  color: var(--colour-accent-pink);
}

h4 {
  font-size: var(--text-lg);
  color: var(--colour-text);
}

p {
  margin-bottom: var(--space-sm);
}

p:last-child {
  margin-bottom: 0;
}

/* Gradient text utility — applied to h1, h2 by default */
h1, h2 {
  background: var(--gradient-heading);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 16px rgba(133, 2, 65, 0.5))
          drop-shadow(0 0 40px rgba(123, 47, 255, 0.3));
}

/* Override gradient for headings that should be plain */
.heading-plain {
  background: none;
  -webkit-text-fill-color: var(--colour-text);
}

.heading-pink {
  background: none;
  -webkit-text-fill-color: var(--colour-accent-pink);
}

.text-muted {
  color: var(--colour-text-muted);
}

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

/* Section heading block */
.section-heading {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-heading h2 {
  margin-bottom: var(--space-xs);
}

.section-heading p {
  color: var(--colour-text-muted);
  font-size: var(--text-lg);
  max-width: 680px;
  margin: 0 auto;
}

/* Decorative divider line under section headings */
.section-heading::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gradient-heading);
  margin: var(--space-sm) auto 0;
  border-radius: 2px;
}


/* =============================================================================
   4. LAYOUT UTILITIES
   ============================================================================= */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

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

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

/* Grid helpers */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

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

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

.section-cta {
  text-align: center;
  margin-top: var(--space-xl);
}


/* =============================================================================
   5. HEADER & NAVIGATION
   ============================================================================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  border-bottom: 1px solid var(--colour-border);
  transition: box-shadow var(--transition);
}

/* backdrop-filter lives on a pseudo-element so it doesn't create a containing
   block for position:fixed children (namely .main-nav on mobile). */
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: rgba(13, 13, 26, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background-color var(--transition);
  pointer-events: none;
}

.site-header.scrolled::before {
  background-color: rgba(13, 13, 26, 0.97);
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(232, 0, 111, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

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

.header-logo img {
  height: 56px;
  width: auto;
  transform: scale(3);
  transform-origin: top left;
  transition: transform 0.5s ease;
}

.site-header.small .header-logo img {
  transform: scale(1);
}

.header-logo span {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  background: var(--gradient-heading);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.03em;
}

/* Main nav */
.main-nav ul {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.main-nav a {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--colour-text);
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--colour-accent-pink);
  border-bottom-color: var(--colour-accent-pink);
}

/* CTA nav button */
.main-nav .nav-cta {
  background: var(--colour-accent-pink);
  color: #fff;
  padding: 0.45em 1.2em;
  border-radius: var(--radius-sm);
  border-bottom: none;
  box-shadow: var(--glow-pink);
  transition: all 0.3s;
}

.main-nav .nav-cta:hover {
  background: #c80061;
  color: #fff;
  border-bottom-color: transparent;
  box-shadow: var(--glow-purple);
}

/* Hamburger button */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--colour-text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}


/* =============================================================================
   6. HERO
   ============================================================================= */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 0;
}

/* Dark background with radial glow */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 60% 40%, rgba(123, 47, 255, 0.15) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(232, 0, 111, 0.1) 0%, transparent 60%),
    var(--colour-bg);
  z-index: 0;
}

/* Retro perspective grid floor */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 45%;
  background-image:
    linear-gradient(rgba(123, 47, 255, 0.25) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123, 47, 255, 0.25) 1px, transparent 1px);
  background-size: 60px 60px;
  transform: perspective(400px) rotateX(60deg);
  transform-origin: bottom center;
  mask-image: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 100%);
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-2xl);
  width: 100%;
}

.hero-content h1 {
  font-size: var(--text-5xl);
  margin-bottom: var(--space-sm);
  line-height: 1.05;
  letter-spacing: 0.03em;
}

.hero-content .hero-sub {
  font-size: var(--text-lg);
  color: var(--colour-text-muted);
  margin-bottom: var(--space-md);
  -webkit-text-fill-color: var(--colour-text-muted);
  background: none;
}

.hero-content .hero-location {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-size: var(--text-sm);
  font-weight: 700;
  color: #f673b2;
  margin-bottom: 1em;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

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

.hero-image img {
  max-width: 460px;
  width: 100%;
  aspect-ratio: 1;
  filter: drop-shadow(0 0 40px rgba(123, 47, 255, 0.4));
  border-radius: var(--radius-lg);
  object-fit: cover;
  object-position: center;
}


/* =============================================================================
   7. SECTIONS & BACKGROUNDS
   ============================================================================= */

/* Main content offset for fixed header */
main {
  padding-top: var(--header-height);
}

/* Inner pages have a page hero banner instead of full-height hero */
.page-hero {
  background-color: var(--colour-bg-alt);
  padding: var(--space-2xl) 0 var(--space-xl);
  text-align: center;
  border-bottom: 1px solid var(--colour-border);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 100%, rgba(123, 47, 255, 0.1) 0%, transparent 70%);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: var(--text-5xl);
  margin-bottom: var(--space-xs);
}

.page-hero p {
  color: var(--colour-text-muted);
  font-size: var(--text-lg);
  max-width: 560px;
  margin: 0 auto;
}

/* CTA banner section */
.cta-banner {
  background: linear-gradient(135deg, rgba(232, 0, 111, 0.12), rgba(123, 47, 255, 0.12));
  border-top: 1px solid rgba(232, 0, 111, 0.2);
  border-bottom: 1px solid rgba(232, 0, 111, 0.2);
  text-align: center;
  padding: var(--space-xl) 0;
}

.cta-banner h2 {
  margin-bottom: var(--space-sm);
}

.cta-banner p {
  color: var(--colour-text-muted);
  font-size: var(--text-lg);
  margin-bottom: var(--space-lg);
}

.cta-banner .cta-contact-details {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}


/* =============================================================================
   8. CARDS
   ============================================================================= */

/* Neon-border card */
.card {
  background-color: var(--colour-bg-card);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  position: relative;
  border: 1px solid var(--colour-border);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.card:hover {
  border-color: rgba(232, 0, 111, 0.5);
  box-shadow: var(--glow-pink);
}

/* Service card icon */
.card-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-sm);
  display: block;
}

.card h3 {
  margin-bottom: 0.3em;
}

/* Trust / feature cards */
.trust-card {
  text-align: center;
}

.trust-card .trust-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(232, 0, 111, 0.15), rgba(123, 47, 255, 0.15));
  border: 1px solid var(--colour-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto var(--space-sm);
}

.trust-card h3 {
  margin-bottom: var(--space-xs);
}

.trust-card p {
  color: var(--colour-text-muted);
  font-size: var(--text-base);
}


/* =============================================================================
   9. BUTTONS
   ============================================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.5em 1.2em;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  transition: background-color var(--transition), color var(--transition), box-shadow var(--transition), border-color var(--transition);
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--colour-accent-pink);
  color: #fff;
  border-color: var(--colour-accent-pink);
}

.btn-primary:hover {
  background-color: transparent;
  color: white;
  box-shadow: var(--glow-pink);
}

.btn-secondary {
  background-color: transparent;
  color: white;
  border-color: var(--colour-accent-pink);
}

.btn-secondary:hover {
  background-color: var(--colour-accent-pink);
  color: #fff;
  box-shadow: var(--glow-pink);
}

.btn-outline-cyan {
  background-color: transparent;
  color: var(--colour-accent-cyan);
  border-color: var(--colour-accent-cyan);
}

.btn-outline-cyan:hover {
  background-color: var(--colour-accent-cyan);
  color: var(--colour-bg);
  box-shadow: var(--glow-cyan);
}


/* =============================================================================
   10. FORMS
   ============================================================================= */

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--colour-text-muted);
  margin-bottom: var(--space-xs);
}

.form-group input:not([type="radio"]),
.form-group textarea,
.form-group select {
  width: 100%;
  background-color: var(--colour-bg-alt);
  border: 1px solid var(--colour-border);
  border-radius: var(--radius-sm);
  color: var(--colour-text);
  font-size: var(--text-base);
  padding: 0.75em 1em;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.form-group input:not([type="radio"]):focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--colour-accent-pink);
  box-shadow: 0 0 0 3px rgba(232, 0, 111, 0.15);
}

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

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

/* Radio group for preferred contact */
.radio-group {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 0.5em;
  text-transform: none;
  letter-spacing: 0;
  font-size: var(--text-base);
  color: var(--colour-text);
  cursor: pointer;
}

.radio-group input[type="radio"] {
  width: auto;
  accent-color: var(--colour-accent-pink);
}

/* Honeypot — hidden from view */
.form-honeypot {
  display: none;
}

.form-submit {
  margin-top: var(--space-lg);
}


/* =============================================================================
   11. GALLERY
   ============================================================================= */

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

/* Before/after pair wrapper */
.gallery-pair {
  display: contents;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 1px solid var(--colour-border);
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.gallery-item:hover {
  border-color: var(--colour-accent-pink);
  box-shadow: var(--glow-pink);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 1.2;
  object-fit: cover;
  transition: transform var(--transition);
  display: block;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-xs) var(--space-sm);
  background: linear-gradient(to top, rgba(13, 13, 26, 0.9), transparent);
  font-family: var(--font-heading);
  font-size: var(--text-base);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: white;
}

/* .gallery-label.before {
  color: var(--colour-accent-cyan);
}

.gallery-label.after {
  color: var(--colour-accent-pink);
} */

/* Pair label above each pair on the full gallery page */
.pair-group {
  margin-bottom: var(--space-xl);
}

.pair-group-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.pair-group-header h3 {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: var(--colour-text-muted);
  -webkit-text-fill-color: var(--colour-text-muted);
}

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


/* =============================================================================
   12. MAP
   ============================================================================= */

#map {
  width: 100%;
  height: 380px;
  border-radius: var(--radius-md);
  border: 1px solid #372072;
  overflow: hidden;
}

.leaflet-marker-icon {
    
}

.leaflet-tile-pane {
  filter: sepia() invert(1);
}

.leaflet-attribution-flag {
    width: 0 !important; /* Sorry, some clients don't want their site to be politicized
 */
}

.leaflet-marker-shadow {
    background-color: transparent;
}


/* =============================================================================
   13. FOOTER
   ============================================================================= */

.site-footer {
  background-color: #080810;
  border-top: 1px solid var(--colour-border);
  padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-brand img {
  height: 150px;
  width: auto;
  margin-bottom: var(--space-sm);
}

.footer-brand p {
  color: var(--colour-text-muted);
  font-size: var(--text-sm);
  max-width: 280px;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--colour-accent-pink);
  margin-bottom: var(--space-sm);
  display: block;
  background: none;
  -webkit-text-fill-color: var(--colour-accent-pink);
}

.footer-nav ul,
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav a,
.footer-contact a {
  color: var(--colour-text-muted);
  font-size: var(--text-sm);
  transition: color var(--transition);
}

.footer-nav a:hover,
.footer-contact a:hover {
  color: var(--colour-accent-pink);
}

.footer-contact a {
  color: white;
  font-size: var(--text-lg);
  font-weight: 700;
}

.footer-contact li {
  color: var(--colour-text-muted);
  font-size: var(--text-sm);
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  color: var(--colour-text-muted);
  font-size: var(--text-sm);
  transition: color var(--transition);
}

.footer-social a:hover {
  color: var(--colour-accent-pink);
}

.footer-bottom {
  border-top: 1px solid var(--colour-border);
  padding-top: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer-bottom p,
.footer-bottom a {
  font-size: var(--text-xs);
  color: var(--colour-text-muted);
}

.footer-bottom a:hover {
  color: var(--colour-accent-pink);
}


/* =============================================================================
   14. BACK TO TOP
   ============================================================================= */

.back-to-top {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  z-index: 900;
  width: 44px;
  height: 44px;
  background-color: var(--colour-accent-pink);
  color: #fff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition), background-color var(--transition);
  box-shadow: var(--glow-pink);
  display: none;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--colour-accent-purple);
  color: #fff;
  box-shadow: var(--glow-purple);
}


/* =============================================================================
   15. PAGE-SPECIFIC: SERVICES
   ============================================================================= */

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

.service-card {
  background-color: var(--colour-bg-card);
  border: 1px solid var(--colour-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  border-color: rgba(232, 0, 111, 0.5);
  box-shadow: var(--glow-pink);
}

.service-card .service-icon {
  font-size: 2.2rem;
  margin-bottom: var(--space-sm);
  display: block;
}

.service-card h3 {
  margin-bottom: var(--space-xs);
}

.service-card p {
  color: var(--colour-text-muted);
  font-size: var(--text-base);
  line-height: 1.65;
}

.pricing-note {
  text-align: center;
  background: linear-gradient(135deg, rgba(232, 0, 111, 0.08), rgba(123, 47, 255, 0.08));
  border: 1px solid var(--colour-border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  margin-top: var(--space-xl);
}

.pricing-note h2 {
    margin-bottom: var(--space-sm);
}

.pricing-note h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-sm);
  color: var(--colour-accent-cyan);
  -webkit-text-fill-color: var(--colour-accent-cyan);
}

.pricing-note p {
  color: var(--colour-text-muted);
  max-width: 640px;
  margin: 0 auto var(--space-lg);
}


/* =============================================================================
   16. PAGE-SPECIFIC: ABOUT
   ============================================================================= */

.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--colour-border);
}

.about-image::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: calc(var(--radius-lg) + 8px);
  background: var(--gradient-pink-purple);
  z-index: -1;
  opacity: 0.4;
}

.about-content h2 {
  margin-bottom: var(--space-sm);
}

.about-content p {
  color: var(--colour-text-muted);
  margin-bottom: var(--space-sm);
}

.about-badges {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-top: var(--space-md);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  background: linear-gradient(135deg, rgba(232, 0, 111, 0.12), rgba(123, 47, 255, 0.12));
  border: 1px solid var(--colour-border);
  border-radius: 999px;
  padding: 0.35em 1em;
  font-size: var(--text-sm);
  color: var(--colour-text);
}

.what-to-expect ol {
  list-style: none;
  counter-reset: steps;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.what-to-expect ol li {
  counter-increment: steps;
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
}

.what-to-expect ol li::before {
  content: counter(steps);
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--gradient-heading);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  color: var(--colour-bg);
  -webkit-text-fill-color: var(--colour-bg);
}

.what-to-expect ol li p {
  margin: 0;
  color: var(--colour-text-muted);
  padding-top: 0.3em;
}


/* =============================================================================
   17. PAGE-SPECIFIC: CONTACT
   ============================================================================= */

.contact-layout {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: var(--space-2xl);
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-detail {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(232, 0, 111, 0.15), rgba(123, 47, 255, 0.15));
  border: 1px solid var(--colour-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.contact-detail-text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--colour-text-muted);
  margin-bottom: 0.15em;
}

.contact-detail-text a,
.contact-detail-text p {
  font-size: var(--text-base);
  color: var(--colour-text);
  margin: 0;
}

.contact-detail-text a:hover {
  color: var(--colour-accent-pink);
}


/* =============================================================================
   18. PAGE-SPECIFIC: SUCCESS / FAILURE
   ============================================================================= */

.status-page {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-2xl) 0;
}

.status-icon {
  font-size: 4rem;
  margin-bottom: var(--space-md);
  display: block;
}

.status-page h1 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-sm);
}

.status-page p {
  color: var(--colour-text-muted);
  font-size: var(--text-lg);
  max-width: 480px;
  margin: 0 auto var(--space-lg);
}


/* =============================================================================
   19. PAGE-SPECIFIC: PRIVACY
   ============================================================================= */

.privacy-content {
  max-width: 760px;
  margin: 0 auto;
}

.privacy-content h2 {
  font-size: var(--text-2xl);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
}

.privacy-content h3 {
  font-size: var(--text-lg);
  color: var(--colour-accent-cyan);
  -webkit-text-fill-color: var(--colour-accent-cyan);
  margin-top: var(--space-md);
  margin-bottom: var(--space-xs);
}

.privacy-content p,
.privacy-content li {
  color: var(--colour-text-muted);
  margin-bottom: var(--space-xs);
}

.privacy-content ul {
  list-style: disc;
  padding-left: var(--space-md);
  margin-bottom: var(--space-sm);
}

.privacy-content a {
  color: var(--colour-accent-cyan);
}


/* =============================================================================
   20. MEDIA QUERIES
   ============================================================================= */

/* --- 1200px --- */
@media (max-width: 1200px) {
  :root {
    --text-5xl: 3.75rem;
    --section-pad: 70px;
  }

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

  .footer-social {
    grid-column: 1 / -1;
  }
}

/* --- 992px --- */
@media (max-width: 992px) {
  :root {
    --text-5xl: 3rem;
    --text-4xl: 2.75rem;
    --text-3xl: 2rem;
    --section-pad: 60px;
  }

  /* Nav — mobile menu */
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(13, 13, 26, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 999;
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .main-nav ul {
    flex-direction: column;
    gap: var(--space-lg);
    text-align: center;
  }

  .main-nav a {
    font-size: var(--text-2xl);
  }

  /* Hero */
  .hero {
    padding-top: var(--header-height);
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
    margin-bottom: 3rem;
  }

  .hero-image {
    order: -1;
  }

  .hero-image img {
    max-width: 100%;
    aspect-ratio: 1.6;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-content .hero-location {
    justify-content: center;
  }

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

  .about-intro,
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

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

/* --- 768px --- */
@media (max-width: 768px) {
  :root {
    --text-5xl: 2.5rem;
    --text-4xl: 3rem;
    --section-pad: 50px;
  }

  .container {
    padding: 0 var(--space-md);
  }

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

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .cta-banner .cta-contact-details {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .gallery-item img {
    aspect-ratio: 1;
  }

  .pricing-note {
    padding: 2rem;
  }

  .header-logo img {
    transform: scale(2.5);
  }
}

/* --- 480px --- */
@media (max-width: 480px) {
  :root {
    --text-5xl: 3rem;
    --text-4xl: 2.6rem;
    --text-3xl: 25rem;
    --text-2xl: 2rem;
    --section-pad: 40px;
  }

  .hero-image img {
    max-width: 100%;
    aspect-ratio: 1.2;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-actions {
    flex-direction: column;
  }

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

  .pair-images {
    grid-template-columns: 1fr 1fr;
  }

  #map {
    height: 260px;
  }
}


/*=============== SCROLL ANIMATIONS ===============*/
@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slide-left {
    from { transform: translateX(-40px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slide-right {
    from { transform: translateX(40px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slide-down {
    from { transform: translateY(-40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

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

@keyframes pulse {
    0% { scale: 1; }
    50% { scale: 1.1; }
    100% { scale: 1; }
}

@media (prefers-reduced-motion: no-preference) {

    /* FADE IN --------------------------------- */
    .fade-in { opacity: 0; }
    .is-cms .fade-in { opacity: 1; }
    .fade-in-animation { animation: fade-in 1s ease forwards; }
    .is-cms .fade-in-animation { animation: none; }

    /* SLIDE LEFT ------------------------------ */
    .slide-left { opacity: 0; }
    .is-cms .slide-left { opacity: 1; }
    .slide-left-animation { animation: slide-left 1s ease forwards; }
    .is-cms .slide-left-animation { animation: none; }

    /* SLIDE RIGHT ----------------------------- */
    .slide-right { opacity: 0; }
    .is-cms .slide-right { opacity: 1; }
    .slide-right-animation { animation: slide-right 1s ease forwards; }
    .is-cms .slide-right-animation { animation: none; }

    /* SLIDE DOWN ------------------------------ */
    .slide-down { opacity: 0; }
    .is-cms .slide-down { opacity: 1; }
    .slide-down-animation { animation: slide-down 1s ease forwards; }
    .is-cms .slide-down-animation { animation: none; }

    /* SLIDE UP -------------------------------- */
    .slide-up { opacity: 0; }
    .is-cms .slide-up { opacity: 1; }
    .slide-up-animation { animation: slide-up 1s ease forwards; }
    .is-cms .slide-up-animation { animation: none; }

    /* PULSE ----------------------------------- */
    .pulse-animation { animation: pulse 0.7s ease forwards; }
    .is-cms .pulse-animation { animation: none; }

    /* ANIMATION DELAYS ------------------------ */
    .delay-200ms  { animation-delay: 200ms;  animation-fill-mode: both; }
    .delay-300ms  { animation-delay: 300ms;  animation-fill-mode: both; }
    .delay-400ms  { animation-delay: 400ms;  animation-fill-mode: both; }
    .delay-500ms  { animation-delay: 500ms;  animation-fill-mode: both; }
    .delay-600ms  { animation-delay: 600ms;  animation-fill-mode: both; }
    .delay-700ms  { animation-delay: 700ms;  animation-fill-mode: both; }
    .delay-800ms  { animation-delay: 800ms;  animation-fill-mode: both; }
    .delay-900ms  { animation-delay: 900ms;  animation-fill-mode: both; }
    .delay-1000ms { animation-delay: 1000ms; animation-fill-mode: both; }
}