:root {
  --background: #f7f3e8;
  --foreground: #173126;
  --surface: #eef0df;
  --card: #fffdf6;
  --primary: #123e2a;
  --primary-strong: #0c2e1e;
  --primary-soft: #1c5539;
  --primary-foreground: #fffdf6;
  --secondary: #dfe8ce;
  --accent: #c99b52;
  --accent-text: #80602f;
  --muted-foreground: #647166;
  --border: #d9ddca;
  --shadow: 0 8px 24px rgba(23, 49, 38, 0.08);
  --shadow-md: 0 18px 45px rgba(23, 49, 38, 0.12);
  --shadow-lg: 0 28px 80px rgba(23, 49, 38, 0.16);
  --radius-sm: 0.55rem;
  --radius: 0.85rem;
  --radius-md: 1.15rem;
  --radius-lg: 1.75rem;
  --radius-full: 999px;
  --font-base: "Tajawal", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "El Messiri", "Tajawal", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--foreground);
  background: var(--background);
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  z-index: -2;
  inset: 0;
  pointer-events: none;
  opacity: 0.3;
  background-image: radial-gradient(rgba(18, 62, 42, 0.08) 0.65px, transparent 0.65px);
  background-size: 18px 18px;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

svg {
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
.button {
  font: inherit;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  right: 12px;
  padding: 10px 16px;
  color: var(--primary-foreground);
  border-radius: var(--radius-sm);
  background: var(--primary);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid rgba(201, 155, 82, 0.72);
  outline-offset: 4px;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid transparent;
  background: rgba(247, 243, 232, 0.82);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  border-color: rgba(217, 221, 202, 0.9);
  background: rgba(255, 253, 246, 0.94);
  box-shadow: 0 10px 30px rgba(23, 49, 38, 0.06);
}

.header-inner {
  width: min(1180px, calc(100% - 40px));
  height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--foreground);
  text-decoration: none;
}

.brand img,
.footer-brand img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  border: 1px solid rgba(217, 221, 202, 0.78);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(23, 49, 38, 0.08);
}

.brand span {
  color: #53635a;
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
}

.desktop-nav a {
  position: relative;
  padding: 10px 1px;
  color: #3f5549;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 180ms ease;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 3px;
  width: 100%;
  height: 2px;
  border-radius: var(--radius-full);
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

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

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button svg {
  width: 19px;
  height: 19px;
  transition: transform 180ms ease;
}

.button:hover svg {
  transform: translateX(-3px);
}

.button-primary {
  color: var(--primary-foreground);
  background: var(--primary);
  box-shadow: 0 11px 24px rgba(18, 62, 42, 0.2);
}

.button-primary:hover {
  background: var(--primary-soft);
  box-shadow: 0 14px 28px rgba(18, 62, 42, 0.25);
}

.button-outline {
  color: var(--primary);
  border-color: rgba(18, 62, 42, 0.25);
  background: rgba(255, 253, 246, 0.56);
}

.button-outline:hover {
  border-color: var(--primary);
  background: var(--card);
}

.button-small {
  min-height: 42px;
  padding-inline: 19px;
  font-size: 0.85rem;
}

.button-large {
  min-height: 54px;
  padding-inline: 27px;
}

.menu-button {
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  padding: 0;
  color: var(--primary);
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--card);
  cursor: pointer;
}

.menu-button svg {
  width: 23px;
  height: 23px;
}

.menu-button .close-icon,
.menu-button[aria-expanded="true"] .menu-icon {
  display: none;
}

.menu-button[aria-expanded="true"] .close-icon {
  display: block;
}

.mobile-nav {
  width: min(100% - 32px, 560px);
  margin: 0 auto 14px;
  flex-direction: column;
  gap: 2px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-md);
}

.mobile-nav a {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
}

.mobile-nav a:hover,
.mobile-nav a:focus-visible {
  background: var(--surface);
}

