/* ============================================================
   ORYZEX — Solar Luxe Design System
   Premium landing page styles · Pure CSS3
   ============================================================ */

/* ---------- Custom Properties ---------- */
:root {
  /* Backgrounds */
  --bg-ivory: #FFF8F0;
  --bg-cream: #FFF2E6;

  /* Text */
  --text: #2A1F1A;
  --text-secondary: #6D5A54;

  /* Surfaces */
  --card: #FFFFFF;
  --border: rgba(255, 170, 120, 0.15);

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #FF6A3D 0%, #FFB347 100%);
  --grad-secondary: linear-gradient(135deg, #F857A6 0%, #FF5858 100%);
  --grad-accent: linear-gradient(135deg, #6DD5FA 0%, #2980B9 100%);
  --grad-highlight: linear-gradient(135deg, #FFE259 0%, #FFA751 100%);
  --grad-decorative: linear-gradient(135deg, #A770EF 0%, #FDB99B 100%);
  --grad-sunset: linear-gradient(135deg, #FF6A3D 0%, #FFB347 45%, #F857A6 100%);

  /* Typography */
  --font-display: "Clash Display", "Urbanist", sans-serif;
  --font-heading: "Urbanist", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;

  /* Spacing & radius */
  --radius-card: 28px;
  --radius-btn: 999px;
  --radius-nav: 100px;
  --container: min(1180px, calc(100% - 2.5rem));
  --section-pad: clamp(4.5rem, 10vw, 7.5rem);

  /* Shadows */
  --shadow-nav: 0 8px 32px rgba(42, 31, 26, 0.08), 0 2px 8px rgba(255, 106, 61, 0.06);
  --shadow-card: 0 4px 6px rgba(42, 31, 26, 0.02),
                 0 12px 24px rgba(42, 31, 26, 0.04),
                 0 24px 48px rgba(255, 106, 61, 0.08);
  --shadow-lift: 0 16px 40px rgba(42, 31, 26, 0.1),
                 0 32px 64px rgba(255, 106, 61, 0.14);
  --shadow-glow: 0 12px 40px rgba(255, 106, 61, 0.28);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --duration: 0.45s;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-ivory);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

button,
input {
  font: inherit;
  border: none;
  background: none;
  color: inherit;
}

button {
  cursor: pointer;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.75rem, 7vw, 5.25rem);
  letter-spacing: -0.03em;
}

h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
  color: var(--text-secondary);
}

:focus-visible {
  outline: 2px solid #FF6A3D;
  outline-offset: 3px;
}

.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;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: var(--text);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
}

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

.container {
  width: var(--container);
  margin-inline: auto;
}

.text-gradient {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.85rem;
  border-radius: var(--radius-btn);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease),
              background var(--duration) var(--ease),
              color var(--duration) var(--ease);
  white-space: nowrap;
}

.btn--primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: var(--shadow-glow);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(255, 106, 61, 0.4);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid rgba(255, 106, 61, 0.35);
}

.btn--ghost:hover {
  background: rgba(255, 106, 61, 0.08);
  border-color: #FF6A3D;
  transform: translateY(-2px);
}

.btn--light {
  background: #fff;
  color: #FF6A3D;
  box-shadow: 0 8px 32px rgba(42, 31, 26, 0.15);
}

.btn--light:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(42, 31, 26, 0.2);
}

.btn--block {
  width: 100%;
}

.btn--pulse {
  animation: btnPulse 2.8s ease-in-out infinite;
}

@keyframes btnPulse {
  0%, 100% { box-shadow: 0 8px 28px rgba(255, 106, 61, 0.3); }
  50% { box-shadow: 0 8px 40px rgba(255, 106, 61, 0.55); }
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: #FF6A3D;
  transition: gap var(--duration) var(--ease);
}

.text-link:hover {
  gap: 0.65rem;
}

.tag {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-btn);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255, 106, 61, 0.1);
  color: #FF6A3D;
}

/* ---------- Section Headers ---------- */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(2.75rem, 5vw, 4rem);
}

.section-eyebrow {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.85rem;
}

