* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

:root {
  --bg-base: #f5f1eb;
  --bg-elevated: #ffffff;
  --text-main: #1a1a1a;
  --text-body: #5d5d5d;
  --text-muted: #9b9b9b;
  --accent: #c77d4f;
  --glow: rgba(199, 125, 79, 0.12);
  --border: rgba(0, 0, 0, 0.1);
}

body {
  background: #f5f1eb;
  min-height: 100vh;
  color: var(--text-main);
  position: relative;
  overflow-x: hidden;
  font-family: "Inter", sans-serif;
}

body::before {
  display: none;
}

body > * {
  position: relative;
  z-index: 1;
}

#logo {
  color: var(--text-main);
  text-align: center;
  width: fit-content;
  font-family: "Times New Roman", Times, serif;
  pointer-events: none;
  transform-origin: left center;
  animation: shrink-logo linear forwards;
  animation-timeline: scroll();
  animation-range: 0px 200px;
}

@keyframes shrink-logo {
  0% {
    scale: 1;
    margin-right: 1rem;
  }
  100% {
    scale: 0.55;
    margin-right: -1rem;
  }
}

#logo .logo-title {
  display: block;
  font-size: 2rem;
  font-weight: bold;
  margin: 0;
}

#logo .logo-subtitle {
  display: block;
  font-weight: 100;
  font-size: 1.25rem;
  margin: 0;
}

header {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.8);
  border: 0.1rem solid var(--border);
  border-radius: 50em;
  display: flex;
  padding-left: 2rem;
  padding-right: 2rem;
  width: fit-content;
  animation: shrink-header linear forwards;
  animation-timeline: scroll();
  animation-range: 0px 200px;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

@keyframes shrink-header {
  0% {
    padding: 0.75rem 2rem;
  }
  100% {
    padding: 0.25rem 1.25rem 0.25rem 1.75rem;
  }
}

nav {
  width: fit-content;
  color: var(--text-main);
  align-items: center;
  display: flex;
  gap: 1.5rem;
  padding: 0.5rem;
  font-family: "Inter", sans-serif;
  white-space: nowrap;
}

nav a {
  height: fit-content;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
  font-weight: 400;
  position: relative;
}
#hero,
#services-section,
#pricing,
#about,
#contact {
  scroll-margin-top: 120px;
}

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

footer {
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.6);
  margin: 1rem auto;
  border: 0.1rem solid var(--border);
  border-radius: 50em;
  display: flex;
  padding-left: 2rem;
  padding-right: 2rem;
  width: fit-content;
  color: var(--text-body);
  font-family: "Inter", sans-serif;
}

/* Hero Section */
#hero {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 2rem 2rem;
  opacity: 1;
  transition: opacity 0.5s ease;
  box-sizing: border-box;
}

#hero h1,
#services-section h2,
#pricing h1,
#about h2,
#contact h2 {
  font-weight: 300;
  --underline-width: 0%;
  text-align: center;
  font-family: "Inter", sans-serif;
  position: relative;
  display: inline-block;
  cursor: default;
  transition:
    font-weight 0.3s ease,
    transform 0.3s ease;
  transform-origin: left center;
}

#hero h1 {
  font-size: clamp(1.8rem, 7vw, 5rem);
}

#hero h1:hover,
#services-section h2:hover,
#pricing h1:hover,
#about h2:hover,
#contact h2:hover {
  font-weight: 700 !important;
  --underline-width: 100% !important;
  cursor: default;
}

#hero h1::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  height: 5px;
  border-radius: 3px;
  background: var(--accent);
  width: var(--underline-width);
  transition: width 0.3s ease;
}

#services-section h2::after,
#pricing h1::after,
#about h2::after,
#contact h2::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
  width: var(--underline-width);
  transition: width 0.3s ease;
}

#hero.fade-out {
  opacity: 1;
}

/* Services Section */
#services-section {
  width: 100%;
  min-height: 100vh;
  padding: 2rem;
  opacity: 1;
  transition: opacity 0.5s ease;
}

