/* YaniN America — Fllopi-inspired theme */
:root {
  --lime: #a3ff33;
  --mint: #2ee59d;
  --charcoal: #1a1a1a;
  --beige: #f9f7f2;
  --white: #ffffff;
  --text: #333333;
  --muted: #666666;
  --yellow: #ffc107;
  --purple: #7c5cbf;
  --shadow: 0 8px 30px rgba(26, 26, 26, 0.08);
  --radius: 12px;
  --radius-pill: 999px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  line-height: 1.65;
  background: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4 {
  line-height: 1.2;
  color: var(--charcoal);
  margin-top: 0;
}

.container {
  width: min(1140px, 92%);
  margin-inline: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-lime {
  background: var(--lime);
  color: var(--charcoal);
}

.btn-mint {
  background: var(--mint);
  color: var(--charcoal);
}

.btn-dark {
  background: var(--charcoal);
  color: var(--white);
}

.btn-yellow {
  background: var(--yellow);
  color: var(--charcoal);
}

.btn-outline {
  background: transparent;
  border-color: var(--charcoal);
  color: var(--charcoal);
}

/* Header */
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}

.logo-link {
  flex-shrink: 0;
}

.logo-link img {
  height: 42px;
  width: auto;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  align-items: center;
}

.site-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--charcoal);
  padding: 0.35rem 0;
  position: relative;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--mint);
}

.nav-toggle {
  display: none;
  background: var(--charcoal);
  color: var(--white);
  border: none;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.25rem;
}

.header-cta .btn {
  padding: 0.65rem 1.35rem;
  font-size: 0.85rem;
}

/* Hero */
.hero {
  padding: 2.5rem 0 3rem;
  background: linear-gradient(135deg, var(--beige) 0%, var(--white) 55%);
}

.hero-banner {
  padding: 0;
  background: var(--beige);
  overflow: hidden;
}

.hero-banner-grid {
  min-height: clamp(420px, 72vh, 620px);
  align-items: stretch;
}

.hero-banner-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 0;
}

.hero-banner-media {
  position: relative;
  border-radius: 0;
  box-shadow: none;
  min-height: 280px;
}

.hero-banner-media img {
  width: 100%;
  height: 100%;
  min-height: clamp(280px, 72vh, 620px);
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center top;
  border-radius: 0 0 0 48px;
  box-shadow: -12px 12px 0 var(--mint);
}

.hero-banner-accent {
  position: absolute;
  width: 120px;
  height: 120px;
  background: var(--lime);
  border-radius: 24px;
  top: 8%;
  left: -24px;
  z-index: 1;
  opacity: 0.9;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(46, 229, 157, 0.15);
  color: var(--charcoal);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.hero h1 span {
  color: var(--mint);
}

.hero-text {
  color: var(--muted);
  margin-bottom: 1.5rem;
  max-width: 32rem;
}

.hero-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-beige {
  background: var(--beige);
}

.section-dark {
  background: var(--charcoal);
  color: var(--white);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.section-head .eyebrow {
  color: var(--mint);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
}

.section-head p {
  color: var(--muted);
}

.section-dark .section-head p {
  color: rgba(255, 255, 255, 0.75);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.feature-list li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.rounded-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.rounded-img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* CTA bar */
.cta-bar {
  background: var(--mint);
  padding: 2rem 0;
}

.cta-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.cta-bar h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  margin: 0;
  max-width: 28rem;
}

.cta-bar-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  flex: 1;
  justify-content: flex-end;
  min-width: 260px;
  align-items: flex-start;
}

.cta-bar-form .form-feedback {
  flex: 1 1 100%;
}

.cta-bar-form input {
  flex: 1;
  min-width: 200px;
  padding: 0.85rem 1.1rem;
  border: none;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(163, 255, 51, 0.2);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}

.stat-card .icon {
  font-size: 2rem;
  color: var(--lime);
  margin-bottom: 0.5rem;
}

.stat-card strong {
  display: block;
  font-size: 1.75rem;
  color: var(--lime);
}

.stat-card span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.stats-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.stats-figure img {
  border-radius: var(--radius);
  width: 100%;
  object-fit: cover;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.price-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
  text-align: center;
  border: 2px solid transparent;
  transition: border-color 0.2s;
}

.price-card.featured {
  border-color: var(--mint);
  transform: scale(1.03);
}

.price-card h3 {
  margin-bottom: 0.5rem;
}

.price-card .price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--charcoal);
}

.price-card .price small {
  font-size: 1rem;
  font-weight: 500;
}

.price-card ul {
  text-align: left;
  margin: 1.5rem 0;
}

.price-card li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.92rem;
}

.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--mint);
  font-weight: 700;
}

/* Services list */
.services-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.service-rows li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.service-rows .circle-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--purple);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

/* Projects grid */
.section-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.project-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.project-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.35s;
}

.project-item:hover img {
  transform: scale(1.05);
}

