/* ============================================
   SIDRACO — Global Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --orange: #E8792B;
  --orange-dark: #C4621F;
  --orange-light: #F5A05A;
  --dark: #161820;
  --charcoal: #2D3142;
  --slate: #4A4F6A;
  --mid-gray: #8A8F9E;
  --light-gray: #F4F3F1;
  --white: #FFFFFF;
  --text: #2D2D2D;
  --text-light: #6B6B6B;
  --border: #E2E0DC;
  --nav-h: 88px;
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
}

/* ── NAVIGATION ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 5%;
  transition: background var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
  background: var(--dark);
  box-shadow: 0 2px 40px rgba(0,0,0,0.3);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.nav-logo img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  position: relative;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1.5px;
  background: var(--orange);
  transition: width var(--transition);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--white);
}

.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  background: var(--orange);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 2px;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  transition: background var(--transition) !important;
}

.nav-cta:hover { background: var(--orange-dark) !important; }
.nav-cta::after { display: none !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 26px; height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* ── HERO ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  animation: heroZoom 12s ease-out forwards;
}

@keyframes heroZoom {
  to { transform: scale(1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(22,24,32,0.82) 0%,
    rgba(22,24,32,0.55) 55%,
    rgba(22,24,32,0.2) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 5%;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.hero-content .eyebrow {
  opacity: 0;
  animation: fadeUp 0.8s 0.4s forwards;
}

.hero-content h1 {
  font-size: clamp(3rem, 6.5vw, 6rem);
  color: var(--white);
  max-width: 780px;
  margin: 18px 0 28px;
  opacity: 0;
  animation: fadeUp 0.8s 0.65s forwards;
}

.hero-content h1 em {
  font-style: italic;
  color: var(--orange-light);
}

.hero-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.78);
  max-width: 480px;
  margin-bottom: 42px;
  opacity: 0;
  animation: fadeUp 0.8s 0.85s forwards;
}

.hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 1.05s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.55);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0.5));
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  border-radius: 2px;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,121,43,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.55);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--charcoal);
  transform: translateY(-2px);
}

/* ── SECTIONS ── */
.section {
  padding: 100px 5%;
}

.section-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  color: var(--charcoal);
  margin-top: 14px;
  max-width: 600px;
}

.section-header p {
  color: var(--text-light);
  margin-top: 18px;
  max-width: 560px;
  font-size: 1.05rem;
}

/* ── STATS BAR ── */
.stats-bar {
  background: var(--dark);
  padding: 60px 5%;
}

.stats-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.stat-item {
  padding: 32px 40px;
  border-right: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}

.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

/* ── SERVICES GRID ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
}

.service-card {
  background: var(--white);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  transition: background var(--transition);
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 3px;
  background: var(--orange);
  transition: width 0.45s ease;
}

.service-card:hover { background: var(--light-gray); }
.service-card:hover::before { width: 100%; }

.service-icon {
  width: 52px; height: 52px;
  background: rgba(232,121,43,0.1);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.service-icon svg {
  width: 26px; height: 26px;
  stroke: var(--orange);
}

.service-card h3 {
  font-size: 1.45rem;
  color: var(--charcoal);
  margin-bottom: 14px;
}

.service-card p {
  font-size: 0.93rem;
  color: var(--text-light);
  line-height: 1.75;
}

/* ── IMAGE FEATURE ── */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 580px;
}

.feature-img {
  overflow: hidden;
}

.feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.feature-img:hover img { transform: scale(1.04); }

.feature-content {
  padding: 80px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-content.dark {
  background: var(--dark);
  color: var(--white);
}

.feature-content.dark h2 { color: var(--white); }
.feature-content.dark p { color: rgba(255,255,255,0.65); }

.feature-content h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  color: var(--charcoal);
  margin: 14px 0 22px;
}

.feature-content p {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 36px;
  line-height: 1.8;
}

/* ── VALUES ── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 56px;
}

.value-item {
  padding-top: 24px;
  border-top: 2px solid var(--border);
  transition: border-color var(--transition);
}

.value-item:hover { border-color: var(--orange); }

.value-item h3 {
  font-size: 1.2rem;
  color: var(--charcoal);
  margin-bottom: 10px;
}

.value-item p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ── PROJECT CARDS ── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  aspect-ratio: 16/10;
  background: var(--light-gray);
}

.project-card.large {
  grid-column: span 2;
  aspect-ratio: 21/9;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card:hover img { transform: scale(1.05); }

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(22,24,32,0.88) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px;
}

.project-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-light);
  margin-bottom: 8px;
}

.project-overlay h3 {
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 8px;
}

.project-overlay p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  max-width: 480px;
}

/* ── TEAM / CEO ── */
.ceo-block {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
  align-items: start;
}