.section-lead {
  margin-top: 0.9rem;
  font-size: 1.05rem;
}

.section-header--light .section-eyebrow {
  background: var(--grad-highlight);
  -webkit-background-clip: text;
  background-clip: text;
}

.section-header--light h2,
.section-header--light .section-lead {
  color: #fff;
}

.section-header--light .section-lead {
  opacity: 0.85;
}

/* ---------- Fade-up (CSS animation on load / scroll-friendly) ---------- */
.fade-up {
  animation: fadeUp 0.9s var(--ease) both;
}

.services__grid .fade-up:nth-child(1) { animation-delay: 0.05s; }
.services__grid .fade-up:nth-child(2) { animation-delay: 0.1s; }
.services__grid .fade-up:nth-child(3) { animation-delay: 0.15s; }
.services__grid .fade-up:nth-child(4) { animation-delay: 0.2s; }
.services__grid .fade-up:nth-child(5) { animation-delay: 0.25s; }
.services__grid .fade-up:nth-child(6) { animation-delay: 0.3s; }

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* ============================================================
   NAVIGATION — Floating bar
   ============================================================ */
.site-header {
  position: fixed;
  top: 1.25rem;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-inline: 1rem;
  pointer-events: none;
}

.nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.55rem 0.55rem 0.55rem 1.5rem;
  background: rgba(255, 248, 240, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-nav);
  box-shadow: var(--shadow-nav);
  max-width: 920px;
  width: 100%;
}

.nav__logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  flex-shrink: 0;
}

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

.nav__links a {
  position: relative;
  padding: 0.5rem 0.85rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color var(--duration) var(--ease);
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.25rem;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration) var(--ease);
}

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

.nav__links a:hover::after {
  transform: scaleX(1);
}

.nav__cta {
  flex-shrink: 0;
  padding: 0.7rem 1.4rem;
  font-size: 0.875rem;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  margin-left: auto;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  pointer-events: auto;
  width: 100%;
  max-width: 920px;
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.25rem;
  background: rgba(255, 248, 240, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow-lift);
}

.nav-mobile[hidden] {
  display: none;
}

.nav-mobile a {
  padding: 0.85rem 1rem;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: 12px;
  transition: background 0.25s;
}

.nav-mobile a:hover {
  background: rgba(255, 106, 61, 0.08);
}

.nav-mobile .btn {
  margin-top: 0.5rem;
  text-align: center;
}

/* ============================================================
   HERO — Fullscreen cinematic
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7rem 1.5rem 5rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(255, 179, 71, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(248, 87, 166, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 90% 70%, rgba(109, 213, 250, 0.15) 0%, transparent 45%),
    linear-gradient(180deg, #FFF2E6 0%, #FFF8F0 50%, #FFE8D6 100%);
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Soft radial light bursts */
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: glowPulse 8s ease-in-out infinite;
}

.hero__glow--1 {
  width: 420px;
  height: 420px;
  top: -8%;
  right: 8%;
  background: radial-gradient(circle, rgba(255, 226, 89, 0.55) 0%, transparent 70%);
}

.hero__glow--2 {
  width: 360px;
  height: 360px;
  bottom: 5%;
  left: -5%;
  background: radial-gradient(circle, rgba(255, 106, 61, 0.35) 0%, transparent 70%);
  animation-delay: -3s;
}

