/* =============================================
   ARROYO SECO INTERNATIONAL — MAIN STYLESHEET
   ============================================= */

/* ----- Reset & Base ----- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #222;
  background: #fff;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ----- Shared container ----- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}


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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #e7e7e7;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo img {
  height: 42px;
  width: auto;
}

/* Desktop nav */
.main-nav > ul {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.main-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: #222;
  transition: color 0.2s;
}

.main-nav a:hover {
  color: #666;
}

/* Dropdown */
.has-dropdown {
  position: relative;
}

.has-dropdown > a::after {
  content: ' ▾';
  font-size: 0.7rem;
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: -1rem;
  background: #fff;
  border: 1px solid #e7e7e7;
  min-width: 210px;
  padding: 0.6rem 0 0.4rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.dropdown a {
  display: block;
  padding: 0.65rem 1.2rem;
  font-weight: 400;
  white-space: nowrap;
}

.dropdown a:hover {
  background: #f5f5f5;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  display: block;
}

/* Hamburger — hidden on desktop */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  color: #222;
}


/* =============================================
   HERO
   ============================================= */

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.9);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem;
}

.hero-content h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}


/* =============================================
   FEATURE SECTIONS  (image + heading side-by-side)
   ============================================= */

.feature-section {
  display: flex;
  align-items: stretch;
  min-height: 480px;
}

/* Flip image/text order */
.feature-section--reverse {
  flex-direction: row-reverse;
}

.feature-image {
  flex: 1;
  overflow: hidden;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-text {
  flex: 1;
  background: #f6f6f6;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3.5rem 4rem;
}

.feature-text h2 {
  font-size: clamp(1.4rem, 2.8vw, 2.4rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}


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

.text-section {
  padding: 5.5rem 0;
  background: #fff;
}

.text-section h3 {
  font-size: clamp(1rem, 2.2vw, 1.4rem);
  font-weight: 400;
  line-height: 1.7;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  color: #333;
}


/* =============================================
   SECTION HEADING
   ============================================= */

.section-heading {
  padding: 4.5rem 0 1.5rem;
  background: #fff;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}


/* =============================================
   FOUR PILLARS
   ============================================= */

.pillars-section {
  padding: 2rem 0 5rem;
  background: #fff;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.pillar {
  text-align: center;
  padding: 1.5rem 1rem;
}

.pillar h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pillar p {
  font-size: 0.92rem;
  color: #555;
  line-height: 1.6;
}


/* =============================================
   CTA SECTION
   ============================================= */

.cta-section {
  position: relative;
  background: #0e0e0e;
  color: #fff;
  padding: 7rem 0;
  text-align: center;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.65);
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h3 {
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  font-weight: 700;
  line-height: 1.55;
  max-width: 760px;
  margin: 0 auto 1.5rem;
}

.cta-section h4 {
  font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  font-weight: 400;
  line-height: 1.7;
  max-width: 760px;
  margin: 0 auto 3rem;
  color: #bbb;
}

/* Button */
.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  background: #fff;
  color: #0e0e0e;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 2px solid #fff;
  transition: background 0.2s, color 0.2s;
}

.btn:hover {
  background: transparent;
  color: #fff;
}


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

.site-footer {
  background: #fff;
  border-top: 1px solid #e7e7e7;
  padding: 2.5rem 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 0.85rem;
  color: #555;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: #222;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.footer-social a {
  color: #555;
  transition: color 0.2s;
  display: flex;
}

.footer-social a:hover {
  color: #222;
}


/* =============================================
   INNER PAGE — SMALLER HERO
   ============================================= */

.hero--small {
  min-height: 45vh;
}

/* Full natural-size hero (image dictates height, no cropping) */
.hero--full-img {
  min-height: unset;
  display: block;
}

.hero--full-img .hero-natural-img {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(0.9);
}

.hero--full-img .hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}


/* =============================================
   PAGE INTRO (tagline / opening quote)
   ============================================= */

.page-intro {
  padding: 5rem 0;
  text-align: center;
  background: #fff;
}

.page-intro h2 {
  font-size: clamp(1.2rem, 2.8vw, 1.9rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.6;
  max-width: 820px;
  margin: 0 auto;
  color: #333;
}


/* =============================================
   PRINCIPLES / WHO WE ARE (About page)
   ============================================= */

.principles-section {
  padding: 5rem 0;
  background: #f6f6f6;
}

.principles-section h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
  text-align: center;
}

.principles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 600px;
  margin: 0 auto;
}

.principle {
  text-align: center;
}

.principle h3 {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  color: #333;
}

.principle p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
}


/* =============================================
   PAGE CONTENT (services pages rich text)
   ============================================= */

