/* ===========================
   HÁZ Renovations — Styles
   Elegant. Minimal. Refined.
   =========================== */

:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f7f7f5;
  --bg-tertiary: #eeede9;
  --text-primary: #1a1a1a;
  --text-secondary: #5a5a58;
  --text-muted: #8a8a87;
  --accent: #3D6B5A;
  --accent-light: #4D7D6A;
  --accent-dark: #2D5544;
  --white: #ffffff;
  --border: rgba(61, 107, 90, 0.15);
  --border-light: rgba(26, 26, 26, 0.08);

  --font-display: 'Impact', 'Arial Black', sans-serif;
  --font-accent: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Montserrat', 'Helvetica Neue', sans-serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --nav-height: 80px;
}

/* Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s var(--ease-out);
}

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

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

::selection {
  background: var(--accent);
  color: var(--white);
}

/* Splash eliminado — contenido visible inmediatamente */

/* ===========================
   Music Toggle Button
   =========================== */
.music-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9000;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease-out);
  opacity: 1;
  visibility: visible;
}

.music-btn:hover {
  border-color: var(--accent);
  transform: scale(1.08);
}

.music-icon {
  width: 20px;
  height: 20px;
  color: var(--text-secondary);
  transition: color 0.3s;
}

.music-btn:hover .music-icon {
  color: var(--accent);
}

/* Show/hide icons based on state */
.music-icon-on { display: none; }
.music-icon-off { display: block; }

.music-btn.playing .music-icon-off { display: none; }
.music-btn.playing .music-icon-on { display: block; }

.music-btn.playing {
  border-color: var(--accent);
}

.music-btn.playing .music-icon {
  color: var(--accent);
}

@media (max-width: 768px) {
  .music-btn {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
}

/* ===========================
   Typography
   =========================== */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 40px;
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 25px;
  height: 1px;
  background: var(--accent);
}

.section-title {
  margin-bottom: 2rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.text-center {
  text-align: center;
}

.text-accent {
  color: var(--accent);
  font-style: italic;
  font-family: var(--font-accent);
  font-size: 1.15rem;
}

/* ===========================
   Layout
   =========================== */
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: 140px 0;
  position: relative;
}

.section-dark {
  background: var(--bg-secondary);
}

.section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* ===========================
   Buttons
   =========================== */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 18px 40px;
  transition: all 0.4s var(--ease-out);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent-light);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ===========================
   Navigation
   =========================== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: all 0.4s var(--ease-out);
  background: transparent;
}

#navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.04);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 70px;
  width: auto;
  transition: opacity 0.3s;
}

.nav-logo:hover img {
  opacity: 0.8;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 45px;
}

.nav-links a {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.4s var(--ease-out);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

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

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  cursor: pointer;
  padding: 4px 2px;
  transition: color 0.3s;
}

.lang-btn.active {
  color: var(--accent);
}

.lang-btn:hover {
  color: var(--text-primary);
}

.lang-divider {
  color: var(--text-muted);
  font-size: 0.6rem;
  opacity: 0.4;
}

.nav-phone {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--text-primary);
  position: absolute;
  left: 0;
  transition: all 0.35s var(--ease-out);
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 50%; }
.hamburger span:nth-child(3) { bottom: 0; }

.hamburger.active span:nth-child(1) {
  top: 50%;
  transform: rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
  bottom: 50%;
  transform: rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--white);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s var(--ease-out);
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-links {
  list-style: none;
  text-align: center;
}

.mobile-nav-links li {
  margin-bottom: 25px;
}

.mobile-nav-links a {
  font-family: var(--font-accent);
  font-size: 2rem;
  font-weight: 300;
  color: var(--text-primary);
  letter-spacing: 0.05em;
  transition: color 0.3s;
}

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

.mobile-lang-switcher {
  display: flex;
  gap: 20px;
}

.mobile-lang-switcher .lang-btn {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  padding: 8px 16px;
  border: 1px solid var(--border-light);
}

.mobile-lang-switcher .lang-btn.active {
  border-color: var(--accent);
  color: var(--accent);
}

.mobile-phone {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
}

/* ===========================
   Hero Section
   =========================== */
#hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 8s var(--ease-out);
}

.hero-img.loaded {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 0.65) 50%,
    rgba(255, 255, 255, 0.9) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 40px;
}

.hero-tag {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 30px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeIn 1s var(--ease-out) 0.8s forwards;
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 30px;
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeIn 1s var(--ease-out) 1s forwards;
}

.hero-subtitle {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-primary);
  max-width: 560px;
  margin: 0 auto 45px;
  line-height: 1.8;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeIn 1s var(--ease-out) 1.2s forwards;
}

.hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeIn 1s var(--ease-out) 1.4s forwards;
}

