/* ========================
   VARIABLES & RESET
======================== */
:root {
  --beige:      #DDD8CC;
  --beige-dark: #C9C3B5;
  --olive:      #6B6B47;
  --olive-dark: #4A4A30;
  --dark:       #2A2820;
  --white:      #FAFAF7;
  --text:       #3A3830;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ========================
   BUTTONS
======================== */
.btn-primary {
  display: inline-block;
  padding: 12px 28px;
  background: var(--olive);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}
.btn-primary:hover { background: var(--olive-dark); }

.btn-outline {
  display: inline-block;
  padding: 9px 22px;
  border: 1px solid var(--olive);
  color: var(--olive);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.3s;
}
.btn-outline:hover { background: var(--olive); color: var(--white); }
.btn-outline.small { padding: 7px 18px; font-size: 0.68rem; }

.link-underline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text);
  border-bottom: 1px solid var(--text);
  padding-bottom: 2px;
  transition: opacity 0.3s;
}
.link-underline:hover { opacity: 0.6; }

.link-light {
  color: var(--beige);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  border-bottom: 1px solid rgba(221,216,204,0.4);
  padding-bottom: 2px;
  transition: opacity 0.3s;
}
.link-light:hover { opacity: 0.7; }

/* ========================
   NAV
======================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.nav-logo {
  display: flex;
  align-items: center;
}
.logo-img {
  height: 48px;
  width: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
  object-position: left center;
}

.nav-links {
  display: flex;
  gap: 36px;
}
.nav-links a {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--text);
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--olive); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: all 0.3s;
}

/* MOBILE MENU */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 70%;
  max-width: 300px;
  background: var(--dark);
  z-index: 200;
  padding: 80px 40px;
  transform: translateX(100%);
  transition: transform 0.4s ease;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu ul { display: flex; flex-direction: column; gap: 28px; }
.mobile-menu a {
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  color: var(--beige);
  font-weight: 400;
}

/* ========================
   HERO
======================== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 80px;
  background: var(--beige);
}

.hero-image {
  position: relative;
  min-height: 500px;
}
.hero-image img {
  height: 100%;
  min-height: 500px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 64px 60px 56px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--dark);
  margin-bottom: 28px;
}

.hero-text {
  font-family: var(--font-serif);
  font-style: Bold;
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 14px;
  max-width: 480px;
  text-align: justify;
  hyphens: none;
  overflow-wrap: break-word;
}
.hero-text:last-of-type {
  margin-bottom: 0;
}

/* ========================
   HERO PROCESS
======================== */
.hero-process {
  margin: 24px 0 36px;
  max-width: 480px;
}
.process-step {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 9px 12px;
  border-bottom: 1px solid rgba(107, 107, 71, 0.15);
}
.process-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--olive);
  opacity: 0.7;
  min-width: 20px;
  flex-shrink: 0;
  line-height: 1;
}
.process-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark);
  line-height: 1.3;
}
.process-step--final {
  background: var(--olive);
  border-bottom: none;
  padding: 11px 12px;
}
.process-step--final .process-num,
.process-step--final .process-label {
  color: var(--white);
  opacity: 1;
}
.process-step--final .process-label {
  font-weight: 600;
  letter-spacing: 0.12em;
}

/* ========================
   NUESTRO PROCESO
======================== */
.proceso-section {
  background: var(--white);
  padding: 72px 64px;
  border-top: 1px solid var(--beige-dark);
  border-bottom: 1px solid var(--beige-dark);
}
.proceso-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 40px;
}
.proceso-tabs {
  display: flex;
  border-bottom: 1px solid var(--beige-dark);
}
.proceso-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  padding: 16px 20px 14px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  text-align: left;
  margin-bottom: -1px;
  transition: background 0.2s, border-color 0.2s;
}
.proceso-tab:hover {
  background: var(--beige);
}
.proceso-tab.active {
  border-bottom-color: var(--olive);
  background: var(--beige);
}
.proceso-tab--final.active {
  border-bottom-color: var(--olive-dark);
}
.proceso-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--olive);
  opacity: 0.55;
  line-height: 1;
  transition: opacity 0.2s;
}
.proceso-tab.active .proceso-num,
.proceso-tab:hover .proceso-num {
  opacity: 1;
}
.proceso-label {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dark);
  line-height: 1.35;
  hyphens: none;
}
.proceso-panels {
  min-height: 110px;
  padding: 32px 24px;
  background: var(--beige);
}
.proceso-panel {
  display: none;
}
.proceso-panel.active {
  display: block;
  animation: procesoFadeIn 0.3s ease;
}
.proceso-panel p {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--text);
}
@keyframes procesoFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 900px) {
  .proceso-section { padding: 52px 32px; }
  .proceso-tab { padding: 12px 14px 10px; }
  .proceso-label { font-size: 0.75rem; }
}
@media (max-width: 600px) {
  .proceso-section { padding: 40px 24px; }
  .proceso-tabs { flex-wrap: wrap; border-bottom: none; }
  .proceso-tab {
    flex: 0 0 50%;
    border: 1px solid var(--beige-dark);
    border-bottom: 2px solid transparent;
    margin-bottom: 0;
  }
  .proceso-tab.active { border-bottom-color: var(--olive); }
}

