/* ============================================================
   PRADEEP RAJ D. Y — Senior Architect & Interior Designer
   Master Stylesheet — Corporate Premium
   ============================================================ */

:root {
  --white: #ffffff;
  --gray-50: #f8f7f4;
  --gray-100: #f0efeb;
  --gray-200: #e2e1dd;
  --gray-300: #c4c3be;
  --gray-400: #9a9994;
  --gray-500: #7a7a75;
  --gray-600: #5a5a56;
  --gray-700: #3a3a37;
  --gray-800: #2a2a28;
  --gray-900: #1a1a18;
  --gray-950: #0e0e0c;
  --teal: #1b3b4a;
  --teal-light: #2a5b6e;
  --teal-dark: #122a35;
  --terracotta: #c75b3a;
  --terracotta-light: #d97a5a;
  --terracotta-dark: #a8472a;
  --font-heading: 'Syne', 'Inter', sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-mono: 'DM Mono', monospace;
  --container: 1240px;
  --section-padding: 100px 0;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--gray-900);
  background: var(--gray-50);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { border: none; background: none; cursor: pointer; font: inherit; color: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 48px;
}
@media (max-width: 768px) { .container { padding: 0 24px; } }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.section__label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--teal);
  margin-bottom: 16px;
}
.section__label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--teal);
}
.section__label--light { color: var(--terracotta); }
.section__label--light::before { background: var(--terracotta); }
.section__title {
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 600;
  color: var(--gray-950);
  margin-bottom: 16px;
  line-height: 1.06;
}
.section__title--light { color: var(--white); }
.section__subtitle {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  color: var(--gray-500);
  margin-bottom: 32px;
}
.section__desc {
  font-size: 16px;
  font-weight: 400;
  color: var(--gray-600);
  max-width: 600px;
  line-height: 1.7;
}
.section__header { margin-bottom: 32px; }
@media (max-width: 768px) { .section__header { margin-bottom: 36px; } }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.4s var(--ease-out);
}
.btn--primary {
  background: var(--teal);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--teal-light);
  transform: translateY(-1px);
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.5s var(--ease-out);
  mix-blend-mode: difference;
}
.header--scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-200);
  mix-blend-mode: normal;
}
.header--scrolled .header__logo-text { color: var(--gray-950); }
.header--scrolled .header__link { color: var(--gray-700); }
.header--scrolled .header__link--cta { border-color: var(--gray-300); color: var(--teal); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header__logo-symbol {
  color: var(--white);
  flex-shrink: 0;
}
.header--scrolled .header__logo-symbol { color: var(--teal); }
.header__logo-text {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.3px;
}
.header__logo-text em {
  font-style: normal;
  font-weight: 400;
  color: var(--gray-400);
}
.header__nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.header__link {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.8);
  transition: color 0.3s ease;
}
.header__link:hover { color: var(--white); }
.header--scrolled .header__link:hover { color: var(--gray-950); }
.header__link--cta {
  padding: 8px 20px;
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
}
.header__link--cta:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }
.header--scrolled .header__link--cta:hover { background: var(--gray-100); }

.header__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  padding: 4px 0;
}
.header__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  transition: all 0.3s ease;
}
.header--scrolled .header__toggle span { background: var(--gray-950); }
.header__toggle.active span:first-child { transform: rotate(45deg) translate(3px, 3px); }
.header__toggle.active span:last-child { transform: rotate(-45deg) translate(3px, -3px); }

@media (max-width: 900px) {
  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    gap: 24px;
    transition: all 0.5s var(--ease-out);
    border-left: 1px solid var(--gray-200);
  }
  .header__nav.open { right: 0; }
  .header__link { color: var(--gray-700); font-size: 14px; }
  .header__link:hover { color: var(--gray-950); }
  .header__link--cta { border-color: var(--gray-300); color: var(--teal); }
  .header__toggle { display: flex; }
}

/* ============================================================
   CAROUSEL
   ============================================================ */