.mobile-nav .mobile-demo {
  margin-top: 5px;
  color: var(--primary-foreground);
  background: var(--primary);
  text-align: center;
}

.mobile-nav .mobile-demo:hover,
.mobile-nav .mobile-demo:focus-visible {
  background: var(--primary-soft);
}

.hero {
  position: relative;
  width: min(1440px, 100%);
  min-height: 850px;
  margin: 0 auto;
  padding-top: 150px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 88px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(18, 62, 42, 0.14), transparent);
}

.hero-glow {
  position: absolute;
  z-index: -2;
  top: 55px;
  right: -160px;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(223, 232, 206, 0.72), rgba(223, 232, 206, 0.13) 52%, transparent 72%);
  pointer-events: none;
}

.hero-grid {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  align-items: center;
  gap: clamp(44px, 6vw, 92px);
  padding-bottom: 68px;
}

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

.eyebrow,
.section-kicker,
.cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.eyebrow {
  margin: 0;
  padding: 8px 13px;
  border: 1px solid rgba(18, 62, 42, 0.12);
  border-radius: var(--radius-full);
  background: rgba(223, 232, 206, 0.56);
}

.eyebrow svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.hero h1 {
  max-width: 650px;
  margin: 26px 0 19px;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 6.8vw, 6.7rem);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.045em;
}

.hero h1 span {
  display: block;
  color: var(--primary);
  white-space: nowrap;
}

.hero-lead {
  max-width: 590px;
  margin: 0;
  color: #55665c;
  font-size: 1.02rem;
  line-height: 1.95;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 25px;
  color: #53635a;
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-trust svg {
  width: 15px;
  height: 15px;
  color: var(--accent);
  stroke-width: 2.6;
}

.hero-visual {
  position: relative;
  min-height: 610px;
}

.hero-carousel {
  position: absolute;
  inset: 0 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 190px 24px 160px 24px;
  background: var(--secondary);
  box-shadow: var(--shadow-lg);
}

.hero-carousel:focus-visible {
  outline-offset: 7px;
}

.slides,
.hero-slide,
.hero-slide img {
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.025);
  transition: opacity 850ms ease, visibility 850ms ease, transform 5.8s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.hero-slide img {
  object-fit: cover;
}

.hero-slide:first-child img {
  object-position: center 56%;
}

.image-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 31, 20, 0.03) 45%, rgba(8, 31, 20, 0.45));
}

.slide-controls {
  position: absolute;
  z-index: 3;
  bottom: 25px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-full);
  background: rgba(9, 38, 24, 0.48);
  backdrop-filter: blur(10px);
  transform: translateX(-50%);
}

.slide-pause,
.slide-dot {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  padding: 0;
  color: #fff;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.slide-pause {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.slide-pause:hover {
  background: rgba(255, 255, 255, 0.14);
}

.slide-pause svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.2;
}

.slide-pause .play-icon,
.slide-pause[aria-pressed="true"] .pause-icon {
  display: none;
}

.slide-pause[aria-pressed="true"] .play-icon {
  display: block;
}

.slide-dot {
  width: 26px;
  height: 30px;
  position: relative;
}

.slide-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.62);
  transition: width 180ms ease, background 180ms ease;
}

.slide-dot.is-active::before {
  width: 20px;
  background: #fff;
}

.floating-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background: rgba(255, 253, 246, 0.91);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
}

.floating-card > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.floating-card small {
  color: #6a766e;
  font-size: 0.67rem;
  line-height: 1.4;
}

.floating-card strong {
  color: var(--foreground);
  font-size: 0.76rem;
  line-height: 1.45;
  white-space: nowrap;
}

.floating-card-one {
  top: 72px;
  right: -9px;
}

.floating-card-two {
  bottom: 76px;
  left: -12px;
}

.floating-card-two > svg {
  width: 25px;
  height: 25px;
  color: var(--accent);
}

.status-pulse {
  position: relative;
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border-radius: 50%;
  background: #43a263;
}

