/* ===========================
   ETEROGRAFÍA — Styles
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100;0,200;0,300;0,400;0,500;1,300;1,400&display=swap');

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

:root {
  --font:       'Raleway', sans-serif;
  --white:      #ffffff;
  --text:       #222222;
  --nav:        #888888;
  --gray:       #666666;
  --light-gray: #aaaaaa;
  --border:     #e5e5e5;
  --max:        1050px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--text);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }

/* ===========================
   HEADER / NAV
   =========================== */

header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--white);
  padding: 0 40px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 300;
  color: var(--nav);
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

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

.nav-links a.active {
  font-weight: 700;
  color: var(--text);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span { display: block; width: 22px; height: 1px; background: var(--text); }

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 16px 40px 20px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 15px;
  font-weight: 300;
  color: var(--nav);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:last-of-type { border-bottom: none; }

@media (max-width: 600px) {
  header { padding: 0 20px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

/* ===========================
   LANGUAGE BAR
   =========================== */

.lang-bar {
  text-align: right;
  padding: 12px 40px 0;
}

.lang-bar .lang-toggle {
  font-size: 15px;
  font-weight: 300;
  color: var(--text);
  border-bottom: 1px solid var(--text);
  display: inline-flex;
  align-items: center;
  gap: 2px;
  cursor: pointer;
  user-select: none;
}

.lang-bar .lang-toggle span { font-size: 18px; margin-left: 4px; }

@media (max-width: 600px) {
  .lang-bar { padding: 12px 20px 0; }
}

/* ===========================
   PAGE WRAPPER
   =========================== */

.page-top {
  padding-top: 56px; /* header height */
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
}

/* ===========================
   HOMEPAGE — HERO
   =========================== */

.hero-section {
  text-align: center;
  padding: 24px 40px 0;
}

.hero-section img {
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .hero-section { padding: 24px 20px 0; }
}

/* ===========================
   HOMEPAGE — ABOUT
   =========================== */

.about-section {
  text-align: center;
  padding: 48px 40px 60px;
  max-width: 780px;
  margin: 0 auto;
}

.about-photo {
  width: 100%;
  max-width: 650px;
  border-radius: 6px;
  margin: 0 auto 28px;
}

.about-section h2 {
  font-size: 17px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 24px;
  letter-spacing: 0.01em;
}

.about-section p {
  font-size: 15.5px;
  font-weight: 300;
  color: var(--text);
  line-height: 1.8;
  text-align: left;
}

.btn-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.btn {
  display: inline-block;
  background: var(--text);
  color: var(--white);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.02em;
  padding: 14px 36px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}
.btn:hover { opacity: 0.82; }

@media (max-width: 600px) {
  .about-section { padding: 40px 20px 50px; }
}

/* ===========================
   GALLERY SECTION
   =========================== */

.gallery-section {
  padding: 0 40px 60px;
  max-width: var(--max);
  margin: 0 auto;
}

.gallery-section h3 {
  font-size: 15px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 40px;
  letter-spacing: 0.01em;
}

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

.grid-4 figure img {
  width: 100%;
  display: block;
}

.grid-4 figure figcaption {
  font-size: 13px;
  font-style: italic;
  font-weight: 300;
  color: var(--gray);
  text-align: center;
  margin-top: 10px;
  line-height: 1.5;
}

.series-divider {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--nav);
  margin: 0 0 28px;
}

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .grid-4 { grid-template-columns: 1fr 1fr; gap: 16px 12px; }
  .gallery-section { padding: 0 20px 50px; }
}

/* ===========================
   SENTIMENTS TEXT SECTION
   =========================== */

.sentiments-text {
  padding: 20px 40px 70px;
  max-width: 780px;
  margin: 0 auto;
  text-align: left;
}

.sentiments-text .tagline {
  font-size: 16px;
  font-style: italic;
  font-weight: 300;
  color: var(--text);
  margin-bottom: 20px;
}

.sentiments-text p {
  font-size: 15.5px;
  font-weight: 300;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 16px;
}

@media (max-width: 600px) {
  .sentiments-text { padding: 20px 20px 60px; }
}

/* ===========================
   CONTACT FORM
   =========================== */

.contact-section {
  padding: 0 40px 80px;
  max-width: 780px;
  margin: 0 auto;
}

.contact-form-table {
  width: 100%;
  border-collapse: collapse;
}

.contact-form-table tr td {
  padding: 6px 0;
}

.contact-form-table td.form-label {
  width: 100px;
  text-align: right;
  padding-right: 16px;
  font-size: 14.5px;
  font-weight: 300;
  color: var(--nav);
  vertical-align: top;
  padding-top: 10px;
}

.contact-form-table td.form-field input,
.contact-form-table td.form-field textarea,
.contact-form-table td.form-field select {
  width: 100%;
  padding: 8px 0;
  border: none;
  border-bottom: 1px solid var(--border);
  background: transparent;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 300;
  color: var(--text);
  outline: none;
  border-radius: 0;
  -webkit-appearance: none;
  transition: border-color 0.2s;
}

.contact-form-table td.form-field input:focus,
.contact-form-table td.form-field textarea:focus,
.contact-form-table td.form-field select:focus {
  border-bottom-color: var(--text);
}

.contact-form-table td.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-submit-row {
  text-align: center;
  padding: 28px 0 0;
}

.contact-info-text {
  text-align: center;
  font-size: 14px;
  font-weight: 300;
  color: var(--gray);
  margin-top: 28px;
  line-height: 1.8;
}

.contact-info-text a {
  color: var(--text);
  border-bottom: 1px solid var(--text);
}

.form-success {
  display: none;
  text-align: center;
  font-size: 14px;
  color: var(--gray);
  margin-top: 16px;
}

@media (max-width: 600px) {
  .contact-section { padding: 0 20px 60px; }
  .contact-form-table td.form-label {
    display: block;
    text-align: left;
    width: auto;
    padding-right: 0;
    padding-top: 14px;
    padding-bottom: 0;
  }
  .contact-form-table td.form-field { display: block; width: 100%; }
  .contact-form-table tr { display: block; }
}

/* ===========================
   PAGE HEADINGS (Artworks / Moments)
   =========================== */

.page-title-section {
  text-align: center;
  padding: 60px 40px 50px;
}

.page-title-section h1 {
  font-family: var(--font);
  font-size: clamp(56px, 8vw, 96px);
  font-weight: 200;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.05;
}

/* Moments big heading */
.moments-heading {
  text-align: center;
  padding: 60px 40px 40px;
}
.moments-heading h1 {
  font-family: var(--font);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 200;
  color: var(--text);
  line-height: 1.2;
  max-width: 900px;
  margin: 0 auto;
}

hr.section-rule {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0 40px 50px;
}

/* ===========================
   ARTWORKS PAGE
   =========================== */

.artwork-section {
  padding: 0 40px 60px;
  max-width: 780px;
  margin: 0 auto;
}

.artwork-section figure {
  margin-bottom: 16px;
}

.artwork-section figure img {
  width: 100%;
}

.artwork-section figure figcaption {
  font-size: 13px;
  font-style: italic;
  font-weight: 300;
  color: var(--gray);
  text-align: center;
  margin-top: 10px;
  line-height: 1.5;
}

.artwork-section p {
  font-size: 15.5px;
  font-weight: 300;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 20px;
}

.artwork-section p em { font-style: italic; }

.grid-2-artwork {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 40px 0;
}

.grid-2-artwork figure figcaption {
  font-size: 13px;
  font-style: italic;
  color: var(--gray);
  text-align: center;
  margin-top: 10px;
  line-height: 1.5;
}

.artwork-h2 {
  font-family: var(--font);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 200;
  color: var(--text);
  margin: 60px 0 32px;
  line-height: 1.05;
}

.artwork-quote {
  font-style: italic;
  font-size: 15px;
  color: var(--gray);
  border-left: 2px solid var(--border);
  padding-left: 20px;
  margin: 28px 0;
  line-height: 1.7;
}

/* NPA portrait grid */
.grid-portraits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 32px 0;
}

