/* ============================================================
   BLUEFLAG DIGITAL — Shared Stylesheet
   Faithful port of the Vercel/Next.js site design system
   Font: Geist Sans | Design: shadcn/ui + Tailwind CSS v4
   ============================================================ */

/* Geist font via Google Fonts (matches Vercel build) */
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@100..900&display=swap');

/* ============================================================
   DESIGN TOKENS (exact values from vercel-tailwind.css)
   ============================================================ */
:root {
  --background:         oklch(99% .01 240);
  --foreground:         oklch(20% .04 240);
  --card:               oklch(100% 0 0);
  --card-foreground:    oklch(20% .04 240);
  --primary:            oklch(42% .12 245);
  --primary-foreground: oklch(99% .01 240);
  --secondary:          oklch(88% .06 240);
  --secondary-foreground: oklch(20% .04 240);
  --muted:              oklch(94% .03 240);
  --muted-foreground:   oklch(50% .06 240);
  --accent:             oklch(60% .15 245);
  --accent-foreground:  oklch(99% .01 240);
  --destructive:        oklch(57.7% .245 27.325);
  --border:             oklch(90% .02 240);
  --input:              oklch(90% .02 240);
  --ring:               oklch(42% .12 245);

  /* Tailwind named colors used on site */
  --blue-50:    oklch(97% .014 254.604);
  --blue-100:   oklch(93.2% .032 255.585);
  --blue-700:   oklch(48.8% .243 264.376);
  --green-100:  oklch(96.2% .044 156.743);
  --green-500:  oklch(72.3% .219 149.579);
  --amber-100:  oklch(96.2% .059 95.617);
  --amber-500:  oklch(76.9% .188 70.08);
  --gray-100:   oklch(96.7% .003 264.542);

  --radius: 0.5rem;

  /* Spacing scale (Tailwind: 1 unit = 0.25rem = 4px) */
  --spacing-1:  0.25rem;
  --spacing-2:  0.5rem;
  --spacing-3:  0.75rem;
  --spacing-4:  1rem;
  --spacing-6:  1.5rem;
  --spacing-8:  2rem;
  --spacing-12: 3rem;
  --spacing-16: 4rem;
  --spacing-20: 5rem;
  --spacing-24: 6rem;

  /* Container max-width */
  --container-max: 1280px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
               Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--foreground);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol { list-style: none; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--spacing-6);
}

@media (min-width: 1024px) {
  .container { padding: 0 var(--spacing-12); }
}

/* ============================================================
   TYPOGRAPHY SCALE (matches Tailwind text-* classes)
   ============================================================ */
.text-sm   { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem;     line-height: 1.5rem; }
.text-lg   { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl   { font-size: 1.25rem;  line-height: 1.75rem; }
.text-2xl  { font-size: 1.5rem;   line-height: 2rem; }
.text-3xl  { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl  { font-size: 2.25rem;  line-height: 2.5rem; }
.text-5xl  { font-size: 3rem;     line-height: 1; }
.text-6xl  { font-size: 3.75rem;  line-height: 1; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: color-mix(in oklch, var(--background) 95%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem; /* h-20 = 80px */
}

.site-header__logo img {
  height: 3rem; /* h-12 = 48px */
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem; /* gap-8 */
}

.site-nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.2s;
}

.site-nav__link:hover {
  color: var(--foreground);
}

/* Solutions dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown__trigger {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  cursor: pointer;
  transition: color 0.2s;
  background: none;
  border: none;
  font-family: inherit;
  padding: 0;
}

.nav-dropdown__trigger:hover,
.nav-dropdown:hover .nav-dropdown__trigger {
  color: var(--foreground);
}

.nav-dropdown__trigger svg {
  transition: transform 0.2s;
}

.nav-dropdown:hover .nav-dropdown__trigger svg {
  transform: rotate(180deg);
}

.nav-dropdown__menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0;
  width: 12rem; /* w-48 */
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  padding-top: 0.5rem;
}

.nav-dropdown:hover .nav-dropdown__menu {
  opacity: 1;
  visibility: visible;
}

.nav-dropdown__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  border-bottom: 1px solid var(--border);
  transition: background-color 0.2s;
}