.status-pulse::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid #43a263;
  border-radius: 50%;
  animation: status-pulse 2s ease-out infinite;
}

.visual-stamp {
  position: absolute;
  z-index: 4;
  right: 50px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  color: var(--primary-foreground);
  border-radius: var(--radius-full);
  background: rgba(18, 62, 42, 0.82);
  font-size: 0.7rem;
  font-weight: 700;
}

.visual-stamp svg {
  width: 17px;
  height: 17px;
  color: var(--accent);
}

.metric-strip {
  position: relative;
  z-index: 3;
  width: min(780px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  padding: 18px 12px;
  border: 1px solid rgba(217, 221, 202, 0.86);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 246, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.metric-strip div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 4px 18px;
  text-align: center;
}

.metric-strip div + div {
  border-right: 1px solid var(--border);
}

.metric-strip strong {
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.25;
}

.metric-strip span {
  color: #607067;
  font-size: 0.78rem;
  font-weight: 600;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 125px 0;
  scroll-margin-top: 70px;
}

.section-heading {
  max-width: 740px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-kicker {
  color: var(--accent-text);
}

.section-heading h2,
.tech-content h2,
.cta-content h2 {
  margin: 11px 0 15px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.45rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.section-heading p,
.tech-lead {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 1rem;
  line-height: 1.9;
}

.specialists-section {
  padding-top: 108px;
}

.specialists-section .section-heading {
  margin-bottom: 38px;
}

.specialist-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.specialist-card {
  position: relative;
  isolation: isolate;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 28px 12px 28px 12px;
  background: var(--card);
  box-shadow: var(--shadow);
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
}

.specialist-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 230px;
  height: 230px;
  top: -120px;
  left: -80px;
  border-radius: 50%;
  background: rgba(201, 155, 82, 0.12);
  pointer-events: none;
}

.specialist-card-clinic {
  background: linear-gradient(145deg, #fffdf6 0%, #eef5e8 100%);
}

.specialist-card-irrigation {
  background: linear-gradient(145deg, #fffdf6 0%, #e9f2ee 100%);
}

.specialist-card-fertigation {
  background: linear-gradient(145deg, #fffdf6 0%, #f1efdf 100%);
}

.specialist-card:hover {
  border-color: rgba(201, 155, 82, 0.52);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.specialist-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.specialist-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  color: var(--primary);
  border: 1px solid rgba(18, 62, 42, 0.1);
  border-radius: 20px 8px 20px 8px;
  background: rgba(255, 253, 246, 0.84);
  box-shadow: 0 10px 28px rgba(23, 49, 38, 0.09);
}

.specialist-icon svg {
  width: 29px;
  height: 29px;
}

.specialist-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 7px 11px;
  color: var(--primary);
  border: 1px solid rgba(18, 62, 42, 0.14);
  border-radius: var(--radius-full);
  background: rgba(255, 253, 246, 0.78);
  font-size: 0.75rem;
  font-weight: 800;
}

.specialist-status i {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2f8f5b;
  box-shadow: 0 0 0 4px rgba(47, 143, 91, 0.12);
}

.specialist-status-demo {
  color: #725122;
  border-color: rgba(201, 155, 82, 0.28);
}

.specialist-copy {
  max-width: 510px;
}

.specialist-label {
  color: var(--accent-text);
  font-size: 0.76rem;
  font-weight: 800;
}

.specialist-copy h3 {
  margin: 7px 0 8px;
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1.72rem;
  line-height: 1.35;
}

.specialist-copy p {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 0.94rem;
  line-height: 1.85;
}

.specialist-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.specialist-points li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  color: #466052;
  border: 1px solid rgba(18, 62, 42, 0.1);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.56);
  font-size: 0.75rem;
  font-weight: 700;
}

.specialist-points li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 900;
}

.specialist-link {
  width: fit-content;
  min-height: 45px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  color: var(--primary-foreground);
  border-radius: 12px 6px 12px 6px;
  background: var(--primary);
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
  transition: gap 180ms ease, background 180ms ease;
}

.specialist-link:hover {
  gap: 13px;
  background: var(--primary-soft);
}

.specialist-link svg {
  width: 18px;
  height: 18px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  position: relative;
  min-height: 240px;
  padding: 29px 28px 26px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--card);
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: -45px;
  left: -45px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(223, 232, 206, 0.32);
  pointer-events: none;
}

