/* Amadeira — matches https://amadeira-logistics-pro.base44.app/ */

:root {
  --bg: #f2f2f2;
  --fg: #141414;
  --card: #ffffff;
  --muted: #e6e6e6;
  --muted-fg: #6b6b6b;
  --secondary: #404040;
  --border: #d6d6d6;
  --primary: #141414;
  --primary-fg: #f7f7f7;
  --white: #ffffff;
  --header-h: 6rem;
  --max: 80rem;
  --radius: 0.5rem;
  --font-display: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

html, body { margin: 0; padding: 0; }

body.amadeira-body {
  font-family: var(--font-body);
  color: var(--fg);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
button { background: none; border: 0; cursor: pointer; padding: 0; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 700; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
@media (min-width: 1024px) {
  .wrap { padding-left: 2rem; padding-right: 2rem; }
}
.wrap-narrow { max-width: 56rem; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--fg);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  transition: background 0.5s ease, box-shadow 0.5s ease, backdrop-filter 0.5s ease;
}
.site-header.is-scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.05);
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1.25rem;
}
.brand-logo {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  object-fit: cover;
}
@media (min-width: 640px) {
  .brand-logo { width: 5rem; height: 5rem; }
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}
.nav-desktop a {
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
  transition: opacity 0.2s;
}
.nav-desktop a:hover { opacity: 0.6; }
.site-header.is-scrolled .nav-desktop a { color: var(--fg); }

.header-actions {
  display: none;
  align-items: center;
  gap: 1.25rem;
}
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.125rem;
}
.lang-btn {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0 0.25rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.lang-btn:hover,
.lang-btn.is-active { color: #fff; }
.lang-sep { font-size: 0.75rem; color: rgba(255,255,255,0.3); margin: 0 0.125rem; }
.site-header.is-scrolled .lang-btn { color: var(--muted-fg); }
.site-header.is-scrolled .lang-btn.is-active,
.site-header.is-scrolled .lang-btn:hover { color: var(--fg); }
.site-header.is-scrolled .lang-sep { color: rgba(107,107,107,0.5); }

.header-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
}
.header-phone svg { width: 1rem; height: 1rem; }
.site-header.is-scrolled .header-phone { color: var(--fg); }

.btn-quote {
  background: var(--primary);
  color: var(--primary-fg);
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: opacity 0.2s;
}
.btn-quote:hover { opacity: 0.8; }

.menu-toggle {
  display: flex;
  color: #fff;
  padding: 0.5rem;
}
.site-header.is-scrolled .menu-toggle { color: var(--fg); }

@media (min-width: 1024px) {
  .nav-desktop,
  .header-actions { display: flex; }
  .menu-toggle { display: none; }
}

.mobile-panel {
  display: none;
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}
.mobile-panel.is-open { display: block; }
.mobile-panel-inner { padding: 1rem 1.5rem 1.25rem; }
.mobile-link {
  display: block;
  padding: 0.75rem 1rem;
  font-weight: 500;
  border-radius: 0.5rem;
}
.mobile-link:hover { background: var(--muted); }
.mobile-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.75rem;
  margin-top: 0.75rem;
  border-top: 1px solid var(--border);
}
.mobile-panel .lang-btn { color: var(--muted-fg); }
.mobile-panel .lang-btn.is-active { color: var(--fg); }
.mobile-panel .lang-sep { color: var(--border); }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(17,17,17,0.92), rgba(17,17,17,0.72), rgba(17,17,17,0.35));
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding-top: 8rem;
  padding-bottom: 5rem;
  max-width: 42rem;
  margin: 0;
}
.hero .wrap.hero-copy { margin-left: auto; margin-right: auto; max-width: var(--max); }
.hero-copy > * { max-width: 42rem; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  color: rgba(255,255,255,0.9);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 2rem;
}
.hero-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.6);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.45; } }
.hero h1 {
  font-size: 2.25rem;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 1.5rem;
}
.hero-accent {
  display: block;
  color: rgba(255,255,255,0.75);
}
@media (min-width: 640px) { .hero h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 3.75rem; } }
@media (min-width: 1280px) { .hero h1 { font-size: 4.5rem; } }
.hero-sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.625;
  margin-bottom: 2.5rem;
  max-width: 36rem;
}
@media (min-width: 640px) { .hero-sub { font-size: 1.25rem; } }
.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 640px) {
  .hero-ctas { flex-direction: row; }
}
.btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: #fff;
  color: var(--fg);
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  font-weight: 600;
  transition: background 0.2s;
}
.btn-light:hover { background: rgba(255,255,255,0.9); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.2); }
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.5);
  animation: bounce 1s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(-25%); }
  50% { transform: translateX(-50%) translateY(0); }
}