/* ========================
   PROJECTS
======================== */
.projects {
  background: var(--beige);
  padding: 80px 48px 60px;
}

.projects-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 72px;
}

.project-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 80px;
}
.project-item.reverse { direction: rtl; }
.project-item.reverse > * { direction: ltr; }

.project-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 0;
}

.project-name {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--dark);
}

.project-text p {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--text);
  max-width: 360px;
}

/* ARCH IMAGE */
.arch-frame {
  width: 100%;
  max-width: 380px;
  height: 460px;
  border-radius: 200px 200px 0 0;
  overflow: hidden;
  margin: 0 auto;
  position: relative;
}

/* RECTANGULAR IMAGE */
.rect-frame {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.projects-more {
  text-align: center;
  padding: 20px 0 40px;
}

/* ========================
   EXPERTISE
======================== */
.expertise {
  background: var(--dark);
  padding: 80px 48px;
}

.expertise-header {
  margin-bottom: 48px;
}

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

.expertise-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 400;
  color: var(--beige);
  line-height: 1.05;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.expertise-card {
  position: relative;
  height: 480px;
  overflow: hidden;
  cursor: pointer;
}

.expertise-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: brightness(0.72);
}

.expertise-card:hover img {
  transform: scale(1.06);
  filter: brightness(0.85);
}

.expertise-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(42,40,32,0.88) 0%, rgba(42,40,32,0.1) 55%, transparent 100%);
}

.expertise-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 28px;
}

.expertise-card-category {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.6rem, 2.2vw, 2.2rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--beige);
  line-height: 1.1;
}

/* ========================
   ABOUT
======================== */
.about {
  background: var(--olive-dark);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 80px 64px;
  gap: 64px;
}

.about-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 28px;
}

.about-content p {
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--beige);
  margin-bottom: 16px;
  max-width: 440px;
}

.about-content { display: flex; flex-direction: column; gap: 4px; }
.about-content .link-light { margin-top: 20px; align-self: flex-start; }

.circle-frame {
  width: 100%;
  max-width: 420px;
  height: 500px;
  border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
  overflow: hidden;
  margin: 0 auto;
}

/* ========================
   BLOG
======================== */
.blog {
  background: var(--white);
  padding: 80px 48px;
}

.blog-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  color: var(--dark);
  text-align: center;
  line-height: 1.15;
  margin-bottom: 56px;
}

.accordion {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.accordion-item {
  border-top: 1px solid var(--beige-dark);
}
.accordion-item:last-child { border-bottom: 1px solid var(--beige-dark); }

.accordion-header {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  cursor: pointer;
  text-align: left;
  gap: 16px;
}
.accordion-header span:first-child {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--dark);
  line-height: 1.4;
}
.accordion-icon {
  font-size: 1.4rem;
  color: var(--olive);
  font-weight: 300;
  flex-shrink: 0;
  transition: transform 0.3s;
}
.accordion-item.open .accordion-icon { transform: rotate(45deg); }

.accordion-body {
  display: none;
  padding: 0 0 24px;
}
.accordion-item.open .accordion-body { display: block; }
.accordion-body p {
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 20px;
}

.blog-more {
  text-align: center;
  margin-top: 48px;
}

/* ========================
   CONTACT
======================== */
.contact {
  background: var(--olive-dark);
  padding: 0 0 80px;
}

.marquee-wrapper {
  overflow: hidden;
  padding: 28px 0;
  border-top: 1px solid rgba(221,216,204,0.2);
  border-bottom: 1px solid rgba(221,216,204,0.2);
  margin-bottom: 64px;
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee 18s linear infinite;
}

