/* Bric Finserv – Premium financial advisory aesthetic */
:root {
  --bg: #0a0e17;
  --bg-elevated: #111827;
  --surface: #1a2234;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --accent: #f59e0b;
  --accent-dim: #b45309;
  --accent-glow: rgba(245, 158, 11, 0.15);
  --border: rgba(148, 163, 184, 0.12);
  --radius: 8px;
  --radius-lg: 16px;
  --font-sans: 'Outfit', system-ui, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

/* Body – main content area (dark theme) */
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: #fbbf24;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 200;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: var(--bg);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: top 0.2s;
}
.skip-link:focus {
  top: 1rem;
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header – light so logo is clearly visible */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: #f8fafc;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-block;
  line-height: 0;
  min-height: 3.75rem;
}
.logo img.logo-img {
  vertical-align: middle;
}
.logo:hover {
  color: var(--text);
}
.logo-img {
  display: block;
  height: 3.75rem;
  width: auto;
  min-width: 140px;
  max-width: 220px;
  object-fit: contain;
  object-position: left center;
}
.logo-bric {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.logo-r {
  font-weight: 700;
  color: var(--accent);
}
.logo-finserv {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.1rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: #334155;
  border-radius: 1px;
}

.main-nav {
  display: flex;
  gap: 2rem;
}
.site-header .main-nav a {
  color: #475569;
  font-weight: 500;
  font-size: 0.9375rem;
}
.site-header .main-nav a:hover {
  color: #0f172a;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
  .main-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 1rem 1.5rem;
    background: #f8fafc;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    display: none;
  }
  .main-nav.is-open {
    display: flex;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, var(--accent-glow), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(26, 34, 52, 0.9), transparent),
    var(--bg);
  pointer-events: none;
}

