/* ===================================================
   יעל דהן — The Tech-Forward Modular (Bento Grid)
   =================================================== */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;700;800&family=Heebo:wght@300;400;700&display=swap');

/* ---------- Reset ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

img { display: block; max-width: 100%; }
ul  { list-style: none; }
a   { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ---------- Design Tokens ---------- */
:root {
  --bg-base:       #0A0F0D;
  --bg-card:       #141C18;
  --bg-card-alt:   #0f1a15;
  --color-gold:    #C5A059;
  --color-gold-dim: rgba(197,160,89,0.18);
  --color-gold-glow: rgba(197,160,89,0.25);
  --color-silver:  #E8ECE9;
  --color-muted:   #8A9E96;
  --glass-bg:      rgba(20,28,24,0.70);
  --glass-bg-dark: rgba(10,15,13,0.82);
  --glass-border:  rgba(197,160,89,0.18);
  --glass-blur:    blur(12px);
  --font-heading:  'Syne', sans-serif;
  --font-body:     'Heebo', sans-serif;
  --radius-xl:     24px;
  --radius-lg:     18px;
  --radius-md:     12px;
  --radius-pill:   999px;
  --transition:    0.3s ease;
  --shadow-card:   0 8px 32px rgba(0,0,0,0.5), 0 2px 8px rgba(0,0,0,0.3);
  --shadow-gold:   0 0 32px rgba(197,160,89,0.22), 0 4px 24px rgba(0,0,0,0.4);
  --section-pad:   clamp(64px, 8vw, 120px) clamp(16px, 4vw, 60px);
}

/* ---------- Base ---------- */
html {
  direction: rtl;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  font-size: 16px;
}

body {
  background-color: var(--bg-base);
  color: var(--color-silver);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-silver);
}

h1 { font-size: clamp(2rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }

p  { color: var(--color-muted); font-weight: 300; }

section { position: relative; overflow: hidden; }

/* ---------- Keyframes ---------- */
@keyframes levitate {
  0%, 100% { transform: translateY(0px);  }
  50%       { transform: translateY(-8px); }
}

@keyframes blobMorph {
  0%   { border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%; }
  25%  { border-radius: 40% 60% 30% 70% / 60% 40% 60% 40%; }
  50%  { border-radius: 70% 30% 50% 50% / 40% 70% 30% 60%; }
  75%  { border-radius: 30% 70% 60% 40% / 70% 30% 70% 30%; }
  100% { border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%; }
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0);    }
}

@keyframes drawerIn {
  from { transform: translateX(100%); }
  to   { transform: translateX(0);    }
}

@keyframes overlayIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Gradient Blobs ---------- */
.blob {
  position: absolute;
  border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: blobMorph 14s ease-in-out infinite;
}

.blob-1 {
  width: 500px; height: 500px;
  background: var(--color-gold);
  opacity: 0.07;
  top: -120px; right: -100px;
  animation-duration: 12s;
}

.blob-2 {
  width: 400px; height: 400px;
  background: #3ecf8e;
  opacity: 0.05;
  bottom: -80px; left: -80px;
  animation-duration: 16s;
  animation-delay: -4s;
}

.blob-3 {
  width: 300px; height: 300px;
  background: var(--color-silver);
  opacity: 0.04;
  top: 40%; left: 40%;
  animation-duration: 20s;
  animation-delay: -8s;
}

/* ---------- Utility ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.gold-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #c5a059 0%, #e8c87a 50%, #c5a059 100%);
  color: #0A0F0D;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  transition: transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.gold-btn:hover {
  transform: scale(1.04) translateY(-2px);
  box-shadow: 0 8px 28px rgba(197,160,89,0.45);
}

.price-chip {
  display: inline-block;
  background: var(--color-gold-dim);
  border: 1px solid var(--glass-border);
  color: var(--color-gold);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
}

.section-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 12px;
  display: block;
}

/* ======================================================
   FLOATING DOCK (nav)
   ====================================================== */
.dock {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: min(860px, calc(100vw - 32px));
  background: var(--glass-bg-dark);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: background var(--transition), box-shadow var(--transition);
}

.dock.scrolled {
  background: rgba(10,15,13,0.94);
  box-shadow: 0 4px 32px rgba(0,0,0,0.5), 0 0 0 1px rgba(197,160,89,0.12);
}

.dock-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--color-silver);
  white-space: nowrap;
  flex-shrink: 0;
}
.dock-logo span { color: var(--color-gold); }

