/* FarmSense AI – farm theme. Palette and type follow the Farmland template: cream backgrounds,
   mustard-yellow primary, dark brown headings, Albert Sans body, Parkinsans headings, Lumanosimo accents. */
:root {
  --primary: #f4ca4e;
  --primary-dark: #e0b53a;
  --black: #1a0e05;
  --brown: #4e342e;
  --brown-2: #3b2620;
  --text: #69594c;
  --text-light: #b3a19d;
  --cream: #f7f3e5;
  --cream-2: #f5f1e0;
  --cream-3: #ede8d5;
  --border: #ede9d8;
  --white: #ffffff;
  --green: #4d7c3a;
  --red: #c0392b;
  --font: "Albert Sans", system-ui, sans-serif;
  --font-head: "Parkinsans", "Albert Sans", sans-serif;
  --font-script: "Lumanosimo", cursive;
  --radius: 10px;
  --radius-lg: 24px;
  --shadow: 0 10px 40px rgba(26, 14, 5, .08);
  --shadow-lg: 0 24px 60px rgba(26, 14, 5, .16);
  --container: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--white); overflow-x: hidden; }
img, svg, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--black); line-height: 1.15; margin: 0 0 .6em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.container--narrow { max-width: 820px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--black); color: #fff; padding: .6rem 1rem; z-index: 999; }
.skip-link:focus { left: 1rem; top: 1rem; }
.ico { width: 1.2em; height: 1.2em; flex: none; }
.hl { color: var(--primary); position: relative; display: inline-block; }
.hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: .08em; height: .18em; background: var(--primary); opacity: .35; border-radius: 4px; }

/* ---------- reveal / motion ---------- */
html.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
html.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- type helpers ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-script); color: var(--green); font-size: 1.15rem; margin-bottom: .8rem; }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--primary); border-radius: 2px; }
.eyebrow--light { color: var(--primary); }
.eyebrow--light::before { background: var(--primary); }
.lead { font-size: 1.2rem; color: var(--brown); line-height: 1.6; }
.lead--center { text-align: center; max-width: 780px; margin: 0 auto 3rem; }
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section--alt { background: var(--cream); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section__head--left { text-align: left; margin-inline: 0; }
.section__head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; max-width: none; text-align: left; }
.section__head--split p { max-width: 460px; margin: 0; }
.section__more { text-align: center; margin-top: 2.5rem; }
.grid { display: grid; gap: 1.8rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } .grid--2 { grid-template-columns: repeat(2, 1fr); } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-head); font-weight: 600; font-size: 1rem; padding: .9rem 1.6rem; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: transform .3s var(--ease), background .3s, color .3s, box-shadow .3s; white-space: nowrap; }
.btn .ico { transition: transform .3s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--primary); color: var(--black); box-shadow: 0 8px 24px rgba(244, 202, 78, .35); }
.btn--primary:hover { background: var(--primary-dark); }
.btn--dark { background: var(--black); color: #fff; }
.btn--dark:hover { background: var(--brown); }
.btn--ghost { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); }
.btn--lg { padding: 1.05rem 2rem; font-size: 1.05rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-head); font-weight: 600; color: var(--black); }
.link-arrow .ico { color: var(--primary-dark); transition: transform .3s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }

/* ---------- top bar & header ---------- */
.topbar { background: var(--black); color: var(--text-light); font-size: .9rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 42px; gap: 1rem; }
.topbar__left, .topbar__right { display: flex; gap: 1.2rem; align-items: center; }
.topbar a { display: inline-flex; align-items: center; gap: .4rem; }
.topbar a:hover { color: var(--primary); }
.topbar__right a { width: 32px; height: 32px; border-radius: 50%; justify-content: center; background: rgba(255,255,255,.06); }
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); transition: box-shadow .3s; }
.header.is-stuck { box-shadow: var(--shadow); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 84px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-head); font-weight: 700; font-size: 1.45rem; color: var(--black); }
.brand__mark { width: 44px; height: 44px; border-radius: 50%; background: var(--primary); display: grid; place-items: center; color: var(--black); }
.brand__mark .ico { width: 24px; height: 24px; }
.brand--light { color: #fff; }
.nav ul { display: flex; gap: .2rem; }
.nav li { position: relative; }
.nav > ul > li > a { display: block; padding: .8rem 1rem; font-family: var(--font-head); font-weight: 500; color: var(--black); border-radius: 999px; }
.nav > ul > li > a:hover, .nav > ul > li > a.is-active { color: var(--brown); background: var(--cream); }
.nav__toggle { display: none; background: none; border: 0; }
.nav__sub { position: absolute; top: 100%; left: 0; min-width: 240px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: .6rem; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s var(--ease); border-top: 3px solid var(--primary); }
.nav li:hover > .nav__sub, .nav li:focus-within > .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub a { display: block; padding: .6rem .9rem; border-radius: 6px; color: var(--brown); }
.nav__sub a:hover { background: var(--cream); color: var(--black); }
.header__actions { display: flex; align-items: center; gap: 1rem; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: var(--black); border-radius: 50%; flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer; }
.burger span { width: 20px; height: 2px; background: #fff; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1000px) {
  .topbar__left span { display: none; }
  .header__actions .btn { display: none; }
  .burger { display: flex; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(360px, 100%); background: var(--black); padding: 6rem 2rem 2rem; transform: translateX(100%); transition: transform .4s var(--ease); z-index: 40; overflow-y: auto; }
  .nav.is-open { transform: none; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav > ul > li > a { color: #fff; padding: 1rem .5rem; border-bottom: 1px solid rgba(255,255,255,.08); border-radius: 0; font-size: 1.1rem; }
  .nav > ul > li > a:hover, .nav > ul > li > a.is-active { background: none; color: var(--primary); }
  .nav li.has-children { display: grid; grid-template-columns: 1fr auto; }
  .nav__toggle { display: grid; place-items: center; color: #fff; width: 44px; }
  .nav__toggle[aria-expanded="true"] .ico { transform: rotate(180deg); }
  .nav__sub { position: static; grid-column: 1 / -1; display: none; opacity: 1; visibility: visible; transform: none; background: rgba(255,255,255,.04); box-shadow: none; border: 0; }
  .nav__sub.is-open { display: block; }
  .nav__sub a { color: var(--text-light); }
  .header .burger { position: relative; z-index: 45; }
}

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; background: var(--black); }
.hero__slide { position: relative; min-height: min(88vh, 780px); display: flex; align-items: center; padding: 6rem 0; }
.hero__bg { position: absolute; inset: 0; overflow: hidden; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 7s linear; }
.swiper-slide-active .hero__bg img { transform: scale(1); }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(26, 14, 5, .82) 0%, rgba(26, 14, 5, .55) 50%, rgba(26, 14, 5, .2) 100%); }
.hero__content { position: relative; max-width: 720px; }
.hero__title { font-family: var(--font-head); font-size: clamp(2.6rem, 6.5vw, 5rem); font-weight: 700; color: #fff; line-height: 1.05; margin: 0 0 1.2rem; }
.hero__sub { font-size: 1.2rem; max-width: 560px; color: rgba(255,255,255,.85); margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
html.js .hero__slide:not(.swiper-slide-active) .hero__content > * { opacity: 0; transform: translateY(30px); transition: all .9s var(--ease); }
.hero__content > * { transition: opacity .9s var(--ease), transform .9s var(--ease); }
.swiper-slide-active .hero__content > *:nth-child(2) { transition-delay: .15s; }
.swiper-slide-active .hero__content > *:nth-child(3) { transition-delay: .3s; }
.swiper-slide-active .hero__content > *:nth-child(4) { transition-delay: .45s; }
.hero__nav { position: absolute; right: max(1.25rem, calc((100% - var(--container)) / 2)); bottom: 3rem; z-index: 5; display: flex; align-items: center; gap: 1rem; }
.hero__shape { position: absolute; left: 0; right: 0; bottom: -1px; height: 60px; background: var(--white); clip-path: ellipse(55% 100% at 50% 100%); }
.slider-nav { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 2rem; }
.slider-nav__btn { width: 48px; height: 48px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; transition: all .3s; }
.slider-nav__btn:hover { background: var(--primary); border-color: var(--primary); color: var(--black); }
.hero__prev .ico, .testimonials__prev .ico { transform: rotate(180deg); }
.swiper-pagination { position: static !important; width: auto !important; display: flex; gap: .4rem; }
.swiper-pagination-bullet { width: 10px; height: 10px; background: #fff; opacity: .5; }
.swiper-pagination-bullet-active { background: var(--primary); opacity: 1; width: 28px; border-radius: 5px; }
.testimonials .slider-nav__btn { border-color: var(--border); color: var(--black); }
.testimonials .swiper-pagination-bullet { background: var(--black); }

/* ---------- page hero ---------- */
.page-hero { position: relative; background: var(--black); color: #fff; padding: clamp(5rem, 10vw, 8rem) 0 clamp(4rem, 8vw, 6rem); overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,14,5,.3), rgba(26,14,5,.75)); }
.page-hero__inner { position: relative; text-align: center; max-width: 820px; }
.page-hero h1 { color: #fff; margin-bottom: .6rem; }
.page-hero__sub { font-size: 1.2rem; color: rgba(255,255,255,.85); max-width: 640px; margin: 0 auto; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; font-size: .92rem; color: rgba(255,255,255,.75); margin-bottom: 1.2rem; }
.breadcrumbs li + li::before { content: "/"; margin-right: .5rem; opacity: .5; }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs li[aria-current] { color: var(--primary); }
.breadcrumbs--dark ol { justify-content: flex-start; color: var(--text); }
.breadcrumbs--dark li[aria-current] { color: var(--black); }

/* ---------- service cards ---------- */
.services-strip { position: relative; margin-top: -5rem; padding-top: 0; z-index: 2; }
.services-strip .section__head { padding-top: 6rem; }
.service-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s; }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-card__media { overflow: hidden; aspect-ratio: 3 / 2; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service-card:hover .service-card__media img { transform: scale(1.06); }
.service-card__body { padding: 1.8rem 1.8rem 2rem; position: relative; }
.service-card__icon { position: absolute; top: -34px; right: 1.6rem; width: 68px; height: 68px; border-radius: 50%; background: var(--primary); display: grid; place-items: center; color: var(--black); box-shadow: 0 8px 20px rgba(244,202,78,.4); }
.service-card__icon .ico { width: 32px; height: 32px; }
.service-card h3 { font-size: 1.35rem; margin: .6rem 0 .5rem; }
.service-card h3 a:hover { color: var(--green); }

/* ---------- about ---------- */
.about__grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 900px) { .about__grid { grid-template-columns: 1.05fr 1fr; gap: 5rem; } }
.about__media { position: relative; padding-bottom: 4rem; padding-right: 3rem; }
.about__img1 { width: 100%; border-radius: 120px 20px 120px 20px; box-shadow: var(--shadow-lg); }
.about__img2 { position: absolute; right: 0; bottom: 0; width: 42%; border-radius: 50%; border: 8px solid #fff; box-shadow: var(--shadow-lg); }
.about__rating { position: absolute; left: -1rem; bottom: 3rem; background: var(--black); color: #fff; padding: 1rem 1.4rem; border-radius: var(--radius); display: grid; gap: .2rem; box-shadow: var(--shadow-lg); animation: float 6s ease-in-out infinite; }
.about__stars { display: flex; color: var(--primary); }
.about__stars .ico { width: 16px; fill: currentColor; }
.about__rating strong { font-family: var(--font-head); font-size: 1.3rem; }
.about__rating small { color: var(--text-light); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.checklist { display: grid; gap: .6rem; margin: 1.2rem 0 1.6rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; color: var(--black); font-weight: 500; }
.checklist .ico { color: var(--green); margin-top: .2em; background: rgba(77,124,58,.12); border-radius: 50%; padding: 3px; width: 1.4em; height: 1.4em; }
.checklist--cols { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.about__quote { margin: 1.5rem 0 2rem; padding: 1.4rem 1.6rem; background: var(--cream); border-left: 4px solid var(--primary); border-radius: 0 var(--radius) var(--radius) 0; }
.about__quote p { font-style: italic; color: var(--brown); margin-bottom: .8rem; }
.about__quote footer { display: flex; align-items: baseline; gap: .8rem; }
.signature { font-family: var(--font-script); font-size: 1.4rem; color: var(--black); }
.about__quote small { color: var(--text-light); }

/* ---------- stats ---------- */
.stats { background: var(--black) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpath d='M60 10c-20 20-20 40 0 60 20-20 20-40 0-60z' fill='none' stroke='%23f4ca4e' stroke-opacity='.08' stroke-width='2'/%3E%3C/svg%3E"); color: #fff; padding: 4rem 0; }
.stats__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 2rem 1rem; text-align: center; }
.stat { display: grid; justify-items: center; gap: .3rem; }
.stat__icon { width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(244,202,78,.5); display: grid; place-items: center; color: var(--primary); margin-bottom: .4rem; }
.stat__icon .ico { width: 26px; height: 26px; }
.stat__value { font-family: var(--font-head); font-size: 2.4rem; font-weight: 700; color: #fff; line-height: 1; }
.stat__label { color: var(--text-light); font-size: .95rem; }

/* ---------- solutions ---------- */
.solutions { background: var(--cream); }
.solution { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: transform .4s var(--ease); }
.solution:hover { transform: translateY(-8px); }
.solution__media { position: relative; aspect-ratio: 5 / 4; overflow: hidden; }
.solution__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.solution:hover .solution__media img { transform: scale(1.06); }
.badge { position: absolute; top: 1rem; left: 1rem; background: var(--primary); color: var(--black); font-family: var(--font-head); font-weight: 600; font-size: .8rem; padding: .3rem .8rem; border-radius: 999px; }
.solution__body { padding: 1.6rem 1.8rem 1.8rem; }

/* ---------- why ---------- */
.why__grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1000px) { .why__grid { grid-template-columns: 1.2fr .9fr; gap: 5rem; } }
.why__media img { width: 100%; border-radius: 20px 120px 20px 120px; box-shadow: var(--shadow-lg); }
.feature { display: grid; gap: .5rem; padding: 1.6rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); transition: transform .4s var(--ease), box-shadow .4s; }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.feature h3 { margin: 0; font-size: 1.15rem; }
.feature p { margin: 0; font-size: .98rem; }
.feature--compact { background: var(--cream); border: 0; }
.feature__icon { width: 56px; height: 56px; border-radius: 16px; background: var(--cream-3); display: grid; place-items: center; color: var(--green); }
.feature__icon .ico { width: 28px; height: 28px; }
.info-card { background: #fff; padding: 2.2rem; border-radius: var(--radius-lg); box-shadow: var(--shadow); display: grid; gap: 1rem; }
.info-card h2 { font-size: 1.6rem; margin: 0; }
.info-card p { margin: 0; }

/* ---------- do's & don'ts ---------- */
.dos { background: var(--cream); }
.dos__card { background: #fff; padding: 2.2rem; border-radius: var(--radius-lg); border-top: 5px solid var(--green); box-shadow: var(--shadow); }
.dos__card--dont { border-top-color: var(--red); }
.dos__card h3 { font-size: 1.5rem; }
.dos__card ul { display: grid; gap: .8rem; }
.dos__card li { display: flex; gap: .8rem; align-items: flex-start; }
.dos__card .ico { flex: none; width: 1.5em; height: 1.5em; padding: 4px; border-radius: 50%; color: #fff; background: var(--green); margin-top: .1em; }
.dos__card--dont .ico { background: var(--red); }

/* ---------- projects ---------- */
.projects__grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
@media (min-width: 1000px) { .projects__grid { grid-template-columns: repeat(6, 1fr); } .projects__grid > :nth-child(1), .projects__grid > :nth-child(2) { grid-column: span 3; } .projects__grid > :nth-child(n+3) { grid-column: span 2; } }
.project-card { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1.1; background: var(--black); }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .4s; }
.project-card:hover img { transform: scale(1.06); opacity: .75; }
.project-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem; color: #fff; background: linear-gradient(180deg, transparent, rgba(26,14,5,.9)); display: grid; gap: .2rem; }
.project-card__body small { color: var(--primary); font-family: var(--font-script); }
.project-card__body strong { font-family: var(--font-head); font-size: 1.3rem; }
.project-tile { display: grid; background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.project-tile__media { aspect-ratio: 3/2; overflow: hidden; }
.project-tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.project-tile:hover .project-tile__media img { transform: scale(1.05); }
.project-tile__body { padding: 1.8rem; }
.project-tile__body small { color: var(--green); font-family: var(--font-script); font-size: 1.05rem; }
.project-tile__body h2 { font-size: 1.5rem; margin: .4rem 0 .5rem; }
.results { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin: 1.5rem 0 2rem; }
.results li { background: var(--cream); padding: 1.3rem; border-radius: var(--radius); display: grid; gap: .2rem; text-align: center; }
.results strong { font-family: var(--font-head); font-size: 1.8rem; color: var(--black); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; margin-top: 2rem; }
.gallery img { border-radius: var(--radius); width: 100%; }
.details { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1rem; margin: 0; }
.details dt { font-weight: 600; color: var(--black); }
.details dd { margin: 0; }

/* ---------- testimonials ---------- */
.testimonials { background: var(--cream); }
.testimonial { position: relative; margin: 0; background: #fff; padding: 2.2rem; border-radius: var(--radius-lg); box-shadow: var(--shadow); height: 100%; display: grid; gap: 1rem; align-content: start; }
.testimonial__stars { display: flex; color: var(--primary); }
.testimonial__stars .ico { fill: currentColor; width: 18px; }
.testimonial blockquote { margin: 0; }
.testimonial blockquote p { margin: 0; color: var(--brown); font-size: 1.05rem; }
.testimonial figcaption { display: flex; align-items: center; gap: .9rem; }
.testimonial__avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.testimonial figcaption span { display: grid; }
.testimonial figcaption strong { color: var(--black); font-family: var(--font-head); }
.testimonial figcaption small { color: var(--text-light); }
.testimonial__quote { position: absolute; top: 1.6rem; right: 1.8rem; color: var(--cream-3); }
.testimonial__quote .ico { width: 44px; height: 44px; fill: currentColor; }
.testimonials__slider { padding: .5rem; }
.testimonials .swiper-slide { height: auto; }

/* ---------- partners ---------- */
.partners { padding: 2.5rem 0; border-block: 1px solid var(--border); overflow: hidden; }
.partners .container { overflow: hidden; }
.marquee { display: flex; gap: 4rem; width: max-content; animation: marquee 30s linear infinite; }
.marquee:hover { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.partners__list li { flex: none; display: flex; align-items: center; }
.partners__list img { height: 44px; width: auto; filter: grayscale(1); opacity: .6; transition: all .3s; }
.partners__list img:hover { filter: none; opacity: 1; }
.partners__text { font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; color: var(--text-light); transition: color .3s; }
.partners__text:hover { color: var(--black); }

/* ---------- blog ---------- */
.post-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card__media { aspect-ratio: 3/2; overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__body { padding: 1.5rem 1.6rem 1.8rem; display: grid; gap: .5rem; }
.post-card__meta { display: flex; gap: 1.2rem; font-size: .88rem; color: var(--text-light); }
.post-card__meta > * { display: inline-flex; align-items: center; gap: .35rem; }
.post-card h3 { font-size: 1.25rem; margin: 0; }
.post-card h3 a:hover { color: var(--green); }
.post-card p { margin: 0; }
.post__header { background: var(--cream); padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 5vw, 4rem); }
.post__header h1 { max-width: 20ch; }
.post__meta { display: flex; flex-wrap: wrap; gap: 1.4rem; color: var(--text-light); }
.post__meta > * { display: inline-flex; align-items: center; gap: .4rem; }
.post__image { margin: -2rem auto 2.5rem; }
.post__image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; }
.post__body { font-size: 1.08rem; }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 2rem 0; }
.tags li { display: inline-flex; align-items: center; gap: .3rem; background: var(--cream); padding: .35rem .8rem; border-radius: 999px; font-size: .9rem; }

/* ---------- faq / accordion ---------- */
.faq__grid { display: grid; gap: 3rem; }
@media (min-width: 900px) { .faq__grid { grid-template-columns: .8fr 1.2fr; } }
.accordion { display: grid; gap: .8rem; }
.accordion__item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow .3s; }
.accordion__item[open] { box-shadow: var(--shadow); border-color: transparent; }
.accordion__item summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.4rem; cursor: pointer; list-style: none; font-family: var(--font-head); font-weight: 600; color: var(--black); }
.accordion__item summary::-webkit-details-marker { display: none; }
.accordion__item summary h2, .accordion__item summary h3 { font-size: 1.1rem; margin: 0; }
.accordion__item summary .ico { transition: transform .3s; color: var(--primary-dark); }
.accordion__item[open] summary .ico { transform: rotate(180deg); }
.accordion__item[open] summary { background: var(--cream); }
.accordion__body { padding: 1rem 1.4rem 1.4rem; }
.accordion__body p:last-child { margin: 0; }

/* ---------- rich text ---------- */
.rte { color: var(--text); }
.rte h2 { font-size: 1.7rem; margin-top: 1.8em; }
.rte h3 { margin-top: 1.4em; }
.rte ul, .rte ol { padding-left: 1.4rem; margin: 0 0 1.2em; list-style: revert; }
.rte li { margin-bottom: .4em; }
.rte a { color: var(--green); text-decoration: underline; }
.rte img { border-radius: var(--radius); }
.rte blockquote { margin: 1.5rem 0; padding: 1rem 1.5rem; border-left: 4px solid var(--primary); background: var(--cream); }
.rte--narrow { max-width: 780px; margin: 0 auto 3rem; }

/* ---------- detail layout ---------- */
.detail__grid { display: grid; gap: 3rem; }
@media (min-width: 1000px) { .detail__grid { grid-template-columns: 1fr 340px; gap: 4rem; } }
.detail__side { display: grid; gap: 1.5rem; align-content: start; position: sticky; top: 110px; }
.side-card { background: var(--cream); padding: 1.8rem; border-radius: var(--radius-lg); }
.side-card h2 { font-size: 1.25rem; }
.side-card--dark { background: var(--black); color: var(--text-light); }
.side-card--dark h2 { color: #fff; }
.side-card__phone { display: flex; align-items: center; gap: .5rem; color: #fff; font-family: var(--font-head); font-size: 1.2rem; margin-bottom: 1.2rem; }
.side-links { display: grid; gap: .3rem; }
.side-links a { display: flex; align-items: center; gap: .6rem; padding: .6rem .8rem; background: #fff; border-radius: 8px; color: var(--black); font-weight: 500; transition: all .3s; }
.side-links a:hover { background: var(--primary); }
.side-links .ico { color: var(--green); }

/* ---------- team ---------- */
.team-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); text-align: center; }
.team-card img { width: 100%; aspect-ratio: .9; object-fit: cover; }
.team-card__body { padding: 1.4rem; display: grid; gap: .3rem; justify-items: center; }
.team-card h3 { margin: 0; font-size: 1.2rem; }
.team-card__role { color: var(--green); font-family: var(--font-script); }
.team-card p { font-size: .95rem; margin: .3rem 0 0; }

/* ---------- contact ---------- */
.contact__grid { display: grid; gap: 3rem; }
@media (min-width: 1000px) { .contact__grid { grid-template-columns: .9fr 1.1fr; gap: 5rem; } }
.contact__list { display: grid; gap: 1.2rem; margin-top: 2rem; }
.contact__list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact__list li > span:last-child { display: grid; }
.contact__list strong { color: var(--black); font-family: var(--font-head); }
.contact__list address { font-style: normal; }
.form-card { background: var(--cream); padding: 2.2rem; border-radius: var(--radius-lg); }
.form-card h2 { font-size: 1.6rem; }
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.form label { display: grid; gap: .35rem; font-weight: 500; color: var(--black); font-size: .95rem; }
.form input, .form textarea { font: inherit; padding: .85rem 1rem; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; color: var(--black); transition: border-color .3s, box-shadow .3s; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(244,202,78,.3); }
.form__hp { position: absolute; left: -9999px; }
.alert { display: flex; gap: .8rem; padding: 1rem 1.2rem; border-radius: var(--radius); margin-bottom: 1rem; }
.alert p, .alert ul { margin: 0; }
.alert--success { background: rgba(77,124,58,.12); color: var(--green); }
.alert--error { background: rgba(192,57,43,.1); color: var(--red); }
.map iframe { width: 100%; height: 420px; border: 0; filter: grayscale(.3); }

/* ---------- cta ---------- */
.cta { position: relative; background: var(--brown); color: #fff; padding: clamp(4rem, 8vw, 6rem) 0; overflow: hidden; }
.cta__bg { position: absolute; inset: 0; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.cta__inner { position: relative; text-align: center; max-width: 760px; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.85); font-size: 1.15rem; margin-bottom: 2rem; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 6rem 0; }
.notfound__code { display: block; font-family: var(--font-head); font-size: clamp(5rem, 15vw, 10rem); font-weight: 700; color: var(--cream-3); line-height: 1; }

/* ---------- footer ---------- */
.footer { background: var(--black); color: var(--text-light); padding: 4.5rem 0 0; }
.footer__grid { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); padding-bottom: 3rem; }
.footer__about p { margin: 1.2rem 0; }
.footer__title { color: #fff; font-size: 1.15rem; margin-bottom: 1.2rem; position: relative; padding-bottom: .6rem; }
.footer__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; background: var(--primary); border-radius: 2px; }
.footer__contact { display: grid; gap: .8rem; }
.footer__contact li { display: flex; gap: .7rem; align-items: flex-start; }
.footer__contact .ico { color: var(--primary); margin-top: .2em; }
.footer__contact address { font-style: normal; }
.footer a:hover { color: var(--primary); }
.footer__links { display: grid; gap: .5rem; }
.footer__links a::before { content: "›"; color: var(--primary); margin-right: .5rem; }
.footer__posts { display: grid; gap: 1rem; }
.footer__posts a { display: flex; gap: .9rem; align-items: center; }
.footer__thumb { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; flex: none; }
.footer__posts span { display: grid; }
.footer__posts time { font-size: .82rem; color: var(--primary); }
.footer__posts strong { color: #fff; font-weight: 500; line-height: 1.3; }
.socials { display: flex; gap: .6rem; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.06); color: #fff; transition: all .3s; }
.socials a:hover { background: var(--primary); color: var(--black); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.4rem 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .92rem; }
.footer__bottom p { margin: 0; }
.footer__bottom ul { display: flex; gap: 1.4rem; }