.feature-card:hover {
  border-color: rgba(201, 155, 82, 0.48);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.icon-box {
  position: relative;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--primary);
  border-radius: 15px;
  background: var(--secondary);
}

.icon-box svg {
  width: 23px;
  height: 23px;
}

.feature-card h3 {
  position: relative;
  margin: 22px 0 9px;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.feature-card p {
  position: relative;
  margin: 0;
  color: var(--muted-foreground);
  font-size: 0.93rem;
  line-height: 1.85;
}

.card-line {
  position: absolute;
  right: 28px;
  bottom: 0;
  width: 54px;
  height: 3px;
  border-radius: var(--radius-full) var(--radius-full) 0 0;
  background: var(--accent);
  transition: width 280ms ease;
}

.feature-card:hover .card-line {
  width: calc(100% - 56px);
}

.tech-section {
  padding: 20px 0;
  overflow: hidden;
  background: var(--primary);
  scroll-margin-top: 70px;
}

.tech-grid {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: center;
  gap: clamp(50px, 7vw, 92px);
  padding: 90px 0;
}

.dashboard-visual {
  position: relative;
}

.dashboard-visual::before {
  content: "";
  position: absolute;
  inset: 12% -7% -8% 18%;
  border: 1px solid rgba(223, 232, 206, 0.19);
  border-radius: 50%;
}

.dashboard-visual img {
  height: auto;
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1 / 0.82;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(5, 22, 14, 0.36);
}

.dashboard-badge {
  position: absolute;
  z-index: 2;
  left: -18px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-full);
  background: rgba(255, 253, 246, 0.92);
  box-shadow: var(--shadow-md);
  font-size: 0.76rem;
  font-weight: 800;
}

.dashboard-badge svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

.tech-content {
  color: var(--primary-foreground);
}

.tech-content .section-kicker {
  color: var(--accent);
}

.tech-content h2 {
  color: var(--primary-foreground);
}

.tech-lead {
  color: rgba(255, 253, 246, 0.66);
}

.smart-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  margin-top: 32px;
}

.smart-item {
  display: flex;
  gap: 12px;
  padding: 17px;
  border: 1px solid rgba(223, 232, 206, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.smart-item-featured {
  border-color: rgba(201, 155, 82, 0.42);
  background: linear-gradient(135deg, rgba(201, 155, 82, 0.13), rgba(255, 255, 255, 0.055));
}

.smart-item-featured > span {
  box-shadow: inset 0 0 0 1px rgba(201, 155, 82, 0.2);
}

.smart-item > span {
  width: 38px;
  height: 38px;
  display: grid;
  flex: 0 0 38px;
  place-items: center;
  color: var(--accent);
  border-radius: 12px;
  background: rgba(201, 155, 82, 0.12);
}

.smart-item svg {
  width: 20px;
  height: 20px;
}

.smart-item h3 {
  margin: 0 0 5px;
  font-size: 0.92rem;
}

.smart-item p {
  margin: 0;
  color: rgba(255, 253, 246, 0.59);
  font-size: 0.84rem;
  line-height: 1.7;
}

.steps-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.step-card {
  position: relative;
  min-height: 220px;
  padding: 31px;
  border-top: 1px solid var(--border);
}

.step-number {
  color: var(--accent-text);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.8rem;
  font-weight: 800;
}

.step-card h3 {
  margin: 22px 0 10px;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.step-card p {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 0.92rem;
  line-height: 1.8;
}

.step-connector {
  position: absolute;
  top: -5px;
  left: -15px;
  width: 30px;
  height: 9px;
  border-top: 1px solid var(--border);
}

.cta-section {
  position: relative;
  width: min(1180px, calc(100% - 40px));
  min-height: 430px;
  margin: 10px auto 90px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 36px 14px 36px 14px;
  background: linear-gradient(118deg, var(--primary), var(--primary-soft));
  box-shadow: var(--shadow-lg);
  scroll-margin-top: 100px;
}

.cta-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.17;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, transparent, #000);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000);
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 790px;
  padding: 62px 70px;
  color: var(--primary-foreground);
}

.cta-eyebrow {
  color: var(--accent);
}

.cta-content h2 {
  color: var(--primary-foreground);
  font-size: clamp(2.25rem, 4.6vw, 4rem);
}

.cta-content p {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 253, 246, 0.69);
  line-height: 1.9;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 29px;
}

.button-light {
  color: var(--primary);
  background: var(--primary-foreground);
}

.button-light:hover {
  background: #f0f4e7;
}

.button-ghost {
  color: var(--primary-foreground);
  border-color: rgba(255, 255, 255, 0.36);
  background: transparent;
}

.button-ghost:hover {
  border-color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.07);
}