.nav-dropdown__item:hover {
  background-color: color-mix(in oklch, var(--primary) 10%, transparent);
}

.nav-dropdown__item-label {
  color: var(--primary);
  font-weight: 600;
}

.nav-dropdown__item-sub {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.nav-dropdown__soon {
  padding: 0.75rem 1rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  font-style: italic;
}

.nav-mobile-toggle {
  display: none;
  padding: 0.5rem;
  color: var(--foreground);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.2s;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
}

/* Primary button */
.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
  height: 2rem; /* h-8 */
  padding: 0 0.75rem; /* px-3 */
}

.btn-primary:hover {
  background-color: color-mix(in oklch, var(--primary) 90%, transparent);
}

/* Large primary button (h-10) */
.btn-primary-lg {
  background-color: var(--primary);
  color: var(--primary-foreground);
  height: 2.5rem; /* h-10 */
  padding: 0 1.5rem; /* px-6 */
  font-size: 1rem;
}

.btn-primary-lg:hover {
  background-color: color-mix(in oklch, var(--primary) 90%, transparent);
}

/* Outline button */
.btn-outline {
  background-color: transparent;
  color: var(--foreground);
  border: 1px solid var(--border);
  height: 2.5rem;
  padding: 0 1.5rem;
  font-size: 1rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.btn-outline:hover {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

/* White button (on colored bg) */
.btn-white {
  background-color: white;
  color: var(--primary);
  height: 2.5rem;
  padding: 0 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
}

.btn-white:hover {
  background-color: var(--gray-100);
}

/* White outline (on gradient bg) */
.btn-white-outline {
  background-color: transparent;
  color: white;
  border: 1px solid white;
  height: 2.5rem;
  padding: 0 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
}

.btn-white-outline:hover {
  background-color: rgba(255,255,255,0.1);
}

/* Secondary / ghost */
.btn-secondary {
  background-color: transparent;
  color: var(--foreground);
  border: 1px solid var(--border);
  height: 2.25rem; /* h-9 */
  padding: 0 1rem; /* px-4 */
  font-size: 0.875rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.btn-secondary:hover {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

/* Arrow icon in buttons */
.btn-arrow {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

/* ============================================================
   HERO — HOMEPAGE
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1;
}

.hero__bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    color-mix(in oklch, var(--primary) 5%, transparent),
    var(--background),
    color-mix(in oklch, var(--accent) 5%, transparent)
  );
}

.hero__content {
  position: relative;
  z-index: 10;
  padding-top: 5rem; /* pt-20 */
}

.hero__inner {
  max-width: 56rem; /* max-w-4xl */
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;    /* text-5xl */
  font-weight: 700;
  letter-spacing: -0.025em; /* tracking-tight */
  text-wrap: balance;
  margin-bottom: 1.5rem;
  line-height: 1;
}

@media (min-width: 768px) {
  .hero h1 { font-size: 4.5rem; } /* text-7xl */
}

@media (min-width: 1024px) {
  .hero h1 { font-size: 6rem; }   /* text-8xl */
}

.hero h1 .text-primary { color: var(--primary); }

.hero__subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 42rem; /* max-w-2xl */
  margin: 0 auto 2.5rem;
  line-height: 1.625; /* leading-relaxed */
}

@media (min-width: 768px) {
  .hero__subtitle { font-size: 1.25rem; }
}

.hero__ctas {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .hero__ctas { flex-direction: row; }
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.hero__scroll-box {
  width: 1.5rem;
  height: 2.5rem;
  border: 2px solid color-mix(in oklch, var(--primary) 30%, transparent);
  border-radius: 9999px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0.5rem;
}

.hero__scroll-dot {
  width: 0.375rem;
  height: 0.75rem;
  background-color: color-mix(in oklch, var(--primary) 50%, transparent);
  border-radius: 9999px;
  animation: bounce 1s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); animation-timing-function: cubic-bezier(0.8,0,1,1); }
  50%       { transform: translateY(0.25rem); animation-timing-function: cubic-bezier(0,0,0.2,1); }
}

/* ============================================================
   CRM INTRO SECTION (homepage)
   ============================================================ */
.crm-intro {
  padding: 5rem 0; /* py-20 */
  background: linear-gradient(135deg,
    var(--blue-50),
    var(--background)
  );
}

.crm-intro__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
  max-width: 80rem; /* max-w-5xl */
  margin: 0 auto;
}

@media (min-width: 768px) {
  .crm-intro__grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

.crm-intro__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 1rem;
}

.crm-intro h2 {
  font-size: 2.25rem; /* text-4xl */
  font-weight: 700;
  margin-bottom: 1rem;
  text-wrap: balance;
}

.crm-intro__desc {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.75;
}

.crm-intro__features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.crm-intro__feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.crm-intro__feature-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
  color: var(--primary);
}