.marquee-track span {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-style: italic;
  color: var(--beige);
  letter-spacing: 0.04em;
  padding-right: 0;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.contact-cta {
  text-align: center;
  padding: 0 24px;
  margin-bottom: 64px;
}
.contact-cta-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--beige);
  line-height: 1.15;
  margin-bottom: 20px;
}
.contact-cta-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(221, 216, 204, 0.75);
  margin-bottom: 36px;
}
.contact-cta .btn-primary {
  background: var(--beige);
  color: var(--dark);
}
.contact-cta .btn-primary:hover {
  background: var(--beige-dark);
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.form-input {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(221,216,204,0.4);
  padding: 18px 4px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--beige);
  outline: none;
  width: 100%;
  transition: border-color 0.3s;
}
.form-input::placeholder { color: rgba(221,216,204,0.6); }
.form-input:focus { border-color: var(--beige); }

.form-select {
  cursor: pointer;
  appearance: none;
  margin-top: 8px;
}
.form-select option { background: var(--olive-dark); color: var(--beige); }

.btn-submit {
  align-self: flex-start;
  margin-top: 32px;
  padding: 12px 36px;
  background: var(--beige);
  color: var(--dark);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s;
}
.btn-submit:hover { opacity: 0.85; }
.btn-submit:disabled { opacity: 0.5; cursor: not-allowed; }

.contact-social {
  max-width: 600px;
  margin: 48px auto 0;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.contact-social-label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(221, 216, 204, 0.5);
}

.contact-social-icons {
  display: flex;
  gap: 32px;
}

.contact-social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--beige);
  opacity: 0.7;
  transition: opacity 0.25s;
}
.contact-social-link:hover { opacity: 1; }
.contact-social-link span {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.form-status {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  padding-top: 4px;
  min-height: 1.2em;
}
.form-status.success { color: var(--beige); }
.form-status.error   { color: #e8a090; }

/* ========================
   FOOTER
======================== */
.footer {
  background: var(--dark);
  padding: 48px 64px 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 40px;
}

.footer-logo { display: flex; flex-direction: column; }

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: rgba(221,216,204,0.7);
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--beige); }

.footer-social {
  display: flex;
  gap: 16px;
  color: var(--beige);
}
.footer-social a { transition: opacity 0.3s; }
.footer-social a:hover { opacity: 0.6; }

.footer-copy {
  grid-column: 1 / -1;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  color: rgba(221,216,204,0.4);
  text-align: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(221,216,204,0.1);
}

/* ========================
   QUIÉNES SOMOS PAGE
======================== */
.page-hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 80px;
  background: var(--dark);
}

.page-hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 64px 60px 56px;
}

.page-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 24px;
  display: block;
}

.page-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 5.5vw, 5rem);
  font-weight: 400;
  line-height: 1.0;
  color: var(--beige);
}

.page-hero-image {
  position: relative;
  min-height: 500px;
}
.page-hero-image img {
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  filter: brightness(0.85);
}

/* MANIFESTO */
.qs-manifesto {
  background: var(--white);
  padding: 96px 64px;
}

.qs-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 400;
  color: var(--dark);
  line-height: 1.35;
  max-width: 820px;
  margin: 0 auto 72px;
  text-align: center;
}

.qs-text-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 900px;
  margin: 0 auto;
}

.qs-text-grid p {
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--text);
}

/* VALUES */
.qs-values {
  background: var(--beige);
  padding: 88px 64px;
}

.qs-values-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--olive);
  display: block;
  margin-bottom: 16px;
}

.qs-values-heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  color: var(--dark);
  line-height: 1.1;
  margin-bottom: 64px;
}

.qs-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.qs-value {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--beige-dark);
}

.qs-value-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--olive);
  line-height: 1;
}

.qs-value h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--dark);
}

.qs-value p {
  font-size: 0.86rem;
  line-height: 1.8;
  color: var(--text);
}

/* STUDIO */
.qs-studio {
  background: var(--olive-dark);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 88px 64px;
  gap: 72px;
}

.qs-studio-image .circle-frame {
  height: 520px;
  max-width: 440px;
}

.qs-studio-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.qs-studio-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.05;
}

.qs-studio-text p {
  font-size: 0.88rem;
  line-height: 1.85;
  color: var(--beige);
  max-width: 440px;
}