.dock-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.dock-nav a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-muted);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  transition: color var(--transition), background var(--transition);
}
.dock-nav a:hover {
  color: var(--color-silver);
  background: rgba(232,236,233,0.07);
}

.dock-cta {
  background: linear-gradient(135deg, #c5a059, #e8c87a);
  color: #0A0F0D;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform var(--transition), box-shadow var(--transition);
}
.dock-cta:hover {
  transform: scale(1.04);
  box-shadow: 0 4px 20px rgba(197,160,89,0.4);
}

/* Hamburger */
.dock-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}
.dock-hamburger span {
  display: block;
  height: 2px;
  background: var(--color-silver);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile overlay nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,15,13,0.97);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-silver);
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--color-gold); }
.mobile-nav-close {
  position: absolute;
  top: 28px;
  left: 28px;
  font-size: 1.8rem;
  color: var(--color-muted);
  cursor: pointer;
  line-height: 1;
  transition: color var(--transition);
}
.mobile-nav-close:hover { color: var(--color-silver); }

/* ======================================================
   SECTION A — #home / about
   ====================================================== */
#home {
  padding: var(--section-pad);
  padding-top: calc(clamp(64px, 8vw, 120px) + 80px);
  min-height: 100vh;
}

.home-bento {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 3fr 2fr;
  grid-template-rows: auto auto;
  grid-template-areas:
    "hero    portrait"
    "about   about";
  gap: 20px;
  max-width: 1300px;
  margin: 0 auto;
}

/* Glass card base */
.bento-card {
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 40px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  animation: levitate 4.8s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}
.bento-card:nth-child(2) { animation-duration: 5.4s; animation-delay: -1.2s; }
.bento-card:nth-child(3) { animation-duration: 6.1s; animation-delay: -2.8s; }
.bento-card:nth-child(4) { animation-duration: 5.8s; animation-delay: -0.6s; }
.bento-card:nth-child(5) { animation-duration: 4.6s; animation-delay: -3.5s; }
.bento-card:nth-child(6) { animation-duration: 6.5s; animation-delay: -1.8s; }

.bento-card:hover {
  transform: scale(1.02) translateY(-4px);
  border-color: var(--color-gold);
  box-shadow: var(--shadow-gold);
  animation-play-state: paused;
}

/* Hero card */
.card-hero {
  grid-area: hero;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  min-height: 420px;
}

.card-hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
}

.card-hero h1 em {
  font-style: normal;
  color: var(--color-gold);
}

.card-hero .subtitle {
  font-size: 1.05rem;
  color: var(--color-muted);
  font-weight: 300;
  max-width: 480px;
}

.card-hero .cta-row {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.card-hero .social-proof {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.card-hero .stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.card-hero .stat .num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--color-gold);
  line-height: 1;
}
.card-hero .stat .label {
  font-size: 0.78rem;
  color: var(--color-muted);
}

/* Portrait card */
.card-portrait {
  grid-area: portrait;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.card-portrait .portrait-main {
  flex: 1;
  overflow: hidden;
}

.card-portrait .portrait-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}
.card-portrait:hover .portrait-main img { transform: scale(1.04); }

.card-portrait .portrait-desk {
  height: 150px;
  overflow: hidden;
  border-top: 1px solid var(--glass-border);
}
.card-portrait .portrait-desk img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card-portrait:hover .portrait-desk img { transform: scale(1.05); }

/* About anchor offset */
#about {
  scroll-margin-top: 100px;
}

/* About card */
.card-about {
  grid-area: about;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.card-about .about-title { margin-bottom: 16px; }

.card-about blockquote {
  border-right: 3px solid var(--color-gold);
  padding-right: 20px;
  margin: 20px 0;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--color-silver);
  font-weight: 300;
}

.about-credentials {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.credential-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  background: rgba(197,160,89,0.06);
  border: 1px solid var(--color-gold-dim);
  border-radius: var(--radius-md);
}
.credential-item .icon {
  width: 32px;
  height: 32px;
  background: var(--color-gold-dim);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}
.credential-item .text strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-silver);
  margin-bottom: 2px;
}
.credential-item .text span {
  font-size: 0.82rem;
  color: var(--color-muted);
}

/* ======================================================
   SECTION B — #services
   ====================================================== */
#services {
  padding: var(--section-pad);
}

#services .section-bg {
  position: absolute;
  inset: 0;
  background-image: url('healthy-nutrition-ingredients-avocado.png');
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  filter: blur(2px);
  pointer-events: none;
}

