/* ----------------------------------------------------------
   Base Styles
---------------------------------------------------------- */

:root {
    --font-main: "Inter Tight", system-ui, sans-serif;

    --color-text: #111111;
    --color-muted: #666666;
    --color-bg: #ffffff;
    --color-bg-alt: #f7f7f7;
    --color-border: #e5e5e5;
    --color-accent: #111111;

    --fs-h1: clamp(2.5rem, 3.6vw + 1rem, 3.4rem);
    --fs-h2: clamp(1.1rem, 1.4vw + 0.8rem, 1.6rem);
    --fs-body: clamp(1rem, 0.4vw + 0.8rem, 1.1rem);

    --max-width: 1200px;
}

body {
    margin: 0;
    font-family: var(--font-main);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.7;
    font-size: var(--fs-body);
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
    -webkit-font-smoothing: antialiased;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 6rem 2.5rem;
    position: relative;
    z-index: 1;
}

section:not(.hero) {
    padding-top: 7rem;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

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

/* ----------------------------------------------------------
   HEADER
---------------------------------------------------------- */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    z-index: 9999;
    border-bottom: 1px solid #e5e5e5;
    height: 120px;
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.8rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 96px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav a {
    text-decoration: none;
    color: #111111;
    font-weight: 400;
    font-size: 0.88rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.75;
    transition: opacity 0.2s ease;
}

.nav a:hover {
    opacity: 1;
}

/* LANGUAGE SWITCHER — PREMIUM STYLE */
.language-switcher a,
.language-switcher a:link,
.language-switcher a:visited {
    color: #111 !important;
    text-decoration: none !important;
    font-size: 0.88rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.75;
    transition: opacity 0.2s ease;
}

.language-switcher a:hover,
.language-switcher a:active {
    opacity: 1;
}

/* ----------------------------------------------------------
   HERO
---------------------------------------------------------- */

.hero {
    max-width: none;
    margin: 0;
    padding: 0;
    position: relative;
    width: 100%;
    z-index: 0;

    margin-top: 120px;
    height: 680px;
    min-height: 680px;

    overflow: hidden;
}

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

.hero-bg {
    object-fit: cover;
    object-position: 50% 60%;
    z-index: 1;
}

.hero-gradient {
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.10),
        rgba(0,0,0,0.55)
    );
    z-index: 2;
}

.hero-text {
    position: absolute;
    left: 8%;
    bottom: 64%; /* moved up */
    z-index: 4;
    max-width: 620px; /* allow single line on large screens */
}

.hero-text h1 {
    font-size: var(--fs-h1);
    font-weight: 600;
    margin: 0 0 0.8rem 0;
    color: #ffffff;
    line-height: 1.05;
    white-space: normal;
}

@media (min-width: 1280px) {
    .hero-text h1 {
        white-space: nowrap; /* force one line on large desktops */
    }
}

.hero-text h2 {
    font-size: var(--fs-h2);
    font-weight: 300;
    margin: 0;
    color: #e2e2e2;
    max-width: 32rem;
    line-height: 1.3;
}

/* ----------------------------------------------------------
   PILLARS
---------------------------------------------------------- */

.pillars-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 3.2rem;
}

.pillar h3 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.pillar-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 1.2rem;
    border-radius: 999px;
    border: 1.5px solid #d0d0d0;
}

/* ----------------------------------------------------------
   TECHNICAL DRAWING
---------------------------------------------------------- */

.technical {
    background: var(--color-bg-alt);
    max-width: none;
}

.technical-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 5rem 2.5rem;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 3.5rem;
    align-items: center;
}

.technical-img {
    max-width: 520px;
    width: 100%;
    opacity: 0.95;
    display: block;
    margin: 0 auto;
}

/* ----------------------------------------------------------
   ALPINE EXPERIENCE
---------------------------------------------------------- */

.alpine {
    max-width: none;
}

.alpine-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 5rem 2.5rem;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
    gap: 3.5rem;
    align-items: center;
}

.alpine-img {
    width: 100%;
    border-radius: 10px;
}

/* ----------------------------------------------------------
   NEWSLETTER — FINAL PREMIUM BALANCE
---------------------------------------------------------- */

.newsletter {
  background: #ececec; /* slightly darker, more tactile */
  border-top: 1px solid #ddd;
  max-width: none;
}

.newsletter-inner {
  max-width: 480px; /* matches form width */
  margin: 0 auto;
  padding: 1rem 2.5rem; /* compact vertical rhythm */
  text-align: center;
}

.newsletter-inner h3 {
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.02em;
  margin: 0 0 0.4rem 0; /* more breathing space */
  color: #111;
}

.newsletter-text {
  margin: 0 auto 1.2rem auto; /* more space before form */
  font-size: 0.9rem;
  line-height: 1.45;
  color: #333;
  max-width: 100%; /* same width as form */
}

.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.7rem 1rem;
  border: 1px solid #d8d8d8;
  border-radius: 999px;
  font-family: var(--font-main);
  font-size: 0.9rem;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(0,0,0,0.03);
}

.newsletter-form button {
  padding: 0.7rem 1.2rem;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 999px;
  font-family: var(--font-main);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.newsletter-form button:hover {
  opacity: 0.85;
}

/* ----------------------------------------------------------
   FOOTER
---------------------------------------------------------- */

.footer {
    text-align: center;
    padding: 2.4rem 2rem; /* reduced padding */
    color: var(--color-muted);
    font-size: 0.9rem;
    border-top: 1px solid var(--color-border);
    line-height: 1.4;
}

.footer a {
    color: var(--color-muted);
    text-decoration: none;
}