/* ========================
   CONTACT PAGE
======================== */
.contacto-section {
  background: var(--white);
  padding: 88px 64px;
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 80px;
  align-items: start;
}

.contacto-form-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 400;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 40px;
}

.cp-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cp-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.cp-input {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(58, 56, 48, 0.2);
  padding: 18px 4px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text);
  outline: none;
  width: 100%;
  transition: border-color 0.3s;
}
.cp-input::placeholder { color: rgba(58, 56, 48, 0.4); }
.cp-input:focus { border-bottom-color: var(--olive); }

.cp-select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%236B6B47'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 6px center;
  padding-right: 24px;
}
.cp-select option { background: var(--white); color: var(--text); }

.cp-textarea {
  resize: none;
  min-height: 130px;
  padding-top: 18px;
  line-height: 1.65;
}

.cp-form .btn-primary {
  margin-top: 32px;
  align-self: flex-start;
  border: none;
  cursor: pointer;
}

.contacto-info {
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding-top: 8px;
}

.contacto-info-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.info-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 2px;
  display: block;
}

.info-value {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text);
}

.contacto-social-row {
  display: flex;
  gap: 16px;
  color: var(--text);
  margin-top: 4px;
}
.contacto-social-row a { opacity: 0.55; transition: opacity 0.2s; }
.contacto-social-row a:hover { opacity: 1; }

/* ========================
   BLOG PAGE
======================== */
.blog-articles-section {
  background: var(--beige);
  padding: 88px 48px;
}

.blog-section-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--olive);
  display: block;
  margin-bottom: 12px;
}

.blog-section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  color: var(--dark);
  line-height: 1.1;
  margin-bottom: 48px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.article-card {
  background: var(--white);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(42,40,32,0.09);
}

.article-card-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
}
.article-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s;
}
.article-card:hover .article-card-img img { transform: scale(1.05); }

.article-card-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-tag {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 10px;
  display: block;
}

.article-card-body h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 10px;
}

.article-card-body p {
  font-size: 0.82rem;
  line-height: 1.72;
  color: var(--text);
  flex: 1;
  margin-bottom: 18px;
}

.faq-page-section {
  background: var(--white);
  padding: 88px 48px;
}

.faq-intro {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.faq-intro h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  color: var(--dark);
  line-height: 1.1;
  margin-bottom: 16px;
}

.faq-intro p {
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--text);
}

.stay-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.stay-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--dark);
}

.stay-list li::before {
  content: 'STAY';
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--white);
  background: var(--olive);
  padding: 2px 8px;
  flex-shrink: 0;
}

/* ========================
   FOUNDER SECTION
======================== */
.founder {
  background: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 72px;
  padding: 88px 64px;
}

.founder-photo {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
}

.founder-photo img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  object-position: top;
  display: block;
}

.founder-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.founder-role {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 4px;
}

.founder-name {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  color: var(--dark);
  line-height: 1.05;
  margin-bottom: 8px;
}

.founder-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--olive-dark);
  margin-bottom: 28px;
}

.founder-bio {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.founder-bio p {
  font-size: 0.88rem;
  line-height: 1.85;
  color: var(--text);
}

/* ========================
   PORTFOLIO PAGE
======================== */
.portfolio-section {
  background: var(--beige);
  padding: 64px 48px 88px;
}

.portfolio-filters {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--beige-dark);
  margin-bottom: 52px;
  overflow-x: auto;
}

.filter-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.25s, border-color 0.25s;
}
.filter-btn:hover { color: var(--olive); }
.filter-btn.active { color: var(--olive); border-bottom-color: var(--olive); }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.portfolio-card {
  background: var(--white);
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}
.portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(42,40,32,0.1);
}
.portfolio-card.hidden { display: none; }

.portfolio-card-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
}
.portfolio-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s;
}
.portfolio-card:hover .portfolio-card-img img { transform: scale(1.05); }

.portfolio-card-body {
  padding: 20px 22px 24px;
}

.portfolio-category-tag {
  display: inline-block;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 8px;
}

.portfolio-card-body h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 10px;
}

.portfolio-card-body p {
  font-size: 0.82rem;
  line-height: 1.72;
  color: var(--text);
  margin-bottom: 18px;
}

