:root {
    --branding-color: #ff7561;
    --primary-color: hsla(8, 100%, 69%, 0.129);
    --secondary-color: hsla(32, 88%, 68%, 0.267);
    --background-color: rgba(255, 255, 255, 0.2);
    --text-color: rgb(107, 103, 103);

    /* Paleta editorial Australia */
  --aus-cream: #fff8f4;
  --aus-white: #ffffff;
  --aus-sand: #fff0e6;
  --aus-ink: #383331;
  --aus-muted: var(--text-color);
  --aus-brand: var(--branding-color);
  --aus-brand-dark: #d95746;
  --aus-line: #f0ded8;
  --aus-script: "Arizonia", cursive; 

   /* Tipografías */
  --aus-serif: "Playfair Display", Georgia, serif;
  --aus-sans: "Poppins", sans-serif;
  
  
}

.fixed-bar {
    font-size: 15px;
    padding-left: 20%;
}

.logo {
    max-height: 40px;
}


.navbar-align {
    text-align: right;
    padding-left: 50%;
}

.active {
    color: var(--branding-color) !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--aus-white);
  color: var(--aus-ink);
  
  font-size: 14px;
  line-height: 1.8;
}

body,
body * {
  box-sizing: border-box;
}

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

a:focus-visible {
  outline: 2px solid var(--aus-brand);
  outline-offset: 5px;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  color: var(--aus-ink);
}

h1,
h2 {
  font-family: var(--aus-serif);
  font-weight: 500;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.25;
}

p {
    font-family: var(--aus-serif);
  color: var(--aus-muted);
}

.container {
  max-width: 1160px;
}

/* =========================================
   SHARED ELEMENTS
========================================= */

.section-space {
  padding: 100px 0;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 52px;
}

.section-heading h2 {
  margin: 10px 0 16px;
}

.section-heading p {
  max-width: 620px;
  margin: 0 auto;
}

.section-kicker,
.aus-eyebrow,
.stage-kicker,
.story-category,
.resource-label {
  display: block;
  font-family: var(--aus-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  line-height: 1.7;
}

.section-kicker {
  color: var(--aus-brand);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--aus-brand-dark);
  font-size: 12px;
  font-weight: 600;
  transition: gap 0.25s ease;
}

.text-link:hover {
  gap: 15px;
  color: var(--aus-brand);
}

.text-link i,
.stage-link i {
  font-size: 11px;
}


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

.aus-hero { 
    position: relative; 
    display: flex; 
    min-height: 620px; 
    align-items: center; 
    overflow: hidden; 
    color: #ffffff;
    background-color: var(--branding-color); 
    background-image: linear-gradient( 90deg, rgba(56, 51, 49, 0.65) 0%, rgba(56, 51, 49, 0.35) 55%, rgba(255, 117, 97, 0.18) 100% ), url("../media/australia-hero.jpg"); 
    background-position: center 55%; 
    background-size: cover; 
    isolation: isolate; 
}

.aus-hero-overlay { 
    position: absolute; 
    inset: 0; 
    background: linear-gradient( 90deg, rgba(56, 51, 49, 0.68) 0%, rgba(56, 51, 49, 0.38) 55%, rgba(255, 117, 97, 0.16) 100% );
 }

.aus-hero-content {
  position: relative;
  z-index: 1;
  padding-top: 70px;
  padding-bottom: 70px;
}

.aus-hero .eyebrow { 
    color: #ffd0c6; 
}

.aus-hero h1 {
  font-family: 'Times New Roman', Times, serif;
  max-width: 760px;
  margin-bottom: 24px;
  color: #ffffff;
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 1.12;
}

.aus-hero h1 em {
    font-family: var(--aus-serif);
  font-weight: 500;
}



.aus-hero p { 
    color: rgba(255, 255, 255, 0.92); 
}

.aus-hero-description {
  max-width: 510px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.9;
}

.aus-hero .btn-aus { 
    background: var(--branding-color); 
    border-color: var(--branding-color); 
    color: #ffffff; } 
    
.aus-hero .btn-aus:hover { 
    background: #ffffff; 
    border-color: #ffffff; 
    color: var(--branding-color); 
}

.btn-aus {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 13px 23px;
  border: 1px solid var(--branding-color);
  background: var(--branding-color);
  color: #ffffff;
  font-family: var(--aus-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: background 0.25s ease, color 0.25s ease;
}

.btn-aus:hover {
  background: #ffffff;
  color: var(--branding-color);
}

.aus-hero-caption {
  position: absolute;
  right: 30px;
  bottom: 20px;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--aus-serif);
  font-size: 12px;
  font-style: italic;
}


/* =========================================
   FIVE STAGES
========================================= */

.aus-stages {
  background: var(--aus-cream);
}

.stage-card {
  display: block;
  height: 100%;
  overflow: hidden;
  background: var(--aus-white);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.stage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(40, 45, 39, 0.08);
}

.stage-image {
  position: relative;
  height: 255px;
  overflow: hidden;
  background: var(--aus-sand);
}

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

.stage-card:hover .stage-image img {
  transform: scale(1.045);
}

.stage-number {
  position: absolute;
  top: 16px;
  left: 16px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--aus-ink);
  font-size: 11px;
}