.crm-intro__feature-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.crm-intro__feature h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.125rem;
}

.crm-intro__feature p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Right card */
.crm-intro__card {
  background: white;
  border-radius: 0.75rem;
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  text-align: center;
}

.crm-intro__card-headline-1 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0;
  line-height: 1;
}

.crm-intro__card-headline-2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1;
}

.crm-intro__card-desc {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.625;
}

.crm-intro__card-badge {
  background-color: color-mix(in oklch, var(--primary) 10%, transparent);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.crm-intro__card-badge-num {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.crm-intro__card-badge-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services {
  padding: 6rem 0; /* py-24 */
  background-color: color-mix(in oklch, var(--secondary) 30%, transparent);
}

@media (min-width: 768px) {
  .services { padding: 8rem 0; } /* md:py-32 */
}

.services__header {
  max-width: 48rem; /* max-w-3xl */
  margin-bottom: 4rem;
}

.services__header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

@media (min-width: 768px) {
  .services__header h2 { font-size: 3rem; }
}

@media (min-width: 1024px) {
  .services__header h2 { font-size: 3.75rem; }
}

.services__header p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.625;
}

.services__grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .services__grid { grid-template-columns: 1fr 1fr; }
}

.service-card {
  background: var(--card);
  color: var(--card-foreground);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  cursor: pointer;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.service-card:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border-color: color-mix(in oklch, var(--primary) 50%, transparent);
}