#services-section h2 {
  font-size: 3rem;
  margin: 0 auto 2rem;
  text-align: center;
  display: inline-block;
  width: fit-content;
}

#services-section.fade-out {
  opacity: 1;
}

.services-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.services-left {
  position: sticky;
  top: 8.5rem;
  height: fit-content;
}

.image-container {
  position: relative;
  width: 100%;
  height: 500px;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #ffffff;
  border: 0.1rem solid var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.service-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.service-image.active {
  opacity: 1;
}

.services-right {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding-bottom: 3rem;
}

.service-item {
  background: #ffffff;
  border: 0.1rem solid var(--border);
  border-radius: 0.5rem;
  padding: 2.5rem;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.service-item h3 {
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--text-main);
  font-family: "Inter", sans-serif;
}

.service-item p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-body);
  font-family: "Inter", sans-serif;
}

#pricing {
  width: 100%;
  margin: 2rem 0;
  padding: 5rem 1.5rem 0;
  text-align: left;
  color: var(--text-main);
  font-family: "Inter", sans-serif;
  opacity: 1;
  transition: opacity 0.5s ease;
}

#pricing.fade-out {
  opacity: 1;
}

#pricing h1 {
  font-size: 3rem;
  margin: 0 0 1.5rem;
  text-align: left;
}

.pricing-table {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 0.1rem solid var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.pricing-table th,
.pricing-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.pricing-table th {
  background-color: rgba(0, 0, 0, 0.03);
  font-size: 1.25rem;
}

.pricing-table td {
  font-size: 1.15rem;
  color: var(--text-body);
}

.pricing-table tbody tr:last-child td {
  border-bottom: none;
}

/* About Us Section */
#about {
  width: 100%;
  margin: 2rem 0;
  padding: 0 1.5rem;
  color: var(--text-main);
  font-family: "Inter", sans-serif;
  text-align: left;
  opacity: 1;
  transition: opacity 0.5s ease;
}

#about.fade-out {
  opacity: 1;
}

#about h2 {
  font-size: 3rem;
  margin: 0 0 1.5rem;
  text-align: left;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 1400px;
}

.about-intro {
  background: #ffffff;
  border: 0.1rem solid var(--border);
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.about-intro p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-body);
}

/* Founder Cards */
.founders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.founder-card {
  background: #ffffff;
  border: 0.1rem solid var(--border);
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.2rem;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.founder-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 0, 0, 0.15);
}

.founder-photo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border);
  flex-shrink: 0;
}

.founder-photo img,
.founder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.founder-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(199, 125, 79, 0.12),
    rgba(199, 125, 79, 0.04)
  );
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--accent);
  font-family: "Inter", sans-serif;
}

.founder-info {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.founder-info h3 {
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text-main);
}

.founder-role {
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.founder-info p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-body);
  margin-top: 0.3rem;
}

.linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.6rem;
  padding: 0.5rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: 50em;
  background: rgba(0, 0, 0, 0.02);
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 400;
  transition: all 0.3s ease;
  align-self: center;
}

.linkedin-link:hover {
  border-color: #0a66c2;
  color: #0a66c2;
  box-shadow: 0 0 15px rgba(10, 102, 194, 0.2);
}

.linkedin-link svg {
  flex-shrink: 0;
}

/* Value Cards Row */
.about-values-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.about-value-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1.4rem 1.6rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.about-value-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 0, 0, 0.15);
}

.about-value-icon {
  font-size: 1.6rem;
  display: block;
  margin-bottom: 0.4rem;
}

.about-value-card h4 {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 0.3rem;
}

.about-value-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-body);
}

/* About Bottom */
.about-bottom {
  background: #ffffff;
  border: 0.1rem solid var(--border);
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.about-bottom h3 {
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 0.6rem;
}

.about-bottom p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-body);
}

#contact {
  width: 100%;
  margin: 3rem 0 2rem;
  padding: 0 1.5rem;
  color: var(--text-main);
  font-family: "Inter", sans-serif;
  text-align: left;
}