/* Hero animated graphic */
.hero-graphic {
  position: absolute;
  top: 50%;
  right: 8%;
  transform: translateY(-50%);
  width: 320px;
  height: 280px;
  pointer-events: none;
  z-index: 0;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.15;
  filter: blur(24px);
  animation: float 6s ease-in-out infinite;
}
.hero-orb-1 { width: 120px; height: 120px; top: 10%; right: 20%; animation-delay: 0s; }
.hero-orb-2 { width: 80px; height: 80px; top: 50%; right: 0; animation-delay: -2s; }
.hero-orb-3 { width: 60px; height: 60px; bottom: 20%; right: 30%; animation-delay: -4s; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.15; }
  33% { transform: translate(12px, -15px) scale(1.05); opacity: 0.2; }
  66% { transform: translate(-8px, 10px) scale(0.95); opacity: 0.12; }
}
.hero-shield-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--accent);
  animation: shieldPulse 3s ease-in-out infinite;
}
.hero-shield {
  width: 72px;
  height: 80px;
  filter: drop-shadow(0 0 12px rgba(245, 158, 11, 0.3));
}
@keyframes shieldPulse {
  0%, 100% { opacity: 0.9; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
}
.hero-block {
  position: absolute;
  bottom: 15%;
  right: 10%;
  width: 90px;
  height: 70px;
  background: linear-gradient(135deg, var(--surface) 0%, var(--bg-elevated) 100%);
  border: 1px solid var(--border);
  border-radius: 8px;
  transform: perspective(120px) rotateX(8deg) rotateY(-12deg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  animation: blockFloat 4s ease-in-out infinite;
}
@keyframes blockFloat {
  0%, 100% { transform: perspective(120px) rotateX(8deg) rotateY(-12deg) translateY(0); }
  50% { transform: perspective(120px) rotateX(8deg) rotateY(-12deg) translateY(-6px); }
}
@media (max-width: 900px) {
  .hero-graphic { width: 240px; height: 200px; right: 2%; opacity: 0.85; }
  .hero-shield { width: 56px; height: 62px; }
  .hero-block { width: 60px; height: 48px; }
}
@media (max-width: 640px) {
  .hero-graphic { display: none; }
}

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

.hero-eyebrow {
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin: 0 0 1rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 1.25rem;
  color: var(--text);
}
.hero-title em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 0 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  border: none;
}
.btn-primary {
  background: var(--accent);
  color: var(--bg);
}
.btn-primary:hover {
  background: #fbbf24;
  box-shadow: 0 0 24px var(--accent-glow);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--text-muted);
  color: var(--text);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
  border-radius: 1px;
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.5; transform: scaleY(0.8); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* Sections */
.section {
  padding: 5rem 0;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 400;
  margin: 0 0 0.75rem;
  color: var(--text);
}
.section-title.center {
  text-align: center;
}
.section-sub {
  color: var(--text-muted);
  font-size: 1.0625rem;
  margin: 0 0 2.5rem;
  max-width: 560px;
}
.section-sub.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* About */
.about {
  background: var(--bg-elevated);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
}
.about-text p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}
.stats {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 2rem;
}
.stats li {
  color: var(--text-muted);
  font-size: 0.9375rem;
}
.stats strong {
  color: var(--accent);
  display: block;
  font-size: 1.125rem;
  margin-bottom: 0.15rem;
}
.about-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 280px;
}
.about-graphic {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.about-orb {
  position: absolute;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.12;
  filter: blur(20px);
  animation: aboutFloat 5s ease-in-out infinite;
}
.about-orb-1 { width: 100px; height: 100px; top: 5%; right: 15%; animation-delay: 0s; }
.about-orb-2 { width: 60px; height: 60px; bottom: 25%; left: 10%; animation-delay: -1.5s; }
@keyframes aboutFloat {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.12; }
  50% { transform: translate(8px, -10px) scale(1.08); opacity: 0.18; }
}
.about-shield {
  position: absolute;
  bottom: 20%;
  right: 15%;
  width: 48px;
  height: 54px;
  color: var(--accent);
  filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.25));
  animation: aboutShieldPulse 2.5s ease-in-out infinite;
}
@keyframes aboutShieldPulse {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}
.about-block {
  position: absolute;
  top: 15%;
  left: 20%;
  width: 44px;
  height: 34px;
  background: linear-gradient(135deg, var(--surface) 0%, var(--bg-elevated) 100%);
  border: 1px solid var(--border);
  border-radius: 6px;
  transform: perspective(80px) rotateX(6deg) rotateY(-8deg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  animation: aboutBlockFloat 3.5s ease-in-out infinite;
}
@keyframes aboutBlockFloat {
  0%, 100% { transform: perspective(80px) rotateX(6deg) rotateY(-8deg) translateY(0); }
  50% { transform: perspective(80px) rotateX(6deg) rotateY(-8deg) translateY(-4px); }
}
.about-card {
  position: absolute;
  bottom: 25%;
  right: 25%;
  width: 56px;
  height: 42px;
  background: linear-gradient(145deg, var(--surface) 0%, var(--bg-elevated) 100%);
  border: 1px solid var(--border);
  border-radius: 8px;
  transform: perspective(100px) rotateX(-5deg) rotateY(10deg);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  animation: aboutCardFloat 4s ease-in-out infinite;
  animation-delay: 0.8s;
}
@keyframes aboutCardFloat {
  0%, 100% { transform: perspective(100px) rotateX(-5deg) rotateY(10deg) translateY(0); }
  50% { transform: perspective(100px) rotateX(-5deg) rotateY(10deg) translateY(-6px); }
}
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-visual {
    min-height: 200px;
  }
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.service-card:hover {
  border-color: var(--accent-dim);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
.service-card--active {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 8px 24px var(--accent-glow);
}
.service-card--active:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 8px 24px var(--accent-glow);
}
.service-icon {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}
.service-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--text);
}
.service-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
  line-height: 1.5;
}
.link-arrow {
  font-size: 0.875rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.link-arrow::after {
  content: '→';
}

/* Service Lines (card-controlled panels) */
.service-lines {
  background: var(--bg-elevated);
  scroll-margin-top: var(--header-h);
}
.service-panel {
  display: none;
  padding: 1rem 0;
}
.service-panel--active,
.service-panel[aria-hidden="false"] {
  display: block;
}
.service-panel-inner {
  padding-top: 0.5rem;
}
.service-panel-inner.personal-lines-grid,
.service-panel-inner.life-lines-grid {
  max-width: 720px;
  margin: 0 auto;
}
.service-panel-inner.commercial-lines-grid {
  max-width: 900px;
  margin: 0 auto;
}

/* Sectors */
.sectors {
  background: var(--bg-elevated);
}
.sectors-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}
.sector-tag {
  padding: 0.6rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: border-color 0.2s, color 0.2s;
}
.sector-tag:hover {
  border-color: var(--accent-dim);
  color: var(--text);
}

/* Personal General Insurance */
.personal-lines {
  background: var(--bg-elevated);
}
.personal-lines-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  max-width: 720px;
  margin: 0 auto;
}
.personal-tag {
  padding: 0.5rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: border-color 0.2s, color 0.2s;
}
.personal-tag:hover {
  border-color: var(--accent-dim);
  color: var(--text);
}

/* Life Insurance */
.life-lines {
  background: var(--bg);
}
.life-lines-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  max-width: 720px;
  margin: 0 auto;
}
.life-tag {
  padding: 0.5rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: border-color 0.2s, color 0.2s;
}
.life-tag:hover {
  border-color: var(--accent-dim);
  color: var(--text);
}

/* Commercial Lines */
.commercial-lines {
  background: var(--bg);
}
.commercial-lines-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  max-width: 900px;
  margin: 0 auto;
}
.commercial-tag {
  padding: 0.5rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: border-color 0.2s, color 0.2s;
}
.commercial-tag:hover {
  border-color: var(--accent-dim);
  color: var(--text);
}

