:root {
  --bg-main: #fffaf5;
  --bg-soft: #f7efe8;
  --bg-tint: #f2e9e1;
  --surface: #ffffff;
  --ink-900: #1f2532;
  --ink-700: #4f5a6d;
  --ink-500: #768095;
  --brand-900: #23404a;
  --brand-700: #325d6b;
  --accent-600: #d96f52;
  --accent-500: #ea886d;
  --accent-200: #f7ddd2;
  --line-soft: rgba(31, 37, 50, 0.12);
  --line-hero: rgba(255, 255, 255, 0.26);
  --shadow-soft: 0 16px 38px rgba(29, 38, 57, 0.08);
  --shadow-hover: 0 26px 55px rgba(29, 38, 57, 0.17);
  --radius-md: 18px;
  --radius-lg: 28px;
  --container: min(1160px, 90%);
  --nav-height: 88px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", sans-serif;
  color: var(--ink-900);
  background: radial-gradient(circle at 5% 5%, #fffdfb 0%, var(--bg-main) 40%, #fefaf6 100%);
  line-height: 1.65;
}

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

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

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 106px 0;
}

.section-title-wrap {
  margin-bottom: 46px;
}

.section-title-wrap.center {
  text-align: center;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.84rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent-600);
}

h1,
h2,
h3 {
  font-family: "Montserrat", sans-serif;
  line-height: 1.2;
  margin-top: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.85rem, 2.9vw, 2.6rem);
  letter-spacing: -0.02em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  padding: 13px 26px;
  cursor: pointer;
  transition: transform 0.32s ease, box-shadow 0.32s ease, background 0.32s ease, color 0.32s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(120deg, var(--accent-600), var(--accent-500));
  box-shadow: 0 14px 34px rgba(217, 111, 82, 0.34);
}

.btn-primary:hover {
  box-shadow: 0 20px 40px rgba(217, 111, 82, 0.42);
}

.btn-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(4px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn-light {
  background: #ffffff;
  color: var(--brand-900);
  box-shadow: 0 12px 30px rgba(13, 24, 39, 0.2);
}

.btn-light:hover {
  box-shadow: 0 18px 38px rgba(13, 24, 39, 0.28);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 251, 246, 0.86);
  border-bottom: 1px solid rgba(31, 37, 50, 0.06);
  backdrop-filter: blur(10px);
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.navbar.scrolled {
  background: rgba(255, 253, 249, 0.95);
  box-shadow: 0 12px 36px rgba(35, 64, 74, 0.08);
  border-color: rgba(31, 37, 50, 0.09);
}

.nav-inner {
  min-height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 1.03rem;
  color: var(--brand-900);
  letter-spacing: 0.01em;
}

.logo span {
  color: var(--accent-600);
  font-weight: 700;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  position: relative;
  font-weight: 600;
  color: var(--ink-700);
  transition: color 0.28s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-900);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(120deg, var(--accent-600), var(--accent-500));
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  margin-left: 8px;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 44px;
  height: 44px;
  padding: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  border-radius: 20px;
  background: var(--brand-900);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hero */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  overflow: hidden;
  background-image: url("https://images.unsplash.com/photo-1469571486292-b53601020e03?auto=format&fit=crop&w=2200&q=80");
  background-size: cover;
  background-position: center;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  filter: blur(1px);
  animation: blobFloat 11s ease-in-out infinite;
}

.hero::before {
  width: min(340px, 45vw);
  aspect-ratio: 1;
  top: 16%;
  right: -8%;
  background: radial-gradient(circle, rgba(234, 136, 109, 0.55) 0%, rgba(234, 136, 109, 0) 68%);
}

.hero::after {
  width: min(430px, 52vw);
  aspect-ratio: 1;
  left: -11%;
  bottom: -18%;
  background: radial-gradient(circle, rgba(71, 129, 149, 0.35) 0%, rgba(71, 129, 149, 0) 72%);
  animation-delay: -4s;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(107deg, rgba(21, 33, 46, 0.87) 22%, rgba(28, 46, 60, 0.66) 52%, rgba(34, 57, 74, 0.44) 100%);
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.08fr 0.72fr;
  gap: clamp(30px, 5vw, 56px);
  align-items: center;
}