.hero__glow--3 {
  width: 280px;
  height: 280px;
  top: 40%;
  left: 45%;
  background: radial-gradient(circle, rgba(248, 87, 166, 0.22) 0%, transparent 70%);
  animation-delay: -5s;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

/* Floating gradient ribbons */
.ribbon {
  position: absolute;
  border-radius: 100px;
  filter: blur(1px);
  opacity: 0.7;
  animation: ribbonFloat 12s ease-in-out infinite;
}

.ribbon--1 {
  width: 280px;
  height: 48px;
  top: 18%;
  right: 6%;
  background: var(--grad-primary);
  transform: rotate(-28deg);
  box-shadow: 0 20px 60px rgba(255, 106, 61, 0.3);
}

.ribbon--2 {
  width: 200px;
  height: 36px;
  bottom: 22%;
  left: 8%;
  background: var(--grad-secondary);
  transform: rotate(18deg);
  animation-delay: -4s;
  box-shadow: 0 16px 48px rgba(248, 87, 166, 0.25);
}

.ribbon--3 {
  width: 160px;
  height: 28px;
  top: 55%;
  right: 18%;
  background: var(--grad-decorative);
  transform: rotate(-12deg);
  animation-delay: -7s;
}

.ribbon--4 {
  width: 320px;
  height: 52px;
  top: 20%;
  left: -4%;
  background: var(--grad-highlight);
  transform: rotate(-22deg);
  opacity: 0.55;
}

.ribbon--5 {
  width: 240px;
  height: 40px;
  bottom: 25%;
  right: 5%;
  background: var(--grad-secondary);
  transform: rotate(15deg);
  opacity: 0.5;
  animation-delay: -3s;
}

@keyframes ribbonFloat {
  0%, 100% { translate: 0 0; }
  33% { translate: 12px -18px; }
  66% { translate: -10px 10px; }
}

/* Abstract arch elements */
.arch {
  position: absolute;
  border-radius: 50% 50% 0 0;
  border-bottom: none;
  opacity: 0.55;
  pointer-events: none;
}

.arch--1 {
  width: 320px;
  height: 160px;
  bottom: 8%;
  right: 12%;
  box-shadow: inset 0 0 0 3px rgba(255, 106, 61, 0.4);
}

.arch--2 {
  width: 200px;
  height: 100px;
  top: 22%;
  left: 10%;
  box-shadow: inset 0 0 0 2.5px rgba(248, 87, 166, 0.35);
  animation: ribbonFloat 14s ease-in-out infinite reverse;
}

/* Elegant curved patterns */
.curve {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 45% 55% 60% 40% / 50% 40% 60% 50%;
  border: 1.5px solid rgba(255, 170, 120, 0.25);
  animation: curveSpin 40s linear infinite;
}

.curve--1 {
  top: -10%;
  left: -8%;
}

.curve--2 {
  bottom: -15%;
  right: -10%;
  width: 380px;
  height: 380px;
  border-color: rgba(248, 87, 166, 0.15);
  animation-direction: reverse;
  animation-duration: 50s;
}

@keyframes curveSpin {
  to { transform: rotate(360deg); }
}

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

.hero__brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.25rem, 9vw, 6.5rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  background: var(--grad-sunset);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.85rem;
  animation: shimmerText 4s ease-in-out infinite;
  background-size: 200% auto;
}

@keyframes shimmerText {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.hero__tagline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1.35rem;
  line-height: 1.3;
}

.hero__subtitle {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  max-width: 540px;
  margin: 0 auto 2.25rem;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-secondary);
  z-index: 2;
}

.hero__scroll-line {
  width: 1.5px;
  height: 40px;
  background: var(--grad-primary);
  border-radius: 2px;
  animation: scrollLine 1.8s ease-in-out infinite;
  transform-origin: top;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); opacity: 0; }
  40% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* Curved divider */
.divider {
  line-height: 0;
  margin-top: -1px;
}

.divider svg {
  width: 100%;
  height: 60px;
  fill: var(--bg-cream);
}

.divider--wave {
  background: transparent;
}

/* ============================================================
   VISION STATEMENT
   ============================================================ */
.vision {
  padding: var(--section-pad) 0;
  background: var(--bg-cream);
}

.vision__inner {
  max-width: 820px;
  text-align: center;
}

.vision__label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #FF6A3D;
  margin-bottom: 1.5rem;
}

.vision h2 {
  margin-bottom: 1.5rem;
}

.vision__text {
  font-size: 1.1rem;
  max-width: 620px;
  margin-inline: auto;
}

/* ============================================================
   CORE SERVICES — 3D layered cards
   ============================================================ */