.service-card__icon-wrap {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
  background-color: color-mix(in oklch, var(--primary) 10%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.service-card:hover .service-card__icon-wrap {
  background-color: color-mix(in oklch, var(--primary) 20%, transparent);
}

.service-card__icon {
  width: 1.5rem;
  height: 1.5rem;
  stroke: var(--primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.service-card p {
  color: var(--muted-foreground);
  line-height: 1.625;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-header {
  padding: 6rem 0;
  background-color: color-mix(in oklch, var(--secondary) 30%, transparent);
}

@media (min-width: 768px) {
  .about-header { padding: 8rem 0; }
}

.about-header .max-w-3xl { max-width: 48rem; }

.about-header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

@media (min-width: 768px) {
  .about-header h2 { font-size: 3rem; }
}

@media (min-width: 1024px) {
  .about-header h2 { font-size: 3.75rem; }
}

.about-header p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.625;
}

.about-content {
  padding: 6rem 0;
}

@media (min-width: 768px) {
  .about-content { padding: 8rem 0; }
}

.about-content__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-content__grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

.about-content h3 {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

@media (min-width: 768px) {
  .about-content h3 { font-size: 2.25rem; }
}

.about-content p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.625;
  margin-bottom: 1.5rem;
}

.about-content p:last-of-type {
  margin-bottom: 2rem;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.about-stat__num {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.about-stat__label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-content__image {
  position: relative;
}

.about-content__image-wrap {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
}

.about-content__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   APPROACH SECTION
   ============================================================ */
.approach {
  padding: 6rem 0;
  background-color: var(--primary);
  color: var(--primary-foreground);
}

@media (min-width: 768px) {
  .approach { padding: 8rem 0; }
}

.approach__header {
  max-width: 48rem;
  margin-bottom: 4rem;
}

.approach__header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  text-wrap: balance;
  color: var(--primary-foreground);
}

@media (min-width: 768px) {
  .approach__header h2 { font-size: 3rem; }
}

@media (min-width: 1024px) {
  .approach__header h2 { font-size: 3.75rem; }
}

.approach__header p {
  font-size: 1.125rem;
  color: color-mix(in oklch, var(--primary-foreground) 80%, transparent);
  line-height: 1.625;
}

.approach__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .approach__grid { grid-template-columns: repeat(3, 1fr); }
}

.approach-card {
  background: color-mix(in oklch, var(--primary-foreground) 10%, transparent);
  border: 1px solid color-mix(in oklch, var(--primary-foreground) 20%, transparent);
  border-radius: 0.75rem;
  padding: 2rem;
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.approach-card__num {
  font-size: 3.75rem; /* text-6xl */
  font-weight: 700;
  color: color-mix(in oklch, var(--primary-foreground) 20%, transparent);
  line-height: 1;
}

.approach-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-foreground);
}

.approach-card p {
  color: color-mix(in oklch, var(--primary-foreground) 80%, transparent);
  line-height: 1.625;
}

/* ============================================================
   PORTFOLIO SECTION
   ============================================================ */
.portfolio {
  padding: 6rem 0;
}

@media (min-width: 768px) {
  .portfolio { padding: 8rem 0; }
}

.portfolio__header {
  max-width: 48rem;
  margin-bottom: 4rem;
}

.portfolio__header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

@media (min-width: 768px) {
  .portfolio__header h2 { font-size: 3rem; }
}

@media (min-width: 1024px) {
  .portfolio__header h2 { font-size: 3.75rem; }
}

.portfolio__header p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.625;
}

.portfolio__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .portfolio__grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .portfolio__grid { grid-template-columns: repeat(3, 1fr); }
}

.portfolio-card {
  background: var(--card);
  color: var(--card-foreground);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding-top: 1.5rem; /* py-6 */
  padding-bottom: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.portfolio-card__image-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.portfolio-card__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.portfolio-card:hover .portfolio-card__image-wrap img {
  transform: scale(1.05);
}

.portfolio-card__body {
  padding: 0 1.5rem;
}

.portfolio-card__category {
  font-size: 0.875rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.portfolio-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

/* ============================================================
   BLOG PREVIEW + BLOG PAGE
   ============================================================ */
.blog-preview {
  padding: 6rem 0;
  background:
    radial-gradient(circle at top left, color-mix(in oklch, var(--primary) 12%, transparent), transparent 34rem),
    linear-gradient(180deg, color-mix(in oklch, var(--secondary) 28%, transparent), transparent 75%);
  border-top: 1px solid var(--border);
}

@media (min-width: 768px) {
  .blog-preview { padding: 8rem 0; }
}

.blog-preview__header {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 1024px) {
  .blog-preview__header {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
    align-items: end;
    margin-bottom: 3rem;
  }
}

.blog-preview__eyebrow,
.blog-featured__eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary);
}

.blog-preview__header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: 14ch;
}

@media (min-width: 768px) {
  .blog-preview__header h2 { font-size: 3rem; }
}

.blog-preview__intro {
  display: grid;
  gap: 1rem;
  justify-items: start;
}

.blog-preview__intro p,
.blog-featured p,
.blog-list__item p,
.blog-sidebar__card p {
  color: var(--muted-foreground);
  line-height: 1.7;
}

.blog-preview__grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .blog-preview__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.blog-card,
.blog-featured,
.blog-list__item,
.blog-sidebar__card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.04);
}

.blog-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 100%;
}