.hero-content {
  color: #fffdfc;
  max-width: 760px;
  padding: 36px 0 20px;
}

.hero .eyebrow {
  color: #ffd6cb;
  margin-bottom: 14px;
  animation: fadeSlideUp 0.7s ease 0.1s both;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  margin: 0 0 18px;
  letter-spacing: -0.02em;
  animation: fadeSlideUp 0.8s ease 0.18s both;
}

.hero p {
  margin: 0;
  max-width: 620px;
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  color: rgba(255, 250, 246, 0.94);
  animation: fadeSlideUp 0.8s ease 0.28s both;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeSlideUp 0.8s ease 0.36s both;
}

.hero-metrics {
  margin-top: 30px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  animation: fadeSlideUp 0.8s ease 0.44s both;
}

.hero-metrics div {
  min-width: 155px;
  border: 1px solid var(--line-hero);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  border-radius: 14px;
  padding: 11px 14px;
}

.hero-metrics strong {
  display: block;
  font-size: 1.06rem;
  color: #ffffff;
}

.hero-metrics span {
  font-size: 0.82rem;
  color: rgba(255, 247, 242, 0.9);
}

.hero-profile-card {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.06));
  backdrop-filter: blur(9px);
  border-radius: 26px;
  padding: 20px;
  color: #fffefc;
  box-shadow: 0 22px 40px rgba(14, 22, 34, 0.25);
  animation: floatingCard 7s ease-in-out infinite;
}

.hero-profile-card img {
  width: 100%;
  height: clamp(220px, 28vw, 310px);
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 14px;
}

.profile-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 6px 11px;
  margin-bottom: 10px;
  background: rgba(255, 233, 225, 0.21);
  border: 1px solid rgba(255, 233, 225, 0.45);
}

.hero-profile-card h3 {
  margin: 0 0 6px;
}

.hero-profile-card p {
  margin: 0 0 12px;
  color: rgba(255, 252, 248, 0.9);
}

.hero-profile-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-profile-card li {
  position: relative;
  margin-bottom: 8px;
  padding-left: 16px;
  color: rgba(255, 252, 248, 0.95);
  font-size: 0.94rem;
}

.hero-profile-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffd5c8;
}

/* About */
.about {
  background: linear-gradient(180deg, #fffdfb 0%, #fff9f4 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.07fr 1fr;
  gap: 44px;
  align-items: center;
}

.about-image img {
  width: 100%;
  min-height: 390px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.about-text p {
  margin: 0 0 16px;
  color: var(--ink-700);
  font-size: 1.02rem;
}

.about-points {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.about-points li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 26px;
  color: var(--ink-700);
  font-weight: 600;
}

.about-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.34em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--accent-600), var(--accent-500));
  box-shadow: 0 6px 12px rgba(217, 111, 82, 0.22);
}

/* Services */
.services {
  background: linear-gradient(180deg, var(--bg-soft) 0%, #f5ebe4 100%);
}

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

.service-card {
  position: relative;
  background: var(--surface);
  border: 1px solid rgba(217, 111, 82, 0.12);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.34s ease, box-shadow 0.34s ease, border-color 0.34s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(120deg, var(--accent-600), var(--accent-500));
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(217, 111, 82, 0.34);
  box-shadow: var(--shadow-hover);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent-200), #fcece6);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  transition: transform 0.3s ease;
}

.service-card:hover .card-icon {
  transform: rotate(-6deg) scale(1.06);
}

.card-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--accent-600);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  margin: 0 0 9px;
  font-size: 1.1rem;
}

.service-card p {
  margin: 0;
  color: var(--ink-700);
  font-size: 0.95rem;
}

