/* ================================================
   ARAUCARIA GROUP — Stylesheet
   ================================================ */

/* ---- Variables ---- */
:root {
  --green-dark:   #113D22;
  --green:        #1B5E35;
  --green-mid:    #2E7D52;
  --green-light:  #4CAF50;
  --dark:         #111827;
  --gray:         #6B7280;
  --light:        #F4F6F4;
  --white:        #FFFFFF;

  --font: 'Inter', sans-serif;
  --radius: 14px;
  --shadow:    0 4px 24px rgba(0,0,0,0.07);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.13);
  --ease: 0.3s ease;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--dark); background: var(--white); overflow-x: hidden; line-height: 1.6; }
img  { max-width: 100%; height: auto; display: block; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }

/* ---- Layout ---- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* ================================================
   HEADER
   ================================================ */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  padding: 0;
  transition: background var(--ease), box-shadow var(--ease);
}
.header.scrolled {
  background: var(--white);
  box-shadow: 0 2px 24px rgba(0,0,0,0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo */
.nav__logo { display: flex; align-items: center; }
.nav__logo-img {
  height: 88px; width: auto;
}

/* Nav links */
.nav__menu { display: flex; gap: 36px; }
.nav__link {
  font-size: 13px; font-weight: 500; letter-spacing: 0.4px;
  color: rgba(255,255,255,0.88);
  position: relative; transition: color var(--ease);
}
.nav__link::after {
  content: ''; position: absolute; bottom: -5px; left: 0;
  width: 0; height: 2px; background: var(--green-light);
  transition: width var(--ease);
}
.nav__link:hover::after { width: 100%; }
.header.scrolled .nav__link { color: var(--dark); }
.header.scrolled .nav__link:hover { color: var(--green); }

/* Lang switcher */
.nav__actions { display: flex; align-items: center; gap: 20px; }
.lang-switcher { display: flex; align-items: center; gap: 7px; }
.lang-sep { color: rgba(255,255,255,0.3); font-size: 11px; }
.lang-btn {
  background: none; border: none; cursor: pointer;
  font-family: var(--font); font-size: 11px; font-weight: 700; letter-spacing: 1px;
  color: rgba(255,255,255,0.5); transition: color var(--ease); padding: 2px 0;
}
.lang-btn:hover,
.lang-btn.active { color: var(--white); }
.header.scrolled .lang-sep { color: #ccc; }
.header.scrolled .lang-btn { color: var(--gray); }
.header.scrolled .lang-btn:hover,
.header.scrolled .lang-btn.active { color: var(--green); }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: all var(--ease);
}
.header.scrolled .hamburger span { background: var(--dark); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================================
   HERO
   ================================================ */
.hero {
  position: relative;
  height: 100vh; min-height: 620px;
  display: flex; align-items: center;
  background: url('https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?w=1920&q=80') center / cover no-repeat;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(17,61,34,.88) 0%, rgba(27,94,53,.72) 100%);
}
.hero__content {
  position: relative; z-index: 1;
  max-width: 680px;
}
.hero__tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: 3.5px;
  text-transform: uppercase; color: rgba(255,255,255,.75);
  margin-bottom: 20px;
}
.hero__tag::before {
  content: ''; display: block;
  width: 28px; height: 2px; background: var(--green-light);
}
.hero__title {
  font-size: clamp(52px, 9vw, 96px);
  font-weight: 800; line-height: 0.95;
  color: var(--white); letter-spacing: -3px;
  margin-bottom: 22px;
}
.hero__title em { color: var(--green-light); font-style: italic; }
.hero__subtitle {
  font-size: clamp(15px, 2vw, 19px);
  color: rgba(255,255,255,.75); font-weight: 300;
  letter-spacing: 1.5px; margin-bottom: 44px;
}
.hero__scroll {
  position: absolute; bottom: 44px; left: 50%; transform: translateX(-50%);
  z-index: 1;
}
.scroll-bar {
  width: 1px; height: 56px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.5));
  margin: 0 auto;
  animation: scrollAnim 2s ease-in-out infinite;
}
@keyframes scrollAnim {
  0%,100% { opacity: .4; transform: scaleY(1); }
  50%      { opacity: 1;  transform: scaleY(1.08); }
}

