/* =========================================================
   CERCABOGADOS
   Responsive static website for Cloudflare Pages
   ========================================================= */

:root {
  --navy-950: #041229;
  --navy-900: #071b3d;
  --navy-800: #0d2854;
  --navy-700: #15386f;
  --gold-600: #a67d2d;
  --gold-500: #c3a258;
  --gold-400: #d5bc7b;
  --gold-300: #e4d3a4;
  --ivory: #f8f6ef;
  --paper: #fffdf8;
  --white: #ffffff;
  --ink: #14213a;
  --muted: #6b7280;
  --line: rgba(10, 37, 76, 0.12);
  --shadow-sm: 0 10px 28px rgba(4, 18, 41, 0.08);
  --shadow-md: 0 22px 60px rgba(4, 18, 41, 0.14);
  --shadow-lg: 0 32px 90px rgba(4, 18, 41, 0.2);
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 36px;
  --header-h: 92px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 14px);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--ivory);
  color: var(--ink);
  font-family: Arial, Helvetica, system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

svg {
  display: block;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -3;
  background:
    radial-gradient(circle at 8% 4%, rgba(213, 188, 123, 0.11), transparent 25%),
    radial-gradient(circle at 95% 35%, rgba(21, 56, 111, 0.06), transparent 28%),
    var(--ivory);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(4, 18, 41, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background 0.25s ease, height 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  height: 76px;
  background: rgba(4, 18, 41, 0.94);
  box-shadow: 0 12px 34px rgba(4, 18, 41, 0.16);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  width: 165px;
  height: 62px;
  padding: 7px 10px;
  border-radius: 13px;
  overflow: hidden;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 10px 32px rgba(0,0,0,0.12);
  transition: transform 0.25s ease;
}

.brand:hover {
  transform: translateY(-2px);
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  position: relative;
  padding: 11px 13px;
  color: rgba(255,255,255,0.82);
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.22s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 4px;
  height: 1px;
  background: var(--gold-400);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--white);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.main-nav .nav-cta {
  margin-left: 4px;
  padding-inline: 19px;
  color: var(--navy-950);
  border: 1px solid var(--gold-400);
  border-radius: 999px;
  background: linear-gradient(135deg, #e2cb91, #b99143);
}

.main-nav .nav-cta::after {
  display: none;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  margin: 4px auto;
  display: block;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Hero */
.hero {
  position: relative;
  min-height: 760px;
  padding: calc(var(--header-h) + 78px) 0 88px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(105deg, rgba(4,18,41,0.98) 0%, rgba(7,27,61,0.97) 48%, rgba(13,40,84,0.92) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: linear-gradient(to right, black, transparent 70%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 90px;
  background: linear-gradient(to bottom right, transparent 49.5%, var(--ivory) 50%);
}

.hero-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  align-items: center;
  gap: 70px;
}

.hero-copy {
  max-width: 700px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 17px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--gold-300);
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-400);
  box-shadow: 0 0 0 6px rgba(213,188,123,0.12);
}

.hero h1,
.section-heading h2,
.statement h2,
.schedule-card h2,
.contact-copy h2 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.hero h1 {
  margin: 0;
  max-width: 820px;
  color: var(--white);
  font-size: clamp(4.5rem, 8vw, 7.8rem);
  font-weight: 600;
}

.hero-services {
  max-width: 710px;
  margin: 24px 0 0;
  color: rgba(255,255,255,0.82);
  font-size: clamp(1.06rem, 1.6vw, 1.28rem);
  line-height: 1.75;
}

.hero-meta {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.14);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.meta-item svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--gold-400);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.meta-item span,
.meta-item strong {
  display: block;
}

.meta-item span {
  color: rgba(255,255,255,0.52);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.meta-item strong {
  margin-top: 3px;
  color: var(--white);
  font-size: 0.98rem;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.btn {
  min-height: 54px;
  padding: 0 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 700;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

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

.btn svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-gold {
  color: var(--navy-950);
  background: linear-gradient(135deg, #e4d09b, #b78b3e);
  box-shadow: 0 15px 36px rgba(166,125,45,0.24);
}

.btn-gold:hover {
  box-shadow: 0 20px 46px rgba(166,125,45,0.34);
}

.btn-outline {
  color: var(--white);
  border-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.04);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.09);
}

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

.logo-stage {
  position: relative;
  width: 100%;
  max-width: 520px;
  padding: 28px;
}

.logo-frame {
  position: relative;
  z-index: 2;
  aspect-ratio: 1.36 / 1;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(228,211,164,0.38);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.98), rgba(248,246,239,0.94));
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.logo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, transparent 10%, rgba(255,255,255,0.7) 43%, transparent 59%);
  transform: translateX(-140%);
  animation: sheen 7s ease-in-out infinite 1.8s;
  pointer-events: none;
}