.services {
  padding: var(--section-pad) 0;
  background:
    radial-gradient(ellipse 50% 40% at 10% 20%, rgba(255, 179, 71, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 40% 30% at 90% 80%, rgba(167, 112, 239, 0.08) 0%, transparent 50%),
    var(--bg-ivory);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 2rem 1.75rem 2.1rem;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}

/* Animated top border */
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-primary);
  background-size: 200% 100%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration) var(--ease);
  animation: borderShimmer 3s linear infinite;
  animation-play-state: paused;
}

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

.service-card:hover::before {
  transform: scaleX(1);
  animation-play-state: running;
}

@keyframes borderShimmer {
  0% { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}

.service-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 1.35rem;
  background: var(--icon-grad, var(--grad-primary));
  color: #fff;
  box-shadow: 0 8px 24px rgba(255, 106, 61, 0.25);
}

.service-card__icon svg {
  width: 28px;
  height: 28px;
}

.service-card h3 {
  margin-bottom: 0.65rem;
}

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

/* ============================================================
   FEATURE GALLERY — Offset masonry
   ============================================================ */
.gallery {
  position: relative;
  padding: var(--section-pad) 0;
  background:
    linear-gradient(160deg, #2A1F1A 0%, #3D2A22 40%, #4A2C28 100%);
  overflow: hidden;
}

.gallery::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 80% 10%, rgba(255, 106, 61, 0.25) 0%, transparent 50%),
    radial-gradient(ellipse 40% 35% at 10% 90%, rgba(248, 87, 166, 0.18) 0%, transparent 50%);
  pointer-events: none;
}

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

.gallery__masonry {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 160px;
  gap: 1.25rem;
}

.gallery-card {
  position: relative;
  grid-column: span 4;
  grid-row: span 2;
  border-radius: var(--radius-card);
  overflow: hidden;
  cursor: pointer;
}

.gallery-card--tall {
  grid-row: span 3;
}

.gallery-card--wide {
  grid-column: span 8;
}

.gallery-card--offset {
  grid-column: span 4;
  transform: translateY(1.5rem);
}

.gallery-card__media {
  position: absolute;
  inset: 0;
  background: var(--ph, var(--grad-primary));
  transition: transform 0.7s var(--ease);
}

/* Subtle pattern overlay on placeholders */
.gallery-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.2) 0%, transparent 40%),
    radial-gradient(circle at 70% 70%, rgba(0, 0, 0, 0.15) 0%, transparent 45%);
  opacity: 0.8;
}

.gallery-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  background: linear-gradient(180deg, transparent 30%, rgba(42, 31, 26, 0.75) 100%);
  color: #fff;
  z-index: 1;
}

.gallery-card__overlay h3 {
  transform: translateY(12px);
  opacity: 0.9;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
  color: #fff;
}

.gallery-card__overlay p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  margin-top: 0.35rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease), opacity 0.5s var(--ease), margin 0.5s var(--ease);
}

.gallery-card__fab {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #FF6A3D;
  font-size: 1.25rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(-8px) scale(0.9);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.gallery-card:hover .gallery-card__media {
  transform: scale(1.08);
}

.gallery-card:hover .gallery-card__overlay h3 {
  transform: translateY(0);
  opacity: 1;
}

.gallery-card:hover .gallery-card__overlay p {
  max-height: 60px;
  opacity: 1;
  margin-top: 0.4rem;
}

.gallery-card:hover .gallery-card__fab {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ============================================================
   SUCCESS METRICS
   ============================================================ */
.metrics {
  padding: var(--section-pad) 0;
  background: var(--bg-cream);
}

.metrics__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.metric-panel {
  position: relative;
  border-radius: var(--radius-card);
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.metric-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.25) 0%, transparent 50%);
  pointer-events: none;
}

.metric-panel:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lift);
}

.metric-panel--1 { background: var(--grad-primary); }
.metric-panel--2 { background: var(--grad-secondary); }
.metric-panel--3 { background: var(--grad-accent); }
.metric-panel--4 { background: var(--grad-decorative); }

.metric-panel__value {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.35rem;
  position: relative;
}

.metric-panel__label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  opacity: 0.9;
  position: relative;
}

