/* ===========================
   Art AI Solutions — Global Styles (2025)
   Colors: white, navy, dark grey
   Mobile-first, accessible, tidy ✨
   =========================== */

/* ---------- Design tokens ---------- */
:root{
  /* Brand */
  --white: #ffffff;
  --navy:  #0a2342;
  --dark:  #1f2937;   /* dark grey text */
  --muted: #6b7280;   /* secondary text */
  --accent:#2563eb;   /* link/cta blue (kept subtle) */

  /* Surfaces & borders */
  --bg:     #f7f8fa;
  --border: rgba(0,0,0,0.08);
  --ring:   rgba(37,99,235,0.28);

  /* Radii & shadows */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 16px;
  --shadow-sm: 0 4px 14px rgba(2,6,23,0.06);
  --shadow-md: 0 8px 24px rgba(2,6,23,0.08);

  /* Spacing scale */
  --space-xs: 6px;
  --space-sm: 10px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 72px;

  /* Breakpoints */
  --bp-tablet: 860px;
  --bp-desktop: 1100px;
}

/* ---------- Reset / base ---------- */
*{ box-sizing:border-box }
html,body{ margin:0; padding:0 }
html{ scroll-behavior:smooth }
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, Apple Color Emoji, Segoe UI Emoji;
  color:var(--dark);
  background:var(--bg);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
img{ max-width:100%; height:auto; display:block }
a{ color:inherit; text-decoration:none }
.container{ width:min(1120px,92%); margin:0 auto }