.carousel {
  position: relative;
  height: 75vh;
  min-height: 520px;
  max-height: 700px;
  overflow: hidden;
  background: var(--gray-950);
}
.carousel__slides {
  position: relative;
  width: 100%;
  height: 100%;
}
.carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s var(--ease-out);
  pointer-events: none;
}
.carousel__slide.active {
  opacity: 1;
  pointer-events: auto;
}
.carousel__image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  transition: transform 6s var(--ease-out);
}
.carousel__slide.active .carousel__image {
  transform: scale(1);
}
.carousel__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(14,14,12,0.75) 0%,
    rgba(14,14,12,0.35) 45%,
    rgba(14,14,12,0.5) 100%
  );
}
.carousel__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 680px;
}
.carousel__pre {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--terracotta);
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s var(--ease-out) 0.4s;
}
.carousel__slide.active .carousel__pre {
  opacity: 1;
  transform: translateY(0);
}
.carousel__title {
  font-family: var(--font-heading);
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s var(--ease-out) 0.6s;
}
.carousel__slide.active .carousel__title {
  opacity: 1;
  transform: translateY(0);
}
.carousel__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 1px;
  margin-bottom: 12px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s var(--ease-out) 0.8s;
}
.carousel__slide.active .carousel__meta {
  opacity: 1;
  transform: translateY(0);
}
.carousel__desc {
  font-size: 15px;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 520px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s var(--ease-out) 1s;
}
.carousel__slide.active .carousel__desc {
  opacity: 1;
  transform: translateY(0);
}
.carousel__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out) 1.2s, transform 0.6s var(--ease-out) 1.2s, background 0.3s, border-color 0.3s;
}
.carousel__slide.active .carousel__btn {
  opacity: 1;
  transform: translateY(0);
}
.carousel__btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

/* Controls */
.carousel__controls {
  position: absolute;
  bottom: 60px;
  right: 48px;
  z-index: 5;
  display: flex;
  gap: 8px;
}
.carousel__arrow {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all 0.3s ease;
  opacity: 0.6;
}
.carousel__arrow svg { width: 20px; height: 20px; }
.carousel__arrow:hover { opacity: 1; border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.08); }

.carousel__indicators {
  position: absolute;
  bottom: 72px;
  left: 48px;
  z-index: 5;
  display: flex;
  gap: 8px;
}
.carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  transition: all 0.3s ease;
}
.carousel__dot.active { background: var(--white); transform: scale(1.3); }
.carousel__dot:hover { background: rgba(255,255,255,0.5); }

.carousel__counter {
  position: absolute;
  bottom: 62px;
  right: 50%;
  transform: translateX(50%);
  z-index: 5;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 2px;
}
.carousel__counter span { display: inline-block; }
.carousel__counter-divider { margin: 0 6px; }

.carousel__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 5;
  background: rgba(255,255,255,0.08);
}
.carousel__progress-bar {
  height: 100%;
  width: 0%;
  background: var(--terracotta);
  transition: width 7s linear;
}
.carousel__progress-bar.running { width: 100%; }
.carousel__progress-bar.paused { transition: none; }

.carousel__scroll-hint {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeIn 1s ease 2s forwards;
}
.carousel__scroll-hint span {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.3);
}
.carousel__scroll-line {
  width: 1px;
  height: 24px;
  background: rgba(255,255,255,0.2);
  position: relative;
  overflow: hidden;
}
.carousel__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  width: 100%;
  height: 100%;
  background: var(--white);
  animation: scrollDown 2s ease-in-out infinite;
}

@media (max-width: 768px) {
  .carousel { min-height: 600px; }
  .carousel__controls { display: none; }
  .carousel__indicators { left: 24px; bottom: 56px; }
  .carousel__counter { display: none; }
  .carousel__scroll-hint { display: none; }
}

@keyframes fadeIn { to { opacity: 1; } }
@keyframes scrollDown {
  0%, 100% { top: -100%; }
  50% { top: 100%; }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: var(--section-padding);
  background: var(--white);
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: start;
}
.about__visual { position: sticky; top: 100px; }
.about__image-frame {
  position: relative;
  width: 100%;
  padding-bottom: 120%;
  background: var(--gray-100);
  overflow: hidden;
}
.about__image-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-300);
}
.about__grid-pattern { width: 100%; height: 100%; }
.about__monogram {
  position: absolute;
  bottom: 32px;
  left: 32px;
  font-family: var(--font-heading);
  font-size: 52px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 4px;
  line-height: 1;
}
.about__credentials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gray-200);
  margin-top: 16px;
}
.about__credentials > div {
  background: var(--white);
  padding: 16px;
  text-align: center;
}
.about__credentials strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 15px;
  color: var(--teal);
  margin-bottom: 2px;
}
.about__credentials span {
  font-size: 11px;
  color: var(--gray-500);
}
.about__text p {
  font-size: 15px;
  font-weight: 400;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 20px;
}
.about__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gray-200);
  margin-top: 40px;
}
.about__stat {
  background: var(--gray-50);
  padding: 20px 12px;
  text-align: center;
}
.about__stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 4px;
}
.about__stat-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-500);
}