.ceo-img-wrap {
  position: relative;
}

.ceo-img-wrap img {
  width: 100%;
  border-radius: 3px;
  object-fit: cover;
}

.ceo-img-wrap::before {
  content: '';
  position: absolute;
  top: -16px; left: -16px;
  right: 32px; bottom: 32px;
  border: 2px solid var(--orange);
  border-radius: 3px;
  z-index: -1;
}

.ceo-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.55;
  margin: 24px 0 36px;
  padding-left: 28px;
  border-left: 3px solid var(--orange);
}

.ceo-name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--charcoal);
}

.ceo-title {
  font-size: 0.88rem;
  color: var(--orange);
  letter-spacing: 0.06em;
}

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
}

.contact-info h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--charcoal);
  margin: 14px 0 28px;
}

.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 28px;
}

.contact-detail-icon {
  width: 42px; height: 42px;
  flex-shrink: 0;
  background: rgba(232,121,43,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-detail-icon svg {
  width: 18px; height: 18px;
  stroke: var(--orange);
}

.contact-detail h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-bottom: 4px;
}

.contact-detail p {
  font-size: 1rem;
  color: var(--charcoal);
}

/* ── FORM ── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid-gray);
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: 2px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color var(--transition);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--orange);
}

.form-field textarea { resize: vertical; min-height: 140px; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  height: 52vh;
  min-height: 380px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding-bottom: 64px;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(22,24,32,0.85), rgba(22,24,32,0.4));
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 5%;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.page-hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 5rem);
  color: var(--white);
  margin-top: 14px;
}

/* ── ADVANTAGES ── */
.advantages-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.adv-item {
  padding: 36px 40px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: background var(--transition);
}

.adv-item:hover { background: var(--light-gray); }
.adv-item:nth-child(2n) { border-right: none; }

.adv-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(232,121,43,0.25);
  line-height: 1;
  flex-shrink: 0;
  min-width: 48px;
}

.adv-item h3 {
  font-size: 1.1rem;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.adv-item p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ── DARK SECTION ── */
.section-dark {
  background: var(--dark);
  color: var(--white);
}

.section-dark .section-header h2 { color: var(--white); }
.section-dark .section-header p { color: rgba(255,255,255,0.6); }
.section-dark .eyebrow { color: var(--orange-light); }

/* ── FOOTER ── */
.footer {
  background: var(--dark);
  padding: 72px 5% 36px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 64px;
}

.footer-brand img {
  height: 38px;
  margin-bottom: 22px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
  max-width: 280px;
}

.footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}

.footer-col ul { list-style: none; }

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

.footer-col ul li a:hover { color: var(--orange-light); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
}

.footer-bottom a {
  color: var(--orange);
  font-size: 0.82rem;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── DIVIDER ── */
.divider {
  width: 48px;
  height: 3px;
  background: var(--orange);
  margin: 20px 0;
}

/* ── CTA BAND ── */
.cta-band {
  background: var(--orange);
  padding: 80px 5%;
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  color: var(--white);
  max-width: 680px;
  margin: 0 auto 28px;
}

.cta-band p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  margin-bottom: 36px;
}

.btn-white {
  background: var(--white);
  color: var(--orange);
}

.btn-white:hover {
  background: var(--light-gray);
  transform: translateY(-2px);
}

/* ── BREADCRUMB ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.breadcrumb span {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.breadcrumb span.sep { color: rgba(255,255,255,0.25); }
.breadcrumb span.current { color: var(--orange-light); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .ceo-block { grid-template-columns: 1fr; max-width: 640px; }
  .contact-grid { grid-template-columns: 1fr; }
  .feature-split { grid-template-columns: 1fr; }
  .feature-content { padding: 56px 40px; }
  .advantages-list { grid-template-columns: 1fr; }
  .adv-item { border-right: none; }
}

@media (max-width: 768px) {
  :root { --nav-h: 72px; }
  .nav-links { display: none; flex-direction: column; position: fixed; top: var(--nav-h); left: 0; right: 0; background: var(--dark); padding: 24px 5%; gap: 0; }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid rgba(255,255,255,0.07); }
  .nav-links a { padding: 16px 0; display: block; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: 1fr; }
  .project-card.large { grid-column: span 1; aspect-ratio: 16/10; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .section { padding: 72px 5%; }
  .values-grid { grid-template-columns: 1fr; }
}