#contact h2 {
  font-size: 3rem;
  margin: 0 0 1.5rem;
  text-align: left;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1.5rem;
  text-align: left;
}

.contact-details,
.contact-form {
  background: #ffffff;
  border: 0.1rem solid var(--border);
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.contact-details h3 {
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.contact-details p {
  margin-bottom: 0.5rem;
  color: var(--text-body);
}

.social-links {
  list-style: none;
  margin-top: 0.75rem;
}

.social-links li {
  margin-bottom: 0.5rem;
}

.social-links a {
  color: var(--text-main);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.2s ease,
    color 0.2s ease;
}

.social-links a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.contact-form {
  display: grid;
  gap: 0.6rem;
}

.contact-form label {
  font-size: 0.95rem;
  color: var(--text-body);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: #f5f1eb;
  color: var(--text-main);
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  padding: 0.7rem 0.8rem;
  font: inherit;
}

.contact-form button {
  margin-top: 0.4rem;
  padding: 0.8rem 1rem;
  border-radius: 0.6rem;
  border: none;
  background: var(--accent);
  color: #ffffff;
  font: inherit;
  cursor: pointer;
  transition: filter 0.2s ease;
}

.contact-form button:hover {
  filter: brightness(1.15);
}

/* ────────────────────────────────────────────────
   Hamburger button (hidden on desktop)
   ──────────────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ────────────────────────────────────────────────
   Floating Background Shapes
   ──────────────────────────────────────────────── */
#particles-container {
  display: none;
}

.floaty {
  position: absolute;
  font-size: var(--f-size, 18px);
  opacity: 0;
  line-height: 1;
  filter: blur(0.3px);
  animation: floatyZoom linear infinite;
  animation-duration: var(--f-dur);
  animation-delay: var(--f-delay);
}

@keyframes floatyZoom {
  0% {
    opacity: 0;
    transform: translateX(var(--f-startX)) translateY(var(--f-startY))
      rotate(var(--f-rot-start)) scale(0.6);
  }
  6% {
    opacity: var(--f-opacity);
  }
  90% {
    opacity: var(--f-opacity);
  }
  100% {
    opacity: 0;
    transform: translateX(var(--f-endX)) translateY(var(--f-endY))
      rotate(var(--f-rot-end)) scale(1.1);
  }
}

/* ────────────────────────────────────────────────
   Hero — Two Column
   ──────────────────────────────────────────────── */
#hero {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  gap: 4rem;
  padding: 7rem 4rem 4rem;
  box-sizing: border-box;
  max-width: 1400px;
  margin: 0 auto;
}

/* Left column */
.hero-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  min-width: 0;
}

.hero-badge {
  display: inline-block;
  width: fit-content;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(199, 125, 79, 0.08);
  border: 1px solid rgba(199, 125, 79, 0.2);
  border-radius: 50em;
  padding: 0.35rem 1rem;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards 0s;
}

#hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: none;
  text-align: left;
  --underline-width: 0%;
  position: relative;
  display: inline-block;
  cursor: default;
  transition: font-weight 0.3s ease;
  opacity: 0;
  animation: fadeInUp 0.7s ease forwards 0.1s;
}

#hero h1::after {
  content: none;
}

#hero h1:hover {
  font-weight: 700 !important;
  --underline-width: 100% !important;
}

.hero-line {
  display: block;
  width: fit-content;
  position: relative;
  padding-bottom: 0.08em;
}

.hero-line + .hero-line {
  margin-top: 0.04em;
}

.hero-line::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  border-radius: 3px;
  background: var(--accent);
  width: var(--underline-width);
  transition: width 0.3s ease;
}

.hero-subtitle {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-body);
  line-height: 1.6;
  max-width: 460px;
  opacity: 0;
  animation: fadeInUp 0.7s ease forwards 0.2s;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.7s ease forwards 0.35s;
}

.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 1.8rem;
  border-radius: 0.5rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  border: none;
  transition:
    filter 0.2s ease,
    transform 0.2s ease;
}