.stage-info {
  padding: 25px 25px 28px;
}

.stage-kicker {
  margin-bottom: 12px;
  color: var(--aus-brand);
  font-size: 9px;
  letter-spacing: 1.6px;
}

.stage-info h3 {
  margin-bottom: 8px;
  font-family: var(--aus-serif);
  font-size: 24px;
  line-height: 1.35;
}

.stage-info p {
  margin-bottom: 18px;
  font-size: 12px;
}

.stage-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--aus-brand-dark);
  font-size: 11px;
  font-weight: 600;
}

.stage-note {
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
  background: var(--branding-color);
}

.stage-note .handwritten {
  margin-bottom: 14px;
  color: #ffffff;
  font-family: var(--aus-script);
  font-size: 32px;
  line-height: 1.3;
}

.stage-note h3 {
  margin-bottom: 16px;
  color: #ffffff;
  font-family: var(--aus-serif);
  font-size: 27px;
  line-height: 1.35;
}

.stage-note p {
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
}

.stage-note .text-link {
  align-self: flex-start;
  color: #ffffff;
}


/* =========================================
   FEATURED STORIES
========================================= */

.aus-stories {
  background: var(--aus-white);
}

.stories-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 38px;
}

.stories-heading h2 {
  margin: 10px 0 14px;
}

.stories-heading p {
  max-width: 580px;
  margin-bottom: 0;
}

.stories-heading > .text-link {
  flex-shrink: 0;
  margin-bottom: 6px;
}

.story-card {
  height: 100%;
  background: var(--aus-cream);
}

.story-image-link {
  display: block;
  height: 290px;
  overflow: hidden;
  background: var(--aus-sand);
}

.story-image-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.story-image-link:hover img {
  transform: scale(1.04);
}

.story-content {
  padding: 28px 30px 32px;
}

.story-category {
  margin-bottom: 12px;
  color: var(--aus-brand);
  font-size: 9px;
}

.story-content h3 {
  margin-bottom: 12px;
  font-family: var(--aus-serif);
  font-size: 27px;
  line-height: 1.4;
}

.story-content p {
  margin-bottom: 20px;
  font-size: 12px;
}

.story-placeholder {
  display: flex;
  min-height: 290px;
  align-items: center;
  background: var(--aus-sand);
}

.story-placeholder .story-content {
  padding: 35px;
}

.story-placeholder .text-link {
  color: var(--aus-muted);
  font-size: 11px;
  font-weight: 400;
  font-style: italic;
}


/* =========================================
   TOPIC DIRECTORY
========================================= */

.aus-topics {
  background: var(--aus-cream);
}

.topic-list {
  max-width: 900px;
  margin: 0 auto;
  border-top: 1px solid var(--aus-line);
}

.topic-row {
  display: grid;
  grid-template-columns: 55px 1fr 42px;
  align-items: center;
  gap: 22px;
  padding: 26px 5px;
  border-bottom: 1px solid var(--aus-line);
  scroll-margin-top: 100px;
}

.topic-number {
  color: var(--aus-brand);
  font-family: var(--aus-serif);
  font-size: 18px;
  font-style: italic;
}

.topic-row h3 {
  margin-bottom: 5px;
  font-family: var(--aus-serif);
  font-size: 22px;
  line-height: 1.4;
}

.topic-row p {
  margin-bottom: 0;
  font-size: 12px;
}

.topic-row > a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--aus-line);
  border-radius: 50%;
  color: var(--aus-brand-dark);
  transition:
    background 0.25s ease,
    color 0.25s ease;
}

.topic-row > a:hover {
  background: var(--aus-brand-dark);
  color: #fff;
}


/* =========================================
   FREE RESOURCES
========================================= */

.aus-resources {
  background: var(--aus-white);
}

.resources-intro {
  max-width: 700px;
  margin: 0 auto 42px;
  text-align: center;
}

.resources-intro h2 {
  margin: 12px 0 16px;
}

.resources-intro p {
  max-width: 600px;
  margin: 0 auto;
}

.resource-card {
  height: 100%;
  padding: 32px 28px;
  border: 1px solid var(--aus-line);
  background: #fff;
  transition:
    border-color 0.25s ease,
    transform 0.25s ease;
}

.resource-card:hover {
  transform: translateY(-3px);
  border-color: #a9b1a5;
}

.resource-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 23px;
  place-items: center;
  border-radius: 50%;
  background: var(--aus-cream);
  color: var(--aus-brand-dark);
  font-size: 19px;
}

.resource-label {
  margin-bottom: 10px;
  color: var(--aus-brand);
  font-size: 9px;
  letter-spacing: 1.5px;
}

.resource-card h3 {
  margin-bottom: 12px;
  font-family: var(--aus-serif);
  font-size: 23px;
  line-height: 1.4;
}

.resource-card p {
  margin-bottom: 0;
  font-size: 12px;
}