/* ================================================
   BUTTONS
   ================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 30px; border-radius: 4px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.5px;
  cursor: pointer; border: 2px solid transparent;
  transition: all var(--ease); font-family: var(--font);
}
.btn--primary {
  background: var(--green-light); color: var(--white);
  border-color: var(--green-light);
}
.btn--primary:hover {
  background: transparent; color: var(--white);
  border-color: rgba(255,255,255,.8);
}
.btn--white {
  background: var(--white); color: var(--green);
}
.btn--white:hover {
  background: transparent; color: var(--white);
  border-color: var(--white);
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ================================================
   SECTION COMMONS
   ================================================ */
.section-tag {
  display: inline-block;
  font-size: 10px; font-weight: 700; letter-spacing: 3.5px;
  text-transform: uppercase; color: var(--green);
  margin-bottom: 10px;
}
.section-tag--light { color: rgba(255,255,255,.6); }

.section-title {
  font-size: clamp(28px, 4.5vw, 46px);
  font-weight: 800; color: var(--dark);
  line-height: 1.08; letter-spacing: -1.2px;
}
.section-title--light { color: var(--white); }

.section-header { text-align: center; margin-bottom: 64px; }
.section-header .section-title { margin-top: 10px; }

/* ================================================
   ABOUT
   ================================================ */
.about { padding: 128px 0; background: var(--white); }

.about__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.about__content .section-title { margin: 10px 0 20px; }
.about__text {
  font-size: 15.5px; color: var(--gray);
  line-height: 1.85; margin-bottom: 52px;
}
.about__stats { display: flex; gap: 48px; }
.stat__number {
  display: block; font-size: 44px; font-weight: 800;
  color: var(--green); line-height: 1; letter-spacing: -2px;
}
.stat__label {
  display: block; margin-top: 4px;
  font-size: 11px; color: var(--gray);
  text-transform: uppercase; letter-spacing: 1px;
}

.about__image {
  position: relative;
  border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-lg);
}
.about__image img { width: 100%; height: 100%; object-fit: cover; }
.about__image::after {
  content: '';
  position: absolute; inset: -12px -12px 12px 12px;
  border: 2px solid var(--green-mid);
  border-radius: var(--radius);
  z-index: -1; pointer-events: none;
}

/* ================================================
   DIVISIONS
   ================================================ */
.divisions { padding: 128px 0; background: var(--light); }

.divisions__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.division-card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform var(--ease), box-shadow var(--ease);
}
.division-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
}

.division-card__img {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
}
.division-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.division-card:hover .division-card__img img { transform: scale(1.06); }

.division-card__img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 55%, rgba(0,0,0,.38));
}
.division-card__num {
  position: absolute; bottom: 12px; right: 18px;
  font-size: 52px; font-weight: 900; line-height: 1;
  color: rgba(255,255,255,.18); letter-spacing: -3px;
  pointer-events: none;
}

.division-card__body { padding: 30px 32px 34px; }
.division-card__icon {
  width: 42px; height: 42px; color: var(--green); margin-bottom: 14px;
}
.division-card__icon svg { width: 100%; height: 100%; }

.division-card__body h3 {
  font-size: 21px; font-weight: 700; color: var(--dark);
  margin-bottom: 10px; letter-spacing: -.4px;
}
.division-card__body p {
  font-size: 14px; color: var(--gray); line-height: 1.75; margin-bottom: 22px;
}
.card-link {
  font-size: 13px; font-weight: 600; color: var(--green);
  letter-spacing: .3px; transition: color var(--ease);
}
.card-link:hover { color: var(--green-dark); }

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

.contact__grid {
  display: grid; grid-template-columns: 1fr 2fr;
  gap: 72px; align-items: start;
}

.contact__info { display: flex; flex-direction: column; gap: 28px; }
.contact__item {
  display: flex; align-items: center; gap: 14px;
  color: rgba(255,255,255,.75); font-size: 14.5px;
}
.contact__item svg { width: 19px; height: 19px; flex-shrink: 0; color: var(--green-light); }
.contact__item a { transition: color var(--ease); }
.contact__item a:hover { color: var(--white); }

.contact__social { display: flex; gap: 12px; padding-top: 4px; }
.social-btn {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6); transition: all var(--ease);
}
.social-btn svg { width: 17px; height: 17px; }
.social-btn:hover {
  border-color: var(--green-light); color: var(--green-light);
  background: rgba(76,175,80,.1);
}