.services-header {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.services-bento {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-areas: "service1 service2 service3";
  gap: 20px;
  max-width: 1300px;
  margin: 0 auto;
}

.service-card {
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  animation: levitate 5.2s ease-in-out infinite;
  display: flex;
  flex-direction: column;
}

.service-card:nth-child(2) { animation-duration: 6s;   animation-delay: -2s; }
.service-card:nth-child(3) { animation-duration: 4.8s; animation-delay: -1s; }

.service-card:hover {
  transform: scale(1.02) translateY(-4px);
  border-color: var(--color-gold);
  box-shadow: var(--shadow-gold);
  animation-play-state: paused;
}

.service-card-1 { grid-area: service1; cursor: pointer; }
.service-card-2 { grid-area: service2; }
.service-card-3 { grid-area: service3; }

.service-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
  flex-shrink: 0;
}
.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .service-img img { transform: scale(1.06); }

.service-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.service-body h3 { color: var(--color-silver); margin-bottom: 4px; }
.service-body p  { font-size: 0.9rem; flex: 1; }

.service-prices {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.service-1-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--color-gold);
  margin-top: 8px;
}

/* ======================================================
   SERVICE DRAWER
   ====================================================== */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.drawer-overlay.open {
  opacity: 1;
  pointer-events: all;
  animation: overlayIn 0.3s ease forwards;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(520px, 95vw);
  height: 100%;
  background: #0d1710;
  border-right: 1px solid var(--glass-border);
  z-index: 1200;
  overflow-y: auto;
  padding: 48px 36px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.drawer.open { transform: translateX(0); }

.drawer-close {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 36px;
  height: 36px;
  background: var(--color-gold-dim);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-silver);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background var(--transition);
}
.drawer-close:hover { background: rgba(197,160,89,0.3); }

.drawer h2 { font-size: 1.6rem; }

.drawer-section { display: flex; flex-direction: column; gap: 10px; }
.drawer-section h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 4px;
}

.drawer-section ul { display: flex; flex-direction: column; gap: 8px; }
.drawer-section li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--color-muted);
}
.drawer-section li::before {
  content: '✦';
  color: var(--color-gold);
  font-size: 0.6rem;
  margin-top: 6px;
  flex-shrink: 0;
}

.drawer-divider {
  height: 1px;
  background: var(--glass-border);
}

.drawer-prices {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.drawer-price-item {
  background: rgba(197,160,89,0.08);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 14px 20px;
  text-align: center;
  flex: 1;
  min-width: 120px;
}
.drawer-price-item .amt {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-gold);
}
.drawer-price-item .dur {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-top: 2px;
}

.drawer-note {
  font-size: 0.82rem;
  color: var(--color-muted);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  padding: 12px 16px;
}

/* ======================================================
   SECTION C — #blog
   ====================================================== */
#blog {
  padding: var(--section-pad);
}

.blog-header {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 48px;
}

.blog-bento {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 60px);
}

.blog-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 380px;
  border: 1px solid var(--glass-border);
  animation: levitate 5s ease-in-out infinite;
  transition: border-color var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.blog-card:nth-child(2) { animation-duration: 6.2s; animation-delay: -1.5s; }
.blog-card:nth-child(3) { animation-duration: 4.7s; animation-delay: -3s;   }

.blog-card:hover {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-gold);
  animation-play-state: paused;
}

.blog-card-bg {
  position: absolute;
  inset: 0;
}
.blog-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.blog-card:hover .blog-card-bg img { transform: scale(1.08); }

.blog-card-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,15,13,0.95) 0%, rgba(10,15,13,0.4) 50%, transparent 100%);
}

.blog-card-front {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  z-index: 2;
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.blog-card:hover .blog-card-front {
  transform: translateY(-8px);
  opacity: 0.5;
}

.blog-card-front .category {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 8px;
}
.blog-card-front h3 {
  font-size: 1.1rem;
  color: var(--color-silver);
  line-height: 1.3;
}

.blog-card-reveal {
  position: absolute;
  inset: 0;
  background: var(--glass-bg-dark);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  z-index: 3;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.blog-card:hover .blog-card-reveal,
.blog-card.revealed .blog-card-reveal {
  opacity: 1;
  transform: translateY(0);
}

.blog-card-reveal .category {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
}
.blog-card-reveal h3 {
  font-size: 1.15rem;
  color: var(--color-silver);
}
.blog-card-reveal p {
  font-size: 0.88rem;
  color: var(--color-muted);
  line-height: 1.6;
}
.blog-card-reveal .read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-gold);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  transition: gap var(--transition);
}
.blog-card-reveal .read-more:hover { gap: 10px; }

