/* =========================================================
   BRIDGE DIGITAL
   Clean production stylesheet
   ========================================================= */

/* ---------- DESIGN TOKENS ---------- */

:root {
  --maroon: #4b1720;
  --maroon-mid: #3b1118;
  --maroon-dark: #26090e;
  --maroon-deep: #190609;

  --gold: #c99c4c;
  --gold-light: #d9b66f;
  --cream: #f6ead3;
  --white: #fffaf0;
  --paper: #fffdf8;

  --ink: #2b0d13;
  --muted: #70645d;

  --border-light: rgba(75, 23, 32, 0.12);
  --border-dark: rgba(255, 255, 255, 0.12);

  --shadow-soft: 0 14px 36px rgba(43, 13, 19, 0.10);
  --shadow-card: 0 24px 60px rgba(26, 5, 9, 0.22);

  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --content: 1180px;
  --wide: 1600px;

  --transition: 220ms ease;
}


/* ---------- RESET / BASE ---------- */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, Arial, Helvetica, sans-serif;
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

section {
  max-width: var(--content);
  margin: 0 auto;
  padding: 96px 24px;
}

.section-title {
  max-width: 800px;
  margin: 0 auto 18px;
  text-align: center;
  font-size: clamp(2.1rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.section-intro {
  max-width: 720px;
  margin: 0 auto 48px;
  color: var(--muted);
  text-align: center;
  font-size: 1.08rem;
  line-height: 1.75;
}


/* =========================================================
   HEADER + HERO
   ========================================================= */

header {
  min-height: 100vh;
  color: var(--white);
  background:
    radial-gradient(circle at 56% 34%, rgba(107, 36, 48, 0.30), transparent 42%),
    radial-gradient(circle at 20% 70%, rgba(89, 24, 34, 0.18), transparent 38%),
    linear-gradient(135deg, #2a0b10 0%, #351015 48%, #22080c 100%);
}

header nav {
  position: relative;
  width: min(100%, var(--wide));
  min-height: 155px;
  margin: 0 auto;
  padding: 0 58px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* ---------- MOBILE MENU BUTTON ---------- */

.mobile-menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 10px;

  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;

  background: transparent;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;

  border-radius: 999px;
  background: var(--white);

  transition: transform 220ms ease, opacity 220ms ease;
}

header nav::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100vw;
  height: 1px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.10);
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.logo img {
  display: block;
  width: 290px !important;
  height: auto !important;
  max-width: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 56px;
}

.nav-links a {
  position: relative;
  color: var(--white);
  text-decoration: none;
  font-size: 1.08rem;
  font-weight: 800;
  opacity: 0.96;
  transition: color var(--transition), opacity var(--transition);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: var(--radius-pill);
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition);
}

.nav-links a:hover {
  color: var(--gold-light);
  opacity: 1;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}


/* ---------- HERO ---------- */

.hero {
  width: min(100%, var(--wide));
  min-height: calc(100vh - 155px);
  margin: 0 auto;
  padding: 70px 58px 90px;

  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 88px;
  align-items: center;
}

.hero-text {
  text-align: left;
}

.hero h1 {
  max-width: 670px;
  margin: 0 0 28px;
  color: var(--white);
  font-size: clamp(4rem, 5.1vw, 6rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.hero p {
  max-width: 650px;
  margin: 0 0 40px;
  color: rgba(255, 250, 240, 0.92);
  font-size: 1.18rem;
  font-weight: 500;
  line-height: 1.8;
}

.hero-text .btn + .btn {
  margin-left: 16px;
}


/* ---------- HERO BROWSER CARD ---------- */

.hero-card {
  width: 100%;
  max-width: 760px;
  margin: 0;
  padding: 0;
  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 24px;

  background: rgba(255, 255, 255, 0.025);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.hero-card:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 182, 111, 0.36);
  box-shadow: 0 38px 90px rgba(0, 0, 0, 0.35);
}

.browser-bar {
  height: 58px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.015);
}

.browser-bar span {
  width: 16px;
  height: 16px;
  border-radius: 50%;
}

.browser-bar span:nth-child(1) { background: #ff5f57; }
.browser-bar span:nth-child(2) { background: #febc2e; }
.browser-bar span:nth-child(3) { background: #28c840; }

.hero-card-content {
  position: relative;
  min-height: 500px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  background:
    radial-gradient(circle at center, rgba(91, 31, 39, 0.23), transparent 64%),
    rgba(18, 4, 8, 0.25);
}

.hero-card img {
  display: block;
  width: 100%;
  max-height: 390px;
  object-fit: contain;
  padding: 48px 58px 20px;

  transition: transform 0.35s ease;
}

.hero-location {
  margin-top: 14px;

  color: var(--gold-light);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.3em;
  text-transform: uppercase;

  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);

  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    visibility 0.35s ease;
}

.hero-card:hover .hero-location {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hero-card:hover .hero-card-content img {
  transform: translateY(-4px);
}


/* =========================================================
   BUTTONS
   ========================================================= */

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

  min-width: 220px;
  padding: 17px 32px;

  border: 2px solid transparent;
  border-radius: var(--radius-pill);

  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1;

  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition),
    color var(--transition),
    border-color var(--transition);
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  border-color: var(--gold-light);
  background: linear-gradient(135deg, #dbb96f, #c99a4d);
  color: var(--maroon-dark);
  box-shadow: 0 12px 28px rgba(196, 154, 74, 0.16);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #e5c57e, #cf9f4f);
  box-shadow: 0 16px 34px rgba(196, 154, 74, 0.26);
}

.btn-secondary {
  border-color: rgba(255, 250, 240, 0.95);
  background: transparent;
  color: var(--white);
}

.btn-secondary:hover {
  border-color: var(--gold-light);
  background: rgba(255, 255, 255, 0.06);
  color: var(--gold-light);
}


/* =========================================================
   SERVICES
   ========================================================= */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.service-card {
  position: relative;
  min-height: 245px;
  overflow: hidden;
  padding: 32px;

  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);

  background: var(--paper);
  box-shadow: var(--shadow-soft);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  right: -52px;
  bottom: -62px;
  width: 145px;
  height: 145px;
  border-radius: 50%;
  background: rgba(201, 156, 76, 0.11);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 156, 76, 0.42);
  box-shadow: 0 20px 42px rgba(43, 13, 19, 0.14);
}

.service-card:hover::after {
  transform: scale(1.2);
}

.service-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;

  border-radius: 16px;
  background: var(--maroon);
  font-size: 1.5rem;

  box-shadow: 0 8px 20px rgba(43, 13, 19, 0.20);
}