@keyframes heroFadeIn {
  to { opacity: 1; transform: translateY(0); }
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--accent), rgba(44, 74, 110, 0.1));
  animation: scrollPulse 2s var(--ease-in-out) infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ===========================
   Philosophy Section
   =========================== */
.philosophy-grid .section-text p {
  margin-bottom: 1.2rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.philosophy-grid .section-image {
  position: relative;
  overflow: hidden;
}

.philosophy-grid .section-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.philosophy-grid .section-image:hover img {
  transform: scale(1.03);
}

.philosophy-grid .section-image::after {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(44, 74, 110, 0.12);
  z-index: -1;
}

/* ===========================
   Promise Section
   =========================== */
.promise-content {
  max-width: 1000px;
  margin: 0 auto;
}

.promise-content .section-label {
  display: block;
  text-align: center;
  padding-left: 0;
}

.promise-content .section-label::before {
  display: none;
}

.promise-intro {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.promise-item {
  text-align: center;
  padding: 40px 20px;
  border: 1px solid var(--border-light);
  transition: all 0.4s var(--ease-out);
}

.promise-item:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
}

.promise-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 20px;
  color: var(--accent);
}

.promise-icon svg {
  width: 100%;
  height: 100%;
}

.promise-item h3 {
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.promise-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.promise-footer p {
  font-family: var(--font-accent);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--accent);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

/* ===========================
   Services Sections
   =========================== */
.service-section {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 85vh;
}

.service-section.service-reverse {
  direction: rtl;
}

.service-section.service-reverse > * {
  direction: ltr;
}

.service-image {
  position: relative;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}

.service-section:hover .service-image img {
  transform: scale(1.04);
}

.service-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 70px;
  background: var(--bg-primary);
}

.service-section:nth-child(even) .service-text {
  background: var(--bg-secondary);
}

.service-text p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}

.service-text .text-accent {
  margin-top: 0.5rem;
}

/* ===========================
   Portfolio Section
   =========================== */
.portfolio-header {
  max-width: 650px;
  margin: 0 auto 60px;
}

.portfolio-header .section-label {
  display: block;
  text-align: center;
  padding-left: 0;
}

.portfolio-header .section-label::before {
  display: none;
}

.portfolio-intro {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 320px;
  gap: 15px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: block;
  text-decoration: none;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out), filter 0.6s var(--ease-out);
}

.portfolio-item:hover img {
  transform: scale(1.06);
  filter: brightness(0.5);
}

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 35px 30px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.5s var(--ease-out);
}

.portfolio-item:hover .portfolio-overlay {
  transform: translateY(0);
  opacity: 1;
}

.portfolio-type {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.portfolio-overlay h3 {
  font-family: var(--font-accent);
  font-size: 1.3rem;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 4px;
}

.portfolio-overlay p {
  font-size: 0.78rem;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

.portfolio-item-tall {
  grid-row: span 2;
}

/* ===========================
   Trust Section
   =========================== */
.trust-content {
  max-width: 700px;
  margin: 0 auto;
}

.trust-content .section-label {
  display: block;
  text-align: center;
  padding-left: 0;
}

.trust-content .section-label::before {
  display: none;
}

.trust-text {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 40px;
  line-height: 1.8;
}

.trust-lines p {
  font-family: var(--font-accent);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--accent);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

/* ===========================
   Contact Section
   =========================== */
#contact {
  position: relative;
  overflow: hidden;
}

.contact-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

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

.contact-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.92);
}

.contact-content {
  position: relative;
  z-index: 2;
}

.contact-content .section-label {
  display: block;
  text-align: center;
  padding-left: 0;
}

.contact-content .section-label::before {
  display: none;
}

.contact-intro {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto 60px;
  line-height: 1.8;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}

.contact-info {
  padding-top: 20px;
}

.contact-item {
  margin-bottom: 35px;
}

.contact-item-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.contact-item a,
.contact-item p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact-item a:hover {
  color: var(--accent);
}

/* Contact Form */
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.form-group {
  position: relative;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  padding: 15px 0 10px;
  transition: border-color 0.3s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-bottom-color: var(--accent);
}

.form-group label {
  position: absolute;
  left: 0;
  top: 15px;
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: all 0.3s var(--ease-out);
  pointer-events: none;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label,
.form-group select:focus ~ label,
.form-group select:valid ~ label {
  top: -8px;
  font-size: 0.65rem;
  color: var(--accent);
}

.form-group select option {
  background: var(--white);
  color: var(--text-primary);
}

.contact-form .btn {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 10px;
}

/* ===========================
   Footer
   =========================== */
#footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-light);
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 40px;
}

.footer-logo {
  width: 120px;
  height: auto;
  margin-bottom: 20px;
}