/* Stats */
.stats {
  background: #fff;
  padding: 4rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
@media (min-width: 1024px) { .stats { padding: 5rem 0; } }
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 3rem; }
}
.stat-card { text-align: center; }
.stat-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  background: var(--muted);
  border-radius: 1rem;
  color: var(--secondary);
  margin-bottom: 1rem;
}
.stat-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
/* @media (min-width: 1024px) { .stat-card strong { font-size: 3rem; } }
.stat-card span { color: var(--muted-fg); font-weight: 500; font-size: 0.875rem; } */

/* Sections */
.section { padding: 5rem 0; }
@media (min-width: 1024px) { .section { padding: 7rem 0; } }
.section-muted { background: var(--bg); }
.section-white { background: #fff; }
.section-head { text-align: center; margin-bottom: 4rem; }
.section-head h2,
.section h2 {
  font-size: 1.875rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}
@media (min-width: 640px) { .section-head h2, .section h2 { font-size: 2.25rem; } }
@media (min-width: 1024px) { .section-head h2 { font-size: 3rem; } }
.section-head p {
  color: var(--muted-fg);
  font-size: 1.125rem;
  max-width: 42rem;
  margin: 0 auto;
}
.kicker {
  display: inline-block;
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

/* Services */
.services-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 640px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.5s, box-shadow 0.5s;
}
.service-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.08);
}
.service-thumb { aspect-ratio: 4/3; overflow: hidden; }
.service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}
.service-card:hover .service-thumb img { transform: scale(1.05); }
.service-body { padding: 1.5rem; }
@media (min-width: 1024px) { .service-body { padding: 2rem; } }
.service-body h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.service-body p { color: var(--muted-fg); line-height: 1.625; }
.service-extra { margin-top: 1rem; }
.service-extra p { margin-bottom: 0.75rem; }
.service-more {
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--secondary);
}
.service-more:hover { opacity: 0.7; }

/* About */
.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .about-grid { grid-template-columns: 1fr 1fr; gap: 5rem; }
}
.about-photo { position: relative; }
.about-photo img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 1rem;
}
@media (min-width: 1024px) { .about-photo img { height: 500px; } }
.about-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1rem;
  background: var(--primary);
  color: var(--primary-fg);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}
@media (min-width: 1024px) { .about-badge { right: -2rem; } }
.about-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.875rem;
  margin-bottom: 0.25rem;
}
.about-badge span { font-size: 0.875rem; color: rgba(247,247,247,0.7); }
.about-p {
  color: var(--muted-fg);
  line-height: 1.625;
  margin-bottom: 1rem;
}
.adv-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}
@media (min-width: 640px) { .adv-grid { grid-template-columns: 1fr 1fr; } }
.adv-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
}
.adv-ico {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--muted);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
}