.logo-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.corner {
  position: absolute;
  z-index: 1;
  width: 78px;
  height: 78px;
  border-color: rgba(213,188,123,0.66);
}

.corner-tl { top: 5px; left: 5px; border-top: 1px solid; border-left: 1px solid; }
.corner-tr { top: 5px; right: 5px; border-top: 1px solid; border-right: 1px solid; }
.corner-bl { bottom: 5px; left: 5px; border-bottom: 1px solid; border-left: 1px solid; }
.corner-br { bottom: 5px; right: 5px; border-bottom: 1px solid; border-right: 1px solid; }

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.hero-orb-a {
  width: 520px;
  height: 520px;
  right: -180px;
  top: 100px;
  background: radial-gradient(circle, rgba(213,188,123,0.15), transparent 68%);
}

.hero-orb-b {
  width: 340px;
  height: 340px;
  left: -180px;
  bottom: -80px;
  background: radial-gradient(circle, rgba(75,124,196,0.17), transparent 68%);
}

.scroll-cue {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 52px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.55);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-line {
  position: relative;
  width: 44px;
  height: 1px;
  background: rgba(255,255,255,0.26);
  overflow: hidden;
}

.scroll-line::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -50%;
  width: 50%;
  background: var(--gold-400);
  animation: scrollLine 2s ease-in-out infinite;
}

/* Signature */
.signature-strip {
  padding: 24px 0 20px;
}

.signature-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  text-align: center;
}

.signature-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-500));
}

.signature-line:last-child {
  background: linear-gradient(90deg, var(--gold-500), transparent);
}

.signature-inner strong,
.signature-inner span {
  display: block;
}

.signature-inner strong {
  color: var(--navy-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  letter-spacing: 0.08em;
}

.signature-inner div > span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

/* Sections */
.section {
  padding: 104px 0;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 50px;
  text-align: center;
}

.section-heading.align-left {
  margin: 0;
  text-align: left;
}

.section-kicker {
  color: var(--gold-600);
}

.section-kicker.light {
  color: var(--gold-300);
}

.section-heading h2,
.schedule-card h2,
.contact-copy h2 {
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(3rem, 5vw, 4.8rem);
  font-weight: 600;
}

.section-heading p:last-child {
  max-width: 650px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 1rem;
}

/* Matters */
.matters {
  position: relative;
}

.matter-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.matter-card {
  position: relative;
  min-height: 244px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.96), rgba(255,253,248,0.76));
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.matter-card::before {
  content: "";
  position: absolute;
  width: 145px;
  height: 145px;
  right: -55px;
  bottom: -55px;
  border-radius: 50%;
  border: 1px solid rgba(166,125,45,0.1);
  box-shadow:
    0 0 0 18px rgba(166,125,45,0.035),
    0 0 0 40px rgba(166,125,45,0.02);
  transition: transform 0.35s ease;
}

.matter-card:hover {
  transform: translateY(-8px);
  border-color: rgba(166,125,45,0.32);
  box-shadow: var(--shadow-md);
}

.matter-card:hover::before {
  transform: scale(1.15);
}

.matter-number {
  position: absolute;
  top: 25px;
  right: 27px;
  color: rgba(4,18,41,0.19);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.matter-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(166,125,45,0.22);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(228,211,164,0.28), rgba(255,255,255,0.7));
}

.matter-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--gold-600);
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.matter-card h3 {
  margin: 39px 0 14px;
  color: var(--navy-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 600;
}

.matter-accent {
  width: 42px;
  height: 2px;
  display: block;
  background: linear-gradient(90deg, var(--gold-600), var(--gold-300));
  transition: width 0.28s ease;
}

.matter-card:hover .matter-accent {
  width: 76px;
}

/* Statement */
.statement {
  position: relative;
  min-height: 470px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--navy-950);
}

.statement::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 40%, rgba(213,188,123,0.11), transparent 26%),
    radial-gradient(circle at 82% 60%, rgba(21,56,111,0.4), transparent 30%);
}

.statement-grid {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 58px 58px;
}

.statement-content {
  position: relative;
  z-index: 2;
  padding: 90px 0;
  text-align: center;
}

.statement-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  color: rgba(255,255,255,0.025);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30rem;
  font-weight: 700;
  line-height: 0.6;
  transform: translate(-50%, -50%);
  user-select: none;
}

.statement h2 {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  color: var(--white);
  font-size: clamp(2.35rem, 4vw, 4.15rem);
  font-weight: 500;
  line-height: 1.12;
}

.statement h2 span {
  color: var(--gold-400);
}