.service-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 1.35rem;
}

.service-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
}


/* =========================================================
   PACKAGES
   ========================================================= */

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.package-card {
  display: flex;
  flex-direction: column;
}

.package-card .package-button {
  margin-top: auto;
  align-self: flex-start;
}

.card {
  height: 100%;
  padding: 32px;

  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);

  background: var(--paper);
  box-shadow: var(--shadow-soft);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 156, 76, 0.40);
  box-shadow: 0 22px 46px rgba(43, 13, 19, 0.14);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.45rem;
  letter-spacing: -0.025em;
}

.card p {
  color: var(--muted);
}

.package-features {
  margin: 22px 0 28px;
  padding: 0;

  list-style: none;
}

.package-features li {
  position: relative;
  margin-bottom: 11px;
  padding-left: 28px;

  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.package-features li::before {
  content: "✓";

  position: absolute;
  left: 0;
  top: 0;

  color: var(--gold);
  font-weight: 900;
}

.card strong,
.package-price strong {
  color: var(--maroon);
  font-size: 1.35rem;
}

.package-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  padding: 13px 20px;

  border: 1px solid var(--maroon);
  border-radius: var(--radius-pill);

  background: var(--maroon);
  color: var(--white);

  text-decoration: none;
  font-weight: 900;

  transition:
    transform var(--transition),
    background var(--transition),
    color var(--transition);
}

.package-button:hover {
  transform: translateY(-2px);
  background: var(--gold);
  color: var(--maroon-dark);
}


/* =========================================================
   BRIDGE TENDING
   ========================================================= */

.bridge-tending {
  max-width: none;
  padding-right: max(24px, calc((100vw - var(--content)) / 2));
  padding-left: max(24px, calc((100vw - var(--content)) / 2));
  background: var(--paper);
}

.tending-header {
  margin-bottom: 42px;
}

.tending-eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tending-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;

  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);

  background: var(--cream);
  box-shadow: 0 22px 55px rgba(43, 13, 19, 0.12);
}

.tending-main {
  padding: 42px;
}