.blog-card--featured {
  background:
    linear-gradient(135deg, color-mix(in oklch, var(--primary) 9%, white), white 55%),
    var(--card);
}

@media (min-width: 1024px) {
  .blog-card--featured { grid-column: span 2; }
}

.blog-card__meta,
.blog-featured__meta,
.blog-list__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.78rem;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.blog-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: color-mix(in oklch, var(--primary) 12%, transparent);
  color: var(--primary);
  font-weight: 600;
}

.blog-card h3,
.blog-list__item h3 {
  font-size: 1.45rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.blog-card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 600;
}

.blog-card__link svg {
  width: 1rem;
  height: 1rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.blog-page {
  padding: 5rem 0 6rem;
}

.blog-layout {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .blog-layout {
    grid-template-columns: minmax(0, 1.7fr) minmax(18rem, 1fr);
    gap: 2rem;
  }
}

.blog-stack,
.blog-sidebar {
  display: grid;
  gap: 1.5rem;
}

.blog-featured {
  padding: 2rem;
  background:
    radial-gradient(circle at top right, color-mix(in oklch, var(--primary) 16%, transparent), transparent 18rem),
    linear-gradient(135deg, color-mix(in oklch, var(--secondary) 45%, transparent), white 62%);
}

@media (min-width: 768px) {
  .blog-featured { padding: 2.5rem; }
}

.blog-featured h2 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .blog-featured h2 { font-size: 2.5rem; }
}

.blog-featured__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 1.5rem;
}

.blog-list {
  display: grid;
  gap: 1rem;
}

.blog-list__item {
  padding: 1.5rem;
}

.blog-list__item h3 {
  margin: 0.9rem 0 0.65rem;
  font-size: 1.25rem;
}

.blog-list__status {
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}

.blog-list__status a {
  color: inherit;
}

.blog-sidebar__card {
  padding: 1.5rem;
}

.blog-sidebar__card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.blog-topic-list {
  display: grid;
  gap: 0.75rem;
}

.blog-topic-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 0.9rem;
  background: color-mix(in oklch, var(--secondary) 35%, transparent);
  color: var(--foreground);
  font-weight: 500;
}

.blog-topic-list span {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.article-page {
  padding: 5rem 0 6rem;
}

.article-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .article-layout {
    grid-template-columns: minmax(0, 1.75fr) minmax(18rem, 0.85fr);
    align-items: start;
  }
}

.article-content,
.article-sidebar__card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.04);
}

.article-content {
  padding: 1.75rem;
}

@media (min-width: 768px) {
  .article-content { padding: 2.5rem; }
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 0.8rem;
  color: var(--muted-foreground);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.article-prose h2,
.article-prose h3 {
  color: var(--foreground);
  letter-spacing: -0.03em;
}

.article-prose h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 2.25rem 0 1rem;
  line-height: 1.15;
}

.article-prose h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 1.75rem 0 0.75rem;
  line-height: 1.25;
}

.article-prose p,
.article-prose li {
  color: var(--muted-foreground);
  font-size: 1rem;
  line-height: 1.85;
}

.article-prose p + p,
.article-prose p + h2,
.article-prose p + h3,
.article-prose ul + h2,
.article-prose ol + h2,
.article-prose ul + h3,
.article-prose ol + h3 {
  margin-top: 1rem;
}

.article-prose ul,
.article-prose ol {
  margin: 1rem 0 1rem 1.25rem;
}

.article-prose ul {
  list-style: disc;
}

.article-prose ol {
  list-style: decimal;
}

.article-prose strong {
  color: var(--foreground);
}

.article-callout {
  margin: 1.5rem 0;
  padding: 1.25rem 1.35rem;
  border-left: 4px solid var(--primary);
  border-radius: 0.9rem;
  background: color-mix(in oklch, var(--secondary) 38%, transparent);
}

.article-sidebar {
  display: grid;
  gap: 1rem;
}

.article-sidebar__card {
  padding: 1.5rem;
}