.statement-location {
  position: relative;
  margin: 30px auto 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255,255,255,0.69);
  font-size: 0.96rem;
}

.statement-location svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--gold-400);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Information */
.info-section {
  background: var(--paper);
}

.info-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 76px;
}

.info-card {
  position: relative;
  padding: 38px 40px;
  display: flex;
  align-items: center;
  gap: 22px;
  border: 1px solid rgba(166,125,45,0.22);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, #ffffff, #faf6e9);
  box-shadow: var(--shadow-md);
}

.info-card::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(166,125,45,0.08);
  border-radius: 16px;
  pointer-events: none;
}

.info-icon {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--navy-900);
  box-shadow: 0 16px 34px rgba(7,27,61,0.18);
}

.info-icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: var(--gold-300);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.info-card span {
  color: var(--gold-600);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.info-card h3 {
  margin: 4px 0 0;
  color: var(--navy-950);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 600;
  line-height: 1.06;
}

/* Schedule */
.schedule-section {
  background:
    radial-gradient(circle at 78% 0%, rgba(213,188,123,0.14), transparent 30%),
    var(--ivory);
}

.schedule-card {
  padding: 48px 58px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.78);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(8px);
}

.schedule-card h2 {
  font-size: clamp(3rem, 5vw, 4.6rem);
}

.schedule-days {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.schedule-time {
  min-width: 360px;
  padding: 25px 29px;
  display: flex;
  align-items: center;
  gap: 17px;
  border-radius: 20px;
  background: var(--navy-950);
  color: var(--white);
  box-shadow: 0 18px 44px rgba(4,18,41,0.2);
}

.schedule-time svg {
  width: 35px;
  height: 35px;
  fill: none;
  stroke: var(--gold-400);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.schedule-time span,
.schedule-time strong {
  display: block;
}

.schedule-time span {
  color: rgba(255,255,255,0.5);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.schedule-time strong {
  margin-top: 3px;
  font-size: 1.22rem;
}

/* Contact */
.contact-section {
  position: relative;
  padding: 112px 0;
  overflow: hidden;
  background:
    linear-gradient(118deg, var(--navy-950), var(--navy-800));
  color: var(--white);
}

.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.25;
  background-image:
    linear-gradient(120deg, transparent 0 70%, rgba(255,255,255,0.04) 70% 72%, transparent 72%),
    linear-gradient(60deg, transparent 0 76%, rgba(255,255,255,0.03) 76% 78%, transparent 78%);
}

.contact-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  right: -190px;
  top: -210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(213,188,123,0.2), transparent 68%);
}

.contact-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  align-items: center;
  gap: 70px;
}

.contact-copy h2 {
  color: var(--white);
  font-size: clamp(4rem, 7vw, 6.8rem);
}

.contact-copy p {
  margin: 8px 0 0;
  color: rgba(255,255,255,0.65);
}

.contact-call {
  min-height: 124px;
  padding: 25px 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  border: 1px solid rgba(228,211,164,0.32);
  border-radius: 24px;
  background: rgba(255,255,255,0.065);
  backdrop-filter: blur(10px);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.contact-call:hover {
  transform: translateY(-5px);
  border-color: rgba(228,211,164,0.6);
  background: rgba(255,255,255,0.1);
}

.call-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #e2cb91, #b58a3c);
  color: var(--navy-950);
}

.call-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-call small,
.contact-call strong {
  display: block;
}