/* Process */
.process { background: var(--primary); color: #fff; }
.section-head-light .kicker { color: rgba(255,255,255,0.6); }
.section-head-light h2 { color: #fff; }
.section-head-light p { color: rgba(255,255,255,0.55); }
.process-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 640px) { .process-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .process-grid { grid-template-columns: repeat(4, 1fr); } }
.process-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1rem;
  padding: 2rem;
  transition: background 0.3s;
}
.process-card:hover { background: rgba(255,255,255,0.1); }
.process-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.process-ico {
  width: 3.5rem;
  height: 3.5rem;
  background: rgba(255,255,255,0.1);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
}
.process-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(255,255,255,0.2);
}
.process-card h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.process-card p { color: rgba(255,255,255,0.55); font-size: 0.875rem; line-height: 1.625; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
}
.faq-q:hover { background: rgba(230,230,230,0.3); }
.faq-icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  background: var(--muted);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.faq-icon svg:last-child { display: none; }
.faq-item.is-open .faq-icon svg:first-child { display: none; }
.faq-item.is-open .faq-icon svg:last-child { display: block; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item.is-open .faq-a { max-height: 24rem; }
.faq-a p {
  padding: 0 1.5rem 1.5rem;
  color: var(--muted-fg);
  line-height: 1.625;
}

/* Contact */
.contact-banner {
  background: var(--primary);
  color: #fff;
  border-radius: 1.5rem;
  padding: 2.5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 5rem;
}
@media (min-width: 1024px) { .contact-banner { padding: 4rem; } }
.contact-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(255,255,255,0.05), transparent);
}
.contact-banner > * { position: relative; z-index: 1; }
.contact-banner h2 { font-size: 1.875rem; margin-bottom: 1rem; color: #fff; }
@media (min-width: 640px) { .contact-banner h2 { font-size: 2.25rem; } }
@media (min-width: 1024px) { .contact-banner h2 { font-size: 3rem; } }
.contact-banner p {
  color: rgba(255,255,255,0.65);
  font-size: 1.125rem;
  max-width: 36rem;
  margin: 0 auto 2rem;
}
.contact-grid {
  display: grid;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 5rem; }
}
.contact-list { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
.contact-row { display: flex; align-items: flex-start; gap: 1rem; }
.contact-ico {
  width: 3rem;
  height: 3rem;
  background: var(--muted);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  flex-shrink: 0;
}
.contact-row strong {
  display: block;
  font-family: var(--font-display);
  margin-bottom: 0.25rem;
}
.contact-row a:hover { color: var(--fg); }
.contact-row span,
.contact-row a { color: var(--muted-fg); }

.contact-form {
  background: rgba(230,230,230,0.4);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-form label { display: block; }
.contact-form label span {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: #fff;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(20,20,20,0.4);
  box-shadow: 0 0 0 2px rgba(20,20,20,0.12);
}
.contact-form textarea { resize: none; }
.form-row {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  background: var(--primary);
  color: var(--primary-fg);
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  font-weight: 600;
}
.form-submit:hover { opacity: 0.8; }
.form-success { display: none; color: var(--secondary); font-weight: 600; text-align: center; }
.form-error { color: #b42318; font-size: 0.875rem; font-weight: 500; text-align: center; margin: 0; }
.contact-form.is-sent .form-success { display: block; }
.contact-form.is-sent .form-submit,
.contact-form.is-sent .form-error { display: none; }

/* Footer */
.site-footer {
  background: var(--primary);
  color: #fff;
}
.footer-inner { padding: 4rem 0; }
.footer-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 3rem; } }
.footer-brand img {
  width: 10rem;
  height: 10rem;
  border-radius: 1rem;
  object-fit: cover;
  margin-bottom: 1rem;
}
.footer-desc { color: rgba(255,255,255,0.55); font-size: 0.875rem; line-height: 1.625; }
.footer-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1rem;
}
.footer-grid ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-grid li a,
.footer-contact a,
.footer-contact p {
  color: rgba(255,255,255,0.55);
  font-size: 0.875rem;
}
.footer-grid li a:hover,
.footer-contact a:hover { color: #fff; }
.footer-contact { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-contact a { display: flex; align-items: center; gap: 0.5rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 3rem;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; } }
.footer-bottom p { color: rgba(255,255,255,0.35); font-size: 0.875rem; }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: rgba(255,255,255,0.35); font-size: 0.875rem; }
.footer-legal a:hover { color: rgba(255,255,255,0.6); }

/* Legal */
.legal-body-page { background: var(--bg); }
.legal-screen { min-height: 100vh; display: flex; flex-direction: column; }
.legal-top { background: var(--primary); color: #fff; }
.legal-top-inner {
  max-width: 56rem;
  margin: 0 auto;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
  font-weight: 500;
}
.legal-back:hover { color: #fff; }
.legal-brand {
  display: flex;
  align-items: center;
}
.legal-brand img {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  object-fit: cover;
}
.legal-inner {
  max-width: 56rem;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  flex: 1;
  width: 100%;
}
.legal-inner h1 {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}
.legal-updated { color: var(--muted-fg); font-size: 0.875rem; margin-bottom: 2rem; }
.legal-intro { font-size: 1.125rem; line-height: 1.625; margin-bottom: 3rem; }
.legal-body { display: flex; flex-direction: column; gap: 2.5rem; }
.legal-section h2 { font-size: 1.25rem; margin-bottom: 1rem; }
.legal-section-body { white-space: pre-line; line-height: 1.625; }
.legal-bottom {
  background: var(--primary);
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: 0.875rem;
  margin-top: auto;
}

.entry { padding: 8rem 0 4rem; }
.entry h1 { font-size: 2rem; margin-bottom: 1rem; }
.entry .content { color: var(--muted-fg); line-height: 1.625; }

@media (max-width: 1023px) {
  .about-badge { right: 1rem; }
}