.grid-portraits img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

@media (max-width: 600px) {
  .artwork-section { padding: 0 20px 50px; }
  .grid-2-artwork { grid-template-columns: 1fr; }
  .grid-portraits { grid-template-columns: repeat(2, 1fr); }
  .page-title-section { padding: 40px 20px 36px; }
  .moments-heading { padding: 40px 20px 32px; }
  hr.section-rule { margin: 0 20px 40px; }
}

/* ===========================
   MOMENTS PAGE
   =========================== */

.moments-section {
  padding: 0 40px 60px;
  max-width: 780px;
  margin: 0 auto;
}

.moments-section p {
  font-size: 15.5px;
  font-weight: 300;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 14px;
}

.moments-section h2 {
  font-size: 17px;
  font-weight: 400;
  margin: 32px 0 12px;
  color: var(--text);
}

.moments-section ul { margin-bottom: 20px; }

.moments-section ul li {
  font-size: 15px;
  font-weight: 300;
  color: var(--text);
  padding: 4px 0 4px 16px;
  position: relative;
  line-height: 1.7;
}

.moments-section ul li::before {
  content: '·';
  position: absolute;
  left: 4px;
  color: var(--light-gray);
}

.moments-section ul li strong {
  font-weight: 500;
}

.moments-text-small {
  font-size: 13px;
  font-weight: 300;
  color: var(--light-gray);
  font-style: italic;
  margin: 8px 0 24px;
}