.hero-btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 1.8rem;
  border-radius: 0.5rem;
  background: #fff;
  color: var(--text-main);
  text-decoration: none;
  font-weight: 400;
  font-size: 0.95rem;
  border: 1px solid var(--border);
  transition:
    border-color 0.2s ease,
    transform 0.2s ease,
    color 0.2s ease;
}

.hero-btn-secondary:hover {
  border-color: rgba(0, 0, 0, 0.2);
  color: var(--accent);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 0.5rem;
  opacity: 0;
  animation: fadeInUp 0.7s ease forwards 0.5s;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hero-stat-number {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 400;
}

.hero-stat-divider {
  width: 1px;
  height: 2.5rem;
  background: var(--border);
  flex-shrink: 0;
}

/* Right column — browser mockup */
.hero-right {
  flex: 1.1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  opacity: 0;
  animation: fadeInRight 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.3s;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-browser {
  width: 100%;
  max-width: 560px;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.12),
    0 4px 16px rgba(0, 0, 0, 0.06);
  background: #fff;
}

.browser-chrome {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  background: #f0ede8;
  border-bottom: 1px solid var(--border);
}

.browser-dots {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.browser-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.15);
}

.browser-dots span:nth-child(1) {
  background: #ff6059;
}
.browser-dots span:nth-child(2) {
  background: #ffbd2e;
}
.browser-dots span:nth-child(3) {
  background: #27c840;
}

.browser-bar {
  flex: 1;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border);
  border-radius: 0.35rem;
  padding: 0.28rem 0.75rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
}

.browser-body {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #111;
}

.browser-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.browser-slide.active {
  opacity: 1;
}

.browser-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.browser-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.2rem 1.4rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, transparent 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.browser-tag {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.75;
}

.browser-overlay p {
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
}

.browser-tabs {
  display: flex;
  border-top: 1px solid var(--border);
}

.browser-tab {
  flex: 1;
  padding: 0.65rem 0.5rem;
  background: none;
  border: none;
  border-right: 1px solid var(--border);
  font: inherit;
  font-size: 0.78rem;
  color: var(--text-muted);
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.browser-tab:last-child {
  border-right: none;
}

.browser-tab.active {
  background: rgba(199, 125, 79, 0.06);
  color: var(--accent);
  font-weight: 600;
}

.browser-tab:hover:not(.active) {
  background: rgba(0, 0, 0, 0.03);
  color: var(--text-main);
}

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

/* ────────────────────────────────────────────────
   Tablet  (≤ 968px)
   ──────────────────────────────────────────────── */
@media (max-width: 968px) {
  .services-container {
    grid-template-columns: 1fr;
  }

  .services-left {
    position: relative;
    top: 0;
  }

  .image-container {
    height: 350px;
  }

  #services-section h2,
  #pricing h1,
  #about h2,
  #contact h2 {
    font-size: 2.4rem;
  }

  .service-item h3 {
    font-size: 1.6rem;
  }

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

  #hero {
    flex-direction: column;
    padding: 7rem 2rem 3rem;
    gap: 3rem;
    min-height: auto;
  }

  .hero-right {
    width: 100%;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }
}

