:root {
  --primary: #dc2626;
  --primary-dark: #991b1b;
  --dark: #0f172a;
  --gray: #64748b;
  --bg-alt: #fef2f2;
  --bg-site: #f8fafc;
  --white: #ffffff;
  --radius-bento: 24px;
  --radius-inner: 16px;
  --shadow-bento: 0 12px 36px rgba(15, 23, 42, 0.06);
  --shadow-bento-hover: 0 22px 50px rgba(220, 38, 38, 0.16);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-site);
  color: var(--dark);
  line-height: 1.6;
  scroll-behavior: smooth;
}

html { scroll-behavior: smooth; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.main-content {
  padding-top: 40px;
  padding-bottom: 70px;
}

h1, h2, h3 { margin-top: 0; font-weight: 700; letter-spacing: -0.02em; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
  z-index: 100;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}

.logo {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--primary-dark);
  text-decoration: none;
}

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

.nav a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav a:hover { color: var(--primary); }

.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(220, 38, 38, 0.35);
}

/* ==========================================================================
   Bento Grid Layout System
   ========================================================================== */

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.bento-grid-sub {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  width: 100%;
}

.bento-span-12 { grid-column: span 12; }
.bento-span-8  { grid-column: span 8; }
.bento-span-6  { grid-column: span 6; }
.bento-span-4  { grid-column: span 4; }

/* Bento Box Component */
.bento-box {
  background: var(--white);
  border-radius: var(--radius-bento);
  padding: 32px;
  box-shadow: var(--shadow-bento);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.bento-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-bento-hover);
  border-color: rgba(220, 38, 38, 0.25);
}

.bento-section {
  grid-column: span 12;
  margin-top: 16px;
}

.bento-section-title {
  margin-bottom: 24px;
  text-align: left;
}

.bento-section-title h2 {
  font-size: 1.85rem;
  margin-bottom: 6px;
  color: var(--dark);
}

.bento-section-title p {
  color: var(--gray);
  margin: 0;
  font-size: 1rem;
}

/* Bento Hero Box */
.bento-hero {
  background-size: cover;
  background-position: center;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 380px;
}

.bento-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

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

.bento-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  color: var(--white);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}

.bento-hero h1 {
  font-size: 2.5rem;
  line-height: 1.25;
  margin-bottom: 16px;
  color: var(--white);
}

.bento-hero p {
  font-size: 1.1rem;
  margin-bottom: 28px;
  opacity: 0.95;
  max-width: 580px;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--white);
  color: var(--primary-dark);
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}

.btn-primary:hover {
  background: #fee2e2;
  transform: translateY(-2px);
}

/* Bento About Box */
.bento-about {
  padding: 0;
  background: linear-gradient(180deg, var(--white) 0%, var(--bg-alt) 100%);
}

.bento-about-img-wrapper {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.bento-about-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.bento-about:hover .bento-about-img-wrapper img {
  transform: scale(1.06);
}

.bento-about-badge {
  position: absolute;
  bottom: 12px;
  left: 14px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
}

.bento-about-content {
  padding: 24px 28px 28px;
}

.bento-about h2 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.bento-about-text p {
  color: var(--gray);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
}

/* Bento Service Cards */
.bento-service-card {
  padding: 0;
}

.bento-card-media {
  position: relative;
  width: 100%;
  height: 160px;
  overflow: hidden;
  background: #f1f5f9;
}

.bento-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.bento-service-card:hover .bento-card-media img {
  transform: scale(1.08);
}

.bento-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(220, 38, 38, 0.9);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}

.bento-service-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.bento-service-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.bento-service-icon {
  font-size: 1.6rem;
  background: var(--bg-alt);
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bento-service-card h3 {
  font-size: 1.15rem;
  margin: 0;
  color: var(--dark);
}

.bento-service-body {
  color: var(--gray);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* Bento Team Cards */
.bento-team-card {
  padding: 28px;
}

.bento-team-inner {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.bento-avatar-photo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.2);
  border: 3px solid var(--white);
  flex-shrink: 0;
}

.bento-avatar-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bento-avatar-icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--bg-alt);
  font-size: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bento-team-info h3 {
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.bento-role {
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 8px;
}

.bento-team-desc {
  color: var(--gray);
  font-size: 0.9rem;
}

/* Bento Hours & Contact Box */
.bento-hours h2 { font-size: 1.35rem; margin: 0; }

.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.hours-table td {
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 0.9rem;
}

.hours-table td:first-child { font-weight: 600; color: var(--dark); }

.bento-contact-details h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.bento-contact-details p {
  margin: 6px 0;
  font-size: 0.9rem;
  color: var(--gray);
}

.bento-contact-details a {
  color: var(--primary-dark);
  text-decoration: none;
  font-weight: 500;
}

/* Bento Form Box */
.bento-form-box h2 { font-size: 1.35rem; margin: 0; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  font-weight: 500;
  font-size: 0.85rem;
  gap: 4px;
}

.contact-form input,
.contact-form textarea {
  padding: 10px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.92rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.contact-form button {
  align-self: flex-start;
  margin-top: 4px;
}

/* Footer */
.site-footer {
  background: var(--dark);
  color: #94a3b8;
  padding: 32px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.9rem;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  margin-left: 20px;
  transition: color 0.2s ease;
}

.footer-links a:hover { color: var(--white); }

/* ==========================================================================
   Responsive Bento Spans
   ========================================================================== */

@media (max-width: 1024px) {
  .bento-span-8, .bento-span-6, .bento-span-4 {
    grid-column: span 6;
  }
  .bento-hero {
    grid-column: span 12;
  }
  .bento-about {
    grid-column: span 12;
  }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .bento-grid { gap: 16px; }
  .bento-span-12, .bento-span-8, .bento-span-6, .bento-span-4 {
    grid-column: span 12;
  }
  .form-row { grid-template-columns: 1fr; }
  .bento-hero h1 { font-size: 1.8rem; }
  .bento-box { padding: 24px; }
}
