@font-face {
  font-family: "Baloo 2";
  src: url("../fonts/Baloo2-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Baloo 2";
  src: url("../fonts/Baloo2-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Baloo 2";
  src: url("../fonts/Baloo2-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Baloo 2";
  src: url("../fonts/Baloo2-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Baloo 2";
  src: url("../fonts/Baloo2-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Quicksand";
  src: url("../fonts/Quicksand-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Quicksand";
  src: url("../fonts/Quicksand-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Quicksand";
  src: url("../fonts/Quicksand-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Quicksand";
  src: url("../fonts/Quicksand-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --kpy-radius: 1rem;
  --kpy-background: #ffffff;
  --kpy-foreground: #534d73;
  --kpy-card: #ffffff;
  --kpy-primary: #2fc6ed;
  --kpy-primary-rgb: 47, 198, 237;
  --kpy-secondary: #e6b800;
  --kpy-secondary-rgb: 230, 184, 0;
  --kpy-accent: #eb3f94;
  --kpy-accent-rgb: 235, 63, 148;
  --kpy-muted: #edf8fa;
  --kpy-muted-foreground: #736c82;
  --kpy-border: #d0e5eb;
  --kpy-teal-light: #d7f2f8;
  --kpy-yellow-light: #fff9d1;
  --kpy-coral: #f9831d;
  --kpy-coral-light: #fde5d7;
  --kpy-purple: #6232ff;
  --kpy-purple-light: #dfd6ff;
  --kpy-hero-gradient-1: #d9f5fb;
  --kpy-hero-gradient-2: #fff7d6;
  --kpy-hero-gradient-3: #fce0ef;
  --kpy-hero-gradient-4: #ece0fb;
  --kpy-contact-gradient-1: #d9f5fb;
  --kpy-contact-gradient-2: #ece3fb;
  --kpy-contact-gradient-3: #fce0ef;
  --kpy-services-gradient-1: #fff9db;
  --kpy-services-gradient-2: #ffdcee;
  --kpy-footer-background: #534d73;
  --kpy-footer-text: #ffffff;
  --kpy-wave: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--kpy-foreground);
  background: var(--kpy-background);
  font-family: "Quicksand", sans-serif;
}

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

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

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

button,
input,
textarea {
  font: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-family: "Baloo 2", cursive;
  font-weight: 700;
}

p {
  margin: 0;
}

svg {
  width: 100%;
  height: 100%;
}

.kpy-site-shell {
  min-height: 100vh;
}

.kpy-container {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 0 2rem;
}

.kpy-block {
  display: block;
}

.kpy-highlight {
  color: var(--kpy-primary);
}

.kpy-highlight--accent {
  color: var(--kpy-accent);
}

.kpy-navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  transition: all 0.3s ease;
}

.kpy-navbar.is-scrolled {
  background: rgba(var(--kpy-background-rgb, 255, 255, 255), 0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(83, 77, 115, 0.12);
}

.kpy-navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.kpy-brand__logo {
  width: auto;
  height: 4rem;
}

.kpy-nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

.kpy-nav-links a,
.kpy-mobile-menu a,
.kpy-footer-nav a,
.kpy-footer-contact a,
.kpy-footer__bottom a {
  transition: color 0.25s ease, transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.kpy-nav-links > a:not(.kpy-button) {
  font-family: "Baloo 2", cursive;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(var(--kpy-foreground-rgb, 83, 77, 115), 0.8);
}

.kpy-nav-links > a:not(.kpy-button):hover,
.kpy-mobile-menu a:hover,
.kpy-footer-nav a:hover,
.kpy-footer-contact a:hover,
.kpy-footer__bottom a:hover {
  color: var(--kpy-primary);
}

.kpy-mobile-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  background: transparent;
  color: var(--kpy-foreground);
  cursor: pointer;
  padding: 0;
}

.kpy-icon {
  display: inline-flex;
  width: 1.5rem;
  height: 1.5rem;
}

.kpy-icon svg,
.kpy-feature-icon svg,
.kpy-services-card__icon svg,
.kpy-contact-pill__icon svg,
.kpy-contact-heart svg,
.kpy-contact-submit__icon svg,
.kpy-footer-icon svg,
.kpy-social-links svg,
.kpy-lightbox__close svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Tamaños de iconos según Lovable (lucide-react size en px) */
.kpy-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}
.kpy-feature-icon svg {
  width: 1.75rem;
  height: 1.75rem;
}
.kpy-services-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.kpy-services-card__icon svg {
  width: 1.5rem;
  height: 1.5rem;
}
.kpy-contact-heart svg {
  width: 1.75rem;
  height: 1.75rem;
  padding-top: 3px;
  padding-left: 3px;
}
.kpy-contact-pill__icon svg {
  width: 1rem;
  height: 1rem;
  margin: 0;
  overflow: visible;
  flex-shrink: 0;
}
.kpy-contact-submit__icon svg {
  width: 1.125rem;
  height: 1.125rem;
  overflow: visible;
  flex-shrink: 0;
}
.kpy-footer-icon svg {
  width: 0.9375rem;
  height: 0.9375rem;
  overflow: visible;
  flex-shrink: 0;
  padding-bottom: 20px;
  padding-right: 20px;
}
.kpy-social-links svg {
  width: 20px;
  height: 20px;
  overflow: visible;
  flex-shrink: 0;
  padding-bottom: 25px;
  padding-right: 25px;
}
.kpy-lightbox__close svg {
  width: 1.5rem;
  height: 1.5rem;
}

.kpy-icon--close {
  display: none;
}

.kpy-mobile-toggle.is-open .kpy-icon--menu {
  display: none;
}

.kpy-mobile-toggle.is-open .kpy-icon--close {
  display: inline-flex;
}

.kpy-mobile-menu {
  display: none;
  padding: 1.5rem 1rem;
  border-top: 1px solid var(--kpy-border);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
}

.kpy-mobile-menu.is-open {
  display: grid;
  gap: 1rem;
  animation: kpyFadeInUp 0.6s ease forwards;
}

.kpy-mobile-menu a {
  display: block;
  font-family: "Baloo 2", cursive;
  font-weight: 700;
  font-size: 1.125rem;
  color: rgba(var(--kpy-foreground-rgb, 83, 77, 115), 0.8);
}

.kpy-mobile-cta {
  justify-content: center;
}

.kpy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  font-family: "Baloo 2", cursive;
  font-weight: 700;
  cursor: pointer;
}

.kpy-button--primary {
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
  color: #ffffff;
  background: var(--kpy-primary);
  box-shadow: 0 4px 15px rgba(var(--kpy-primary-rgb), 0.4);
}

.kpy-button--accent {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  color: #ffffff;
  background: var(--kpy-accent);
  box-shadow: 0 6px 20px rgba(var(--kpy-accent-rgb), 0.4);
}

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

.kpy-hero {
  position: relative;
  min-height: 110vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 8rem 0 8rem;
  background: linear-gradient(
    135deg,
    var(--kpy-hero-gradient-1) 0%,
    var(--kpy-hero-gradient-2) 30%,
    var(--kpy-hero-gradient-3) 60%,
    var(--kpy-hero-gradient-4) 100%
  );
}

.kpy-hero__blob,
.kpy-contact__blob {
  position: absolute;
  border-radius: 999px;
  filter: blur(48px);
  mix-blend-mode: multiply;
  animation: kpyBlob 12s ease-in-out infinite;
}

.kpy-hero__blob--one {
  top: 2.5rem;
  left: 5%;
  width: 37.5rem;
  height: 37.5rem;
  opacity: 0.5;
  background: radial-gradient(circle, rgba(var(--kpy-primary-rgb), 0.5), rgba(var(--kpy-purple-rgb, 98, 50, 255), 0.15));
}

.kpy-hero__blob--two {
  top: 15%;
  right: 5%;
  width: 34.375rem;
  height: 34.375rem;
  opacity: 0.45;
  background: radial-gradient(circle, rgba(var(--kpy-accent-rgb), 0.45), rgba(var(--kpy-secondary-rgb), 0.15));
  animation-delay: 3s;
}

.kpy-hero__blob--three {
  bottom: 10%;
  left: 25%;
  width: 31.25rem;
  height: 31.25rem;
  opacity: 0.4;
  background: radial-gradient(circle, rgba(var(--kpy-secondary-rgb), 0.4), rgba(var(--kpy-primary-rgb), 0.15));
  animation-delay: 6s;
}

.kpy-hero__blob--four {
  top: 40%;
  left: 60%;
  width: 28.125rem;
  height: 28.125rem;
  opacity: 0.35;
  background: radial-gradient(circle, rgba(var(--kpy-purple-rgb, 98, 50, 255), 0.35), rgba(var(--kpy-accent-rgb), 0.1));
  animation-delay: 9s;
}

.kpy-hero__dot {
  position: absolute;
  border-radius: 999px;
  animation: kpyBounce 4s infinite;
}

.kpy-hero__dot--one {
  top: 20%;
  left: 15%;
  width: 0.75rem;
  height: 0.75rem;
  background: rgba(var(--kpy-primary-rgb), 0.3);
  animation-duration: 3s;
}

.kpy-hero__dot--two {
  top: 30%;
  right: 20%;
  width: 0.5rem;
  height: 0.5rem;
  background: rgba(var(--kpy-accent-rgb), 0.3);
  animation-duration: 4s;
  animation-delay: 1s;
}

.kpy-hero__dot--three {
  bottom: 30%;
  left: 10%;
  width: 1rem;
  height: 1rem;
  background: rgba(var(--kpy-secondary-rgb), 0.3);
  animation-duration: 3.5s;
  animation-delay: 2s;
}

.kpy-hero__dot--four {
  top: 15%;
  right: 35%;
  width: 0.625rem;
  height: 0.625rem;
  background: rgba(var(--kpy-purple-rgb, 98, 50, 255), 0.25);
  animation-duration: 4.5s;
  animation-delay: 0.5s;
}

.kpy-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.kpy-hero__title {
  max-width: 64rem;
  margin: 0 auto 2rem;
  font-size: clamp(2.75rem, 4vw + 1rem, 5.25rem);
  line-height: 1;
  color: var(--kpy-foreground);
}

.kpy-hero__description {
  max-width: 42rem;
  margin: 0 auto 1.5rem;
  color: var(--kpy-muted-foreground);
  font-size: clamp(1.125rem, 1vw + 0.8rem, 1.5rem);
  line-height: 1.7;
}

.kpy-hero__wave {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
}

.kpy-hero__wave svg {
  display: block;
  width: 100%;
}

.kpy-section {
  position: relative;
  padding: 5rem 0 7rem;
}

.kpy-section__intro {
  max-width: 48rem;
  margin: 0 auto 4rem;
  text-align: center;
}

.kpy-section__title {
  margin-bottom: 1.5rem;
  font-size: clamp(2.125rem, 2.5vw + 1rem, 4rem);
  line-height: 1.05;
  color: var(--kpy-foreground);
}

.kpy-section__title--center,
.kpy-section__description--center {
  text-align: center;
}

.kpy-section__description {
  color: var(--kpy-muted-foreground);
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.kpy-grid {
  display: grid;
  gap: 2rem;
}

.kpy-grid--cards,
.kpy-grid--gallery,
.kpy-grid--testimonials {
  max-width: 68rem;
  margin: 0 auto;
}

.kpy-card {
  display: flex;
  flex-direction: column;
  border-radius: 1.5rem;
  background: var(--kpy-card);
  box-shadow: 0 12px 30px rgba(83, 77, 115, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kpy-card:hover,
.kpy-gallery-card:hover {
  transform: translateY(-0.5rem);
}

.kpy-card--feature {
  padding: 2rem;
  align-items: center;
  text-align: center;
  cursor: default;
}

.kpy-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  margin-bottom: 1.5rem;
  border-radius: 1rem;
  transition: transform 0.3s ease;
}

.kpy-card--feature:hover .kpy-feature-icon {
  transform: rotate(6deg) scale(1.1);
}

.kpy-card--feature h3,
.kpy-services-card__content h3,
.kpy-amy-content h3 {
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
}

.kpy-card--feature p,
.kpy-services-card__content p,
.kpy-amy-content p,
.kpy-testimonial-text {
  color: var(--kpy-muted-foreground);
  line-height: 1.8;
}

.kpy-tone-yellow {
  background: var(--kpy-yellow-light);
  color: var(--kpy-secondary);
}

.kpy-tone-purple {
  background: var(--kpy-purple-light);
  color: var(--kpy-purple);
}

.kpy-tone-teal {
  background: var(--kpy-teal-light);
  color: var(--kpy-primary);
}

.kpy-tone-coral {
  background: rgba(var(--kpy-coral-rgb, 249, 131, 29), 0.12);
  color: var(--kpy-accent);
}

.kpy-tone-pink {
  background: rgba(var(--kpy-accent-rgb), 0.12);
  color: var(--kpy-accent);
}

.kpy-section--services {
  overflow: hidden;
  background: linear-gradient(to bottom, var(--kpy-services-gradient-1), var(--kpy-services-gradient-2));
}

.kpy-services-card {
  position: relative;
  display: flex;
  gap: 1rem;
  max-width: 42rem;
  margin: 0 auto;
  padding: 2rem;
  border: 2px solid rgba(var(--kpy-secondary-rgb), 0.5);
  border-radius: 1.5rem;
  background: var(--kpy-card);
  box-shadow: 0 16px 34px rgba(83, 77, 115, 0.1);
}

.kpy-services-card__badge {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.375rem 1.25rem;
  border-radius: 999px;
  background: var(--kpy-secondary);
  color: #ffffff;
  font-family: "Baloo 2", cursive;
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(var(--kpy-secondary-rgb), 0.35);
}

.kpy-services-card__icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 0.875rem;
  padding: 0.75rem;
  background: var(--kpy-yellow-light);
  color: var(--kpy-secondary);
  margin-top: 0.5rem;
}

.kpy-section--amy {
  background: var(--kpy-background);
}

.kpy-amy-layout {
  display: grid;
  align-items: center;
  gap: 3rem;
  max-width: 68rem;
  margin: 0 auto;
}

.kpy-amy-photo-wrap {
  position: relative;
  max-width: 24rem;
  margin: 0 auto;
}

.kpy-amy-photo-bg {
  position: absolute;
  inset: 0;
  border-radius: 1.5rem;
  transform: scale(1.05);
}

.kpy-amy-photo-bg--primary {
  background: rgba(var(--kpy-primary-rgb), 0.2);
  transform: rotate(3deg) scale(1.05);
}

.kpy-amy-photo-bg--secondary {
  background: rgba(var(--kpy-secondary-rgb), 0.2);
  transform: rotate(-2deg) scale(1.05);
}

.kpy-amy-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 1.5rem;
  box-shadow: 0 22px 48px rgba(83, 77, 115, 0.2);
  transition: transform 0.5s ease;
}

.kpy-amy-photo-wrap:hover .kpy-amy-photo {
  transform: rotate(2deg) scale(1.05);
}

.kpy-badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.kpy-badge {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-family: "Baloo 2", cursive;
  font-size: 0.875rem;
  font-weight: 600;
}

.kpy-section--gallery {
  background: var(--kpy-yellow-light);
}

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

.kpy-gallery-card {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 1.5rem;
  background: transparent;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 12px 30px rgba(83, 77, 115, 0.14);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kpy-gallery-card:hover {
  box-shadow: 0 24px 42px rgba(83, 77, 115, 0.2);
}

.kpy-gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.kpy-gallery-card:hover img {
  transform: scale(1.05);
}

.kpy-gallery-card__overlay {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(to top, rgba(var(--kpy-primary-rgb), 0.3), rgba(var(--kpy-accent-rgb), 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.kpy-gallery-card:hover .kpy-gallery-card__overlay {
  opacity: 1;
}

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

.kpy-card--testimonial {
  padding: 2rem;
  border-top: 4px solid var(--kpy-primary);
  cursor: default;
}

.kpy-border-tone-teal {
  border-top-color: var(--kpy-primary);
}

.kpy-border-tone-yellow {
  border-top-color: var(--kpy-secondary);
}

.kpy-border-tone-pink,
.kpy-border-tone-coral,
.kpy-border-tone-purple {
  border-top-color: var(--kpy-accent);
}

.kpy-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.kpy-star {
  width: 1.125rem;
  height: 1.125rem;
  color: var(--kpy-secondary);
}

.kpy-star svg {
  fill: var(--kpy-secondary);
  stroke: var(--kpy-secondary);
}

.kpy-testimonial-text {
  flex: 1;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.kpy-testimonial-name {
  font-family: "Baloo 2", cursive;
  font-weight: 700;
}

.kpy-testimonial-role {
  color: var(--kpy-muted-foreground);
  font-size: 0.875rem;
}

.kpy-section--contact {
  background: linear-gradient(
    180deg,
    var(--kpy-contact-gradient-1) 0%,
    var(--kpy-contact-gradient-2) 50%,
    var(--kpy-contact-gradient-3) 100%
  );
}

.kpy-contact__blob--one {
  top: 2.5rem;
  left: 10%;
  width: 16rem;
  height: 16rem;
  opacity: 0.3;
  background: radial-gradient(circle, rgba(var(--kpy-primary-rgb), 0.5), rgba(var(--kpy-secondary-rgb), 0.2));
}

.kpy-contact__blob--two {
  right: 10%;
  bottom: 2.5rem;
  width: 18rem;
  height: 18rem;
  opacity: 0.25;
  background: radial-gradient(circle, rgba(var(--kpy-accent-rgb), 0.4), rgba(var(--kpy-purple-rgb, 98, 50, 255), 0.2));
  animation-delay: 4s;
}

.kpy-contact__content {
  position: relative;
  z-index: 1;
}

.kpy-section__intro--contact {
  margin-bottom: 3rem;
}

.kpy-contact-heart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1rem;
  border-radius: 1rem;
  background: rgba(var(--kpy-accent-rgb), 0.15);
  color: var(--kpy-accent);
}

.kpy-contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.kpy-contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.875rem 1.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 24px rgba(83, 77, 115, 0.08);
  font-weight: 600;
}

.kpy-contact-pill:hover {
  transform: translateY(-0.25rem);
}

.kpy-contact-pill__icon {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  min-width: 2rem;
  min-height: 2rem;
  border-radius: 999px;
  overflow: visible;
  box-sizing: border-box;
}
.kpy-contact-pill__icon svg {
  position: absolute;
  left: 50%;
  top: 50%;
  margin: 0;
  transform: translate(-50%, -50%);
  padding-bottom: 23px;
  padding-right: 23px;
}

.kpy-contact-form {
  display: grid;
  gap: 1.25rem;
  max-width: 34rem;
  margin: 0 auto;
  padding: 2rem 2rem 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 38px rgba(83, 77, 115, 0.12);
}

.kpy-contact-form h3 {
  text-align: center;
  font-size: 1.5rem;
}

.kpy-contact-form input,
.kpy-contact-form textarea {
  width: 100%;
  border: 0;
  border-radius: 0.875rem;
  background: rgba(var(--kpy-primary-rgb), 0.08);
  color: var(--kpy-foreground);
  padding: 0.875rem 1rem;
  outline: none;
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

.kpy-contact-form input {
  min-height: 3rem;
}

.kpy-contact-form textarea {
  min-height: 8.25rem;
  resize: vertical;
}

.kpy-contact-form input:focus,
.kpy-contact-form textarea:focus {
  box-shadow: 0 0 0 2px rgba(var(--kpy-primary-rgb), 0.3);
  background: rgba(var(--kpy-primary-rgb), 0.11);
}

.kpy-contact-submit {
  width: 100%;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  min-height: 50px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.kpy-contact-submit:hover {
  background-color: rgba(var(--kpy-primary-rgb), 0.9);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 25px rgba(var(--kpy-primary-rgb), 0.5);
}

.kpy-contact-submit:active {
  transform: scale(0.95);
}

.kpy-contact-submit__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  min-width: 1.125rem;
  min-height: 1.125rem;
  overflow: visible;
}

.kpy-footer {
  color: var(--kpy-footer-text);
  background: var(--kpy-footer-background);
}

.kpy-footer__top {
  display: grid;
  gap: 2.5rem;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.kpy-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.kpy-footer-brand__row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.kpy-footer-brand__logo {
  width: auto;
  height: 3.5rem;
}

.kpy-footer-brand__name {
  white-space: nowrap;
  font-family: "Baloo 2", cursive;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.1;
}

.kpy-footer-brand__tagline,
.kpy-footer-column h4,
.kpy-footer-nav a,
.kpy-footer-contact a,
.kpy-footer__bottom {
  font-family: "Quicksand", sans-serif;
}

.kpy-footer-brand__tagline,
.kpy-footer-nav a,
.kpy-footer-contact a,
.kpy-footer__bottom {
  color: rgba(255, 255, 255, 0.7);
}

.kpy-footer-column h4 {
  margin-bottom: 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
}

.kpy-footer-nav,
.kpy-footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.kpy-footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.kpy-footer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 0.9375rem;
  height: 0.9375rem;
  min-width: 0.9375rem;
  min-height: 0.9375rem;
  color: var(--kpy-primary);
  overflow: visible;
}
.kpy-footer-icon--accent {
  color: var(--kpy-accent);
}

.kpy-social-links {
  display: flex;
  gap: 0.75rem;
}

.kpy-social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, background-color 0.3s ease;
  overflow: visible;
}

.kpy-social-links a:hover {
  transform: scale(1.1);
  background: rgba(var(--kpy-primary-rgb), 0.3);
}

.kpy-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.kpy-footer__bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
}

.kpy-lightbox {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  box-sizing: border-box;
  overflow: auto;
}

.kpy-lightbox.is-open {
  display: flex;
}

.kpy-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
}

.kpy-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(92vw, 64rem);
  max-height: calc(100vh - 3rem);
  margin: auto;
  padding: 0.5rem;
  border-radius: 1.5rem;
  background: var(--kpy-card);
  display: flex;
  flex-direction: column;
  flex-shrink: 1;
  min-height: 0;
}

.kpy-lightbox__dialog img {
  width: 100%;
  max-height: calc(100vh - 5rem);
  height: auto;
  object-fit: contain;
  border-radius: 1rem;
  flex-shrink: 1;
  min-height: 0;
}

.kpy-lightbox__close {
  position: absolute;
  top: -0.875rem;
  right: -0.875rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 999px;
  background: var(--kpy-card);
  color: var(--kpy-foreground);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.kpy-toast {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 80;
  min-width: 18rem;
  max-width: 24rem;
  padding: 1rem 1.125rem;
  border-radius: 1rem;
  background: var(--kpy-card);
  box-shadow: 0 18px 40px rgba(83, 77, 115, 0.18);
  transform: translateY(1rem);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.kpy-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.kpy-toast__title {
  margin-bottom: 0.25rem;
  font-family: "Baloo 2", cursive;
  font-weight: 700;
}

.kpy-toast__message {
  color: var(--kpy-muted-foreground);
}

@keyframes kpyFadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes kpyBlob {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.6;
  }
  25% {
    transform: translate(15px, -25px) scale(1.05);
    opacity: 0.8;
  }
  50% {
    transform: translate(-10px, 15px) scale(0.95);
    opacity: 0.5;
  }
  75% {
    transform: translate(20px, 10px) scale(1.02);
    opacity: 0.7;
  }
}

@keyframes kpyBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-0.5rem);
  }
}

@media (min-width: 768px) {
  .kpy-navbar__inner {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .kpy-brand__logo {
    height: 5rem;
  }

  .kpy-nav-links {
    display: flex;
  }

  .kpy-mobile-toggle,
  .kpy-mobile-menu {
    display: none !important;
  }

  .kpy-grid--cards,
  .kpy-grid--gallery,
  .kpy-grid--testimonials,
  .kpy-amy-layout,
  .kpy-footer__top {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .kpy-footer__top {
    grid-template-columns: 1.25fr 1fr 1fr 1fr;
    align-items: start;
  }

  .kpy-footer__bottom-inner {
    flex-direction: row;
  }
}

@media (max-width: 767px) {
  .kpy-container {
    padding: 0 1rem;
  }

  .kpy-hero {
    min-height: 100vh;
    padding-top: 7rem;
  }

  .kpy-services-card {
    flex-direction: column;
  }

  .kpy-footer__bottom {
    margin-top: 1.75rem;
  }

  .kpy-lightbox__dialog {
    width: min(94vw, 64rem);
    max-height: calc(100vh - 3rem);
  }
}