/* ---------- Typography ---------- */
h1,h2,h3{ color:var(--navy); margin:0 0 var(--space-md) 0; line-height:1.2; }
h1{ font-size: clamp(2rem, 4.6vw, 3rem); }
h2{ font-size: clamp(1.5rem, 3vw, 2rem); }
h3{ font-size: clamp(1.1rem, 2.2vw, 1.25rem); }
p{ margin:0 0 var(--space-md) 0 }
.lead{ font-size:1.1rem; color:var(--muted) }
.small{ font-size:.92rem; opacity:.92 }
.success{ color:#16a34a; font-weight:700 }
.error{ color:#b91c1c; font-weight:700 }

/* ---------- Layout helpers ---------- */
.section{ padding: var(--space-xl) 0 }
.hero{ padding: var(--space-2xl) 0 var(--space-lg) 0 }
.grid{ display:grid; gap:var(--space-lg) }
.grid-2{ grid-template-columns:1fr; }
@media (min-width: 861px){
  .grid-2{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}

/* 3-col -> 2-col -> 1-col responsive grid (Services & Pricing) */
.grid-responsive-3{
  display:grid; gap:var(--space-lg);
  grid-template-columns: 1fr;
}
@media (min-width: 741px){
  .grid-responsive-3{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (min-width: 1101px){
  .grid-responsive-3{ grid-template-columns: repeat(3, minmax(0,1fr)); }
}

/* Stack buttons on small screens */
.stack-sm{ display:flex; gap:var(--space-sm); flex-wrap:wrap }
@media (max-width:640px){
  .stack-sm .btn{ width:100%; text-align:center }
}

/* ---------- Header / nav ---------- */
.header{
  position:sticky; top:0; z-index:20;
  background:var(--white);
  border-bottom:1px solid var(--border);
  backdrop-filter: blur(8px);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding: 14px 0;
}
.logo{
  display:flex; align-items:center; gap:10px;
}
.logo-mark{ display:none !important; }   /* hide the stray “A” square */
.logo-text{ font-weight:800; color:var(--navy); font-size:1.1rem; letter-spacing:.2px; }

.nav a{ margin-left:18px; font-weight:600; }
.nav a:not(.btn){ color:var(--dark); }
.nav a:hover{ color:var(--navy); }

.btn{
  display:inline-block; padding:10px 16px;
  border-radius: var(--r-md);
  border:1px solid var(--border);
  background:var(--navy); color:#fff; font-weight:700;
  box-shadow: var(--shadow-md);
  transform: translateY(0); transition: transform .06s ease, box-shadow .2s ease, opacity .2s ease;
}
.btn:hover{ transform:translateY(-1px) }
.btn:active{ transform:translateY(0) scale(.99) }
.btn:focus-visible{ outline:none; box-shadow:0 0 0 3px var(--ring) }
.btn.outline{
  background:transparent; color:var(--navy);
  border:1px solid var(--navy); box-shadow:var(--shadow-sm);
}

/* ---------- Cards, lists, badges ---------- */
.card{
  background:var(--white);
  border:1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
}
.badge{
  display:inline-block; padding:6px 10px;
  font-size:.75rem; font-weight:700;
  border-radius:999px; background:#eef2ff; color:var(--navy);
}
.list{ list-style:none; padding:0; margin:0 }
.list li{
  display:flex; gap:10px; align-items:flex-start;
  margin:8px 0;
}
.list li::before{ content:"✓"; color:var(--accent); font-weight:800; margin-top:1px }

/* ---------- Pricing bits ---------- */
.price{ font-size:2rem; font-weight:800; color:var(--navy); }

/* ---------- Forms ---------- */
label{ font-weight:700; display:block; margin-bottom:6px }
.input, textarea{
  width:100%; padding:12px 14px;
  border-radius: var(--r-md);
  border:1px solid var(--border);
  background:#f9fafb;
  outline:none;
}
.input:focus, textarea:focus{
  border-color:var(--accent);
  box-shadow:0 0 0 3px var(--ring);
  background:#fff;
}
.form-row{
  display:grid; gap:12px; grid-template-columns:1fr;
}
@media (min-width: 641px){
  .form-row{ grid-template-columns: 1fr 1fr; }
}

/* ---------- Footer / contact area ---------- */
.footer{
  padding: var(--space-xl) 0 var(--space-2xl) 0;
  color:#fff;
  background:
    linear-gradient(0deg, rgba(10,35,66,0.88), rgba(10,35,66,0.82)),
    url('/assets/grid.svg');
  background-size: cover;
}
footer a{ color:#bfdbfe }

/* ---------- Calendly (clean + responsive) ---------- */
/* Card wrapper for inline embed */
.cal-embed{
  background:#fff;
  border:1px solid var(--border);
  border-radius: var(--r-lg);
  overflow:hidden;
  box-shadow: var(--shadow-sm);
  /* remove default padding so the iframe fills nicely */
  padding:0;
}

/* Make the inline widget fill width and have a sensible height per breakpoint */
.cal-embed .calendly-inline-widget{
  width:100% !important;
  height:760px !important;      /* desktop */
}
@media (max-width: 1024px){
  .cal-embed .calendly-inline-widget{ height:680px !important; }
}
@media (max-width: 640px){
  .cal-embed .calendly-inline-widget{ height:560px !important; }
}

/* ---------- Misc / polish ---------- */
hr.sep{
  border:none; border-top:1px solid var(--border);
  margin: var(--space-lg) 0;
}
@media (max-width: 860px){
  .hero{ padding: 28px 0 28px; }
}

@media (prefers-reduced-motion: reduce){
  *{ transition:none !important; animation:none !important }
}
/* Calendly: CSS-only fix (works with any wrapper) */
.calendly-inline-widget{
  width:100% !important;
  height:760px !important;      /* desktop */
  min-width:320px;
  border:1px solid rgba(0,0,0,0.08);
  border-radius:16px;
  background:#fff;
  box-shadow:0 8px 24px rgba(2,6,23,0.06);
  overflow:hidden;
}

@media (max-width:1024px){
  .calendly-inline-widget{ height:680px !important; }
}
@media (max-width:640px){
  .calendly-inline-widget{ height:560px !important; }
}
/* Kill any leftover logo mark or pseudo-elements */
.logo-mark{ display:none !important; }
.logo::before,
.logo::after{ content:none !important; display:none !important; }
.logo{ gap:0; }
/* Prevent equal-height stretch in grids (so left card only fits its content) */
.grid, .grid-2 { align-items: start; }
/* Calendly: fixed, responsive height + tidy frame */
.calendly-inline-widget{
  width:100% !important;
  height:760px !important;             /* desktop */
  min-width:320px;
  border:1px solid rgba(0,0,0,0.08);
  border-radius:16px;
  background:#fff;
  box-shadow:0 8px 24px rgba(2,6,23,0.06);
  overflow:hidden;
}
@media (max-width:1024px){
  .calendly-inline-widget{ height:680px !important; }
}
@media (max-width:640px){
  .calendly-inline-widget{ height:560px !important; }
}
/* Book-call grid: don't stretch items to same height */
.grid, .grid-2 { align-items: start; }

/* Calendly: fixed, responsive height (works regardless of wrapper) */
.calendly-inline-widget{
  width:100% !important;
  height:760px !important;     /* desktop */
  min-width:320px;
  border:1px solid rgba(0,0,0,0.08);
  border-radius:16px;
  background:#fff;
  box-shadow:0 8px 24px rgba(2,6,23,0.06);
  overflow:hidden;
}
@media (max-width:1024px){
  .calendly-inline-widget{ height:680px !important; }
}
@media (max-width:640px){
  .calendly-inline-widget{ height:560px !important; }
}