.article-sidebar__card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.article-sidebar__card p {
  color: var(--muted-foreground);
  line-height: 1.7;
}

.article-sidebar__list {
  display: grid;
  gap: 0.85rem;
}

.article-sidebar__list li {
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  background: color-mix(in oklch, var(--secondary) 35%, transparent);
  color: var(--foreground);
  font-weight: 500;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 4rem 0; /* py-16 */
}

.site-footer__grid {
  display: grid;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .site-footer__brand { grid-column: span 2; }
}

.site-footer__logo img {
  height: 2.5rem; /* h-10 */
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 1rem;
}

.site-footer__brand-desc {
  color: color-mix(in oklch, var(--primary-foreground) 80%, transparent);
  line-height: 1.625;
  max-width: 28rem;
}

.site-footer__col h3 {
  font-weight: 600;
  margin-bottom: 1rem;
}

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

.site-footer__col li,
.site-footer__col a {
  color: color-mix(in oklch, var(--primary-foreground) 80%, transparent);
  font-size: 0.875rem; /* not explicitly set but consistent with site */
  transition: color 0.2s;
}

.site-footer__col a:hover {
  color: var(--primary-foreground);
}

.site-footer__col--contact ul {
  gap: 0.75rem;
}

.site-footer__col--contact li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-footer__col--contact svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-footer__bottom {
  border-top: 1px solid color-mix(in oklch, var(--primary-foreground) 20%, transparent);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .site-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.site-footer__copyright {
  font-size: 0.875rem;
  color: color-mix(in oklch, var(--primary-foreground) 60%, transparent);
}

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

.site-footer__legal a {
  font-size: 0.875rem;
  color: color-mix(in oklch, var(--primary-foreground) 60%, transparent);
  transition: color 0.2s;
}

.site-footer__legal a:hover {
  color: var(--primary-foreground);
}

/* ============================================================
   WHATSAPP FLOAT BUTTON
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  background-color: #25D366;
  color: white;
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  transition: all 0.3s;
  text-decoration: none;
}

.whatsapp-float:hover {
  background-color: #128C7E;
  transform: scale(1.1);
}

.whatsapp-float svg {
  width: 2rem;
  height: 2rem;
  fill: currentColor;
}

.whatsapp-float__tooltip {
  position: absolute;
  right: calc(100% + 1rem);
  background: white;
  color: black;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.2s;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  pointer-events: none;
}

.whatsapp-float:hover .whatsapp-float__tooltip {
  opacity: 1;
}

/* ============================================================
   CRM PAGE — HERO
   ============================================================ */
.crm-hero {
  background: linear-gradient(135deg, var(--primary), var(--blue-700));
  color: white;
  padding: 5rem 0; /* py-20 */
}

.crm-hero .container {
  max-width: 56rem; /* max-w-4xl */
  text-align: center;
}

.crm-hero__badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background-color: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  font-size: 0.875rem;
  font-weight: 600;
}

.crm-hero h1 {
  font-size: 3rem; /* text-5xl */
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

@media (min-width: 1024px) {
  .crm-hero h1 { font-size: 3.75rem; } /* lg:text-6xl */
}

.crm-hero__subtitle {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
}

.crm-hero__ctas {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .crm-hero__ctas { flex-direction: row; }
}

/* Stats bar */
.crm-stats-bar {
  background: var(--background);
  border-bottom: 1px solid var(--border);
  padding: 3rem 0;
}

.crm-stats-bar .container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (min-width: 768px) {
  .crm-stats-bar .container { grid-template-columns: repeat(4, 1fr); }
}

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

.crm-stat__num {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.crm-stat__label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ============================================================
   CRM FEATURES SECTION
   ============================================================ */
.crm-features {
  padding: 5rem 0;
}

.crm-features .container {
  max-width: 72rem; /* max-w-6xl */
}

.crm-features__header {
  text-align: center;
  margin-bottom: 4rem;
}

.crm-features__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 1rem;
}

.crm-features__header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.crm-features__header p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto;
}