.pricing-note {
  font-size: 15px;
  font-weight: 300;
  color: var(--text);
  margin: 8px 0;
}

.moments-footer-quote {
  text-align: center;
  padding: 50px 40px 60px;
  max-width: 600px;
  margin: 0 auto;
}

.moments-footer-quote blockquote {
  font-style: italic;
  font-size: 17px;
  font-weight: 300;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 16px;
}

.moments-footer-quote cite {
  font-size: 13px;
  font-style: normal;
  font-weight: 300;
  color: var(--light-gray);
  display: block;
  margin-bottom: 8px;
}

.moments-footer-quote .socials {
  font-size: 13px;
  font-weight: 300;
  color: var(--light-gray);
  line-height: 1.9;
}

.moments-footer-quote .socials a {
  color: var(--text);
  border-bottom: 1px solid var(--text);
}

/* Moments form top */
.moments-form-compact {
  padding: 0 40px 50px;
  max-width: 780px;
  margin: 0 auto;
}

.form-row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 13px;
  font-weight: 300;
  color: var(--nav);
  margin-bottom: 0;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 8px 0;
  border: none;
  border-bottom: 1px solid var(--border);
  background: transparent;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 300;
  color: var(--text);
  outline: none;
  border-radius: 0;
  -webkit-appearance: none;
  transition: border-color 0.2s;
}

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

.form-group textarea { min-height: 100px; resize: vertical; }

.form-note {
  font-size: 13px;
  font-weight: 300;
  color: var(--light-gray);
  margin-top: 12px;
  font-style: italic;
}

@media (max-width: 600px) {
  .moments-section { padding: 0 20px 50px; }
  .moments-form-compact { padding: 0 20px 40px; }
  .form-row-3 { grid-template-columns: 1fr; }
  .moments-footer-quote { padding: 40px 20px 50px; }
}

/* ===========================
   FOOTER
   =========================== */

footer {
  border-top: 1px solid var(--border);
  padding: 20px 40px;
  text-align: right;
  font-size: 12px;
  font-weight: 300;
  color: var(--light-gray);
}

@media (max-width: 600px) {
  footer { padding: 20px; text-align: center; }
}