/* ========================
   PROJECT MODAL
======================== */
.project-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}
.project-modal.open {
  opacity: 1;
  pointer-events: all;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(42, 40, 32, 0.72);
  backdrop-filter: blur(4px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  background: var(--beige);
  width: min(920px, 92vw);
  max-height: 88vh;
  overflow-y: auto;
  padding: 56px 48px 48px;
  transform: translateY(24px);
  transition: transform 0.35s;
}
.project-modal.open .modal-panel {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: none;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--text);
  opacity: 0.5;
  transition: opacity 0.2s;
  line-height: 1;
}
.modal-close:hover { opacity: 1; }

.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.modal-main-frame {
  width: 100%;
  height: 420px;
  border-radius: 200px 200px 0 0;
  overflow: hidden;
}
.modal-main-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s;
}

.modal-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.modal-thumbs::-webkit-scrollbar { height: 3px; }
.modal-thumbs::-webkit-scrollbar-thumb { background: var(--beige-dark); }

.modal-thumb {
  width: 68px;
  height: 68px;
  object-fit: cover;
  cursor: pointer;
  flex-shrink: 0;
  border: 2px solid transparent;
  transition: border-color 0.2s, opacity 0.2s;
  opacity: 0.65;
}
.modal-thumb:hover { opacity: 1; }
.modal-thumb.active { border-color: var(--olive); opacity: 1; }

.modal-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 16px;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  color: var(--dark);
  line-height: 1.05;
}

.modal-description {
  font-size: 0.88rem;
  line-height: 1.85;
  color: var(--text);
  white-space: pre-line;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ========================
   RESPONSIVE
======================== */
@media (max-width: 900px) {
  .nav { padding: 16px 24px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .mobile-menu { display: block; }

  .hero { grid-template-columns: 1fr; }
  .hero-image { min-height: 300px; height: 50vw; overflow: hidden; }
  .hero-image img { min-height: 0; }
  .hero-content { padding: 40px 24px; }

  .projects { padding: 56px 24px; }
  .project-item { grid-template-columns: 1fr; gap: 24px; }
  .project-item.reverse { direction: ltr; }
  .project-item.reverse .project-text { order: -1; }
  .arch-frame { max-width: 100%; height: 300px; }

  .expertise { padding: 56px 24px; }
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .expertise-card { height: 320px; }
  .expertise-card-info { text-align: center; padding: 20px 12px; }

  .about { grid-template-columns: 1fr; padding: 56px 24px; gap: 40px; }
  .circle-frame { height: 300px; }

  .blog { padding: 56px 24px; }

  .form-row { grid-template-columns: 1fr; }

  .footer { grid-template-columns: 1fr; padding: 40px 24px 24px; }
  .footer-social { margin-top: 8px; }

  .modal-panel { padding: 44px 24px 36px; }
  .modal-body { grid-template-columns: 1fr; gap: 28px; }
  .modal-main-frame { height: 260px; }
  .portfolio-section { padding: 48px 24px 64px; }
  .filter-btn { padding: 12px 16px; }

  .page-hero { grid-template-columns: 1fr; }
  .page-hero-image { min-height: 280px; height: 55vw; overflow: hidden; }
  .page-hero-content { padding: 40px 24px; }

  .qs-manifesto { padding: 56px 24px; }
  .qs-text-grid { grid-template-columns: 1fr; gap: 24px; }

  .qs-values { padding: 56px 24px; }
  .qs-values-grid { grid-template-columns: 1fr; gap: 32px; }

  .qs-studio { grid-template-columns: 1fr; padding: 56px 24px; gap: 40px; }
  .qs-studio-image .circle-frame { height: 300px; }

  .founder { grid-template-columns: 1fr; padding: 56px 24px; gap: 36px; }
  .founder-photo img { height: 420px; }

  .contacto-section { grid-template-columns: 1fr; padding: 56px 24px; gap: 48px; }
  .cp-form .form-row { grid-template-columns: 1fr; }

  .blog-articles-section { padding: 56px 24px; }
  .faq-page-section { padding: 56px 24px; }
}

@media (max-width: 600px) {
  .modal-panel {
    width: 96vw;
    max-height: 82vh;
    padding: 36px 16px 24px;
  }
  .modal-body { gap: 16px; }
  .modal-main-frame { height: 190px; border-radius: 120px 120px 0 0; }
  .modal-title { font-size: 1.5rem; }
  .modal-description { font-size: 0.82rem; line-height: 1.7; }
  .modal-actions { flex-direction: column; align-items: stretch; }
  .modal-actions .btn-primary,
  .modal-actions .btn-outline { text-align: center; }
}