@media (max-width: 1024px) { .about__grid { gap: 48px; } }
@media (max-width: 768px) {
  .about__grid { grid-template-columns: 1fr; gap: 36px; }
  .about__visual { position: static; }
  .about__image-frame { padding-bottom: 70%; }
  .about__stats { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   PHILOSOPHY
   ============================================================ */
.philosophy {
  position: relative;
  padding: var(--section-padding);
  background: var(--gray-950);
  overflow: hidden;
}
.philosophy__bg {
  position: absolute;
  inset: 0;
  background: url('../images/pexels-245208.jpg') center/cover no-repeat;
  opacity: 0.06;
}
.philosophy__inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
}
.philosophy__quote {
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.philosophy__quote p {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 500;
  line-height: 1.35;
  color: var(--white);
  letter-spacing: -0.01em;
}
.philosophy__quote cite {
  display: block;
  margin-top: 20px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gray-500);
}

/* ============================================================
   PROJECTS
   ============================================================ */
.projects {
  padding: 100px 0 40px;
  background: var(--white);
}
.project {
  padding: 40px 0;
  border-bottom: 1px solid var(--gray-200);
}
.project:last-of-type { border-bottom: none; }
.project__layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}
.project__layout--alt {
  direction: rtl;
}
.project__layout--alt > * { direction: ltr; }
.project__visual { }
.project__media-grid {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.project__hero {
  width: 100%;
  padding-bottom: 70%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s var(--ease-out);
}
.project__visual:hover .project__hero { transform: scale(1.015); }
.project__thumbs-scroll {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--gray-300) transparent;
}
.project__thumbs-scroll::-webkit-scrollbar { height: 3px; }
.project__thumbs-scroll::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 2px; }
.project__thumb {
  flex-shrink: 0;
  width: 120px;
  height: 80px;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: opacity 0.3s;
}
.project__thumb:hover { opacity: 0.7; }
.project__number {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--teal);
  letter-spacing: 2px;
  display: block;
  margin-bottom: 8px;
}
.project__title {
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--gray-950);
}
.project__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray-400);
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}
.project__desc {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 24px;
}
.project__details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.project__detail {
  padding: 10px 14px;
  background: var(--gray-50);
}
.project__detail strong {
  display: block;
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--teal);
  margin-bottom: 2px;
}
.project__detail span {
  font-size: 12px;
  color: var(--gray-600);
}

@media (max-width: 1024px) { .project__layout { gap: 40px; } }
@media (max-width: 768px) {
  .project__layout { grid-template-columns: 1fr; gap: 24px; }
  .project__layout--alt { direction: ltr; }
  .project__layout--alt > * { direction: ltr; }
  .project { padding: 40px 0; }
  .project__thumb { width: 100px; height: 64px; }
}

/* ============================================================
   CAPABILITIES
   ============================================================ */
.capabilities {
  padding: var(--section-padding);
  background: var(--gray-50);
}
.capabilities__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--gray-200);
}
.capability {
  background: var(--white);
  padding: 40px 36px;
  transition: all 0.3s ease;
}
.capability:hover { background: var(--gray-100); }
.capability__icon {
  width: 36px;
  height: 36px;
  color: var(--teal);
  margin-bottom: 20px;
}
.capability__icon svg { width: 100%; height: 100%; }
.capability h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--gray-950);
}
.capability p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.7;
}

@media (max-width: 900px) { .capabilities__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .capabilities__grid { grid-template-columns: 1fr; }
  .capability { padding: 28px 24px; }
}

/* ============================================================
   ACHIEVEMENTS
   ============================================================ */
.achievements {
  padding: var(--section-padding);
  background: var(--gray-950);
}
.achievements__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(255,255,255,0.06);
}
.achievement {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 24px;
  align-items: center;
  background: var(--gray-900);
  padding: 24px 32px;
  transition: background 0.3s;
}
.achievement:hover { background: var(--gray-800); }
.achievement__year {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--terracotta);
}
.achievement__body h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 2px;
}
.achievement__body p {
  font-size: 13px;
  color: var(--gray-400);
}
.achievement__badge {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--terracotta);
  padding: 4px 12px;
  border: 1px solid rgba(199,91,58,0.3);
}
.achievements__press {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.achievements__press-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gray-500);
  display: block;
  margin-bottom: 20px;
}
.achievements__logos {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 40px;
}
.achievements__logos span {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 500;
  color: var(--gray-400);
  transition: color 0.3s;
}
.achievements__logos span:hover { color: var(--white); }