.tending-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.tending-label {
  margin: 0 0 4px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.tending-title-row h3 {
  margin: 0;
  color: var(--ink);
  font-size: 2rem;
  line-height: 1.1;
}

.tending-price {
  flex-shrink: 0;
  text-align: right;
}

.tending-price strong {
  display: block;
  color: var(--maroon);
  font-size: 2.3rem;
  line-height: 1;
}

.tending-price span {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.tending-description {
  max-width: 620px;
  margin: 26px 0;
  color: var(--muted);
}

.tending-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
}

.tending-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
}

.tending-feature span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  flex-shrink: 0;

  border-radius: 50%;
  background: var(--maroon);
  color: var(--gold-light);

  font-size: 0.75rem;
  font-weight: 900;
}

.tending-offer {
  padding: 42px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  background:
    radial-gradient(circle at top right, rgba(201, 156, 76, 0.22), transparent 45%),
    linear-gradient(135deg, var(--maroon), var(--maroon-dark));

  color: var(--white);
}

.offer-badge {
  align-self: flex-start;
  margin: 0 0 18px;
  padding: 7px 12px;

  border: 1px solid rgba(217, 182, 111, 0.40);
  border-radius: var(--radius-pill);

  background: rgba(255, 255, 255, 0.06);
  color: var(--gold-light);

  font-size: 0.70rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.tending-offer h3 {
  margin: 0 0 14px;
  font-size: 1.8rem;
  line-height: 1.15;
}

.tending-offer p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}

.tending-offer p strong {
  color: var(--gold-light);
}

.tending-button {
  align-self: flex-start;
  margin: 0 0 18px;
}

.tending-offer small {
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.5;
}


/* =========================================================
   PORTFOLIO
   ========================================================= */

.portfolio {
  max-width: none;
  padding-right: max(24px, calc((100vw - var(--content)) / 2));
  padding-left: max(24px, calc((100vw - var(--content)) / 2));
  background: var(--maroon);
  color: var(--white);
}

.portfolio .section-intro {
  color: rgba(255, 255, 255, 0.72);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  align-items: stretch;
}

.portfolio-preview {
  min-width: 0;
  overflow: hidden;

  display: flex;
  flex-direction: column;

  border: 1px solid var(--border-dark);
  border-radius: 22px;

  background: #5a1d28;
  box-shadow: 0 18px 45px rgba(20, 4, 8, 0.30);

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.portfolio-preview:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 182, 111, 0.32);
  box-shadow: 0 28px 58px rgba(20, 4, 8, 0.45);
}

.portfolio-browser {
  overflow: hidden;
  background: #321017;
}

.portfolio-browser-bar {
  height: 46px;
  padding: 0 14px;

  display: flex;
  align-items: center;
  gap: 12px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: #321017;
}

.browser-dots {
  display: flex;
  flex-shrink: 0;
  gap: 7px;
}

.browser-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  opacity: 0.9;
}