/* FAQ */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  align-items: stretch;
}

.faq-visual img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
}

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.1rem 0;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--charcoal);
}

.faq-item.is-open .faq-question {
  color: var(--mint);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.is-open .faq-answer {
  max-height: 200px;
  padding-bottom: 1rem;
}

.faq-answer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.team-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.team-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.team-card .info {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background: var(--white);
  padding: 1rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: var(--shadow);
}

.team-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
}

.team-card p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--mint);
  font-weight: 600;
}

/* Testimonial */
.testimonial-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.testimonial-photo img {
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.testimonial-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
}

.stars {
  color: var(--yellow);
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
}

.testimonial-author img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

/* Blog cards */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.blog-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.blog-card .body {
  padding: 1.25rem;
}

.blog-card .date {
  font-size: 0.8rem;
  color: var(--mint);
  font-weight: 600;
}

.blog-card a.read-more {
  color: var(--charcoal);
  font-weight: 600;
  font-size: 0.9rem;
}

.blog-card a.read-more:hover {
  color: var(--mint);
}

/* Newsletter strip */
.newsletter {
  position: relative;
  padding: 4rem 0;
  background: var(--charcoal);
  color: var(--white);
  overflow: hidden;
}

.newsletter-bg {
  position: absolute;
  inset: 0;
  opacity: 0.25;
}

.newsletter-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.newsletter .container {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 560px;
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.newsletter-form input {
  flex: 1;
  min-width: 220px;
  padding: 0.85rem 1.1rem;
  border: none;
  border-radius: var(--radius-pill);
}

/* Footer */
.site-footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.85);
  padding-top: 3.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.footer-brand img {
  height: 44px;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.7;
}

.footer-contact li {
  margin-bottom: 0.5rem;
  font-size: 0.92rem;
}

.footer-contact strong {
  color: var(--lime);
}

.footer-col h4 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.footer-col ul li {
  margin-bottom: 0.45rem;
}

.footer-col a:hover {
  color: var(--lime);
}

.social-links {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  transition: background 0.2s;
}

.social-links a:hover {
  background: var(--lime);
  color: var(--charcoal);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.85rem;
}

.footer-legal a {
  margin-left: 1rem;
}

.footer-legal a:first-child {
  margin-left: 0;
}

.footer-legal a:hover {
  color: var(--lime);
}

/* Page hero (inner) */
.page-hero {
  background: linear-gradient(135deg, var(--beige), var(--white));
  padding: 3rem 0;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 0.75rem;
}

.breadcrumb {
  font-size: 0.9rem;
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--mint);
}

/* Forms */
.form-panel {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 640px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  font-size: 0.92rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--mint);
}

.form-group input.is-invalid,
.form-group select.is-invalid,
.checkbox-row input.is-invalid {
  border-color: #e53935;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.checkbox-row input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  margin: 0.2rem 0 0;
  flex-shrink: 0;
  accent-color: var(--mint);
  cursor: pointer;
}

.checkbox-row label {
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.5;
  cursor: pointer;
  flex: 1;
  min-width: 0;
}

.checkbox-row .field-error {
  width: 100%;
  margin-left: calc(1.15rem + 0.65rem);
}

.field-error {
  display: block;
  color: #c62828;
  font-size: 0.82rem;
  margin-top: 0.35rem;
}

.form-feedback {
  display: none;
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 10px;
  background: rgba(46, 229, 157, 0.15);
  color: var(--charcoal);
  font-weight: 600;
  text-align: center;
}

.form-feedback.is-visible {
  display: block;
}

.form-feedback.is-error {
  background: rgba(229, 57, 53, 0.1);
  color: #b71c1c;
}

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

/* Legal content */
.legal-content {
  max-width: 820px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.35rem;
  margin-top: 2rem;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 1rem 0;
}

.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.icon-card {
  background: var(--white);
  padding: 1.75rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.icon-card .emoji {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid,
  .two-col,
  .stats-layout,
  .services-split,
  .faq-layout,
  .testimonial-layout,
  .pricing-grid,
  .team-grid,
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .price-card.featured {
    transform: none;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1rem;
    box-shadow: var(--shadow);
    display: none;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
  }

  .header-cta {
    display: none;
  }

  .hero-banner-media img {
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow);
    min-height: 320px;
  }

  .hero-banner-accent {
    display: none;
  }

  .hero-banner-copy {
    padding: 2.5rem 0 1rem;
  }

  .hero-banner-grid {
    min-height: auto;
  }

  .hero-grid,
  .two-col,
  .stats-layout,
  .services-split,
  .faq-layout,
  .testimonial-layout,
  .pricing-grid,
  .team-grid,
  .stats-grid,
  .blog-grid,
  .card-grid-3,
  .form-row {
    grid-template-columns: 1fr;
  }

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

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

  .cta-bar-inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-bar-form {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .project-grid {
    grid-template-columns: 1fr;
  }
}