/* ============================================================
   FEATURED PROJECTS
   ============================================================ */
.projects {
  padding: var(--section-pad) 0;
  background:
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(255, 179, 71, 0.15) 0%, transparent 50%),
    var(--bg-ivory);
}

.project-showcase {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0;
  border-radius: calc(var(--radius-card) + 4px);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  margin-bottom: 1.5rem;
  transition: box-shadow var(--duration) var(--ease);
}

.project-showcase:hover {
  box-shadow: var(--shadow-lift);
}

.project-showcase__media {
  min-height: 360px;
  background: var(--ph, var(--grad-primary));
  position: relative;
  transition: transform 0.7s var(--ease);
}

.project-showcase__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 40% 35%, rgba(255, 255, 255, 0.25) 0%, transparent 45%),
    linear-gradient(135deg, transparent 40%, rgba(0, 0, 0, 0.12) 100%);
}

.project-showcase:hover .project-showcase__media {
  transform: scale(1.03);
}

.project-showcase__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 4vw, 3rem);
  gap: 0.85rem;
}

.project-showcase__body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.projects__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.project-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lift);
}

.project-card__media {
  height: 180px;
  background: var(--ph, var(--grad-primary));
  position: relative;
  transition: transform 0.6s var(--ease);
}

.project-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
}

.project-card:hover .project-card__media {
  transform: scale(1.06);
}

.project-card__body {
  padding: 1.35rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.project-card__body p {
  font-size: 0.9rem;
}

/* ============================================================
   CLIENT VOICES
   ============================================================ */
.testimonials {
  padding: var(--section-pad) 0;
  background: var(--bg-cream);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 2rem 1.75rem 1.85rem;
  box-shadow: var(--shadow-card);
  transition: transform var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(255, 106, 61, 0.18),
              0 8px 24px rgba(255, 179, 71, 0.12);
}

.testimonial-card__quote {
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 0.6;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.5;
  margin-bottom: 0.5rem;
}

.testimonial-card__stars {
  color: #FFA751;
  letter-spacing: 0.15em;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.testimonial-card > p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
  color: var(--text-secondary);
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--av, var(--grad-primary));
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(255, 106, 61, 0.25);
}

.testimonial-card__author cite {
  display: block;
  font-style: normal;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
}

.testimonial-card__author span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 0.15rem;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing {
  padding: var(--section-pad) 0;
  background:
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(255, 106, 61, 0.1) 0%, transparent 55%),
    var(--bg-ivory);
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.price-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 2.25rem 1.85rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}

.price-card h3 {
  font-family: var(--font-display);
  margin-bottom: 0.5rem;
}

.price-card__desc {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.price-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.price-card__price span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.5rem;
  letter-spacing: -0.03em;
  color: var(--text);
}

.price-card__price small {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.price-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex: 1;
}

.price-card li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--grad-primary);
}

/* Featured / Recommended plan */
.price-card--featured {
  background: #fff;
  border: 2px solid transparent;
  background-image:
    linear-gradient(#fff, #fff),
    var(--grad-primary);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: var(--shadow-lift), 0 0 0 1px rgba(255, 106, 61, 0.1);
  transform: scale(1.04);
  z-index: 1;
  overflow: hidden;
}

.price-card--featured:hover {
  transform: scale(1.04) translateY(-6px);
}

.price-card__ribbon {
  position: absolute;
  top: 1.25rem;
  right: -2.1rem;
  width: 140px;
  padding: 0.35rem 0;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--grad-primary);
  transform: rotate(45deg);
  box-shadow: 0 4px 12px rgba(255, 106, 61, 0.35);
}

.price-card__shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.45) 50%,
    transparent 60%
  );
  animation: shineSweep 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shineSweep {
  0%, 40% { left: -100%; }
  70%, 100% { left: 150%; }
}

/* ============================================================
   FINAL SHOWCASE BANNER
   ============================================================ */