.footer-tagline {
  font-family: var(--font-accent);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-secondary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}

.footer-links a {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

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

.footer-contact {
  text-align: right;
}

.footer-contact a,
.footer-contact p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 5px;
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 25px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

/* ===========================
   Reveal Animations
   =========================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal.reveal-right {
  transform: translateX(40px);
}

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

/* Staggered children */
.promise-grid .promise-item:nth-child(1) { transition-delay: 0s; }
.promise-grid .promise-item:nth-child(2) { transition-delay: 0.1s; }
.promise-grid .promise-item:nth-child(3) { transition-delay: 0.2s; }
.promise-grid .promise-item:nth-child(4) { transition-delay: 0.3s; }

/* ===========================
   Responsive
   =========================== */
@media (max-width: 1024px) {
  .section-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

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

  .service-section {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .service-section.service-reverse {
    direction: ltr;
  }

  .service-image {
    height: 50vh;
    min-height: 350px;
  }

  .service-text {
    padding: 60px 40px;
  }

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

  .philosophy-grid .section-image::after {
    display: none;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 280px;
  }

  .portfolio-item-tall {
    grid-row: span 1;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 65px;
  }

  .container {
    padding: 0 25px;
  }

  .section {
    padding: 100px 0;
  }

  /* Navigation mobile */
  .nav-links,
  .nav-right {
    display: none;
  }

  .hamburger {
    display: block;
  }

  /* Hero */
  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

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

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .hero-cta .btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  /* Promise */
  .promise-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  /* Services */
  .service-image {
    height: 40vh;
    min-height: 280px;
  }

  .service-text {
    padding: 50px 25px;
  }

  /* Portfolio */
  .portfolio-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }

  /* Contact */
  .contact-form {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

  .footer-contact {
    text-align: center;
  }

  .footer-logo {
    margin: 0 auto 15px;
  }
}

@media (max-width: 480px) {
  .hero-tag {
    font-size: 0.6rem;
    letter-spacing: 0.2em;
  }

  .section-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

  .btn {
    padding: 15px 30px;
    font-size: 0.7rem;
  }
}

/* ===========================
   Project Pages
   =========================== */

.project-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 50px;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
}

.project-back {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.project-back:hover {
  color: var(--accent);
}

.project-logo img {
  height: 50px;
}

.project-lang {
  display: flex;
  gap: 8px;
}

.project-lang .lang-btn {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.3s ease;
}

.project-lang .lang-btn.active {
  color: var(--accent);
}

.project-lang .lang-btn:hover {
  color: var(--text-primary);
}

/* Project Hero */
.project-hero {
  margin-top: var(--nav-height);
  width: 100%;
  height: 70vh;
  overflow: hidden;
}

.project-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Project Info */
.project-info {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 40px 60px;
}

.project-info-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  margin-bottom: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--border-light);
}

.project-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 300;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 12px;
}

.project-type-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.project-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 50px;
  flex-shrink: 0;
}

.meta-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.meta-value {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-primary);
}

.project-description {
  max-width: 700px;
}

.project-description p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.9;
  color: var(--text-secondary);
}

/* Project Gallery */
.project-gallery {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px 80px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.project-gallery-img {
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.project-gallery-img.visible {
  opacity: 1;
  transform: translateY(0);
}

.project-gallery-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s var(--ease-out);
}

.project-gallery-img:hover img {
  transform: scale(1.02);
}

.project-gallery-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Project Footer Navigation */
.project-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-light);
  padding: 50px;
}

.project-nav-link {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 200px;
}

.project-nav-prev {
  text-align: left;
}

.project-nav-next {
  text-align: right;
}

.nav-label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav-name {
  font-family: var(--font-accent);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.project-nav-link:hover .nav-name {
  color: var(--accent);
}

.project-cta-link {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--accent);
  padding: 16px 35px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.project-cta-link:hover {
  background: var(--accent-dark);
}

/* Project Page Responsive */
@media (max-width: 768px) {
  .project-nav {
    padding: 0 20px;
  }

  .project-back {
    font-size: 0.6rem;
  }

  .project-logo img {
    height: 40px;
  }

  .project-hero {
    height: 50vh;
  }

  .project-info {
    padding: 50px 20px 40px;
  }

  .project-info-grid {
    flex-direction: column;
    gap: 30px;
  }

  .project-meta {
    width: 100%;
  }

  .project-gallery {
    padding: 0 20px 50px;
    gap: 12px;
  }

  .project-gallery-row {
    gap: 12px;
  }

  .project-footer {
    flex-direction: column;
    gap: 30px;
    padding: 40px 20px;
    text-align: center;
  }

  .project-nav-prev,
  .project-nav-next {
    text-align: center;
  }

  .project-nav-link {
    min-width: auto;
  }
}

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