.cta-mark {
  position: absolute;
  left: 60px;
  bottom: 60px;
  width: 168px;
  height: 148px;
  color: rgba(255, 253, 246, 0.14);
  transform: rotate(-8deg);
}

.cta-mark .eye-mark {
  width: 150px;
  height: 100px;
  stroke-width: 1.2;
}

.cta-mark .sprout-mark {
  position: absolute;
  top: 4px;
  right: 7px;
  width: 43px;
  height: 43px;
  color: rgba(201, 155, 82, 0.45);
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-inner {
  width: min(1160px, calc(100% - 40px));
  min-height: 150px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
}

.footer-brand {
  justify-self: start;
}

.footer-brand img {
  width: 82px;
  height: 82px;
}

.footer-inner p,
.footer-inner > span {
  margin: 0;
  color: #53635a;
  font-size: 0.85rem;
}

.footer-inner > span {
  text-align: left;
}

.reveal {
  opacity: 1;
  transform: none;
}

.reveal.reveal-ready {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 780ms ease, transform 780ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.reveal-ready.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Keep specialist links stationary while their section fades into view. */
#specialists.reveal.reveal-ready {
  transform: none;
  transition: opacity 780ms ease;
}

@keyframes status-pulse {
  0% {
    opacity: 0.8;
    transform: scale(0.6);
  }
  75%,
  100% {
    opacity: 0;
    transform: scale(1.7);
  }
}

@media (max-width: 1000px) {
  .specialist-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .specialist-card-fertigation {
    grid-column: 1 / -1;
    width: calc((100% - 20px) / 2);
    justify-self: center;
  }

  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: grid;
  }

  .mobile-nav:not([hidden]) {
    display: flex;
  }

  .hero {
    padding-top: 125px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding-inline: 28px;
  }

  .hero-content {
    max-width: 740px;
    margin: 0 auto;
    text-align: center;
  }

  .eyebrow,
  .hero-actions,
  .hero-trust {
    justify-content: center;
  }

  .hero-lead {
    margin-inline: auto;
  }

  .hero-visual {
    width: min(680px, 100%);
    min-height: 570px;
    margin: 0 auto;
  }

  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tech-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-visual {
    width: min(720px, 100%);
    margin: 0 auto;
  }

  .tech-content {
    max-width: 760px;
    margin: 0 auto;
  }

  .cta-mark {
    left: 20px;
    opacity: 0.6;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-inner p {
    display: none;
  }
}

@media (max-width: 680px) {
  html {
    scroll-padding-top: 76px;
  }

  .header-inner {
    width: calc(100% - 24px);
    height: 68px;
  }

  .brand img {
    width: 52px;
    height: 52px;
    border-radius: 12px;
  }

  .brand span,
  .header-cta {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 108px;
  }

  .hero-glow {
    top: 10px;
    right: -380px;
  }

  .hero-grid {
    width: 100%;
    gap: 38px;
    padding: 0 20px 48px;
  }

  .eyebrow {
    padding: 7px 10px;
    font-size: 0.7rem;
  }

  .hero h1 {
    margin-top: 20px;
    font-size: clamp(2.8rem, 15vw, 4.3rem);
    letter-spacing: -0.025em;
  }

  .hero-lead {
    font-size: 0.94rem;
    line-height: 1.85;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-trust {
    gap: 8px 12px;
  }

  .hero-visual {
    min-height: 420px;
  }

  .hero-carousel {
    inset: 0 8px;
    border-radius: 130px 20px 110px 20px;
  }

  .floating-card-one {
    top: 36px;
    right: 0;
  }

  .floating-card-two {
    left: 0;
    bottom: 48px;
  }

  .floating-card {
    padding: 10px 12px;
  }

  .floating-card strong {
    max-width: 180px;
    white-space: normal;
  }

  .visual-stamp {
    display: none;
  }

  .metric-strip {
    width: calc(100% - 32px);
    padding: 15px 8px;
    border-radius: var(--radius-md);
  }

  .metric-strip div {
    padding: 4px 8px;
  }

  .metric-strip strong {
    font-size: 1.25rem;
  }

  .metric-strip span {
    font-size: 0.72rem;
    line-height: 1.45;
  }

  .section {
    width: calc(100% - 30px);
    padding: 90px 0;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .section-heading h2,
  .tech-content h2 {
    font-size: 2rem;
  }

  .specialist-grid {
    grid-template-columns: 1fr;
  }

  .specialist-card-fertigation {
    grid-column: auto;
    width: 100%;
    justify-self: stretch;
  }

  .specialist-card {
    min-height: auto;
    padding: 24px;
    border-radius: 24px 10px 24px 10px;
  }

  .specialist-copy h3 {
    font-size: 1.48rem;
  }

  .specialist-points {
    margin-top: 2px;
  }

  .features-grid,
  .steps-grid,
  .smart-list {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .tech-grid {
    width: calc(100% - 30px);
    gap: 52px;
    padding: 68px 0;
  }

  .dashboard-badge {
    left: -3px;
    bottom: 12px;
  }

  .step-card {
    min-height: auto;
    padding: 24px 14px;
  }

  .step-connector {
    display: none;
  }

  .cta-section {
    width: calc(100% - 24px);
    min-height: 500px;
    margin-bottom: 60px;
    border-radius: 28px 12px 28px 12px;
  }

  .cta-content {
    padding: 48px 24px;
  }

  .cta-content h2 {
    font-size: 2.35rem;
  }

  .cta-actions {
    flex-direction: column;
  }

  .cta-actions .button {
    width: 100%;
  }

  .cta-mark {
    left: -30px;
    bottom: 10px;
  }

  .footer-inner {
    min-height: 190px;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 5px;
    padding: 20px 0;
    text-align: center;
  }

  .footer-brand {
    justify-self: center;
  }

  .footer-inner > span {
    text-align: center;
  }
}

@media (max-width: 410px) {
  .eyebrow {
    max-width: 100%;
    line-height: 1.5;
  }

  .hero h1 {
    font-size: 2.65rem;
  }

  .hero h1 span {
    white-space: normal;
  }

  .hero-visual {
    min-height: 390px;
  }

  .floating-card strong {
    max-width: 140px;
    font-size: 0.7rem;
  }

  .floating-card small {
    font-size: 0.62rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal.reveal-ready {
    opacity: 1;
    transform: none;
  }

  .hero-slide {
    transform: none;
  }
}

/* Explicit destinations for the specialist descriptions. */
.smart-link {
  display: inline-block;
  padding-block: 12px;
  color: var(--primary-foreground);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.smart-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