/* Form */
.contact__form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-field { position: relative; }
.form-field input,
.form-field textarea {
  width: 100%; padding: 16px 18px 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 7px; color: var(--white);
  font-size: 14px; font-family: var(--font);
  outline: none; transition: border-color var(--ease), background var(--ease);
}
.form-field textarea { resize: vertical; min-height: 110px; padding-top: 22px; }

.form-field label {
  position: absolute; top: 50%; left: 18px;
  transform: translateY(-50%);
  font-size: 13px; color: rgba(255,255,255,.4);
  pointer-events: none; transition: all .2s ease;
}
.form-field textarea ~ label { top: 18px; transform: none; }

.form-field input:focus ~ label,
.form-field input:not(:placeholder-shown) ~ label,
.form-field textarea:focus ~ label,
.form-field textarea:not(:placeholder-shown) ~ label {
  top: 7px; font-size: 10px; letter-spacing: 1px;
  text-transform: uppercase; color: var(--green-light);
  transform: none;
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--green-light);
  background: rgba(255,255,255,.09);
}
/* placeholder invisible for label trick */
.form-field input::placeholder,
.form-field textarea::placeholder { color: transparent; }

/* Select */
.form-field--select { position: relative; }
.form-field--select select {
  width: 100%; padding: 15px 44px 15px 18px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 7px;
  color: rgba(255,255,255,.45); font-size: 14px;
  font-family: var(--font); outline: none; appearance: none;
  cursor: pointer; transition: border-color var(--ease), background var(--ease);
}
.form-field--select select:focus {
  border-color: var(--green-light); background: rgba(255,255,255,.09);
  color: var(--white);
}
.form-field--select select option { background: var(--green-dark); color: var(--white); }
.select-arrow {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; color: rgba(255,255,255,.4); pointer-events: none;
}

/* ================================================
   FOOTER
   ================================================ */
.footer { background: var(--dark); padding: 52px 0 28px; }

.footer__top {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding-bottom: 40px; margin-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer__brand { display: flex; flex-direction: column; gap: 3px; }
.footer__logo-img { height: 60px; width: auto; }
.footer__brand p { margin-top: 12px; font-size: 12.5px; color: rgba(255,255,255,.35); }

.footer__nav { display: flex; gap: 28px; align-items: center; }
.footer__nav a {
  font-size: 13px; color: rgba(255,255,255,.45);
  transition: color var(--ease);
}
.footer__nav a:hover { color: var(--white); }

.footer__bottom p { font-size: 11.5px; color: rgba(255,255,255,.25); text-align: center; }

/* ================================================
   ANIMATIONS
   ================================================ */
.fade-in {
  opacity: 0; transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.fade-in.visible { opacity: 1; transform: none; }

/* stagger children */
.divisions__grid .division-card:nth-child(2) { transition-delay: .1s; }
.divisions__grid .division-card:nth-child(3) { transition-delay: .2s; }
.divisions__grid .division-card:nth-child(4) { transition-delay: .3s; }
.about__stats .stat:nth-child(2) { transition-delay: .1s; }
.about__stats .stat:nth-child(3) { transition-delay: .2s; }

/* ================================================
   WHATSAPP BUTTON
   ================================================ */
.whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: transform var(--ease), box-shadow var(--ease);
}
.whatsapp-btn svg { width: 30px; height: 30px; color: #fff; }
.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,.6);
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
  .about__grid  { gap: 52px; }
  .contact__grid { gap: 48px; }
}

@media (max-width: 768px) {
  /* Mobile nav */
  .nav__menu {
    position: fixed; inset: 72px 0 auto 0;
    background: var(--white); flex-direction: column;
    padding: 36px 28px; gap: 28px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-110%); opacity: 0;
    transition: transform .35s ease, opacity .35s ease;
    z-index: 800;
  }
  .nav__menu.open { transform: translateY(0); opacity: 1; }
  .nav__link { color: var(--dark) !important; font-size: 17px; }
  .hamburger { display: flex; }

  .about__grid,
  .contact__grid { grid-template-columns: 1fr; gap: 44px; }

  .divisions__grid { grid-template-columns: 1fr; }

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

  .about__stats { gap: 36px; }

  .about, .divisions, .contact { padding: 88px 0; }

  .footer__top { flex-direction: column; gap: 36px; }
  .footer__nav { flex-wrap: wrap; gap: 18px; }
}

@media (max-width: 480px) {
  .hero__title { letter-spacing: -2px; }
  .about__stats { flex-direction: column; gap: 20px; }
  .hero__content .btn { width: 100%; justify-content: center; }
}