/* ======================================================
   SECTION D — #contact
   ====================================================== */
#contact {
  padding: var(--section-pad);
}

.contact-header {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 48px;
}

.contact-bento {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-areas: "form info";
  gap: 20px;
  max-width: 1300px;
  margin: 0 auto;
}

/* Form card */
.card-form {
  grid-area: form;
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 40px;
  animation: levitate 5s ease-in-out infinite;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.card-form:hover {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-gold);
  animation-play-state: paused;
}

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

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-field label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-muted);
  letter-spacing: 0.05em;
}

.form-field input,
.form-field select,
.form-field textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(232,236,233,0.12);
  border-radius: var(--radius-md);
  color: var(--color-silver);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 16px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  direction: rtl;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(197,160,89,0.12);
}

.form-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C5A059' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 14px center;
  padding-left: 36px;
  cursor: pointer;
}

.form-field select option { background: #0d1710; }

.form-field textarea { resize: vertical; min-height: 100px; }

.form-error {
  font-size: 0.78rem;
  color: #e07070;
  display: none;
}
.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
  border-color: #e07070;
}
.form-field.has-error .form-error { display: block; }

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.form-footer .form-note {
  font-size: 0.8rem;
  color: var(--color-muted);
}

/* Success state */
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 40px 20px;
  text-align: center;
}
.form-success.show { display: flex; }
.form-success .success-icon {
  width: 64px;
  height: 64px;
  background: rgba(197,160,89,0.15);
  border: 2px solid var(--color-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
.form-success h3 { color: var(--color-gold); }

/* Info card */
.card-info {
  grid-area: info;
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: levitate 6s ease-in-out infinite;
  animation-delay: -2s;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.card-info:hover {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-gold);
  animation-play-state: paused;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.info-item .info-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
}
.info-item .info-value {
  font-size: 0.95rem;
  color: var(--color-silver);
  line-height: 1.5;
}

.info-divider {
  height: 1px;
  background: var(--glass-border);
}

.info-social {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.social-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(197,160,89,0.06);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  color: var(--color-muted);
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.social-link:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background: rgba(197,160,89,0.1);
}

/* ======================================================
   FOOTER
   ====================================================== */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--glass-border);
  padding: 28px clamp(16px, 4vw, 60px);
  max-width: 1300px;
  margin: 32px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

footer .footer-copy {
  font-size: 0.82rem;
  color: var(--color-muted);
}

footer .footer-links {
  display: flex;
  gap: 20px;
}
footer .footer-links a {
  font-size: 0.82rem;
  color: var(--color-muted);
  transition: color var(--transition);
}
footer .footer-links a:hover { color: var(--color-gold); }

/* ======================================================
   RESPONSIVE — Tablet (max 900px)
   ====================================================== */
@media (max-width: 900px) {
  .home-bento {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "hero     hero"
      "portrait portrait"
      "about    about";
  }

  .services-bento {
    grid-template-columns: 1fr;
    grid-template-areas:
      "service1"
      "service2"
      "service3";
  }

  .blog-bento { grid-template-columns: 1fr 1fr; }

  .contact-bento {
    grid-template-columns: 1fr;
    grid-template-areas:
      "form"
      "info";
  }

  .card-about { grid-template-columns: 1fr; }
}

/* ======================================================
   RESPONSIVE — Mobile (max 640px)
   ====================================================== */
@media (max-width: 640px) {
  .dock-nav, .dock-cta { display: none; }
  .dock-hamburger { display: flex; }

  .home-bento {
    grid-template-columns: 1fr;
    grid-template-areas:
      "hero"
      "portrait"
      "about";
  }

  .card-portrait { height: 280px; flex-direction: row; }
  .card-portrait .portrait-main { flex: 1; }
  .card-portrait .portrait-desk {
    height: auto;
    width: 40%;
    border-top: none;
    border-right: 1px solid var(--glass-border);
  }

  .blog-bento { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  footer { flex-direction: column; text-align: center; }

  .bento-card { padding: 24px; }
  .card-form  { padding: 28px; }
  .card-info  { padding: 28px; }
  .service-body { padding: 20px; }
}

@media (max-width: 400px) {
  h1 { font-size: 1.7rem; }
  .card-hero .social-proof { gap: 16px; }
}