/* Why Us */
.why-us {
  background: var(--bg-elevated);
}
.why-us .section-title {
  margin-bottom: 2rem;
}
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}
.why-us-item {
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.why-us-item:hover {
  border-color: var(--accent-dim);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}
.why-us-item p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-muted);
}
@media (max-width: 768px) {
  .why-us-grid {
    grid-template-columns: 1fr;
  }
}

/* Why */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 720px;
  margin: 0 auto;
}
.why-item {
  text-align: center;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.why-value {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.why-item h3 {
  font-size: 1.125rem;
  margin: 0 0 0.5rem;
  color: var(--text);
}
.why-item p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0;
}
@media (max-width: 600px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

/* Case Studies & Success Stories */
.case-studies {
  background: var(--bg-elevated);
}
.case-studies .section-title {
  margin-bottom: 2rem;
}
.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}
.case-study-card {
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.case-study-card:hover {
  border-color: var(--accent-dim);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}
.case-study-card p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-muted);
}
@media (max-width: 768px) {
  .case-studies-grid {
    grid-template-columns: 1fr;
  }
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-info .section-title {
  margin-bottom: 0.5rem;
}
.contact-tagline {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 0.75rem;
}
.contact-info p {
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}
address {
  font-style: normal;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.contact-meta {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0;
}
.contact-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  align-content: start;
}
.contact-action-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.contact-action-card:hover {
  border-color: var(--accent-dim);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
  color: var(--text);
}
.contact-action-card--whatsapp:hover {
  border-color: #25D366;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.25);
}
.contact-action-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  line-height: 1;
}
.contact-action-card--whatsapp .contact-action-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #25D366;
}
.contact-action-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}
.contact-action-value {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
}
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-actions {
    grid-template-columns: 1fr;
  }
}

/* Footer – light background so logo is visible; text dark for contrast */
.site-footer {
  padding: 3rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: #f8fafc;
}
.site-footer .footer-contact,
.site-footer .footer-contact a,
.site-footer .footer-nav a,
.site-footer .footer-copy {
  color: #475569;
}
.site-footer .footer-nav a:hover,
.site-footer .footer-contact a:hover {
  color: #0f172a;
}
.site-footer .footer-tagline {
  color: var(--accent);
}
.footer-inner {
  text-align: center;
}
.footer-brand {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 3.5rem;
}
.footer-brand .logo-img {
  display: block;
  height: 3.75rem;
  width: auto;
  min-width: 140px;
  max-width: 220px;
  object-fit: contain;
  object-position: center;
}
.footer-tagline {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 0.75rem;
}
.footer-contact {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  line-height: 1.5;
}
.footer-contact a {
  color: var(--text);
}
.footer-contact a:hover {
  color: var(--accent);
}
.footer-nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.footer-nav a {
  color: var(--text-muted);
  font-size: 0.9375rem;
}
.footer-copy {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0;
  opacity: 0.8;
}

/* Generic / legal pages */
.page-content {
  padding-top: var(--header-h);
  padding-bottom: 4rem;
  min-height: 60vh;
}
.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 0;
}
.legal-page-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 400;
  color: var(--text);
  margin: 0 0 0.25rem;
}
.legal-page-updated {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0 0 2rem;
}
.legal-section {
  margin-bottom: 2rem;
}
.legal-section h2 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.75rem;
}
.legal-section p,
.legal-section li {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}
.legal-section ul {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
}
.legal-section li {
  margin-bottom: 0.35rem;
}
.legal-section a {
  color: var(--accent);
}
.legal-section a:hover {
  color: #fbbf24;
}

.error-page .btn {
  margin-right: 0.5rem;
}
.error-page p {
  margin-bottom: 1rem;
}

/* Scroll to top button */
.scroll-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s, background 0.2s, box-shadow 0.2s;
}
.scroll-to-top:hover {
  background: #fbbf24;
  color: var(--bg);
  transform: translateY(0) scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
.scroll-to-top--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-to-top--visible:hover {
  transform: translateY(0) scale(1.05);
}
.scroll-to-top svg {
  flex-shrink: 0;
}

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 7rem;
  right: 1.5rem;
  z-index: 90;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s, box-shadow 0.2s;
  animation: whatsapp-pulse 2s ease-in-out infinite;
}
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0;
  animation: whatsapp-ping 2s ease-out infinite;
  pointer-events: none;
}
.whatsapp-float:hover {
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  animation: none;
}
.whatsapp-float:hover::before {
  animation: none;
  opacity: 0;
}
.whatsapp-float svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
  z-index: 1;
}
@keyframes whatsapp-pulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25), 0 0 0 0 rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25), 0 0 0 12px rgba(37, 211, 102, 0); }
}
@keyframes whatsapp-ping {
  0% { transform: scale(0.8); opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0; }
}