/* Showcase */
.showcase {
  background: linear-gradient(180deg, #fffdfb 0%, #fff8f2 100%);
}

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

.showcase-item {
  position: relative;
  overflow: hidden;
  min-height: 236px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.showcase-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.showcase-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: end start;
  padding: 16px;
  background: linear-gradient(180deg, rgba(21, 26, 37, 0) 26%, rgba(21, 26, 37, 0.8) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.showcase-overlay h3 {
  margin: 0;
  color: #ffffff;
  transform: translateY(8px);
  transition: transform 0.35s ease;
}

.showcase-item:hover img {
  transform: scale(1.08);
}

.showcase-item:hover .showcase-overlay {
  opacity: 1;
}

.showcase-item:hover .showcase-overlay h3 {
  transform: translateY(0);
}

/* Blog */
.blog {
  background: linear-gradient(180deg, var(--bg-soft) 0%, #f6eee7 100%);
}

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

.blog-card {
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid rgba(31, 37, 50, 0.06);
  box-shadow: var(--shadow-soft);
  transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(217, 111, 82, 0.2);
}

.blog-card img {
  width: 100%;
  height: 208px;
  object-fit: cover;
}

.blog-content {
  padding: 22px;
}

.blog-meta {
  margin: 0 0 8px;
  color: var(--accent-600);
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.blog-content h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
}

.blog-content p {
  margin: 0 0 14px;
  color: var(--ink-700);
  font-size: 0.95rem;
}

.read-more {
  color: var(--brand-700);
  font-weight: 700;
}

.read-more:hover {
  color: var(--accent-600);
}

/* CTA */
.cta-section {
  padding: 90px 0;
  background: linear-gradient(120deg, #283f5a 0%, #325d6b 45%, #3b6f76 100%);
  color: #ffffff;
}

.cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.cta-content h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.55rem, 2.8vw, 2.35rem);
}

/* Contact */
.contact {
  background: linear-gradient(180deg, #fffdfb 0%, #fff8f2 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: 24px;
}

.contact-info,
.contact-form {
  background: var(--surface);
  border: 1px solid rgba(31, 37, 50, 0.08);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.contact-info h3 {
  margin: 0 0 8px;
  color: var(--brand-900);
}

.contact-info p {
  margin: 0 0 14px;
  color: var(--ink-700);
}

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

.contact-info li {
  margin-bottom: 9px;
  color: var(--ink-700);
  font-weight: 600;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
  color: var(--ink-900);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--line-soft);
  border-radius: 11px;
  background: #fffcf9;
  color: var(--ink-900);
  font: inherit;
  outline: none;
  padding: 11px 12px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(217, 111, 82, 0.65);
  box-shadow: 0 0 0 3px rgba(217, 111, 82, 0.17);
}

.contact-form .btn {
  width: 100%;
}

/* Footer */
.footer {
  background: #1f2f44;
  color: #d7e1ea;
  padding: 70px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1fr;
  gap: 24px;
}

.footer-logo {
  color: #f4f8fc;
}

.footer-logo span {
  color: #ffc8b8;
}

.footer h3 {
  margin: 0 0 10px;
  color: #f4f8fc;
  font-size: 1rem;
}

.footer p {
  margin: 12px 0 0;
  color: #c7d3de;
}

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

.footer li {
  margin-bottom: 8px;
  color: #c7d3de;
}

.footer a:hover {
  color: #ffffff;
}

.copyright {
  margin-top: 30px;
  border-top: 1px solid rgba(231, 239, 247, 0.14);
  padding-top: 20px;
}

.copyright p {
  margin: 0;
  font-size: 0.9rem;
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.74s ease, transform 0.74s cubic-bezier(0.18, 0.78, 0.25, 0.98);
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.08s;
}

.delay-2 {
  transition-delay: 0.16s;
}

.delay-3 {
  transition-delay: 0.24s;
}

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

@keyframes blobFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-18px) scale(1.05);
  }
}

@keyframes floatingCard {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Responsive */
@media (max-width: 1120px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-profile-card {
    max-width: 520px;
  }

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

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

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

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

  .nav-menu {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    background: rgba(255, 252, 248, 0.98);
    border-bottom: 1px solid rgba(31, 37, 50, 0.08);
    display: grid;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.34s ease;
  }

  .nav-menu.open {
    max-height: 560px;
  }

  .nav-link,
  .nav-cta {
    margin: 0;
    padding: 14px 5%;
    border-bottom: 1px solid rgba(31, 37, 50, 0.06);
  }

  .nav-cta {
    border-radius: 0;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

@media (max-width: 640px) {
  .section {
    padding: 80px 0;
  }

  .hero {
    min-height: 94vh;
  }

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

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

  .hero-metrics div {
    width: 100%;
  }

  .service-grid,
  .showcase-grid,
  .blog-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

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