@media (max-width: 768px) {
  .achievement { grid-template-columns: 1fr; gap: 4px; padding: 20px 24px; }
  .achievement__badge { justify-self: start; }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding: var(--section-padding);
  background: var(--white);
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.contact__text {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 36px;
}
.contact__email-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 500;
  color: var(--teal);
  padding: 14px 24px;
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}
.contact__email-link:hover {
  border-color: var(--teal);
  background: rgba(27,59,74,0.04);
}
.contact__email-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.contact__email-icon svg { width: 100%; height: 100%; }

/* Form */
.contact__form-wrap {
  background: var(--gray-50);
  padding: 40px;
  border: 1px solid var(--gray-200);
}
.contact__field {
  position: relative;
  margin-bottom: 24px;
}
.contact__field input,
.contact__field textarea {
  width: 100%;
  padding: 16px 0 8px;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--gray-300);
  color: var(--gray-950);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  outline: none;
  transition: border-color 0.3s ease;
  resize: vertical;
}
.contact__field input:focus,
.contact__field textarea:focus {
  border-color: var(--teal);
}
.contact__field label {
  position: absolute;
  left: 0;
  top: 14px;
  font-size: 11px;
  font-weight: 500;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: all 0.3s ease;
  pointer-events: none;
}
.contact__field input:focus + label,
.contact__field input:not(:placeholder-shown) + label,
.contact__field textarea:focus + label,
.contact__field textarea:not(:placeholder-shown) + label {
  top: -6px;
  font-size: 9px;
  color: var(--teal);
}
.contact__field input::placeholder,
.contact__field textarea::placeholder { color: transparent; }
.contact__submit {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}
.contact__submit:hover { background: var(--teal-light); }

@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 600px) { .contact__form-wrap { padding: 24px; } }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 40px 0;
  background: var(--gray-950);
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer__name {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  display: block;
  margin-bottom: 2px;
}
.footer__tagline {
  font-size: 11px;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.footer__nav {
  display: flex;
  gap: 24px;
}
.footer__nav a {
  font-size: 12px;
  color: var(--gray-500);
  transition: color 0.3s;
}
.footer__nav a:hover { color: var(--white); }
.footer__copy p {
  font-size: 12px;
  color: var(--gray-600);
}

@media (max-width: 600px) { .footer__inner { flex-direction: column; text-align: center; } }

/* ============================================================
   GALLERY OVERLAY
   ============================================================ */
.gallery {
  position: fixed;
  inset: 0;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.gallery.open { opacity: 1; pointer-events: all; }
.gallery__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14,14,12,0.95);
}
.gallery__close {
  position: absolute;
  top: 20px;
  right: 28px;
  z-index: 10;
  font-size: 32px;
  color: #fff;
  opacity: 0.5;
  transition: opacity 0.3s;
  line-height: 1;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery__close:hover { opacity: 1; }
.gallery__container {
  position: relative;
  z-index: 5;
  width: 90vw;
  max-width: 1000px;
}
.gallery__slide {
  width: 100%;
  padding-bottom: 66%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: background-image 0.3s ease;
}
.gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  color: #fff;
  opacity: 0.4;
  transition: opacity 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery__nav svg { width: 28px; height: 28px; }
.gallery__nav:hover { opacity: 1; }
.gallery__nav--prev { left: -56px; }
.gallery__nav--next { right: -56px; }
.gallery__dots {
  position: relative;
  z-index: 5;
  display: flex;
  gap: 8px;
  margin-top: 20px;
}
.gallery__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  transition: all 0.3s;
}
.gallery__dot.active { background: var(--white); transform: scale(1.3); }
.gallery__dot:hover { background: rgba(255,255,255,0.5); }

@media (max-width: 768px) {
  .gallery__nav--prev { left: 8px; }
  .gallery__nav--next { right: 8px; }
  .gallery__slide { padding-bottom: 75%; }
}

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 52px;
  height: 52px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.whatsapp-float svg { width: 28px; height: 28px; }
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .carousel__slide .carousel__image { transform: none; }
  .carousel__pre, .carousel__title, .carousel__meta,
  .carousel__desc, .carousel__btn { opacity: 1; transform: none; }
}