.resource-note {
  margin: 28px 0 0;
  text-align: center;
  font-size: 11px;
  font-style: italic;
}


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

.aus-contact {
  padding-top: 75px;
  padding-bottom: 75px;
  background: var(--aus-sand);
}

.contact-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.contact-inner h2 {
  margin: 15px 0 20px;
}

.contact-inner > p {
  max-width: 630px;
  margin: 0 auto 28px;
}

.btn-aus-dark {
  border-color: var(--branding-color);
  background: var(--branding-color);
  color: #ffffff;
}

.btn-aus-dark:hover {
  border-color: var(--branding-color);
  background: transparent;
  color: var(--branding-color);
}

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

.aus-footer { 
    
    color: var(--text-color); 
    border-top: 1px solid #f0ded8; 
    padding: 48px 0 24px; 
    text-align: center; 
}

/* Center footer content */ 
.aus-footer > .container {
     display: flex; 
     flex-direction: column; 
     align-items: center; } 
     
     
/* Brand */ 

.footer-brand { 
    display: inline-block; 
    color: var(--branding-color); 
    font-family: var(--aus-serif); 
    font-size: 25px; 
    text-decoration: none; 
    text-align: center; 
    transition: color 0.25s ease; 
} 

.footer-brand:hover { 
    color: #d95746; 
} 

/* Headings */ 

.aus-footer h3, .aus-footer h4 { 
    color: #383331; 
    text-align: center; 
} 


/* Footer description */ 

.aus-footer > .container > p { 
    width: 100%; 
    margin: 8px 0 20px; 
    font-family: var(--aus-script); 
    font-size: 25px; 
    color: var(--text-color); 
    text-align: center; 
} 


/* Social media icons */ 

.footer-socials { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    flex-wrap: wrap; 
    gap: 22px; 
    width: 100%; 
    margin: 0 auto 30px; 
} 

.footer-socials a { 
    color: var(--branding-color); 
    font-size: 20px; 
    text-decoration: none; 
    transition: color 0.25s ease, transform 0.25s ease; 
} 

.footer-socials a:hover { 
    color: #d95746; 
    transform: translateY(-2px); 
} 


/* Footer links */ 

.aus-footer a { 
    transition: color 0.25s ease; 
} 

.aus-footer a:hover { 
    color: #d95746; 
} 


/* Copyright */ 

.footer-copy { 
    width: 100%; 
    margin: 0; 
    padding-top: 18px; 
    border-top: 1px solid #f0ded8; 
    color: var(--text-color); 
    font-size: 10px; 
    text-align: center; 
}





/* =========================================
   RESPONSIVE — TABLETS
========================================= */

@media (max-width: 991px) { 
    /* General sections */ 
    

    .fixed-bar {
    padding-left: 0;
    padding-right: 0;
}

    .navbar-align {
        padding-left: 0;
        margin-left: 0;
    }

    .aus-section { 
        padding: 70px 0; 
    } 

    .aus-section-heading { 
        margin-bottom: 36px; 
    }


/* Hero */ 
    .aus-hero { 
        min-height: 540px; 
        background-position: center center; 
    }

/* Cards */ 
    .aus-pillar-card .card-body, .aus-story-card .card-body { 
        padding: 22px; 
    }

}


/* =========================================
   RESPONSIVE — MOBILE
========================================= */

 @media (max-width: 576px) {
      
    
    /* General sections */ 
    
    .aus-section { 
        padding: 48px 0; 
    }

    .aus-section-heading { 
        padding: 0 12px; 
        margin-bottom: 30px; 
    }

    .aus-section-heading h2 { 
        font-size: 2rem; 
    }


    /* Hero */ 
      
      .aus-hero { 
        min-height: 480px; 
        background-position: center center; 
    } 
    
    .aus-hero h1 { 
        font-family: revert; 
        font-size: clamp(2rem, 8vw, 3rem); 
    } 
    
    .aus-hero h1 em { 
        font-family: inherit; 
    } 
    

    /* Pillar cards */ 
    .aus-pillar-card .card-body { 
        padding: 22px; 
    }

    /* Topic cards */ 
    .aus-topic-card { 
        padding: 22px; 
    }

    /* Story cards */ 
    .aus-story-card .card-body { 
        padding: 22px; 
    }

    /* Resource cards */ 
    .aus-resource-card { 
        padding: 22px; 
    }

    /* Contact section */ 
    .aus-contact { 
        padding: 52px 20px; 
    }

    .aus-contact h2 { 
        font-size: 2rem; 
    }
    
    /* Footer */ 
    
    .aus-footer { 
        padding: 36px 0 20px; 
        text-align: center; 
    } 
    
    .aus-footer > .container { 
        display: flex; 
        flex-direction: column; 
        align-items: center;
     } 
     
     .footer-brand { 
        font-size: 23px; 
    } 
    
    .footer-socials { 
        justify-content: center; 
        align-items: center; 
        gap: 18px; } 
        
        
    .footer-copy { 
        width: 100%; 
        text-align: center; 
    } 

}