.page-content {
  padding: 5rem 0;
}

.page-content h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
}

.page-content h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  margin-top: 3.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.page-content h3 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 600;
  margin-top: 3rem;
  margin-bottom: 0.75rem;
}

.page-content p {
  color: #444;
  line-height: 1.8;
  max-width: 800px;
  margin-bottom: 1rem;
}

.page-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  max-width: 800px;
  color: #444;
  line-height: 1.8;
}

.page-content ul li {
  margin-bottom: 0.4rem;
}

/* Block quote */
.blockquote {
  border-left: 3px solid #ccc;
  padding: 1.25rem 2rem;
  margin: 2.5rem 0;
  background: #f9f9f9;
}

.blockquote p {
  font-style: italic;
  font-size: 1.15rem;
  color: #333;
  max-width: 100% !important;
  margin-bottom: 0.4rem;
}

.blockquote cite {
  font-size: 0.9rem;
  color: #666;
  display: block;
  font-style: normal;
}

/* Large hero-style blockquote */
.blockquote--hero {
  border-left: none;
  background: none;
  padding: 2rem 0;
  text-align: center;
}

.blockquote--hero p {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  font-style: italic;
  color: #222;
  margin-bottom: 0.75rem;
}

.blockquote--hero cite {
  font-size: 1rem;
  color: #666;
}

/* Content side-by-side (text left, image right) */
.content-side-by-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin: 3rem 0;
}

.content-side-text h2,
.content-side-text h3 {
  margin-top: 0;
}

.content-side-text h3 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 600;
  margin-bottom: 1rem;
}

.content-side-text p {
  color: #444;
  line-height: 1.8;
  margin-bottom: 1rem;
  max-width: 100%;
}

/* Diagram / image within content */
.content-img {
  margin: 3.5rem 0;
}

.content-img img {
  max-width: 700px;
  margin: 0 auto;
}

.content-img--wide img {
  max-width: 100%;
}

.content-img--pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.content-img--pair img {
  max-width: 100%;
  margin: 0;
}


/* =============================================
   PHOTO BANNER (full-width photo + headline)
   ============================================= */

.photo-banner {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.photo-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.55);
}

.photo-banner-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 3rem 2rem;
  max-width: 900px;
}

.photo-banner-content h2 {
  color: #fff;
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.photo-banner-content p {
  color: rgba(255,255,255,0.85);
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  margin-top: 1rem;
  line-height: 1.7;
}


/* =============================================
   CONTACT PAGE
   ============================================= */

.contact-section {
  padding: 6rem 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-intro h2 {
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.contact-section h2 {
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 2.5rem;
  letter-spacing: -0.02em;
}

.contact-location {
  line-height: 1.5;
  margin-top: 1.2rem;
}

.contact-icons {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  margin-top: 0.5rem;
}

.contact-icons a {
  color: #333;
  transition: color 0.2s;
  display: flex;
}

.contact-icons a:hover {
  color: #0066cc;
}

.contact-info {
  line-height: 2.2;
  font-size: 1rem;
  color: #333;
}

.contact-info strong {
  display: block;
  margin-top: 1.5rem;
  font-weight: 700;
  font-size: 1.05rem;
}

.contact-info a {
  color: #0066cc;
}

.contact-info a:hover {
  text-decoration: underline;
}

.text-section p {
  max-width: 760px;
  margin: 1.5rem auto 0;
  text-align: center;
  color: #555;
  line-height: 1.75;
}


/* =============================================
   RESPONSIVE — TABLET & MOBILE
   ============================================= */

@media (max-width: 900px) {
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* Show hamburger, hide nav */
  .nav-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #e7e7e7;
    padding: 0.5rem 0 1rem;
  }

  .main-nav.is-open {
    display: block;
  }

  .main-nav > ul {
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
  }

  .main-nav > ul > li {
    width: 100%;
  }

  .main-nav > ul > li > a {
    display: block;
    padding: 0.8rem 2rem;
    border-bottom: 1px solid #f0f0f0;
  }

  /* Dropdown becomes inline on mobile */
  .dropdown {
    position: static;
    border: none;
    box-shadow: none;
    padding-left: 1.5rem;
    display: none;
  }

  .has-dropdown > a::after {
    content: ' ▾';
  }

  .has-dropdown.is-open > a::after {
    content: ' ▴';
  }

  .has-dropdown.is-open .dropdown {
    display: block;
  }

  /* Feature sections stack vertically */
  .feature-section,
  .feature-section--reverse {
    flex-direction: column;
  }

  .content-side-by-side,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .feature-image img {
    min-height: 260px;
  }

  .feature-text {
    padding: 2.5rem 2rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }
}