.contact-call small {
  color: rgba(255,255,255,0.52);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.contact-call strong {
  margin-top: 3px;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 600;
}

.call-arrow {
  color: var(--gold-300);
  font-size: 1.7rem;
}

/* Footer */
.site-footer {
  background: #020b19;
  color: rgba(255,255,255,0.64);
}

.footer-grid {
  padding: 65px 0 48px;
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 60px;
  align-items: start;
}

.footer-brand {
  padding: 12px;
  border-radius: 18px;
  background: #f7f5ee;
}

.footer-brand img {
  width: 100%;
  aspect-ratio: 1.6 / 1;
  object-fit: contain;
}

.footer-copy strong {
  color: var(--gold-300);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  letter-spacing: 0.06em;
}

.footer-copy p {
  max-width: 680px;
  margin: 7px 0 0;
  font-size: 0.92rem;
}

.footer-copy a {
  margin-top: 12px;
  display: inline-block;
  color: var(--white);
  font-weight: 700;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-bottom .container {
  padding: 18px 0;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Floating call */
.floating-call {
  position: fixed;
  z-index: 900;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  color: var(--navy-950);
  background: linear-gradient(135deg, #e4d09b, #b48a3e);
  box-shadow: 0 15px 34px rgba(4,18,41,0.27);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.floating-call:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 19px 40px rgba(4,18,41,0.34);
}

.floating-call svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Reveal — progressive enhancement.
   Content remains visible even if JavaScript does not load. */
.reveal {
  opacity: 1;
  transform: none;
}

.reveal-delay {
  transition-delay: 0s;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Animations */
@keyframes sheen {
  0%, 70%, 100% { transform: translateX(-140%); }
  82% { transform: translateX(140%); }
}

@keyframes scrollLine {
  0% { transform: translateX(0); }
  100% { transform: translateX(300%); }
}

/* Responsive */
@media (max-width: 1040px) {
  .hero-grid {
    grid-template-columns: 1fr 0.82fr;
    gap: 36px;
  }

  .hero h1 {
    font-size: clamp(4.1rem, 8.8vw, 6.5rem);
  }

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

  .info-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 42px;
  }

  .contact-grid {
    gap: 42px;
  }
}

@media (max-width: 860px) {
  :root {
    --header-h: 78px;
  }

  .container {
    width: min(100% - 32px, 740px);
  }

  .site-header {
    height: var(--header-h);
  }

  .brand {
    width: 145px;
    height: 56px;
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 1002;
  }

  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 1001;
    padding: 118px 26px 35px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 7px;
    background: rgba(4,18,41,0.98);
    backdrop-filter: blur(18px);
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(.77,0,.18,1);
  }

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

  .main-nav a {
    width: min(480px, 100%);
    padding: 18px 4px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
    font-weight: 600;
  }

  .main-nav a::after {
    display: none;
  }

  .main-nav .nav-cta {
    margin: 14px 0 0;
    padding: 16px 20px;
    justify-content: center;
    text-align: center;
    border: 0;
    font-family: Arial, Helvetica, system-ui, sans-serif;
    font-size: 0.95rem;
  }

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

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

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

  .hero {
    min-height: auto;
    padding: calc(var(--header-h) + 62px) 0 115px;
  }

  .hero::after {
    height: 60px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .hero-copy {
    max-width: 690px;
  }

  .hero-visual {
    max-width: 620px;
    width: 100%;
    margin-inline: auto;
  }

  .logo-stage {
    max-width: 560px;
  }

  .scroll-cue {
    display: none;
  }

  .section {
    padding: 84px 0;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .statement {
    min-height: 420px;
  }

  .info-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .schedule-card {
    grid-template-columns: 1fr;
    padding: 42px;
  }

  .schedule-time {
    min-width: 0;
  }

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

  .contact-action {
    max-width: 600px;
  }

  .footer-grid {
    grid-template-columns: 210px 1fr;
    gap: 34px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 560px);
  }

  .brand {
    width: 132px;
    height: 52px;
  }

  .hero {
    padding-top: calc(var(--header-h) + 48px);
  }

  .hero h1 {
    font-size: clamp(3.45rem, 16vw, 5rem);
    overflow-wrap: anywhere;
  }

  .hero-services {
    font-size: 1rem;
  }

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

  .btn {
    width: 100%;
  }

  .logo-stage {
    padding: 15px;
  }

  .logo-frame {
    padding: 14px;
    border-radius: 26px;
  }

  .corner {
    width: 55px;
    height: 55px;
  }

  .signature-inner {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .signature-line {
    width: 120px;
    margin-inline: auto;
  }

  .signature-line:last-child {
    display: none;
  }

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

  .matter-card {
    min-height: 210px;
  }

  .statement-content {
    padding: 80px 0;
  }

  .statement h2 {
    font-size: 2.4rem;
  }

  .info-card {
    padding: 28px 24px;
    align-items: flex-start;
  }

  .info-icon {
    width: 58px;
    height: 58px;
  }

  .info-icon svg {
    width: 26px;
    height: 26px;
  }

  .schedule-card {
    padding: 30px 24px;
    border-radius: 26px;
  }

  .schedule-time {
    padding: 22px;
  }

  .schedule-time strong {
    font-size: 1.1rem;
  }

  .contact-section {
    padding: 88px 0;
  }

  .contact-copy h2 {
    font-size: clamp(3.2rem, 15vw, 5rem);
    overflow-wrap: anywhere;
  }

  .contact-call {
    min-height: 108px;
    padding: 21px;
  }

  .call-icon {
    width: 50px;
    height: 50px;
  }

  .contact-call strong {
    font-size: 1.6rem;
  }

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

  .footer-brand {
    width: min(250px, 80%);
  }
}

@media (max-width: 390px) {
  .hero h1 {
    font-size: 3.15rem;
  }

  .matter-card {
    padding: 27px;
  }

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

  .call-arrow {
    display: none;
  }

  .contact-call strong {
    font-size: 1.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