.crm-features__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .crm-features__grid { grid-template-columns: repeat(3, 1fr); }
}

.crm-module-card {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  border-left-width: 4px;
  border-left-style: solid;
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s;
}

.crm-module-card:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.crm-module-card--pipeline { border-left-color: var(--primary); }
.crm-module-card--accounting { border-left-color: var(--green-500); }
.crm-module-card--operations { border-left-color: var(--amber-500); }

.crm-module-card__icon-wrap {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.crm-module-card--pipeline   .crm-module-card__icon-wrap { background: var(--blue-100); }
.crm-module-card--accounting .crm-module-card__icon-wrap { background: var(--green-100); }
.crm-module-card--operations .crm-module-card__icon-wrap { background: var(--amber-100); }

.crm-module-card__icon {
  width: 1.5rem;
  height: 1.5rem;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.crm-module-card--pipeline   .crm-module-card__icon { stroke: var(--primary); }
.crm-module-card--accounting .crm-module-card__icon { stroke: var(--green-500); }
.crm-module-card--operations .crm-module-card__icon { stroke: var(--amber-500); }

.crm-module-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.crm-module-card > p {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.625;
}

.crm-module-card__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.crm-module-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.crm-module-card__list-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.crm-module-card--pipeline   .crm-module-card__list-icon { stroke: var(--primary); }
.crm-module-card--accounting .crm-module-card__list-icon { stroke: var(--green-500); }
.crm-module-card--operations .crm-module-card__list-icon { stroke: var(--amber-500); }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works {
  background: var(--muted);
  padding: 5rem 0;
}

.how-it-works .container {
  max-width: 72rem;
}

.how-it-works__header {
  text-align: center;
  margin-bottom: 4rem;
}

.how-it-works__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 1rem;
}

.how-it-works__header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.how-it-works__header p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto;
  line-height: 1.625;
}

.how-it-works__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .how-it-works__grid { grid-template-columns: repeat(4, 1fr); }
}

.step {
  text-align: center;
}

.step__num {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background-color: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.step h3 {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.625;
}

/* ============================================================
   CTA SECTION (CRM page)
   ============================================================ */
.crm-cta {
  background: linear-gradient(90deg, var(--primary), var(--blue-700));
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.crm-cta .container {
  max-width: 48rem;
}

.crm-cta h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
}

.crm-cta p {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
  line-height: 1.625;
}

/* ============================================================
   RESPONSIVE — MOBILE NAV
   ============================================================ */
@media (max-width: 767px) {
  .site-nav { display: none; }
  .nav-mobile-toggle { display: block; }
}

/* ============================================================
   UTILITY: MAIN PADDING FOR FIXED HEADER
   ============================================================ */
main { padding-top: 0; }

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

/* Page header (reused pattern from services/portfolio) */
.page-header {
  padding: 6rem 0 3rem;
  background-color: color-mix(in oklch, var(--secondary) 30%, transparent);
  border-bottom: 1px solid var(--border);
}

@media (min-width: 768px) {
  .page-header { padding: 8rem 0 4rem; }
}

.page-header__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 1rem;
}

.page-header h1 {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-wrap: balance;
  margin-bottom: 1rem;
  line-height: 1.1;
}

@media (min-width: 768px) {
  .page-header h1 { font-size: 3rem; }
}

@media (min-width: 1024px) {
  .page-header h1 { font-size: 3.75rem; }
}

.page-header__desc {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.625;
  max-width: 40rem;
}

/* Contact layout */
.contact-section {
  padding: 5rem 0 6rem;
}

.contact-grid {
  display: grid;
  gap: 4rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 5fr 7fr;
    gap: 5rem;
  }
}

/* Contact info panel */
.contact-info__heading {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.contact-info__subheading {
  font-size: 1rem;
  color: var(--muted-foreground);
  line-height: 1.625;
  margin-bottom: 2.5rem;
}

.contact-info__cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info__card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.contact-info__card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  border-color: color-mix(in oklch, var(--primary) 30%, transparent);
}