/* ────────────────────────────────────────────────
   Mobile  (≤ 768px)
   ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  header {
    padding: 0.5rem 1.2rem;
    border-radius: 1.2rem;
    width: calc(100% - 2rem);
    justify-content: space-between;
    align-items: center;
    animation: none;
    flex-wrap: wrap;
  }

  #logo {
    animation: none;
    opacity: 1 !important;
    max-width: 100px !important;
    margin-right: auto !important;
    order: 1;
  }

  #logo .logo-title {
    font-size: 1.3rem;
  }
  #logo .logo-subtitle {
    font-size: 0.85rem;
  }
  .hamburger {
    order: 2;
  }

  nav {
    order: 3;
    flex-basis: 100%;
    max-height: 0;
    overflow: hidden;
    flex-direction: column;
    margin-left: 0;
    padding: 0;
    gap: 0;
    opacity: 0;
    transition:
      max-height 0.35s ease,
      opacity 0.3s ease,
      padding 0.35s ease;
  }

  nav.open {
    max-height: 300px;
    opacity: 1;
    padding: 0.8rem 0 0.4rem;
    gap: 0.6rem;
    display: flex;
  }

  nav a {
    font-size: 1rem;
    padding: 0.45rem 0;
    text-align: center;
    border-bottom: 1px solid var(--border);
  }
  nav a:last-child {
    border-bottom: none;
  }

  /* Hero */
  /* Hero */
  #hero {
    padding: 7rem 1.25rem 2.5rem;
    flex-direction: column;
    gap: 2rem;
    min-height: auto;
  }
  .hero-left {
    gap: 1.25rem;
  }
  .hero-badge {
    font-size: 0.65rem;
    letter-spacing: 0.05em;
    max-width: 100%;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .hero-stats {
    gap: 1rem;
    flex-wrap: wrap;
  }
  .hero-stat-number {
    font-size: 1.3rem;
  }
  .hero-actions {
    flex-direction: column;
    gap: 0.75rem;
  }
  .hero-btn-primary,
  .hero-btn-secondary {
    justify-content: center;
    width: 100%;
  }

  /* Sections */
  #hero,
  #services-section,
  #pricing,
  #about,
  #contact {
    scroll-margin-top: 80px;
  }
  #services-section {
    padding: 1.5rem;
  }
  #services-section h2,
  #pricing h1,
  #about h2,
  #contact h2 {
    font-size: 2rem;
  }
  .image-container {
    height: 260px;
  }
  .service-item {
    padding: 1.5rem;
    min-height: auto;
  }
  .service-item h3 {
    font-size: 1.4rem;
  }
  .service-item p {
    font-size: 1rem;
  }
  #pricing {
    padding: 5rem 1rem 0;
  }
  .pricing-table th,
  .pricing-table td {
    font-size: 0.9rem;
    padding: 0.75rem;
  }
  #about {
    padding: 0 1rem;
  }
  .founders-grid {
    grid-template-columns: 1fr;
  }
  .founder-card {
    padding: 1.5rem;
  }
  .about-values-row {
    grid-template-columns: 1fr;
  }
  .about-intro {
    padding: 1.5rem;
  }
  .about-intro p {
    font-size: 0.95rem;
  }
  .about-bottom {
    padding: 1.5rem;
  }
  .about-bottom h3 {
    font-size: 1.15rem;
  }
  .about-bottom p {
    font-size: 0.95rem;
  }
  #contact {
    padding: 0 1rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  footer {
    font-size: 0.85rem;
    padding: 0.6rem 1.2rem;
    border-radius: 1rem;
  }
}

/* ────────────────────────────────────────────────
   Small phones  (≤ 480px)
   ──────────────────────────────────────────────── */
@media (max-width: 480px) {
  header {
    padding: 0.4rem 0.8rem;
    border-radius: 0.5rem;
  }
  #hero {
    padding: 6.5rem 1rem 2rem;
  }
  .hero-left {
    gap: 1rem;
  }
  .hero-badge {
    font-size: 0.6rem;
    letter-spacing: 0.04em;
  }
  .hero-subtitle {
    font-size: 0.9rem;
  }
  .hero-stat-number {
    font-size: 1.1rem;
  }
  .hero-stat-label {
    font-size: 0.7rem;
  }
  #services-section h2,
  #pricing h1,
  #about h2,
  #contact h2 {
    font-size: 1.6rem;
  }
  .service-item h3 {
    font-size: 1.2rem;
  }
  .service-item p {
    font-size: 0.92rem;
  }
  .image-container {
    height: 200px;
  }
  .pricing-table th,
  .pricing-table td {
    font-size: 0.82rem;
    padding: 0.6rem;
  }
  .contact-details h3 {
    font-size: 1.05rem;
  }
  .contact-details p {
    font-size: 0.9rem;
  }
  .contact-form label {
    font-size: 0.85rem;
  }
  footer {
    font-size: 0.78rem;
    padding: 0.5rem 1rem;
  }
}