.cta-banner {
  position: relative;
  padding: clamp(5rem, 12vw, 8rem) 1.5rem;
  overflow: hidden;
  text-align: center;
  background:
    linear-gradient(135deg, #FF6A3D 0%, #FFB347 40%, #F857A6 100%);
  background-size: 200% 200%;
  animation: sunsetShift 10s ease-in-out infinite;
}

@keyframes sunsetShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.cta-banner__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.cta-banner__glow {
  position: absolute;
  width: 500px;
  height: 500px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 60%);
  animation: glowPulse 6s ease-in-out infinite;
}

.cta-banner__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin-inline: auto;
}

.cta-banner h2 {
  color: #fff;
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  margin-bottom: 2rem;
  text-shadow: 0 4px 24px rgba(42, 31, 26, 0.15);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: clamp(3.5rem, 7vw, 5rem) 0 2rem;
  background: #2A1F1A;
  color: rgba(255, 248, 240, 0.75);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 170, 120, 0.12);
}

.footer__logo {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
}

.footer__brand > p {
  color: rgba(255, 248, 240, 0.55);
  font-size: 0.95rem;
  max-width: 300px;
  margin-bottom: 1.5rem;
}

.newsletter {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  max-width: 360px;
}

.newsletter input {
  flex: 1;
  padding: 0.8rem 1.15rem;
  border-radius: var(--radius-btn);
  background: rgba(255, 248, 240, 0.08);
  border: 1px solid rgba(255, 170, 120, 0.2);
  color: #FFF8F0;
  min-width: 0;
}

.newsletter input::placeholder {
  color: rgba(255, 248, 240, 0.4);
}

.newsletter input:focus {
  outline: none;
  border-color: #FF6A3D;
  box-shadow: 0 0 0 3px rgba(255, 106, 61, 0.25);
}

.newsletter .btn {
  padding: 0.8rem 1.25rem;
  font-size: 0.85rem;
}

.social {
  display: flex;
  gap: 0.65rem;
}

.social__icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--sg, var(--grad-primary));
  color: #fff;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.social__icon svg {
  width: 18px;
  height: 18px;
}

.social__icon:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 8px 20px rgba(255, 106, 61, 0.35);
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.footer__col h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FFF8F0;
  margin-bottom: 1.15rem;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer__col a,
.footer__col span {
  font-size: 0.9rem;
  color: rgba(255, 248, 240, 0.5);
  transition: color 0.25s;
}

.footer__col a:hover {
  color: #FFB347;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.75rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__bottom p {
  font-size: 0.85rem;
  color: rgba(255, 248, 240, 0.4);
}

.footer__legal {
  display: flex;
  gap: 1.5rem;
}

.footer__legal a {
  font-size: 0.85rem;
  color: rgba(255, 248, 240, 0.4);
  transition: color 0.25s;
}

.footer__legal a:hover {
  color: #FFB347;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .gallery__masonry {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 140px;
  }

  .gallery-card {
    grid-column: span 3;
  }

  .gallery-card--wide {
    grid-column: span 6;
  }

  .gallery-card--offset {
    transform: none;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

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

  .nav__cta {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  .nav {
    padding: 0.55rem 0.75rem 0.55rem 1.25rem;
    max-width: 100%;
  }

  .project-showcase {
    grid-template-columns: 1fr;
  }

  .project-showcase__media {
    min-height: 240px;
  }

  .pricing__grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }

  .price-card--featured {
    transform: none;
    order: -1;
  }

  .price-card--featured:hover {
    transform: translateY(-6px);
  }

  .testimonials__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }

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

@media (max-width: 600px) {
  :root {
    --container: min(100%, calc(100% - 1.5rem));
  }

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

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

  .metrics__grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
  }

  .metric-panel {
    padding: 1.75rem 1rem;
  }

  .gallery__masonry {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }

  .gallery-card,
  .gallery-card--tall,
  .gallery-card--wide,
  .gallery-card--offset {
    grid-column: span 1;
    grid-row: span 1;
  }

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

  .hero__actions .btn {
    width: 100%;
  }

  .newsletter {
    flex-direction: column;
  }

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

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

  .ribbon--1,
  .ribbon--2,
  .arch--1 {
    display: none;
  }
}