.contact-info__card-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
  background-color: color-mix(in oklch, var(--primary) 10%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info__card-icon svg {
  width: 1.125rem;
  height: 1.125rem;
  stroke: var(--primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-info__card-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-foreground);
  margin-bottom: 0.2rem;
}

.contact-info__card-value {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--foreground);
  line-height: 1.5;
}

.contact-info__card-value a {
  color: var(--foreground);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-info__card-value a:hover {
  color: var(--primary);
}

/* Response time badge */
.contact-info__response {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: color-mix(in oklch, var(--primary) 6%, transparent);
  border: 1px solid color-mix(in oklch, var(--primary) 15%, transparent);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-info__response-dot {
  width: 0.5rem;
  height: 0.5rem;
  background: #22c55e;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.2);
  animation: pulse-green 2s ease-in-out infinite;
}

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34,197,94,0.2); }
  50%       { box-shadow: 0 0 0 6px rgba(34,197,94,0.1); }
}

.contact-info__response-text {
  font-size: 0.85rem;
  color: var(--muted-foreground);
  line-height: 1.4;
}

.contact-info__response-text strong {
  display: block;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.1rem;
}

/* Contact form card */
.contact-form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.05);
}

@media (min-width: 640px) {
  .contact-form-card { padding: 2.5rem; }
}

.contact-form-card__heading {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
  letter-spacing: -0.02em;
}

.contact-form-card__subheading {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  line-height: 1.5;
}

/* Form elements */
.form-row {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
  .form-row--2col { grid-template-columns: 1fr 1fr; }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}

.form-label .required {
  color: var(--destructive);
  margin-left: 0.2rem;
}

.form-input,
.form-select,
.form-textarea {
  font-family: inherit;
  font-size: 0.875rem;
  color: var(--foreground);
  background-color: var(--background);
  border: 1px solid var(--input);
  border-radius: var(--radius);
  padding: 0.625rem 0.875rem;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  -webkit-appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--primary) 15%, transparent);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--muted-foreground);
  opacity: 0.7;
}

.form-textarea {
  resize: vertical;
  min-height: 8rem;
  line-height: 1.625;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

/* Checkbox consent */
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-bottom: 1.5rem;
}

.form-consent input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  margin-top: 0.125rem;
  flex-shrink: 0;
  accent-color: var(--primary);
  cursor: pointer;
}

.form-consent label {
  font-size: 0.8rem;
  color: var(--muted-foreground);
  line-height: 1.5;
  cursor: pointer;
}

.form-consent label a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Submit button */
.btn-submit {
  width: 100%;
  background-color: var(--primary);
  color: var(--primary-foreground);
  height: 2.75rem;
  padding: 0 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s;
  font-family: inherit;
}

.btn-submit:hover {
  background-color: color-mix(in oklch, var(--primary) 88%, black);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px color-mix(in oklch, var(--primary) 35%, transparent);
}

.btn-submit:active {
  transform: translateY(0);
}

.btn-submit svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

/* Status messages (shown after form submission) */
.form-status {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
}

.form-status--success {
  background: color-mix(in oklch, var(--green-500) 10%, transparent);
  border: 1px solid color-mix(in oklch, var(--green-500) 30%, transparent);
  color: oklch(35% .12 150);
}

.form-status--error {
  background: color-mix(in oklch, var(--destructive) 8%, transparent);
  border: 1px solid color-mix(in oklch, var(--destructive) 25%, transparent);
  color: oklch(40% .18 27);
}

.form-status__icon {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
  margin-top: 0.05rem;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-status--success .form-status__icon { stroke: oklch(52% .17 149); }
.form-status--error   .form-status__icon { stroke: oklch(55% .22 27); }

.form-status__body strong {
  display: block;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

/* Field error hint */
.form-hint {
  font-size: 0.78rem;
  color: var(--destructive);
  margin-top: 0.25rem;
}