.browser-dots span:nth-child(1) { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #febc2e; }
.browser-dots span:nth-child(3) { background: #28c840; }

.browser-address {
  flex: 1;
  height: 30px;

  display: flex;
  justify-content: center;
  align-items: center;

  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);

  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.75);

  font-size: 0.74rem;
  font-weight: 500;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.portfolio-frame {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  background: var(--paper);
}

.preview-scroll {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.preview-scroll iframe {
  position: absolute;
  top: var(--preview-top, 0px);
  left: 50%;

  width: 1440px;
  height: 1200px;

  border: 0;

  transform:
    translateX(var(--preview-x, -50%))
    scale(var(--preview-scale, 0.285));

  transform-origin: top center;

  transition:
    transform 0.45s ease,
    filter 0.45s ease;
}

.portfolio-frame:hover .preview-scroll iframe {
  transform:
    translateX(var(--preview-x, -50%))
    scale(calc(var(--preview-scale, 0.285) + 0.012));

  filter: brightness(0.72);
}

.preview-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;

  background: rgba(43, 13, 19, 0.78);
  color: var(--white);

  text-align: center;
  text-decoration: none;

  opacity: 0;
  visibility: hidden;

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.preview-overlay::before,
.preview-overlay::after {
  content: "";
  width: 72px;
  height: 1px;
  margin: 8px 0;
  background: rgba(217, 182, 111, 0.70);
}

.preview-overlay-label {
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.preview-overlay strong {
  font-size: 1rem;
}

.portfolio-frame:hover .preview-overlay,
.preview-overlay:focus-visible {
  opacity: 1;
  visibility: visible;
}


/* ---------- INDIVIDUAL PREVIEW POSITIONING ---------- */

.paradise-frame {
  --preview-scale: 0.285;
  --preview-top: -20px;
  --preview-x: -50%;
}

.command-center-frame {
  --preview-scale: 0.35;
  --preview-top: 0px;
  --preview-x: -50%;
}

.valley-frame {
  --preview-scale: 0.46;
  --preview-top: -10px;
  --preview-x: -48%;
}


/* ---------- PORTFOLIO DETAILS ---------- */

.portfolio-preview-content {
  min-height: 170px;
  padding: 22px;

  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 18px;
}

.portfolio-preview-content > div {
  min-width: 0;
  height: 100%;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.portfolio-preview-content h3 {
  min-height: 60px;
  margin: 0;

  display: flex;
  align-items: flex-start;

  color: var(--white);
  font-size: 1.2rem;
  line-height: 1.25;
}

.portfolio-label {
  margin: 0 0 4px;
  color: var(--gold-light) !important;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.portfolio-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.portfolio-tech span {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;

  border: 1px solid rgba(217, 182, 111, 0.22);
  border-radius: var(--radius-pill);

  background: rgba(255, 255, 255, 0.06);
  color: var(--gold-light);

  font-size: 0.70rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.portfolio-link {
  align-self: end;
  justify-self: end;
  flex-shrink: 0;
  padding-bottom: 3px;

  color: var(--white);
  font-size: 0.85rem;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;

  transition:
    color var(--transition),
    transform var(--transition);
}

.portfolio-link:hover {
  color: var(--gold-light);
}

a.portfolio-link:hover {
  transform: translateX(4px);
}

.portfolio-link-disabled {
  opacity: 0.65;
  cursor: default;
}


/* ---------- PRIVATE PROJECT PLACEHOLDER ---------- */

.portfolio-placeholder {
  display: grid;
  place-items: center;
  padding: 28px;

  background:
    radial-gradient(circle at top right, rgba(201, 156, 76, 0.20), transparent 45%),
    linear-gradient(135deg, var(--maroon), var(--maroon-dark));

  color: var(--white);
  text-align: center;
}

.placeholder-content {
  max-width: 250px;
}

.placeholder-content span {
  display: inline-block;
  margin-bottom: 12px;

  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.placeholder-content h4 {
  margin: 0 0 8px;
  font-size: 2rem;
}

.placeholder-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.portfolio-note {
  max-width: 620px;
  margin: 48px auto 0;

  color: rgba(255, 255, 255, 0.72);
  text-align: center;

  font-size: 0.95rem;
  font-style: italic;
  letter-spacing: 0.02em;
}

/* =========================================================
   CONTACT
   ========================================================= */

#contact {
  max-width: none;

  padding-right: max(
    24px,
    calc((100vw - var(--content)) / 2)
  );

  padding-left: max(
    24px,
    calc((100vw - var(--content)) / 2)
  );

  background: var(--cream);
}


.contact-panel {
  overflow: hidden;

  display: grid;
  grid-template-columns: 0.9fr 1.1fr;

  border-radius: 32px;

  background:
    radial-gradient(
      circle at 15% 10%,
      rgba(201, 156, 76, 0.15),
      transparent 35%
    ),
    linear-gradient(
      135deg,
      var(--maroon),
      var(--maroon-dark)
    );

  box-shadow:
    0 28px 70px rgba(43, 13, 19, 0.20);
}


/* LEFT SIDE */

.contact-copy {
  padding: 64px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  color: var(--white);
}


.contact-eyebrow {
  margin: 0 0 16px;

  color: var(--gold-light);

  font-size: 0.75rem;
  font-weight: 900;

  letter-spacing: 0.16em;

  text-transform: uppercase;
}


.contact-copy h2 {
  margin: 0 0 24px;

  font-size: clamp(
    2.8rem,
    5vw,
    4.6rem
  );

  line-height: 0.98;

  letter-spacing: -0.055em;
}


.contact-copy > p:not(.contact-eyebrow) {
  max-width: 500px;

  margin: 0 0 36px;

  color: rgba(
    255,
    255,
    255,
    0.76
  );

  font-size: 1.05rem;

  line-height: 1.75;
}


.contact-email {
  display: flex;
  flex-direction: column;

  gap: 3px;
}


.contact-email span {
  color: rgba(
    255,
    255,
    255,
    0.55
  );

  font-size: 0.78rem;

  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: 0.08em;
}


.contact-email a {
  color: var(--gold-light);

  font-weight: 900;

  text-decoration: none;
}


.contact-email a:hover {
  text-decoration: underline;
}


/* RIGHT SIDE */

.contact-form-card {
  margin: 14px;

  padding: 42px;

  border-radius: 24px;

  background: var(--paper);

  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.18);
}


.project-form {
  display: flex;
  flex-direction: column;

  gap: 20px;
}


.form-row {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 18px;
}


.form-group {
  display: flex;
  flex-direction: column;

  gap: 7px;
}


.form-group label {
  color: var(--maroon-dark);

  font-size: 0.78rem;
  font-weight: 900;

  letter-spacing: 0.03em;
}


.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;

  padding: 14px 16px;

  border:
    1px solid rgba(75, 23, 32, 0.16);

  border-radius: 12px;

  outline: none;

  background: #fffaf4;

  color: var(--ink);

  font: inherit;

  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    background var(--transition);
}


.form-group textarea {
  resize: vertical;

  min-height: 130px;
}


.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);

  background: white;

  box-shadow:
    0 0 0 4px rgba(201, 156, 76, 0.12);
}


.project-submit {
  width: 100%;

  margin-top: 4px;

  padding: 16px 24px;

  border: 0;

  border-radius: 999px;

  background:
    linear-gradient(
      135deg,
      var(--maroon),
      var(--maroon-dark)
    );

  color: var(--white);

  font: inherit;

  font-weight: 900;

  cursor: pointer;

  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition);
}


.project-submit:hover {
  transform: translateY(-2px);

  background:
    linear-gradient(
      135deg,
      #5a1b26,
      var(--maroon-dark)
    );

  box-shadow:
    0 14px 28px rgba(43, 13, 19, 0.18);
}


.form-note {
  margin: -4px 0 0;

  color: var(--muted);

  text-align: center;

  font-size: 0.78rem;
}


/* CONTACT MOBILE */

@media (max-width: 850px) {

  /* ---------- MOBILE NAV ---------- */

  header nav {
    padding: 20px 24px;

    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;

    gap: 0;
  }

  .logo img {
    width: 200px !important;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;

    width: 100%;
    padding: 28px 0 12px;

    flex-direction: column;
    align-items: center;
    gap: 22px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .social-links {
    display: none !important;

    width: 100%;
    margin: 18px 0 4px;

    justify-content: center;
  }

  header nav.menu-open .social-links {
    display: flex !important;
  }


  /* ---------- CONTACT ---------- */

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

  .contact-copy {
    padding: 48px 32px;
  }

  .contact-form-card {
    margin: 0 14px 14px;
    padding: 32px 26px;
  }

}
  
@media (max-width: 560px) {

  .contact-copy {
    padding: 40px 24px;
  }


  .contact-copy h2 {
    font-size: 2.8rem;
  }


  .contact-form-card {
    padding: 26px 20px;
  }


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

}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
  padding: 32px 24px;

  border-top: 1px solid rgba(75, 23, 32, 0.15);

  background: var(--cream);
  color: var(--muted);

  text-align: center;
  font-size: 0.92rem;
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {

  header nav {
    padding-left: 32px;
    padding-right: 32px;
  }

  .logo img {
    width: 240px !important;
  }

  .nav-links {
    gap: 30px;
  }

  .hero {
    padding-left: 32px;
    padding-right: 32px;
    gap: 48px;
  }

  .hero h1 {
    font-size: clamp(3.5rem, 6vw, 5.2rem);
  }
}

@media (max-width: 850px) {

  header {
    min-height: auto;
  }

  .nav-links a {
    font-size: 0.95rem;
  }

  .hero {
    min-height: auto;
    padding: 72px 24px 84px;

    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .hero h1 {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;

    font-size: clamp(3.1rem, 11vw, 5rem);
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-text .btn + .btn {
    margin-left: 12px;
  }

  .hero-card {
    max-width: 720px;
    margin: 0 auto;
  }

  .hero-card img {
    min-height: 410px;
  }

  section {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .services-grid,
  .cards,
  .portfolio-grid,
  .tending-card {
    grid-template-columns: 1fr;
  }

  .tending-main,
  .tending-offer {
    padding: 32px 26px;
  }

  .portfolio-frame {
    height: 350px;
  }
}


@media (max-width: 560px) {

  header nav {
    padding: 20px 18px;
  }

  .logo img {
    width: 205px !important;
  }

  .hero {
    padding: 58px 18px 70px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 14vw, 4rem);
  }

  .hero p {
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero-text .btn {
    width: 100%;
    max-width: 320px;
  }

  .hero-text .btn + .btn {
    margin-top: 12px;
    margin-left: 0;
  }

  .browser-bar {
    height: 48px;
    padding: 0 18px;
  }

  .browser-bar span {
    width: 12px;
    height: 12px;
  }

  .hero-card img {
    min-height: 300px;
    padding: 30px 24px;
  }

  section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .service-card,
  .card {
    padding: 26px;
  }

  .tending-title-row {
    flex-direction: column;
  }

  .tending-price {
    text-align: left;
  }

  .tending-features {
    grid-template-columns: 1fr;
  }

  .portfolio-frame {
    height: 300px;
  }

  .portfolio-preview-content {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .portfolio-link {
    justify-self: start;
    margin-top: 6px;
  }

  .cta {
    padding: 48px 22px;
  }
}


/* ---------- REDUCED MOTION ---------- */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.success-icon {
  width: 64px;
  height: 64px;

  display: grid;
  place-items: center;

  margin: 0 auto 22px;

  border-radius: 50%;

  background: var(--maroon);
  color: var(--gold-light);

  font-size: 1.8rem;
  font-weight: 900;
}

.form-success h3 {
  margin: 0 0 12px;

  color: var(--maroon-dark);

  font-size: 2rem;
}

.form-success p {
  max-width: 420px;

  margin: 0 auto;

  color: var(--muted);

  line-height: 1.7;
}

.form-error {
  margin: 4px 0 0;
  padding: 12px 14px;

  border-radius: 10px;

  background: rgba(159, 29, 32, 0.08);
  color: #9f1d20;

  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
}

.form-error[hidden] {
  display: none !important;
}

.form-success[hidden] {
  display: none !important;
}

.project-form.is-hidden {
  display: none;
}

.form-success {
  min-height: 520px;
  padding: 70px 34px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;
}

.success-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-top: 28px;
  padding: 14px 24px;

  border-radius: 999px;

  background: var(--maroon);
  color: var(--white);

  text-decoration: none;
  font-weight: 900;
}

.success-back:hover {
  background: var(--gold);
  color: var(--maroon-dark);
}

.social-links {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 8px;
}

.social-links a {
  width: 34px;
  height: 34px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;

  transition: 0.2s ease;
}

.social-links svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.social-links a:hover {
  transform: translateY(-2px);
  color: var(--gold-light);
  border-color: var(--gold-light);
  background: rgba(217, 182, 111, 0.08);
}


/* ---------- MOBILE MENU OPEN STATE ---------- */

.mobile-menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.mobile-menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================
   LOCAL HERO TAGLINE
========================= */

.local-hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 0.88;
}

.local-hero span {
  display: block;
}

.hero-websites {
  margin-bottom: 0.12em;
}

/* Service cascade */
.hero-service-stack {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  margin-top: -0.03em;
  margin-bottom: 0.28em;
}

.hero-built {
  font-size: 1em;
  opacity: 1;
}

/* Bridge gold service cascade */
.hero-hosted {
  font-size: 0.58em;
  color: var(--gold);
  opacity: 0.90;
  margin-left: 0.10em;
  margin-top: 0.10em;
}

.hero-managed {
  font-size: 0.50em;
  color: var(--gold);
  opacity: 0.72;
  margin-left: 0.22em;
  margin-top: 0.08em;
}

.hero-updated {
  font-size: 0.43em;
  color: var(--gold);
  opacity: 0.54;
  margin-left: 0.36em;
  margin-top: 0.08em;
}

.hero-supported {
  font-size: 0.36em;
  color: var(--gold);
  opacity: 0.45;
  margin-left: 0.54em;
  margin-top: 0.08em;
}

/* Final payoff */
.hero-where {
  font-size: 0.72em;
  line-height: 0.95;
  margin-top: 0.02em;
}

.hero-tagline {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 1.4rem;

  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 250, 240, 0.9);
}

.tagline-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.tagline-row i {
  display: none;
}

.tagline-row span + span::before {
  content: "•";
  margin-right: 0.65rem;
  color: var(--gold);
  opacity: 0.8;
}

.tagline-row span {
  white-space: nowrap;
}

@media (max-width: 768px) {

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

  .local-hero {
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .hero-service-stack {
    align-items: center;
  }

  .hero-hosted,
  .hero-managed,
  .hero-updated,
  .hero-supported {
    margin-left: 0;
  }

  .hero-where {
    text-align: center;
    width: 100%;
  }

  .hero-tagline {
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .tagline-row {
    justify-content: center;
  }
}

